Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 20b56da851956e3fb840be2e416fa4abedd33a1e
Ticket: 1077474fffffffffffffffffffffffffffffffff
Memory leak?
User & Date: dkf on 2004-12-02 10:53:34
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    compile-12.1 fails for me (config: Linux, Fedora Core
    2, Tcl HEAD built with --enable-symbols=all,
    --enable-threads)
    
    ==== compile-12.1 testing literal leak on interp delete
    FAILED
    ==== Contents of test case:
    
        proc getbytes {} {
            set lines [split [memory info] "\n"]
            puts [lindex $lines 3]
            lindex $lines 3 3
        }
    
        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]
        }
        rename getbytes {}
        set leak [expr {$end - $tmp}]
    
    ---- Result was:
    20736
    ---- Result should have been (exact matching):
    0
    ==== compile-12.1 FAILED
    
    
  4. foundin changed to: "obsolete: 8.5a2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dkf"
  9. subsystem changed to: "47. Bytecode Compiler"
  10. title changed to: "Memory leak?"
  11. type changed to: "Bug"