Skip to content
Tcl Source Code History Of Ticket 3390272fffffffffffffffffffffffffffffffff
Login

History Of Ticket 3390272fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 3390272fffffffffffffffffffffffffffffffff

  1. Ticket change [2c70ca956a] (rid 118904) by dgp on 2011-08-11 22:06:40:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      Each of the four tests matching safe-3.* leaks
      a Tcl_Obj.
      
    4. foundin initialized to: "obsolete: 8.6b2"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "dgp"
    10. subsystem initialized to: "33. Safe Base"
    11. title initialized to: "safe-3.* leaks"
    12. type initialized to: "Bug"
  2. Ticket change [7c7835c550] (rid 97084) by dgp on 2011-08-12 05:10:22:

    1. icomment:
      Reduced leaking script:
      
      interp create a -safe
      safe::interpInit a
      safe::interpDelete a
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [79532cfa52] (rid 90107) by ferrieux on 2011-08-12 06:34:24:

    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"
  4. Ticket change [f1ec2376a7] (rid 109442) by dgp on 2011-08-15 21:38:05:

    1. icomment:
      
      Here's the leak:
      
      interp create a -safe
      interp eval a {info script xxx}
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [08ec2a8e1c] (rid 89641) by dgp on 2011-08-15 22:01:23:

    1. assignee changed to: "dgp"
    2. icomment:
      
      interp create slave
      slave eval {info script foo}
      interp delete slave
      
      "Safe" has nothing to do with it.
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. subsystem changed to: "20. [interp]"
    6. username: "dgp"
  6. Ticket change [7fa4357f71] (rid 97595) by dgp on 2011-08-15 23:05:05:

    1. closedate changed to: "2011-08-15T16:05:05"
    2. closer changed to: "dgp"
    3. icomment:
      
      
      allow_comments - 1
      
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dgp"