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

Artifact [4a825fd8d2]

Artifact 4a825fd8d2a07dff8e15ba81b0765baeabd4dbc4:

Ticket change [4a825fd8d2] - Ticket [494348ffffffffff|494348ffff] <i>foreach crashes in recursion</i> status still Pending with 4 other changes by nobody on 2001-12-19 06:59:44.
D 2001-12-19T06:59:44
J icomment Logged\sIn:\sNO\s\n\nHi\sDonal,\sit's\snot\sa\sguess.\sIt's\sa\sfact.\sI\sfound\sit\safter\s2\ndays\sof\sdebugging.\sI\swas\sa\sreal\scrash.\sOnly\safter\sthat\nI\screated\sa\stestcase\sin\spure\stcl.\sIt's\squite\ssimple\sto\ssee\nwhat\shappens\sif\syou\suse\sa\sdebugger.\nUnfortunately,\sour\sapplication\sis\sbuilt\swith\sSun\scompiler,\nand\sI\suse\sSun\sworkshop/dbx\sfor\sdebugging,\sand\sI\sam\snot\nfamiliar\swith\sgdb.\sBut\sit\smight\sbe\ssimple\sto\ssee\sin\san\ndebugger\sthat\safter\sthe\sfirst\scycle\sthe\sobjects\sstored\nin\svarvList\sare\sfreed,\sbut\sit\swill\sbe\sused\sin\sthe\sloop.\n\s\s\sWe\shad\sthe\ssimular\scrash\sin\stk\slevel.\sI\sdid\snot\sdebug\nthat\ncase\s(the\scrash\swas\sexacly\sin\sthe\ssame\splace),\sbut\sit\s\ndisappered\safter\smy\sfix,\sand\syou\scould\ssee\sthe\scrash\s\nare\ssimular.\sIn\sGUI\sthe\scrash\shappened\swhen\swe\sforgot\nto\sadd\sbreak\sin\sbind\scommand,\sand\stk\shot-key\shandler\s\nexecuted\sforeach\sloop\sfor\sall\sbindings.\sI\sfound\sa\ssuspicious\nplace\sin\stk/library,\sthey\suse\s'foreach\strace\s...'\sand\ntcl\shas\strace\scommand\s(it's\snot\sa\sproblem\snow).\n\s\s\sI\swill\stry\sto\sfind\sa\sbetter\stestcase,\sbut\sit's\snot\sthe\nmost\surgent\sproblem\sfor\sour\sproject.\s\nBy\sthe\sway,\sto\smake\scrashes\smore\spredictable\sI\sdid\n\s\s\ssetenv\sLD_PRELOAD\swatchmalloc.so.1\nPlease,\sdo\snot\sclose\sthe\sbug,\sI\shope\syou\swill\ssee\sit's\sreal.\n
J login nobody
J mimetype text/plain
J username nobody
K 494348ffffffffffffffffffffffffffffffffff
U nobody
Z b77f1d3ca71bbfcac72d2cc28322919d