.
D 2011-09-12T16:05:44
J assignee mistachkin
J cmimetype text/plain
J comment \nThe\sfollowing\stests\sleak\smemory:\n\nthread-7.24\nthread-7.25\nthread-7.26\nthread-7.28\nthread-7.29\nthread-7.30\nthread-7.31\n\nThe\scause\sis\sthe\ssame\sin\sall\sof\sthem.\s\sThe\stests\smake\nuse\sof\sthe\s[testthread\sexit]\scommand\sboth\sdirectly\sand\nindirectly\svia\sthe\s[tcltest::threadReap]\scommand.\s\sThis\ncommand\sunavoidably\scauses\sleaks.\s\sFor\sthis\sreason\nthe\scorresponding\sThread\scommand\s[thread::exit]\sis\ndeclared\sdeprecated.\n\nI've\ssuccessfully\sconverted\smany\stests\sfrom\s[testthread]\nto\sthe\sThread\spackage,\smaking\suse\sof\sthe\s[thread::preserve]\nand\s[thread::release]\scommands\sto\smanage\sthread\slifetimes\nwithout\sleaking\smemory.\s\sI'm\snot\sable\sto\sconvert\sthe\stests\nabove\sthough.\n\nThese\stests\sare\stesting\sTcl_CancelEval\svia\sboth\sthe\n[interp\scancel]\scommand\sand\sa\s[testthread\scancel]\stesting\ncommand.\sI've\stried\sto\sconvert\sthese,\sbut\sI\scause\s\nintermittent\ssegfaults\swith\smy\sattempts.\s\sMy\shope\sis\nthat\smy\sfailures\sare\sdue\sto\slack\sof\sexperience\swith\ncancel,\sand\sthe\smatter\swill\sbe\seasy\sfor\sthose\swho\sknow\sit.
J foundin obsolete:\s8.6b2
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter dgp
J subsystem 49.\sThreading
J title several\sthread-7.*\stests\sleak
J type Bug
K 3408127fffffffffffffffffffffffffffffffff
U dgp
Z cd3a3e3fb8e6f4174687035b7e2e147a