| Ticket UUID: | 2024937 | ||
| Title: | memleaks in test suite | ||
| Type: | Bug | Created on: | 2008-07-22 18:36:20 |
| Submitter: | dgp | Assigned to: | msofer |
| Subsystem: | 47. Bytecode Compiler | Severity: | |
| Priority: | 5 Medium | Last modified: | 2008-07-23 05:52:16 |
| Status: | Closed | Closed by: | andreas_kupries |
| Resolution: | Fixed | Closed on: | 2008-07-22 22:52:16 |
| Version: | obsolete: 8.6a1 | ||
| Description: | ||||
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.
| ||||
| User Comments: | ||||
msofer added on 2008-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_kupries added on 2008-07-23 05:52:16:
Logged In: YES user_id=75003 Originator: NO Fixed as part of the performance rewrite for deep recursion. | ||||
