.
D 2008-07-28T20:23:44
J assignee msofer
J cmimetype text/plain
J comment I\shave\san\sapplication\sthat\soften\spanics\s(TclStackFree:\sincorrect\sfreePtr.\sCall\sout\sof\ssequence?)\swhen\susing\sthe\stcllib\ssmtp\spackage\sto\ssend\san\se-mail\smessage.\s\sUnfortunately,\seven\safter\sI\sidentified\sthe\sTcl\sissue,\sI\swasn't\sable\sto\suse\sthat\sinformation\sto\sproduce\sa\stest\scase\sthat\sdidn't\scontain\sany\sprivate\sdata.\s\sI\scould\strap\sthe\sarguments\sto\sthe\s"subst"\scall\sthat\swas\sfailing,\sbut\swhen\srun\sin\sisolation,\sthe\sproblem\snever\sappeared.\s\sIn\sfact,\sremoving\seven\scompletely\sunrelated\sprocedures\sand\scommands\sfrom\sthe\sscript\swould\scause\sthe\sfailure\sto\sgo\saway.\n\nSince\sI\scould\smake\sit\shappen\sreliably,\sI\swas\sable\sto\sfind\sout\swhat\swas\swrong.\s\sI\shad\sassumed\ssome\smemory\swas\sgetting\strashed\ssomewhere,\sbut\sit\sactually\sjust\slooks\slike\san\sissue\swith\sa\scode\spath\sthat\sis\sreally\shard\sto\sget\sto.\s\sBasically\sTclStackRealloc\susually\sjust\sends\sup\sreturning\sits\sinput\spointer,\sbut\sif\syou\scan\sget\sit\sto\sreturn\ssomething\selse\sthe\sold\sone\sis\sstill\sin\sthe\ssequence.\s\sWhen\sI\sdebugged\sit,\sI\ssaw\sthat\sthe\s"move"\sinput\sto\sGrowEvaluationStack\swas\sgetting\srepurposed\s(and\sset\sto\szero)\sin\smy\scase,\sand\sthat\swas\scausing\sthe\sonly\scode\sI\scould\ssee\sthat\swas\sadjusting\sthe\spointer\ssequences\sto\sget\sskipped.\s\sSo\sI\sadded\sa\sseparate\svariable\sfor\sthe\sother\susage\sand\sit\sseems\sto\sbe\sworking\sfor\sme.\s\sPlease\stake\sa\slook\sat\sthis\sand\ssuggest\ssomething\selse\sif\sthis\spatch\swould\scause\sother\sproblems.\n\n\n\n
J foundin obsolete:\s8.5.3
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter ajpasadyn
J subsystem 47.\sBytecode\sCompiler
J title Tcl_Panic\sin\sTcl_ScanObjCmd\safter\sTclStackRealloc
J type Bug
K 2030670fffffffffffffffffffffffffffffffff
U ajpasadyn
Z 79a6ddf00a2e10885bbd7c2799fcb1fa