Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0337816575004ac06d3baa37e2a7f35d14ef1b53
Ticket: 2024937fffffffffffffffffffffffffffffffff
memleaks in test suite
User & Date: dgp on 2008-07-22 18:36:20
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    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.
    
    
  4. foundin changed to: "obsolete: 8.6a1"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "dgp"
  10. subsystem changed to: "47. Bytecode Compiler"
  11. title changed to: "memleaks in test suite"
  12. type changed to: "Bug"