Skip to content
Tcl Source Code Artifact [f6f76d04f1]
Login

Artifact [f6f76d04f1]

Artifact f6f76d04f1a46cc3efc775b6992c526c7d30ac18:

Ticket change [f6f76d04f1] - New ticket [587488ffffffffff|587488ffff] <i>leak with the new thread allocator</i>. by msofer on 2002-07-27 18:58:35.
D 2002-07-27T18:58:35
J assignee hobbs
J cmimetype text/plain
J comment Reported\son\sclt\sby\sSven\sSass\son\sclt:\nhttp://groups.google.com/groups?dq=&start=25&hl=en&lr=&ie=UTF-8&group=comp.lang.tcl&selm=88d0b923.0207260455.4e4f3da9%40posting.google.com\nhttp://groups.google.com/groups?dq=&hl=en&lr=&ie=UTF-8&group=comp.lang.tcl&selm=ahrscj%24290%2402%241%40news.t-online.com\n\nThe\sproblem\sis:\swhen\scompiling\swith\s\sboth\s\n\s\s\s-DTCL_THREADS\s-DUSE_THREAD_ALLOC\nthe\sfollowing\sscript\s(typed\sat\sthe\stclsh\sprompt)\sleaks\nmassively\n\n\s\sfor\s{\sset\si\s0\s}\s{\s$i\s<\s100000\s}\s{incr\si}\s{\n\s\s\s\s\s\slappend\sa\s""\n\s\s\s\s\s\sunset\sa\n\s\s}\n\nReplacing\s[lappend]\swith\s[append]\sor\s[unset\sa]\swith\n[set\sa\s{}]\sstops\sthe\sleak;\scompiling\swith\sthe\sprevious\nallocator\sstops\sit\stoo.\n\nI\sconfirmed\sthe\sproblem\son\slinux,\swith\sthe\sHEAD\sas\sof\n2002-04-24\s-\si.e.,\sjust\safter\sthe\scommit\sof\sthe\snew\nallocator\sand\sbefore\sreleasing\stcl8.4b1.\n\n\n\n
J foundin obsolete:\s8.4b2
J priority 8
J resolution None
J status Open
J submitter msofer
J subsystem 41.\sMemory\sAllocation
J title leak\swith\sthe\snew\sthread\sallocator
J type Bug
K 587488ffffffffffffffffffffffffffffffffff
U msofer
Z 85fe63e44f09baa9a70c61a03ab1b34d