Skip to content
Tcl Source Code Artifact [a845e050a5]
Login

Artifact [a845e050a5]

Artifact a845e050a5a05fcb2c83d2ac13239bafaaea486a:

Ticket change [a845e050a5] - New ticket [571385ffffffffff|571385ffff] <i>segfaults in execution tracing.</i>. by dgp on 2002-06-19 23:52:28.
D 2002-06-19T23:52:28
J assignee vincentdarley
J cmimetype text/plain
J comment \nassigning\sto\sco-author\sof\sTIP\s62,\swhich\sintroduced\sthis\nbug.\n\nI\ssee\sa\ssegfault\sin\sline\s4036\sof\stclCmdMZ.c,\sapparently\sdue\nto\san\sattempt\sto\saccess\stracePtr->nextPtr\sin\sa\ssituation\nwhere\stracePtr\sis\sNULL.\n\nBut\sthat's\sjust\sthe\sbeginning...\n\nMy\scode\sthat\striggers\sthe\ssegfault\sis\snot\smaking\suse\nof\sexecution\straces,\sso\sit\shas\sno\sbusiness\sbeing\sin\nTclCheckExecutionTraces()\sto\sbegin\swith.\n\nIt's\sgetting\sthere\sfrom\sline\s3023\sof\stclBasic.c\sby\smistake.\nLine\s3022\schecks\sthe\svalue\sof\n\n\s\s\s\s(cmdPtr->flags\s&\sCMD_HAS_EXEC_TRACES)\n\nbut\sin\smy\ssituation\scmdPtr\sis\sno\slonger\svalid\sbecause\nexecution\sof\sthe\scommand\shad\scaused\sredefinition\nof\sthe\scommand,\ssomething\slike:\n\n\s\s\s\sproc\sfoo\s{}\s{\n\s\s\s\s\s\s\s\sproc\sfoo\s{}\s{puts\sNEW}\n\s\s\s\s\s\s\s\suplevel\s1\sfoo\n\s\s\s\s}\n\nstill\slooking\sat\sthis\sto\ssee\sif\sI\scan\ssort\sit\sout.\s\sThe\nlogic\sof\nthe\strace\sroutines\sis\snot\stransparent.\s\sMore\scomments\nwould\sbe\shelpful.
J foundin obsolete:\s8.4a5
J priority 8
J resolution None
J status Open
J submitter dgp
J subsystem 18.\sCommands\sM-Z
J title segfaults\sin\sexecution\stracing.
J type Bug
K 571385ffffffffffffffffffffffffffffffffff
U dgp
Z b2c40383d1d1238f3dcc324c55f3271b