Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 79532cfa523614e6099b8fdd47afcac945a36d41
Ticket: 3390272fffffffffffffffffffffffffffffffff
safe-3.* leaks
User & Date: ferrieux on 2011-08-12 06:34:24
Changes

  1. assignee changed to: "msofer"
  2. icomment:
    The stack below shows the leaked obj is the interp's objresult, which is juggled/cached with a local named "objResultPtr". Maybe Miguel, having all of TEBCresume's invariants in mind, will be quick to find the code path where that local is improperly overwritten (or not updated when coming out of a recursive call) ?
    
    '==13739== 24 bytes in 1 blocks are definitely lost in loss record 13 of 15
    ==13739==    at 0x4005BDC: malloc (vg_replace_malloc.c:195)
    ==13739==    by 0x402EFB8: TclpAlloc (tclAlloc.c:705)
    ==13739==    by 0x403F140: Tcl_Alloc (tclCkalloc.c:1046)
    ==13739==    by 0x40A4BAF: TEBCresume (tclExecute.c:2144)
    ==13739==    by 0x40343A2: TclNRRunCallbacks (tclBasic.c:4311)
    ==13739==    by 0x4036635: TclEvalObjEx (tclBasic.c:5882)
    ==13739==    by 0x40C2D46: SlaveEval (tclInterp.c:2777)
    ==13739==    by 0x40BFCC3: Tcl_InterpObjCmd (tclInterp.c:826)
    ==13739==    by 0x4034299: TclNREvalObjv (tclBasic.c:4269)
    ==13739==    by 0x40A6A41: TEBCresume (tclExecute.c:2793)
    ==13739==    by 0x40343A2: TclNRRunCallbacks (tclBasic.c:4311)
    ==13739==    by 0x4033E98: Tcl_EvalObjv (tclBasic.c:4103)
    
    
    
  3. login: "ferrieux"
  4. mimetype: "text/plain"
  5. username: "ferrieux"