Skip to content
Tcl Source Code Artifact [83769b4237]
Login

Artifact [83769b4237]

Artifact 83769b4237450f38f52282dd243bc67d7d205530:

Ticket change [83769b4237] - Ticket [1082283fffffffff|1082283fff] <i>tcl8.4 segfaults running on linux-2.6 with SMP machines</i> status still Open with 4 other changes by vasiljevic on 2005-05-31 14:29:25.
D 2005-05-31T14:29:25
J icomment Logged\sIn:\sYES\s\nuser_id=95086\n\nI'm\snot\s100%\ssure\sif\sthis\sis\sgoing\sto\sfix\sthe\sproblem\nbut\sJoe\sis\sright\sabout\sthe\snotifier\sthread\stermination.\nIt\sis\smore\sclean\sto\sjoin\sthe\sexiting\snotifier\sthread.\n\nThere\sis\san\sever-lasting\sproblem\swith\sproper\stermination\nof\sTcl\sshell\sprocess\swith\sthreads\senabled.\sIf\syou\sjust\s\nexit()\sthe\sprocess\s*while*\sthere\sare\sstill\ssome\sthreads\nrunning,\syou\smight\sget\sa\score.\sThis\sis\snot\sonly\srelated\s\nto\sthe\snotifier\sthread\sbut\sfor\sthreads\sin\sgeneral.\sThe\s\nreason\sis\sin\sthe\sTcl\slibrary\sdesign\sand\shas\sbeen\sobserved\nand\sreported\sseveral\stimes\salready\s(Bug\s#597575).\nThe\sproblem\sis\snot\seasy\sto\ssolve\sbut\swe\scan\scertainly\sclose\nthis\ssubtle\srace\scondition\sby\sjoining\sthe\snotifier\sthread.\nI\swill\sadd\sthis\sinto\sboth\score-8-4-branch\sand\shead\sbranch\stoday\nand\sthe\sposter\sof\sthe\sbug-ticket\sshould\stry\sto\sreproduce\sthe\nproblem,\sif\spossible,\sas\sI\sdo\snot\shave\sMP-linux\sbox\shere.\sI\shave\nMP-Darwin\sand\sMP-Solaris\sboxes\sand\sI've\snot\sobserved\sany\nproblem\sthere,\sprovided\sall\sthreads\shave\sbeen\sterminated\sbefore\nthe\sexit()\sis\scalled.\nI\swill\sleave\sthis\sticket\sopen\safter\sapplying\sthe\schanges\suntil\swe\nprove\sit\ssolves\sthe\sissue\sor\snot.\n
J login vasiljevic
J mimetype text/plain
J username vasiljevic
K 1082283fffffffffffffffffffffffffffffffff
U vasiljevic
Z 60c21056133dc4f832c11d5e39498d01