Skip to content
Tcl Source Code Artifact [7180fbcacd]
Login

Artifact [7180fbcacd]

Artifact 7180fbcacdf3c7a9d5b6b70b9ea907567c495bbc:

Ticket change [7180fbcacd] - New ticket [3059758fffffffff|3059758fff] <i>tclTraceExec==3 : wrong pc+INST on uncaught error return</i>. by ferrieux on 2010-09-05 10:14:14.
D 2010-09-05T10:14:14
J assignee msofer
J cmimetype text/plain
J comment When\stracing\sinstructions\s(tclTraceExec==3),\sreturns\sfrom\sprocedure\scalls\stypically\slook\slike:\n\n\s\s\s\s\s\s\s...\sno\senclosing\scatch,\sreturning\sTCL_OK\n\s\s\s\sLEVEL:\s\sDEPTH\s(PC)\sINST\sargs\s=>\s...\safter\s"PROCNAME":\sTCL_OK,\sresult="1"\n\nwhere\sPC\sand\sINST/args\sare\sthe\sposition\sand\sinstruction\sto\sbe\sexecuted\sjust\safter\sthe\sreturn.\nHowever,\swhen\sthe\sreturn\scode\sis\snot\sTCL_OK,\sthe\sPC\sis\soff\sby\sone,\sand\sis\sthe\slast\sbyte\sof\sthe\sprevious\sinstruction\s(typically\sinvokeXXX),\sand\sconsequently\sthe\sINST\sis\srandom\s(possibly\san\simmediate\soperand\sinterpreted\sas\san\sopcode):\n\n\s\s\s...\sno\senclosing\scatch,\sreturning\sTCL_ERROR\n\sLEVEL:\s\sDEPTH\s(WRONG\sPC)\sWRONG\sINST\s=>\sTCL_ERROR,\sresult=\s"..."\n\nOf\scourse\sthis\sis\sa\svery\stiny\sissue,\sbut\stracing\sinstructions\saccurately\sis\skey\sto\sunderstanding\sthe\sdelicate\soperation\sof\sTEBC,\sand\sthis\smicrobug\shas\sbeen\sannoying\sin\sthe\scourse\sof\sthe\sinvestigation\sof\sPatch\s2995655.\sThe\sfix/insight\scould\shelp\sboth.\n\n
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter ferrieux
J subsystem 47.\sBytecode\sCompiler
J title tclTraceExec==3\s:\swrong\spc+INST\son\suncaught\serror\sreturn
J type Bug
K 3059758fffffffffffffffffffffffffffffffff
U ferrieux
Z 67e487c1fa13d783f218d8f59e98c212