Tcl Source Code

Artifact [deec6f69ed]
Login

Artifact deec6f69ed3438f70795e1e43b1bc26d2afdf127:

Ticket change [deec6f69ed] - New ticket [1a28e71204] when i call Tcl_DeleteInterp in new thread ,the program crash. by luguanhui 2016-12-05 07:15:28.
D 2016-12-05T07:15:28.147
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment 1\s.\sRecently\s,when\sI\supgrade\sthe\stcl/tk\sto\s8.6.1\sfrom\s8.5.9,the\sprogram\sis\scrash\sin\sTcl_DeleteInterp.After\sI\sdebug\sthe\stcl/tk,I\sfound\sthat\sin\sthe\sfollow\scode:\r\nstatic\svoid\r\nDeleteInterpProc(\r\n\s\s\s\sTcl_Interp\s*interp)\t\t/*\sInterpreter\sto\sdelete.\s*/\r\n{\r\n\s\s\s\s........\r\n\s\s\s\sif\s(!(iPtr->flags\s&\sDELETED))\s{\r\n\tTcl_Panic("DeleteInterpProc\scalled\son\sinterpreter\snot\smarked\sdeleted");\r\n\s\s\s\s}\r\n\r\n}\r\n\r\n2.\sIt\sseems\sthat\s,Tcl_DeleteInterp\sand\sTcl_CreateInterp\sshould\sbe\scalled\sin\sthe\ssame\sthread?\sBut\sthe\scode\swork\sfine\sin\s8.5.9\s.Is\sthere\sany\schange\sdone\sin\s8.6.1?\s\r\nThank\syou
J foundin 8.6.1
J is_private 0
J login luguanhui
J priority 5\sMedium
J private_contact 7ea2264d7851fedd822fe9347c46ea57253fec57
J resolution None
J severity Minor
J status Open
J submitter luguanhui
J subsystem 20.\s[interp]
J title when\si\scall\sTcl_DeleteInterp\sin\snew\sthread\s,the\sprogram\scrash
J type Bug
K 1a28e712043054383e458f2a54ba96ead23db699
U luguanhui
Z b10a58e49d1603df6f42e35d5cb63f94