Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1a929e6f4288d48bdc9094ba73f35b1e27edd7b4
Ticket: 3386721fffffffffffffffffffffffffffffffff
leak in tcltest
User & Date: msofer on 2011-08-05 11:34:52
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    This script
    
      package require tcltest 2
      namespace import -force ::tcltest::*
      testintobj set 0 1
      interp create slave
      load {} Tcltest slave
    
    causes the following leak:
    
      0:  malloc (vg_replace_malloc.c:236)
      1:  TclpAlloc (tclAlloc.c:705)
      2:  Tcl_Alloc (tclCkalloc.c:1046)
      3:  Tcl_NewIntObj (tclObj.c:2410)
      4:  TestintobjCmd (tclTestObj.c:640)
      5:  TclNREvalObjv (tclBasic.c:4272)
      6:  TEBCresume (tclExecute.c:2789)
      7:  TclNRRunCallbacks (tclBasic.c:4314)
      8:  TclEvalObjEx (tclBasic.c:5885)
      9:  Tcl_EvalObjEx (tclBasic.c:5866)
    
    The script is the minimal thing I found while investigating a leak in execute.test, every line seems significant.
    
  4. foundin changed to: "obsolete: 8.6b2"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "msofer"
  10. subsystem changed to: "None"
  11. title changed to: "leak in tcltest"
  12. type changed to: "Bug"