<i>literal leak with delayed compile [subst]</i> status still Open with 4 other changes
by
.
D 2011-08-17T00:26:45
J icomment The\sleaking\scase\sseems\sto\sbe\scorrelated\swith\sshimmering\sfrom\slocalVarName\sto\ssubstCode:\n\n\nset\srepr\s::tcl::unsupported::representation\nif\s1\s{\nproc\sfoo\s{}\s{\nscan\sx\s%c\sj\nreturn\s$j\n}\nfoo\nputs\s[$repr\sj]\nset\ssubst\ssubst\n$subst\sj\nputs\s[$repr\sj]\n}\n\n=>\n\n\nvalue\sis\sa\slocalVarName\swith\sa\srefcount\sof\s5,\sobject\spointer\sat\s0x4237408,\sinternal\srepresentation\s(nil):(nil),\sstring\srepresentation\s"j".\nvalue\sis\sa\ssubstcode\swith\sa\srefcount\sof\s6,\sobject\spointer\sat\s0x4237408,\sinternal\srepresentation\s0x423cad8:0x7,\sstring\srepresentation\s"j".\n==16322==\s\s\s\sdefinitely\slost:\s24\sbytes\sin\s1\sblocks\n\nWhile\s(shimmering\sto\sList\sin\sbetween):\n\n\nset\srepr\s::tcl::unsupported::representation\nif\s1\s{\nproc\sfoo\s{}\s{\nscan\sx\s%c\sj\nreturn\s$j\n}\nproc\sbar\sx\s{\nllength\s$x\n}\nfoo\nputs\s[$repr\sj]\nbar\sj\nputs\s[$repr\sj]\n\nset\ssubst\ssubst\n$subst\sj\nputs\s[$repr\sj]\n}\n\n=>\n\n\nvalue\sis\sa\slocalVarName\swith\sa\srefcount\sof\s5,\sobject\spointer\sat\s0x4237878,\sinternal\srepresentation\s(nil):(nil),\sstring\srepresentation\s"j".\nvalue\sis\sa\slist\swith\sa\srefcount\sof\s5,\sobject\spointer\sat\s0x4237878,\sinternal\srepresentation\s0x423d848:(nil),\sstring\srepresentation\s"j".\nvalue\sis\sa\ssubstcode\swith\sa\srefcount\sof\s5,\sobject\spointer\sat\s0x4237878,\sinternal\srepresentation\s0x423dea0:0x7,\sstring\srepresentation\s"j".\n==16479==\s\s\s\sdefinitely\slost:\s0\sbytes\sin\s0\sblocks\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 3392070fffffffffffffffffffffffffffffffff
U ferrieux
Z 544632b296b81329e1599a8d84b95893