Artifacts Associated With Ticket 1075378
Ticket change [e25536240c] (rid 87605) by mteira on 2004-11-29 16:55:33:
- assignee initialized to: "andreas_kupries"
- cmimetype initialized to: "text/plain"
- comment initialized 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 initialized to: "obsolete: 8.4.8"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "mteira"
- subsystem initialized to: "49. Threading"
- title initialized to: "C multithreaded program using TCL_interp"
- type initialized to: "Bug"
Ticket change [d8c71b3e62] (rid 107506) by mteira on 2004-11-29 23:55:33:
- icomment:
File Added - 110561: tclleak.c
- login: "mteira"
- mimetype: "text/plain"
- username: "mteira"
- icomment:
Add attachment "tclleak.c" [d4936a17d1] (rid 123471) by mteira on 2004-11-29 23:55:33.
Ticket change [e975d3109c] (rid 104820) by mteira on 2004-11-29 23:56:17:
- title changed to:
C multithreaded program using TCL_interp leaks memory
- title changed to:
Ticket change [c260bbbb8d] (rid 111476) by davygrvy on 2004-11-30 01:10:07:
- icomment:
Logged In: YES user_id=7549 lacking Tcl_FinalizeThread in thFunction(). lacking Tcl_FindExecutable() and Tcl_Finalize() in main().
- login: "davygrvy"
- mimetype: "text/plain"
- username: "davygrvy"
- icomment:
Ticket change [b30c9f5b20] (rid 98447) by davygrvy on 2004-11-30 01:14:17:
- icomment:
Logged In: YES user_id=7549 whoop.. n/m.. missed seeing Tcl_FinalizeThread
- login: "davygrvy"
- mimetype: "text/plain"
- username: "davygrvy"
- icomment:
Ticket change [7ea93d2abf] (rid 97455) by msofer on 2005-05-18 21:48:02:
- icomment:
Logged In: YES user_id=148712 Dave: should this ticket be closed as invalid?
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [49a7c1f53f] (rid 100088) by hobbs on 2005-05-31 09:24:59:
- assignee changed to: "vasiljevic"
- icomment:
Logged In: YES user_id=72656 Zoran - is this related to your recent fix?
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
Ticket change [422c8af574] (rid 116319) by vasiljevic on 2005-05-31 14:03:51:
- icomment:
Logged In: YES user_id=95086 It is. You can safely close this one.
- login: "vasiljevic"
- mimetype: "text/plain"
- username: "vasiljevic"
- icomment:
Ticket change [b27133553e] (rid 98334) by vasiljevic on 2005-05-31 14:06:56:
- closedate changed to: "2005-05-31T07:06:56"
- closer changed to: "vasiljevic"
- resolution changed to: "Fixed"
- status changed to: "Closed"