Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8050f726f104c968363ae8a2963cb80aba6e313b
Ticket: 1811706fffffffffffffffffffffffffffffffff
Memory Leak, caused in Tcl_DeleteInterp
User & Date: nobody on 2007-10-12 01:21:58
Changes

  1. icomment:
    Logged In: NO 
    
    I've tried with several tools to monitor for a leak, and looked at the code too.  I think this is probably either a bug in libc/glibc, or Valgrind.
    
    I've tested this repeatedly and the process doesn't grow beyond a certain amount after a while.  I tested with single threaded, and --enable-threads builds of the Tcl HEAD from today.  I also can't duplicate the problem with the latest release of Valgrind.
    
    /lib/libc.so.6 reports
    GNU C Library stable release version 2.5
    
    while 1 {
     interp create slave
     interp delete slave
    }
    
    -GPS
    
    
  2. login: "nobody"
  3. mimetype: "text/plain"
  4. username: "nobody"