Artifacts Associated With Ticket 571002ffffffffff
Ticket change [1cc1eb98f1] (rid 90671) by vasiljevic on 2002-06-19 07:25:10:
- assignee initialized to: "hobbs"
- cmimetype initialized to: "text/plain"
- comment initialized to:
For threads created with Tcl API, TSD memory blocks are not properly freed on thread exit. This happens in cases where new thread does not register any exit callbacks and/or does not create any Tcl interpreters. The problematic spot is Tcl_FinalizeThread function in generic/tclEvent.c file. The TclFinalizeThreadData() call should be *unconditionally* executed at the end of the finalization process.
- foundin initialized to: "obsolete: 8.4a4"
- priority initialized to: "3 Low"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "vasiljevic"
- subsystem initialized to: "49. Threading"
- title initialized to: "TSD data leak on thread exit"
- type initialized to: "Bug"
Ticket change [6f0be41be5] (rid 100243) by vasiljevic on 2002-08-24 01:07:42:
- icomment:
Logged In: YES user_id=95086 I have corrected this in my local cvs copy. Should I submit it now?
- login: "vasiljevic"
- mimetype: "text/plain"
- username: "vasiljevic"
- icomment:
Ticket change [a8c2ed0d27] (rid 99044) by hobbs on 2003-01-28 06:55:34:
- icomment:
Logged In: YES user_id=72656 Can you post the patch for this?
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
- icomment:
Ticket change [d0576c63b0] (rid 113160) by hobbs on 2003-02-19 02:44:49:
- assignee changed to: "vasiljevic"
- icomment:
Logged In: YES user_id=72656 can we review and patch this for 8.4.2?
- login: "hobbs"
- mimetype: "text/plain"
- priority changed to: "7 High"
- username: "hobbs"
Ticket change [f177ae0b2b] (rid 109368) by vasiljevic on 2003-02-19 19:31:00:
- icomment:
Logged In: YES user_id=95086 Absolutely, now that I'm back again :) It is rather trivial. In the Tcl_FinalizeThread at the bottom: /* * Blow away all thread local storage blocks. */ TclFinalizeThreadData(); } } should be changed to: } /* * Blow away all thread local storage blocks. */ TclFinalizeThreadData(); } That's all. If you like, I can commit this into CVS. Cheers, Zoran - login: "vasiljevic"
- mimetype: "text/plain"
- username: "vasiljevic"
- icomment:
Ticket change [08cfd578c4] (rid 89626) by hobbs on 2003-02-20 09:41:48:
- icomment:
Logged In: YES user_id=72656 Please verify with threaded builds on at least Windows and Linux, and whatever else you might have available, before commiting.
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
- icomment:
Ticket change [55b3bb45ce] (rid 94190) by vasiljevic on 2003-02-22 16:37:54:
- closedate changed to: "2003-02-22T09:37:54"
- closer changed to: "vasiljevic"
- icomment:
Logged In: YES user_id=95086 Fixed starting from 1.28 version of tclEvent.c. Checked on Linux, Solaris, Win.
- login: "vasiljevic"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "vasiljevic"