Skip to content
Tcl Source Code View Ticket
Login

View Ticket

memory/Tcl_Obj leaks in HEAD

Closed / Out of Date989093ffffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 21 years ago
Descriptionplain2004-07-11 22:47:54
Tracked down quite a few memory/Tcl_Obj leaks in the
latest HEAD.

List of leaks is attached.
mistachkinplain2004-07-12 05:47:55
File Added - 93580: memory.leaks
mistachkinplain2004-07-12 05:48:19
File Added - 93581: Tcl_Obj.leaks
mistachkinplain2004-07-12 06:02:33
Logged In: YES 
user_id=113501

Tests were performed on FreeBSD with a threaded debug build
using the following steps:

1. start tclsh via make shell
2. rename exit ""
3. memory onexit "path/to/memory.leaks"
4. close stdin
msoferplain2004-07-12 07:43:46
Logged In: YES 
user_id=148712

FWIW (non-threaded, linux):

 valgrind --leak-check=yes --num-callers=10  
--show-reachable=yes ./tclsh  
 <valgrind output clipped>
 % rename exit ""
 % close stdin
 <valgrind output clipped>

shows no real leaks, and two "still reachable" allocs
msoferplain2004-07-12 17:19:19
Logged In: YES 
user_id=148712

Appending the full report of a valgrind run of the testsuite
(fullResults1), and an extract containing just the "real leaks".
msoferplain2004-07-12 17:19:20
File Added - 93630: fullResults1.gz
msoferplain2004-07-12 17:20:15
File Added - 93631: fullResults1.result
hobbs Ticket [989093ffff]: 2 changes [History diff]2004-11-12 03:31:18
msoferplain2005-04-21 20:42:56
Logged In: YES 
user_id=148712

Should re-valgrind HEAD soon ...
msoferplain2005-10-22 09:25:01
Logged In: YES 
user_id=148712

HEAD has changed a lot since this report; leak-hunting will
have to be redone before release.
Log in (anonymous is fine) to add a comment.

Attachments: