Overview
| Artifact ID: | e25536240c0b495a33d1da8c7db55cbaedda4bad |
|---|---|
| Ticket: | 1075378fffffffffffffffffffffffffffffffff
C multithreaded program using TCL_interp leaks memory |
| User & Date: | mteira on 2004-11-29 16:55:33 |
Changes
- assignee changed to: "andreas_kupries"
- cmimetype changed to: "text/plain"
- comment changed to:
The attached C program worked fine with tcl8.4.6. Testing against tcl8.4.7, tcl8.4.8 and cvs trunk it leaks a lot of memory. I've tested it with the same results on Linux (Debian Woody) and sparc Solaris 2.8. The configure invocation was: ./configure --enable-threads --enable-shared The test program tries to source a script called test.tcl and evaluates a procedure on that script. It's enough an script like this: cat test.tcl proc test { set varA 1 set varB 2 } Once compiled, the program can be executed : ./tclleak 5 1000 (for example) With tcl8.4.6 it only takes 4Mb of maximum memory, with tcl8.4.7 and higher versions, it takes more than 150Mb. - foundin changed to: "obsolete: 8.4.8"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "mteira"
- subsystem changed to: "49. Threading"
- title changed to: "C multithreaded program using TCL_interp"
- type changed to: "Bug"