Skip to content
Tcl Source Code History Of Ticket 990457ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 990457ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 990457ffffffffffffffffffffffffffffffffff

  1. Ticket change [c300cb3010] (rid 111582) by mistachkin on 2004-07-13 20:52:21:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      in "generic/tclEvent.c" near line 644, the code reads:
      
      /* use default handling */
      Tcl_Finalize();
      TclpExit(status);
      Tcl_Panic("OS exit failed!");
      
      the above code should read:
      
      /* use default handling */
      Tcl_Finalize();
      #ifdef TCL_THREADS
      TclpThreadExit(status);
      #else
      TclpExit(status);
      #endif
      Tcl_Panic("OS exit failed!");
      
      This fixes an annoying memory leak when TCL_THREADS is
      enabled.  I believe this change should be backported to
      core-8-4-branch.
      
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "7 High"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "mistachkin"
    9. subsystem initialized to: "None"
    10. title initialized to: "Unix Tcl_Exit behavior incorrect with TCL_THREADS"
    11. type initialized to: "Bug"
  2. Ticket change [a269b26372] (rid 109889) by dgp on 2004-07-15 03:14:34:

    1. subsystem changed to: "02. Event Loops"
  3. Ticket change [872de6619d] (rid 131649) by dgp on 2004-07-15 03:14:35:

    1. assignee changed to: "hobbs"
    2. foundin changed to: "obsolete: 8.5a2"
  4. Ticket change [844106ca2d] (rid 117516) by hobbs on 2004-11-18 01:05:51:

    1. closedate changed to: "2004-11-17T18:05:51"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      This suggestion causes all sorts of crashes in 'make test'.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. resolution changed to: "Rejected"
    7. status changed to: "Closed"
    8. username: "hobbs"
  5. Ticket change [e6029a5b6f] (rid 104224) by mistachkin on 2004-12-01 00:19:22:

    1. icomment:
      Logged In: YES 
      user_id=113501
      
      My proposed fix may cause the test suite to crash, however,
      the current code is wrong and can cause quite a few
      memory/resource leaks.
      
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. resolution changed to: "None"
    5. status changed to: "Open"
    6. username: "mistachkin"
  6. Ticket change [f685b8f880] (rid 130316) by mistachkin on 2005-03-03 14:52:30:

    1. icomment:
      Logged In: YES 
      user_id=113501
      
      
      Jeff, what platform is "make test" producing failures on and
      what are the failures?  I'm trying to pin down the real root
      cause.
      
      
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"
  7. Ticket change [9883babee4] (rid 110613) by hobbs on 2005-03-04 04:04:06:

    1. icomment:
      Logged In: YES 
      user_id=72656
      
      On Linux, apply patch and build the head with
      --enable-threads.  Do make test.  Watch it bomb all over the
      place:
      
      Tests began at Thu Mar 03 13:03:11 -0800 2005
      append.test
      Test file error: child killed: segmentation violation
      appendComp.test
      Test file error: child killed: segmentation violation
      assocd.test
      Test file error: child killed: segmentation violation
      async.test
      Test file error: child killed: segmentation violation
      ....
      
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  8. Ticket change [4aae6f405f] (rid 126573) by hobbs on 2005-05-31 09:17:13:

    1. closedate changed to: "2005-05-31T02:17:13"
    2. closer changed to: "hobbs"
    3. resolution changed to: "Invalid"
    4. status changed to: "Pending"
  9. Ticket change [cf24516687] (rid 112916) by mistachkin on 2005-05-31 12:26:26:

    1. icomment:
      Logged In: YES 
      user_id=113501
      
      
      It's crashing on exit.  This is still a valid bug because if
      you create a thread using Tcl_CreateThread and invoke [exit]
      (or Tcl_Exit), pthread_exit (or the equiv on Win32) is never
      called.  This is technically a leak.  A slightly more
      complex solution to this is required and I will start
      working on it soon.
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. status changed to: "Open"
    5. username: "mistachkin"
  10. Ticket change [38ce50eb1b] (rid 112274) by dgp on 2006-03-10 12:57:44:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Tcl's finalization has been revised.
      
      Joe's patch no longer causes
      crashes on exit running the test suite
      on HEAD.
      
      However, now that the crashes are
      gone, several failing tests are
      revealed (see below).  Looks like
      the proposed patch changes the
      behavior of [exit] in an [exec]-ed
      process in an incompatible way.
      
      Failing tests are:
      
      event-10.1
      exec-9.{3,4}
      Tcl_Main-3.{1-4}
      tcltest-1.{1,2}
      tcltest-22.1
      
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. resolution changed to: "Remind"
    5. username: "dgp"
  11. Ticket change [e9da936617] (rid 104877) by mistachkin on 2008-10-03 02:31:02:

    1. icomment:
      Also see 2001201.
      
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"
  12. Ticket change [e427b57c2b] (rid 87910) by ferrieux on 2009-06-18 03:05:21:

    1. icomment:
      Now 2001201 has been applied, please retest.
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  13. Ticket change [c42cf7a7d2] (rid 111796) by dkf on 2009-06-18 15:20:20:

    1. assignee changed to: "ferrieux"
    2. closedate changed to: "2009-06-18T08:20:20"
    3. closer changed to: "dkf"
    4. icomment:
      Believed fixed (i.e. other probably-related bugs are fixed) so moved to Pending...
      
      
    5. login: "dkf"
    6. mimetype: "text/plain"
    7. status changed to: "Pending"
    8. username: "dkf"
  14. Ticket change [90f4d9cec6] (rid 120546) by sf-robot on 2009-07-03 09:20:21:

    1. closedate changed to: "2009-07-03T02:20:21"
    2. closer changed to: "sf-robot"
    3. icomment:
      
      
      allow_comments - 1
      
      This Tracker item was closed automatically by the system. It was
      previously set to a Pending status, and the original submitter
      did not respond within 14 days (the time period specified by
      the administrator of this Tracker).
      
      
    4. login: "sf-robot"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "sf-robot"
  15. Ticket change [2a9e661eb2] (rid 118612) by ferrieux on 2009-07-15 04:28:53:

    1. icomment:
      
      
      allow_comments - 0
      
      Joe, your comment ? Does the current state satisfy you ?
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  16. Ticket change [a5a4982148] (rid 110411) by mistachkin on 2009-07-15 04:43:07:

    1. icomment:
      I'm not sure if the change technically "fixes" this bug; however, I am happy with the changes.
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"
  17. Ticket change [6dae4c3575] (rid 128744) by ferrieux on 2009-07-16 05:40:25:

    1. icomment:
      Indeed, after a second look it doesn't. Rather, it takes further apart the concepts of (quick) exit and (thorough) finalization. Which defeats methods based on an atexit() handler to look for memory leaks. But since the problem of cleanly shutting down other threads is unsolvable, I guess the limitation must be lived with.
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"