Overview
| Artifact ID: | fa0602ecd5395150660be303aa0bda2724fc9438 |
|---|---|
| Ticket: | 467523ffffffffffffffffffffffffffffffffff
memory leak in [namespace eval foo {}] |
| User & Date: | rbrunner on 2001-10-09 23:38:20 |
Changes
- icomment:
Logged In: YES user_id=205230 Here a complete log of what I'm doing. Note: running the code in an interactive tclsh works (no dump) and not changing the MEM_DEBUG_FLAGS in Makefile *ALSO* works (no dump). Let me know whether you need the tclConfig.sh or any other additional info ... > uname -a SunOS mlt 5.6 Generic_105181-26 sun4u sparc SUNW,Ultra-250 > tar xzf tcl8.4a3.tar.gz > cd tcl8.4a3/generic > # apply patch to tclLiteral.c (just copy 1.9 over 1.8) > cd ../unix ./configure > # change Makefile to memory debug #MEM_DEBUG_FLAGS = MEM_DEBUG_FLAGS = -DTCL_MEM_DEBUG > make > setenv LD_LIBRARY_PATH . > # write a mini script foo: vi foo #!./tclsh for {set a 0} {$a < 10} {incr a} { namespace eval bar {} namespace delete bar } > chmod +x foo > ./foo file = ./../generic/tclExecute.c, line = 663 Trying to increment refCount of previously disposed object. Abort (core dumped) > - login: "rbrunner"
- mimetype: "text/plain"
- username: "rbrunner"