D 2010-07-31T13:39:22 J assignee msofer J cmimetype text/plain J comment The\sone-liner\n\s\sproc\sfoo\s{}\s{\s[catch\s{upvar\s0\sdummy\s\\$index}]\s}\s;\sfoo\naccesses\sfreed\smemory\sand\scauses\sa\scrash\s(in\snon-threaded\stcl,\sthreaded\sseems\sto\ssurvive\sdue\sto\sallocator\sdifferences).\n\nValgrind\sshows\sthat\sa\sfreed\shash\sentry\sis\sbeing\saccessed,\sin\sorder\sto\sfree\sit\sagain.\sThe\sproblem\sseems\sto\sdepend\son\sthe\sorder\sin\swhich\sTclDeleteVars\straverses\sthe\shashtable\sof\slocals.\n\nNote\sthat\sthis\slikely\simpacts\s8.6\stoo\s(unverified\sas\sof\syet,\stime\sis\sso\sshort\sand\sthis\snetbook\sso\sslow). J foundin obsolete:\s8.5.8 J is_private 0 J priority 9\sImmediate J resolution None J status Open J submitter msofer J subsystem 07.\sVariables J title crash\swhen\sfreeing\slocals\shashtable J type Bug K 3037525fffffffffffffffffffffffffffffffff U msofer Z c25ee7b71648fcf68e4b283a9ad36013