Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 88c100c2ef449f39323e8c37170b292eea60e158
Ticket: 684756ffffffffffffffffffffffffffffffffff
compile-12.1 fails
User & Date: msofer on 2003-02-12 02:14:13
Changes

  1. icomment:
    Logged In: YES 
    user_id=148712
    
    Confirmed on linux/i386: a 57 byte leak.
    
    It is not the earlier literal-sharing bug; the leak seems to
    be in interp creation/deletion, it appears in the simplified
    test
    
         proc getbytes {} {
    set lines [split [memory info] "\n"]
    lindex [lindex $lines 3] 3
        }
        
        set end [getbytes]
        for {set i 0} {$i < 5} {incr i} {
    interp create foo 
    interp delete foo
    set tmp $end
    set end [getbytes]
        }    
        rename getbytes {}
        set leak [expr {$end - $tmp}]
    
    (i.e., compile-12.1 minus the creation of a namespace in the
    new interp prior to deletion).
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"