<i>tcl8.4 segfaults running on linux-2.6 with SMP machines</i> status still Open with 5 other changes
by
.
D 2005-03-03T14:28:39
J assignee hobbs
J icomment Logged\sIn:\sYES\s\nuser_id=113501\n\nI\sdo\snot\sbelieve\smy\spatch\sis\s[directly]\scausing\sthis\sissue.\n\nThis\sappears\sto\sbe\shappening\sat\sprocess\stermination.\n\nI\shave\sa\stheory\son\show\sto\sfix\sthis\sproblem.\n\nIn\s"tclUnixNotfy.c",\snear\sline\s303\swe\shave:\n\n\s\s\s\sTcl_MutexUnlock(¬ifierMutex);\n\nI\ssuggest\swe\sadd\sthe\sfollowing\safter\sthis\scode:\n\n\s\s\s\s/*\n\s\s\s\s\s*\sAvoid\spossible\srace\scondition,\sphysically\swait\sfor\nthread\sto\sdie.\n\s\s\s\s\s*/\n\s\s\s\sTcl_JoinThread(notifierThread);\n\nThis\sshould\savoid\sa\s[potential]\srace\scondition\sbetween\sthe\nprocess\sterminating\s(due\sto\sa\spremature\sreturn\sfrom\nTcl_FinalizeNotifier)\sand\sthe\snotifier\sthread\sactually\ncalling\sTclpThreadExit.\n\n
J login mistachkin
J mimetype text/plain
J username mistachkin
K 1082283fffffffffffffffffffffffffffffffff
U mistachkin
Z a0e3fefba4922657e295520d68ece137