Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-10-22
09:25 • Closed ticket [989093ffff]: memory/Tcl_Obj leaks in HEAD plus 7 other change... artifact: 48908d9eaf user: msofer
2005-04-21
20:42 • Ticket [989093ffff]: 5 changes artifact: 15d63cead3 user: msofer
2004-11-12
03:31 • Ticket [989093ffff]: 2 changes artifact: 6f02085fde user: hobbs
2004-07-12
17:20 • Add attachment fullResults1.result to ticket [989093ffffffffff|989093ff... artifact: c757d0aec9 user: msofer
17:20 • Ticket [989093ffff] memory/Tcl_Obj leaks in HEAD status still Open with 4 ot... artifact: b653c38fcb user: msofer
17:19 • Ticket [989093ffff]: 4 changes artifact: 0bf2f9f79f user: msofer
17:19 • Add attachment fullResults1.gz to ticket [989093ffff] artifact: 719b8d7b4b user: msofer
17:19 • Ticket [989093ffff] memory/Tcl_Obj leaks in HEAD status still Open with 4 ot... artifact: 1377d4ce31 user: msofer
07:43 • Ticket [989093ffff]: 4 changes artifact: 5a65350498 user: msofer
06:02 • Ticket [989093ffff]: 4 changes artifact: 7ac0d7a9c2 user: mistachkin
05:48 • Add attachment Tcl_Obj.leaks to ticket [989093ffff] artifact: 2eff81406f user: mistachkin
05:48 • Ticket [989093ffff] memory/Tcl_Obj leaks in HEAD status still Open with 4 ot... artifact: d45452f180 user: mistachkin
05:47 • Add attachment memory.leaks to ticket [989093ffff] artifact: 692ee0bb99 user: mistachkin
05:47 • Ticket [989093ffff] memory/Tcl_Obj leaks in HEAD status still Open with 4 ot... artifact: 0b891757b2 user: mistachkin
2004-07-11
22:47 • New ticket [989093ffff]. artifact: aade6978e9 user: mistachkin

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: