Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 88e356d7b554f0e18040bf111016f549d718f75e
Ticket: 994838ffffffffffffffffffffffffffffffffff
memory leak in interpreter creation/deletion loop
User & Date: msofer on 2004-07-21 17:35:20
Changes

  1. icomment:
    Logged In: YES 
    user_id=148712
    
    The patch has been committed, ticket still open until I
    reach a full understanding of the issue and am satisfied of
    its correction and completeness. Issues:
    
    (0) I still do not see why the leak was only observable in
    windows. 
    
    (1) it frees the internal rep of every shared literal, but
    unshared literals are not covered. This will break any
    reference loop where a shared literal intervenes, but leaves
    the issue untouched for loops of unshared lits
    
    (2) it panics on a literal with no string rep; this can only
    occur with unshared literals created via TclAddLiteralObj(),
    so it is not really an issue while issue (1) remains untouched
    
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"