Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 60d2c500088c84edbdf251079b1c7d166ed39b2d
Ticket: 2004654fffffffffffffffffffffffffffffffff
head: package require foo leaks
User & Date: msofer on 2008-06-28 07:49:41
Changes

  1. assignee changed to: "andreas_kupries"
  2. icomment:
    Logged In: YES 
    user_id=148712
    Originator: NO
    
    More notes, from the chat:
    
    1. pointsman first discovered the leak while running
         package require foo; proc exit args {}
       under valgrind: stack trace attached and at http://paste.tclers.tk/1031. It shows that processing goes through unknown (and hence uplevel)
    
    2. No leak when the slave does [set x 1], or [glob /*]: a priori not related to either interp creation/deletion or FS 
    
    3. no leak when slave does [catch foo]: a priori not related to unknown or uplevel
    
    So: my first suspect is package handling in init.tcl. Last change seems to be aku's 2008-06-25. Assigning to him for first review.
    
    
  3. login: "msofer"
  4. mimetype: "text/plain"
  5. username: "msofer"