.
D 2004-07-07T15:23:09
J assignee msofer
J cmimetype text/plain
J comment I've\sdocumented\sthe\sproblem,\sincluding\sa\ssimple\scode\nexample,\sin\sthe\sattached\sfile.\s\sThe\scode\sexample\ncontains\san\serror\swithin\sa\swhile\sloop.\s\sWhen\sthe\scode\nis\srun,\sTcl\sgoes\sinto\san\sinfinite\sloop.\s\sThe\sbytecode\ncompiler\sdetects\sthe\serror\swhen\strying\sto\sinline\ncompile\sthe\swhile\sbody\sand\sit\sattempts\sto\sback\sout\sand\nswitch\sto\soutline\scompile.\s\sHowever,\sa\sfragment\sof\sthe\ncompiled\sbytecode\sfor\sthe\swhile\sremains\sand\sthis\sis\nwhat\scauses\sthe\sinfinite\sloop.\n\nThis\sisn't\sa\smajor\sproblem\sbecause\sthis\soccurs\swhen\nthere's\san\serror\sin\suser\scode\sand\sit\sonly\soccurs\sunder\ncertain\sconditions.\s\s\s\sThe\sproblem\sis\sthat\swhen\sa\suser\nhits\sthis\s(like\sme),\sthere's\sno\sclue\sas\sto\swhat's\sgoing\non.\s\sI\sthought\sit\swould\sbe\suseful\sto\sdocument\sthis\sand\nperhaps\sthere's\sa\ssimple\sfix.\n\nTcl\s8.4.6\nRed\sHat\sLinux\s(kernel\s2.4.9)\n(same\sbehavior\son\sWindows,\sas\swould\sbe\sexpected)\n
J foundin obsolete:\s8.4.6
J priority 5\sMedium
J resolution None
J status Open
J submitter roylane
J subsystem 47.\sBytecode\sCompiler
J title Inifinite\sloop\sa/w\sbad\scode\sin\swhile\sbody
J type Bug
K 986651ffffffffffffffffffffffffffffffffff
U roylane
Z 9d44d023dcb3fb842bfa1d5588067b54