Artifacts Associated With Ticket 2871908
Ticket change [4c4a3c2500] (rid 126859) by mistachkin on 2009-10-02 16:59:45:
- assignee initialized to: "mistachkin"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The lineCLPtr hashtable structure is being leaked. The entire objThreadMap hashtable and its contained data are also being leaked. This bug also applies to the 8.5 branch.
- foundin initialized to: "obsolete: 8.6b1.1"
- is_private initialized to: "0"
- priority initialized to: "9 Immediate"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "mistachkin"
- subsystem initialized to: "10. Objects"
- title initialized to: "leaking two hashtables and some data in tclObj.c"
- type initialized to: "Bug"
Ticket change [b037ba3328] (rid 97946) by ferrieux on 2009-10-03 02:57:54:
- icomment:
Can you describe the code path you are considering ? Are you calling Tcl_Exit or Tcl_Finalize ? Remember that since the exit reform of 2001201, Tcl_Exit only calls the finalizer of the calling thread. Another way of missing a finalizer in Tcl_Exit, even if no extra threads are created, is the test on currentAppExitPtr. Can you say which scenario you are reporting ?
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"
- icomment:
Ticket change [624d22ab25] (rid 92393) by mistachkin on 2009-10-05 04:44:33:
- icomment:
- login: "mistachkin"
- mimetype: "text/plain"
- username: "mistachkin"
- icomment:
Add attachment "leaks.diff" [977ae66174] (rid 106497) by mistachkin on 2009-10-05 04:45:46.
Ticket change [81a65d4f60] (rid 117078) by mistachkin on 2009-10-05 04:45:46:
- icomment:
File Added - 345329: leaks.diff
- login: "mistachkin"
- mimetype: "text/plain"
- username: "mistachkin"
- icomment:
Ticket change [b624a58c41] (rid 125374) by mistachkin on 2009-10-05 04:46:50:
- icomment:
Attached initial patch. Sorry for the previous blank comment, SF UI is acting weird.
- login: "mistachkin"
- mimetype: "text/plain"
- username: "mistachkin"
- icomment:
Ticket change [922fabd10b] (rid 120735) by mistachkin on 2009-10-06 10:03:44:
- foundin changed to: "obsolete: 8.5.7"
Ticket change [2735efcfba] (rid 88481) by andreas_kupries on 2009-10-08 05:43:53:
- icomment:
Review patch ... Looks ok, after some thinking. Agreed, applies to 8.5 as well. 8.5 actually has the whole TclFinalizeThreadObjects() function missing. Patch applies ok, modulo ChangeLog entry. I see no test cases however. How can I check the leak from the testsuite ?
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Ticket change [09770c3c59] (rid 113658) by andreas_kupries on 2009-10-08 06:12:32:
- assignee changed to: "andreas_kupries"
- closedate changed to: "2009-10-07T23:12:32"
- closer changed to: "andreas_kupries"
- icomment:
allow_comments - 1 Applied patch to head and 8.5 branches. Please check in your environ that the leaks are gone. My system passes testsuite before and after.
- login: "andreas_kupries"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "andreas_kupries"
Ticket change [44d9310cdf] (rid 116773) by mistachkin on 2009-10-09 03:31:47:
- icomment:
It would be very hard to duplicate the leaks from the existing test suite since the leaks are per-thread and are only really seen after Tcl_Finalize is called. Just ran my tests here and the leaks appear to be fixed in HEAD. Thanks.
- login: "mistachkin"
- mimetype: "text/plain"
- username: "mistachkin"
- icomment:
Ticket change [30578f8e48] (rid 93234) by mistachkin on 2009-10-18 18:23:16:
- icomment:
Corrected some issues with this in both HEAD and core-8-5-branch.
- login: "mistachkin"
- mimetype: "text/plain"
- username: "mistachkin"
- icomment: