From: SourceForge.net <no...@so...> - 2004-11-30 17:19:24
|
Bugs item #990457, was opened at 2004-07-13 13:52 Message generated for change (Comment added) made by mistachkin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=990457&group_id=10894 Category: 02. Event Loops Group: current: 8.5a2 >Status: Open >Resolution: None Priority: 7 Submitted By: Joe Mistachkin (mistachkin) Assigned to: Jeffrey Hobbs (hobbs) Summary: Unix Tcl_Exit behavior incorrect with TCL_THREADS Initial Comment: 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. ---------------------------------------------------------------------- >Comment By: Joe Mistachkin (mistachkin) Date: 2004-11-30 09:19 Message: 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. ---------------------------------------------------------------------- Comment By: Jeffrey Hobbs (hobbs) Date: 2004-11-17 10:05 Message: Logged In: YES user_id=72656 This suggestion causes all sorts of crashes in 'make test'. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=990457&group_id=10894 |