|
2008-07-23
| ||
| 05:52 | • Closed ticket [2024937fff]: memleaks in test suite plus 8 other changes artifact: ed374ef325 user: andreas_kupries | |
| 01:54 | • Ticket [2024937fff]: 5 changes artifact: f2ecc1622e user: msofer | |
|
2008-07-22
| ||
| 18:36 | • New ticket [2024937fff]. artifact: 0337816575 user: dgp | |
memleaks in test suite
Closed / Fixed2024937fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2008-07-22 18:36:20
Really this is on HEAD, not 8.6a1.
==== compExpr-7.1 Memory Leak FAILED
==== Contents of test case:
set end [getbytes]
for {set i 0} {$i < 5} {incr i} {
interp create slave
slave eval expr 1+2+3+4+5+6+7+8+9+10+11+12+13
interp delete slave
set tmp $end
set end [getbytes]
}
set leakedBytes [expr {$end - $tmp}]
---- Result was:
64
---- Result should have been (exact matching):
0
==== compExpr-7.1 FAILED
compile.test
==== compile-12.1 testing literal leak on interp delete FAILED
==== Contents of test case:
set end [getbytes]
for {set i 0} {$i < 5} {incr i} {
interp create foo
foo eval {
namespace eval bar {}
}
interp delete foo
set tmp $end
set end [getbytes]
}
set leakedBytes [expr {$end - $tmp}]
---- Result was:
64
---- Result should have been (exact matching):
0
==== compile-12.1 FAILED
Both failures in one report since
I suspect they both trace to a common
root cause.
msoferplain2008-07-23 01:54:49
Logged In: YES user_id=148712 Originator: NO Verified that the leaks were introduced by the TIP #280 commit of 2008-07-21
andreas_kupriesplain2008-07-23 05:52:16
Logged In: YES user_id=75003 Originator: NO Fixed as part of the performance rewrite for deep recursion.
Log in (anonymous is fine) to add a comment.