Skip to content
Tcl Source Code Artifact [87b245fa33]
Login

Artifact [87b245fa33]

Artifact 87b245fa33247497806658c7e5189515bc95dd3e:

Ticket change [87b245fa33] - New ticket [597575ffffffffff|597575ffff] <i>[exit] in sub-thread may crash.</i>. by andreas_kupries on 2002-08-20 02:47:32.
D 2002-08-20T02:47:32
J assignee vasiljevic
J cmimetype text/plain
J comment When\sexecuting\sthe\sscript\sbelow\sthe\stcl\sinterpreter\smay\ncrash\severy\sonce\sin\sa\swhile\s(I\susually\shave\sto\sexecute\nit\sonce\sor\stwice\sfor\sthe\sproblem\sto\shappen).\n\n-----------------\npackage\srequire\sThread\n\nputs\s[info\sloaded]\nputs\s[pwd]\n\nset\st\s[::thread::create]\nafter\s5000\s"::thread::send\s$t\sexit"\n-----------------\n\nBasically\sthe\sinterpreter\sis\sshutdown\sfrom\sinside\sthe\ncreated\sthread,\sand\snot\sthe\smain-thread,\sand\sthe\smain\nthread\sis\srunning\san\safter.\sTiming-depending,\sit\sseems\nthat\sthe\sexit\skilled\sthe\sTcl_Release-data\sstructure\nbefore\sthe\safter\sin\sthe\smain\sthread\sis\scompletely\sdone\nwith\sits\sinterpreter,\scausing\sit\sto\stry\sto\srelease\sthe\nstructure\swith\snothing\sbeing\sthere\sanymore.\n\nStack\strace:\sattached,\sto\sprevent\sit\sfrom\staking\sup\nspace\sin\sthe\snotification\smails.\n\n\n
J foundin None
J priority 8
J resolution None
J status Open
J submitter andreas_kupries
J subsystem 49.\sThreading
J title [exit]\sin\ssub-thread\smay\scrash.
J type Bug
K 597575ffffffffffffffffffffffffffffffffff
U andreas_kupries
Z 9754953093a08debf9d72794af93bc52