<i>"info rename foo" crashes or exhausts Tcl stack in interacti</i>.
by
.
D 2000-10-26T00:51:48
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s670\sBug\nVersion:\s8.0.3\nSubmitDate:\s'1998-08-20'\nLastModified:\s'1998-09-30'\nSeverity:\sCRIT\nStatus:\sClosed\nSubmitter:\srjohnson\nChangedBy:\srjohnson\nOS:\sAll\nOSVersion:\sNA\nMachine:\sNA\nFixedDate:\s'2000-10-25'\nFixedInVersion:\s8.0.3\nClosedDate:\s'1998-09-30'\n\n\nThere\sis\ssome\skind\sof\sweird\sinteraction\sbetween\sthe\shistory\smechanism\s(this\sis\sthe\sprime\ssuspect)\sand\sthe\sinfo\scommand\sthat\sresults\sin\sstack\soverflows\sin\sTcl/Tk\sapplications.\sThe\serrors\sare\splatform\sdependent,\son\ssome\splatform\syou'll\sget\sa\sstack\soverflow\scrash,\son\sother\sthe\sdreaded\s"too\smany\snested\scalls\sto\sTcl_EvalObj\s(infinite\sloop?)"\serror.\sAlso,\show\sand\swhen\sthe\sbug\sis\striggered\sis\ssomewhat\sdependent\son\sthe\splatform\sand\sthe\sapplication.\sHere's\sa\sfew\sways\sto\strigger\sit:\n\non\swindows:\n-\sstart\sprotclsh,\sthen:\n--\srename\sinfo\sfoo\n--\sinfo\sabcd\n-\sthis\scauses\sa\scrash\sof\sprotclsh,\swith\sexception\s0xc00000fd\s(stack\soverflow)\n-\susing\s"foo\sabcd"\salso\scauses\sthe\scrash\n\n-\sstart\sprowish,\sthen:\n--\srename\sinfo\sfoo\n-\sthis\scauses\sa\scrash\sof\sprowish,\swith\sexception\s0xc00000fd\s(stack\soverflow)\n\non\sunix:\n-\sstart\sprotclsh,\sthen:\n--\srename\sinfo\sfoo\n--\sinfo\sabcd\n-\sthis\sgives\syou\sthe\s"too\smany\s..."\serror\n-\sfoo\sabcd\sworks\sfine\n-\sprowish\sshows\sthe\ssame\sbehaviour.\n\n\n\nThe\swindows\sbehavior\shas\sbeen\simproved\sto\sbe\sthe\ssame\sas\sthe\sUNIX\sbehavior.\s\s(in\sTcl\s8.0.3)\n\nThe\sUNIX\sbehavior\sis\scorrect.\s\sBecause\spart\sof\sTcl\sis\sactually\simplemented\sin\sTcl\sthe\suser\smust\sbe\scareful\snot\sto\sredefine\sany\sof\sthe\scommands\sthat\sTcl\sit\sself\srelies\son.\s\sThis\swould\sinclude\sthings\slike\s"if",\s"info"\sand\sa\shandfull\smore.\s\srjohnson\n\n
J foundin obsolete:\s8.0.3
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title "info\srename\sfoo"\scrashes\sor\sexhausts\sTcl\sstack\sin\sinteracti
J type Bug
K 217997ffffffffffffffffffffffffffffffffff
U nobody
Z 93c2a10a4d9927ac31c6c6f41b4927db