Skip to content
Tcl Source Code View Ticket
Login

View Ticket

definitely lost mem with tcl8.4.19rc0

Closed / Fixed1940433fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2008-04-11 19:45:28
tcl8.4.19rc0, build with --enable-symbols, added -DPURIFY

In all.tcl:
tcltest::singleProcess 1 (because on linux)
(and before the return at the end of the file):
proc exit args {}

If I run:

valgrind --num-callers=60 --leak-check=full --show-reachable=yes ./tcltest ../tests/all.tcl -file compExpr-old.test -match 'compExpr-old-1.12'

valgrind returns:

(see attachement or http://paste.tclers.tk/871
pointsmanplain2008-04-12 02:45:28
File Added - 274200: valgrind.out
pointsman Ticket [1940433fff]: 1 change [History diff]2008-04-12 02:45:58
pointsmanplain2008-04-14 03:52:28
Logged In: YES 
user_id=13222
Originator: YES

Tcl head (as of 2009-04-13) doesn't has this leak.
pointsman Ticket [1940433fff]: 1 change [History diff]2008-04-14 03:54:02
pointsmanplain2008-04-14 05:20:25
Logged In: YES 
user_id=13222
Originator: YES

Tcl 8.4.18 doesn't has this leak, too. Looks new.
dgpplain2008-04-14 23:21:54
Logged In: YES 
user_id=80530
Originator: NO


Patch for 1899164 is to blame.

Patch was originally developed for 8.5,
where compilation errors no longer happen.

Backport to 8.4 neglected to cover the
exit from Tcl_ExprObj() on a compile error.
dgpplain2008-04-14 23:26:09
Logged In: YES 
user_id=80530
Originator: NO


fix committed.

will retag 8.4.19 and
cut new RC.
Log in (anonymous is fine) to add a comment.

Attachments: