Overview
| Artifact ID: | f6f76d04f1a46cc3efc775b6992c526c7d30ac18 |
|---|---|
| Ticket: | 587488ffffffffffffffffffffffffffffffffff
leak with the new thread allocator |
| User & Date: | msofer on 2002-07-27 18:58:35 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
Reported on clt by Sven Sass on clt: http://groups.google.com/groups?dq=&start=25&hl=en&lr=&ie=UTF-8&group=comp.lang.tcl&selm=88d0b923.0207260455.4e4f3da9%40posting.google.com http://groups.google.com/groups?dq=&hl=en&lr=&ie=UTF-8&group=comp.lang.tcl&selm=ahrscj%24290%2402%241%40news.t-online.com The problem is: when compiling with both -DTCL_THREADS -DUSE_THREAD_ALLOC the following script (typed at the tclsh prompt) leaks massively for { set i 0 } { $i < 100000 } {incr i} { lappend a "" unset a } Replacing [lappend] with [append] or [unset a] with [set a {}] stops the leak; compiling with the previous allocator stops it too. I confirmed the problem on linux, with the HEAD as of 2002-04-24 - i.e., just after the commit of the new allocator and before releasing tcl8.4b1. - foundin changed to: "obsolete: 8.4b2"
- priority changed to: "8"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "msofer"
- subsystem changed to: "41. Memory Allocation"
- title changed to: "leak with the new thread allocator"
- type changed to: "Bug"