<i>incr on undefined array fails in procedures</i> status still Open with 7 other changes
by
.
D 2006-03-08T16:02:48
J assignee msofer
J icomment Logged\sIn:\sYES\s\nuser_id=79902\n\nLooks\sto\sbe\sa\sdifference\sin\sbehaviour\sbetween\sbytecodes.\s:-(\n\n%\sset\stcl_traceExec\s3;\stime\s{incr\sfoo(1)};\sset\stcl_traceExec\s0\n1:\s(10)\sinvoking\s"time"\s"incr\sfoo(1)"\n\nExecuting\sByteCode\s0x814d960,\srefCt\s2,\sepoch\s0,\sinterp\n0x8158d50\s(epoch\s0)\n\s\sSource:\s"incr\sfoo(1)"\n\s\sCmds\s1,\ssrc\s11,\sinst\s7,\slitObjs\s2,\saux\s0,\sstkDepth\s2,\ncode/src\s10.91\n\s\sCode\s120\s=\sheader\s100+inst\s7+litObj\s8+exc\s0+aux\s0+cmdMap\s4\n\s\sStarting\sstack\stop=1\n\s2:\s\s1\s(0)\spush1\s0\s\s\s\s\s\s#\s"foo"\n\s2:\s\s2\s(0)\spush1\s0\s=>\s"foo"\n\s2:\s\s2\s(2)\spush1\s1\s\s\s\s\s\s#\s"1"\n\s2:\s\s3\s(2)\spush1\s1\s=>\s"1"\n\s2:\s\s3\s(4)\sincrArrayStkImm\s+1\n\s2:\s\s3\s(4)\sincrArrayStkImm\s"foo(1)"\s(by\s1)\s=>\s1\n\s2:\s\s2\s(6)\sdone\n\s2:\s\s2\s(6)\sdone\s=>\sreturn\scode=0,\sresult="1"\n\n\s\s\s...\sno\senclosing\scatch,\sreturning\sTCL_OK\n0\n%\sset\stcl_traceExec\s3;catch\s{\sabc\s};\sset\stcl_traceExec\s0\n1:\s(18)\sinvoking\s"abc"\nCalling\sproc\s"abc"\n\nExecuting\sByteCode\s0x814d260,\srefCt\s2,\sepoch\s0,\sinterp\n0x8158d50\s(epoch\s0)\n\s\sSource:\s"incr\sfoo(1)"\n\s\sCmds\s1,\ssrc\s11,\sinst\s6,\slitObjs\s1,\saux\s0,\sstkDepth\s1,\ncode/src\s10.91\n\s\sCode\s120\s=\sheader\s100+inst\s6+litObj\s4+exc\s0+aux\s0+cmdMap\s4\n\s\sProc\s0x816fb90,\srefCt\s2,\sargs\s0,\scompiled\slocals\s1\n\s\sStarting\sstack\stop=24\n\s2:\s24\s(0)\spush1\s0\s\s\s\s\s\s#\s"1"\n\s2:\s25\s(0)\spush1\s0\s=>\s"1"\n\s2:\s25\s(2)\sincrArray1Imm\s%v0\s+1\s\s\s\s\s\s\s\s\s#\svar\s"foo"\n\s2:\s25\s(2)\sincrArray1Imm\s0\s"1"\s(by\s1)\s=>\sERROR:\scan't\sread\n"foo(1)":\sno\ssuch\sv\n\s\s\s...\sno\senclosing\scatch,\sreturning\sTCL_ERROR\n0\n\n
J login dkf
J mimetype text/plain
J priority 9\sImmediate
J subsystem 47.\sBytecode\sCompiler
J username dkf
K 1445454fffffffffffffffffffffffffffffffff
U dkf
Z 2e2c3e90937b141b59ec0a121df3f90a