Skip to content
Tcl Source Code Artifact [4376b56dcd]
Login

Artifact [4376b56dcd]

Artifact 4376b56dcda1e14eaa623e5eb70e2b00e8ec27b1:

Ticket change [4376b56dcd] - Ticket [3536840fffffffff|3536840fff] <i>Crash on exit on Fedora 17</i> status still Open with 4 other changes by julien9330 on 2012-06-22 17:28:32.
D 2012-06-22T17:28:32
J icomment Correction:\nThe\scrash\sdoes\snot\sseems\sto\sdepend\son\sthe\sfact\sthat\sthe\sother\sthreads\sallocate\sor\sfree\ssome\smemory\s(I\salso\shad\sthe\scrash\swhen\sthe\sother\sthreads\sdo\snot\sallocate\sor\sfree\smemory).\n\nRegarding\sthe\spossibility\sof\sa\sviolation\sof\sthe\sapartment\smodel,\sI\sguess\sthat\sif\ssomething\swas\swrong\shere,\swe\swould\shave\sexperienced\ssome\scrashes\son\sother\sLinux\sdistributions.\sBut\scrashes\sonly\soccur\son\sFedora\s17.\n\nBasically,\sthe\sarchitecture\sof\sour\sapplication\sis\sas\sfollow:\nThe\smain\sthread\s(thread\s1)\screates\sa\snew\sthread\s(thread\s2).\sIn\sthis\snew\sthread,\sthe\sTcl\sinterpreter\sis\screated.\sIt\sseems\sthat\sTcl\screates\sanother\sthread\sat\sthis\smoment\s(thread\s3)\sto\sexecute\sthe\sNotifierThreadProc\sfunction.\sThe\sTcl\scommands\sare\sexecuted\sin\sthread\s2\s(where\sthe\sTcl\sinterpreter\swas\screated)\suntil\sthe\suser\sdecides\sto\sexits\sthe\sapplication.\sOn\sexit,\sthe\sTcl_DeleteInterp\sand\sTcl_Finalize\sfunctions\sare\scalled\sin\sthread\s2.\sThen\sthis\sthread\sexits\sand\sis\sdeleted.\sThe\scrash\soccurs\sin\s\sthread\s3\sduring\sthe\sexit\sprocess\sof\sthe\smain\sthread\s(so\safter\sthe\sthread\s2\swas\sdeleted).\n\nIs\sthere\ssomething\swrong\swith\sour\sarchitecture\s?\sAny\sidea\sor\ssuggestion\s?\n
J login julien9330
J mimetype text/plain
J username julien9330
K 3536840fffffffffffffffffffffffffffffffff
U julien9330
Z 572a102f1ba0b6739f742dd0bc07957e