8.5.4rc0 mem leaks
Closed2043634fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2008-08-09 00:18:16
With 8.5.4rc0, --enable-symbols --disable-threads, -DPURIFY added. If I run the test suite under valgrind (with proc exit args {} at the end) there's a lot of noise.
It's clear to me, that this valgrind output isn't maximal
helpful. There are probably only a few spots, if ever, which may be used to write 'real' leaking scripts. Though, I can't show such a script atm. Anyway, memory hygiene of 8.5.4rc0 isn't as bright as it was in earlier versions.
pointsmanplain2008-08-09 07:18:17
File Added - 287786: valgrind.out
msoferplain2008-08-10 06:05:26
Logged In: YES
user_id=148712
Originator: NO
The script
while {1} {
catch {
proc p x {
set y [string tolower $x]
return "$x:$y"
}
procbodytest::proc t x p
} result
incr i
}
leaks a CmdFrame when sourced (but not when run from the command line), both in 8.5 and 8.6. The
stack trace is at http://paste.tclers.tk/1130, the growth can easily be seen in top.
andreas_kupriesplain2008-08-12 03:42:05
Logged In: YES user_id=75003 Originator: NO Ok, a fix was committed to the 8.5 branch. Porting to 8.4 and 8.6 now. Same test triggers. Same fix works. Committed. It is unclear to me if I can close the bug now, or if there are other problems to handle, just by someone else? Lowering prio. Unassigning.
dgpplain2008-08-12 21:55:32
Logged In: YES user_id=80530 Originator: NO RC1 now available for testing.
dgp Ticket [2043634fff]: 1 change
[History diff]2008-08-12 21:57:04
dgpplain2008-08-20 20:40:34
Logged In: YES user_id=80530 Originator: NO time for testing RCs is past. If there's still memleaks in the 8.5.4 release, open a new ticket.
Log in (anonymous is fine) to add a comment.
Attachments:
- valgrind.out [download] added by pointsman on 2008-08-09 07:18:17. [details]