Skip to content
Tcl Source Code Artifact [55a637a037]
Login

Artifact [55a637a037]

Artifact 55a637a037a1d4b41dd367f1bd8e5eff0a78054e:

Ticket change [55a637a037] - New ticket [a0ece9d6d449ed4a|a0ece9d6d4] <i>execution trace on source command crashes when executing clock scan</i>. by anonymous on 2015-07-01 14:07:44.
D 2015-07-01T14:07:44.777
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment On\sWindows\s7,\sI'm\strying\sto\sdebug\sscripts\susing\sexecution\straces\son\sthe\ssource\scommand.\sThis\sworks\swell\sto\sa\sgreat\sextent,\sbut\swhen\sthe\sscript\sexecutes\sthe\s'clock\sscan'\scommand\sTcl\scrashes.\r\n\r\nHere's\sthe\sminimalistic\scode\sthat\sshows\sit:\r\n\r\nclockscan.tcl:\r\nclock\sscan\s1980-01-01\r\n\r\nIn\stclsh:\r\n%\sproc\senterStep\sargs\s{\sputs\s"enter"\s}\r\n%\sproc\sleaveStep\sargs\s{\sputs\s"leave"\s}\r\n%\strace\sadd\sexecution\ssource\senterstep\senterStep\r\n%\strace\sadd\sexecution\ssource\sleavestep\sleaveStep\r\n%\ssource\sclockscan.tcl\r\n<many\senter/leave\smsgs>\r\n\r\nCrash!\r\n\r\nThis\shappens\sin\sall\sof\sthe\sfollowing:\r\n-\stclsh\sand\swish\sof\sActiveState\sTcl\s8.6.1.0\sinstallation\s(threaded)\r\n-\stclsh\sand\swish\sbuilt\sfrom\sTcl\s8.6.4\ssources,\sboth\sdebug\sand\srelease\s(threaded)\r\n\r\nStacktrace\sfrom\smy\sown\sdebug\sbuild:\r\n\s\tmsvcr120d.dll!0f5731ca()\tUnknown\r\n\s\t[Frames\sbelow\smay\sbe\sincorrect\sand/or\smissing,\sno\ssymbols\sloaded\sfor\smsvcr120d.dll]\t\r\n>\ttcl86tg.dll!TclNRRunCallbacks(Tcl_Interp\s*\sinterp,\sint\sresult,\sNRE_callback\s*\srootPtr)\sLine\s4392\tC\r\n\s\ttcl86tg.dll!Tcl_EvalObjv(Tcl_Interp\s*\sinterp,\sint\sobjc,\sTcl_Obj\s*\sconst\s*\sobjv,\sint\sflags)\sLine\s4123\tC\r\n\s\ttcl86tg.dll!TclEvalEx(Tcl_Interp\s*\sinterp,\sconst\schar\s*\sscript,\sint\snumBytes,\sint\sflags,\sint\sline,\sint\s*\sclNextOuter,\sconst\schar\s*\souterScript)\sLine\s5262\tC\r\n\s\ttcl86tg.dll!TclSubstTokens(Tcl_Interp\s*\sinterp,\sTcl_Token\s*\stokenPtr,\sint\scount,\sint\s*\stokensLeftPtr,\sint\sline,\sint\s*\sclNextOuter,\sconst\schar\s*\souterScript)\sLine\s2277\tC\r\n\s\ttcl86tg.dll!TclEvalEx(Tcl_Interp\s*\sinterp,\sconst\schar\s*\sscript,\sint\snumBytes,\sint\sflags,\sint\sline,\sint\s*\sclNextOuter,\sconst\schar\s*\souterScript)\sLine\s5150\tC\r\n\s\ttcl86tg.dll!Tcl_FSEvalFileEx(Tcl_Interp\s*\sinterp,\sTcl_Obj\s*\spathPtr,\sconst\schar\s*\sencodingName)\sLine\s1815\tC\r\n\s\ttcl86tg.dll!Tcl_FSEvalFile(Tcl_Interp\s*\sinterp,\sTcl_Obj\s*\spathPtr)\sLine\s1711\tC\r\n\s\ttcl86tg.dll!Tcl_EvalFile(Tcl_Interp\s*\sinterp,\sconst\schar\s*\sfileName)\sLine\s427\tC\r\n\r\nIf\sI\srecord\sthe\sframe\sinfo\sin\sthe\senterStep\sthen\sI\ssee\sthat\sit\sstops\sin\sclock.tcl\sat\sline\s1391\s(in\stcl::clock::FreeScan).\r\n\r\nNote\sthat\sfor\snow\sI\shave\sa\sworkaround\sthat\srenames\sclock\sand\sexecutes\sit\sin\sa\sslave\sinterpreter.
J foundin 8.6.x
J is_private 0
J login anonymous
J priority 5\sMedium
J private_contact 8e6ce392c4d8186f2a85d6745cb17142d2c7e7f0
J resolution None
J severity Important
J status Open
J submitter anonymous
J subsystem 46.\sTraces
J title execution\strace\son\ssource\scommand\scrashes\swhen\sexecuting\sclock\sscan
J type Bug
K a0ece9d6d449ed4aab0262891caf457087e50709
U anonymous
Z ca8e28e7aa72600326d9194efedc3e09