Skip to content
Tcl Source Code Artifact [4dddd855e9]
Login

Artifact [4dddd855e9]

Artifact 4dddd855e9e7c41088bf80e4765af08921b625a9:

Ticket change [4dddd855e9] - Ticket [571385ffffffffff|571385ffff] <i>segfaults in execution tracing.</i> status still Open with 4 other changes by vincentdarley on 2002-06-20 17:58:25.
D 2002-06-20T17:58:25
J icomment Logged\sIn:\sYES\s\nuser_id=32170\n\nLooks\sas\sif\ssomething\slike\sthe\slogic\swhich\sis\sapplied\s20\s\nlines\sup\sneeds\sto\sbe\sapplied,\sbut\swe\sstill\sneed\s\nthe\s'cmdPtr'\sto\sbe\saround.\s\sI\sthink\swe\sneed\sto\s\nTcl_Preserve\sthe\scmdPtr,\sif\straces\sare\sgoing\sto\sbe\scalled,\s\nand\sthen\sTcl_Release\safterwards.\n\nNot\ssure\sif\sthe\scorrect\safterwards\stest\sis\sto\scheck\s\nif\s'cmdPtr->cmdEpoch'\shas\schanged\sor\sif\scmdPtr\shas\s\nbeen\sdeleted.\s\sI\sthink\sthe\slatter\sis\sthe\sright\sone\s(cmdPtr-\n>flags\s&\sCMD_IS_DELETED).\s\sPartly\sthis\sdecision\s\ndepends\son\sthe\sdesired\ssemantics\sof\sexecution\straces\s\nwhen\sthe\scommand\sis\smodified.\s\sAccording\sto\stclInt.h,\s\ncmdPtr->cmdEpoch\sis\sincremented\swhen\sthe\scommand\s\nis\srenamed,\sdeleted,\shidden,\sor\sexposed.\s\sWhat\sdo\swe\s\nwant\sexecution\straces\sto\sdo\sin\sthese\scases?\n\nVince.\n\n\n\nI\sthink\sHemang\sought\sto\stake\sa\slook\sat\sthis,\ssince\she's\s\nbeen\sexamining\sthe\strace\scode\srecently,\swhile\sI\shaven't\s\nlooked\sat\sit\sin\sa\svery\slong\stime\s(1\syear\s+).\n\n
J login vincentdarley
J mimetype text/plain
J username vincentdarley
K 571385ffffffffffffffffffffffffffffffffff
U vincentdarley
Z e20d0f651ae3ff7241f50998ab8c7f22