From: SourceForge.net <no...@so...> - 2004-11-29 16:55:33
|
Bugs item #1075378, was opened at 2004-11-29 17:55 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1075378&group_id=10894 Category: 47. Threading Group: current: 8.4.8 Status: Open Resolution: None Priority: 5 Submitted By: Manuel Teira Paz (mteira) Assigned to: Andreas Kupries (andreas_kupries) Summary: C multithreaded program using TCL_interp Initial Comment: 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1075378&group_id=10894 |