Skip to content
Tcl Source Code Artifact [f67db7fdbd]
Login

Artifact [f67db7fdbd]

Artifact f67db7fdbd2be4e074a3f96b5d3c21ce1cbf292c:

Ticket change [f67db7fdbd] - Ticket [3386721fffffffff|3386721fff] <i>leak in tcltest</i> status still Open with 4 other changes by ferrieux on 2011-08-10 23:16:59.
D 2011-08-10T23:16:59
J icomment Jan,\syou're\sup\sthe\swrong\stree\s:}\nThere\sare\stwo\sorthogonal\sthings\n\s(1)\sthe\sfact\sthat\sthe\svarPtr\sare\snever\sfreed\sactively\n\s(2)\sthe\sfact\sthat\stwo\scalls\sto\sTclTestObj_Init\sby\stwo\sinterps\swreak\shavoc\sby\soverwriting\sthe\sstatic\sarray\n\nAs\sit\sturns\sout,\s(1)\sis\sno\sproblem\sbecause\svalgrind\smarks\ssuch\sblocks\sas\s"still\sreachable"\s(and\sthere\sare\sa\sbunch\sof\sother\ssuch\sones\s:\sa\slow\spriority\sendeavour),\swhile\shere\swe're\safter\sthe\smore\sominous\s"definitely\slost".\n\nAnd\s(2)\sis\sthe\sreal\sproblem:\san\soverwritten\slast\sreference\sto\san\sobject\smakes\sit\sdefinitely\slost\sindeed.\n\nNote\sthat\susing\sthe\sTSD\sis\snot\senough.\sAs\sI\ssaid\searlier,\sthose\sdata\sshoule\sbe\sper-interp,\snot\sper-thread:\sthere\smay\sbe\sseveral\sinterps\sin\sa\ssingle\sthread,\sas\sis\snotably\sthe\scase\shere\s(a\sslave).\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 3386721fffffffffffffffffffffffffffffffff
U ferrieux
Z 8ec5628531b15723a53ba7217c78d141