Artifacts Associated With Ticket 990457ffffffffff
Ticket change [c300cb3010] (rid 111582) by mistachkin on 2004-07-13 20:52:21:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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. - foundin initialized to: "None"
- priority initialized to: "7 High"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "mistachkin"
- subsystem initialized to: "None"
- title initialized to: "Unix Tcl_Exit behavior incorrect with TCL_THREADS"
- type initialized to: "Bug"
Ticket change [a269b26372] (rid 109889) by dgp on 2004-07-15 03:14:34:
- subsystem changed to: "02. Event Loops"
Ticket change [872de6619d] (rid 131649) by dgp on 2004-07-15 03:14:35:
- assignee changed to: "hobbs"
- foundin changed to: "obsolete: 8.5a2"
Ticket change [844106ca2d] (rid 117516) by hobbs on 2004-11-18 01:05:51:
- closedate changed to: "2004-11-17T18:05:51"
- closer changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 This suggestion causes all sorts of crashes in 'make test'.
- login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Rejected"
- status changed to: "Closed"
- username: "hobbs"
Ticket change [e6029a5b6f] (rid 104224) by mistachkin on 2004-12-01 00:19:22:
- 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.
- login: "mistachkin"
- mimetype: "text/plain"
- resolution changed to: "None"
- status changed to: "Open"
- username: "mistachkin"
- icomment:
Ticket change [f685b8f880] (rid 130316) by mistachkin on 2005-03-03 14:52:30:
- 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.
- login: "mistachkin"
- mimetype: "text/plain"
- username: "mistachkin"
- icomment:
Ticket change [9883babee4] (rid 110613) by hobbs on 2005-03-04 04:04:06:
- 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 ....
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
- icomment:
Ticket change [4aae6f405f] (rid 126573) by hobbs on 2005-05-31 09:17:13:
- closedate changed to: "2005-05-31T02:17:13"
- closer changed to: "hobbs"
- resolution changed to: "Invalid"
- status changed to: "Pending"
Ticket change [cf24516687] (rid 112916) by mistachkin on 2005-05-31 12:26:26:
- 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.
- login: "mistachkin"
- mimetype: "text/plain"
- status changed to: "Open"
- username: "mistachkin"
- icomment:
Ticket change [38ce50eb1b] (rid 112274) by dgp on 2006-03-10 12:57:44:
- 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 - login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Remind"
- username: "dgp"
- icomment:
Ticket change [e9da936617] (rid 104877) by mistachkin on 2008-10-03 02:31:02:
- icomment:
Also see 2001201.
- login: "mistachkin"
- mimetype: "text/plain"
- username: "mistachkin"
- icomment:
Ticket change [e427b57c2b] (rid 87910) by ferrieux on 2009-06-18 03:05:21:
- icomment:
Now 2001201 has been applied, please retest.
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"
- icomment:
Ticket change [c42cf7a7d2] (rid 111796) by dkf on 2009-06-18 15:20:20:
- assignee changed to: "ferrieux"
- closedate changed to: "2009-06-18T08:20:20"
- closer changed to: "dkf"
- icomment:
Believed fixed (i.e. other probably-related bugs are fixed) so moved to Pending...
- login: "dkf"
- mimetype: "text/plain"
- status changed to: "Pending"
- username: "dkf"
Ticket change [90f4d9cec6] (rid 120546) by sf-robot on 2009-07-03 09:20:21:
- closedate changed to: "2009-07-03T02:20:21"
- closer changed to: "sf-robot"
- 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).
- login: "sf-robot"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "sf-robot"
Ticket change [2a9e661eb2] (rid 118612) by ferrieux on 2009-07-15 04:28:53:
- icomment:
allow_comments - 0 Joe, your comment ? Does the current state satisfy you ?
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"
- icomment:
Ticket change [a5a4982148] (rid 110411) by mistachkin on 2009-07-15 04:43:07:
- icomment:
I'm not sure if the change technically "fixes" this bug; however, I am happy with the changes.
- login: "mistachkin"
- mimetype: "text/plain"
- username: "mistachkin"
- icomment:
Ticket change [6dae4c3575] (rid 128744) by ferrieux on 2009-07-16 05:40:25:
- 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.
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"
- icomment: