Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c4d44148a5210e278b3aeb9706bab91e5413a9eb
Ticket: 2895367fffffffffffffffffffffffffffffffff
[testconcatobj] leaks memory
User & Date: dgp on 2009-11-10 17:45:40
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    only a testing command, so not chasing at the
    moment.
    
    test util-4.7 puts [testconcatobj] to work, and
    valgrind sees it leaking badly:
    
    ==5975== 12 bytes in 3 blocks are indirectly lost in loss record 1 of 4
    ==5975==    at 0x40053C0: malloc (vg_replace_malloc.c:149)
    ==5975==    by 0x815B8FC: TclpAlloc (tclAlloc.c:708)
    ==5975==    by 0x8071478: Tcl_Alloc (tclCkalloc.c:1046)
    ==5975==    by 0x80FA04C: SetListFromAny (tclListObj.c:1783)
    ==5975==    by 0x80F8C7F: Tcl_ListObjLength (tclListObj.c:730)
    ==5975==    by 0x8060678: TestconcatobjCmd (tclTest.c:7109)
    ==5975==    by 0x8068278: TclInvokeStringCommand (tclBasic.c:2145)
    ==5975==    by 0x806A065: TclEvalObjvInternal (tclBasic.c:3689)
    ==5975==
    ==5975==
    ==5975== 72 bytes in 3 blocks are indirectly lost in loss record 2 of 4
    ==5975==    at 0x40053C0: malloc (vg_replace_malloc.c:149)
    ==5975==    by 0x815B8FC: TclpAlloc (tclAlloc.c:708)
    ==5975==    by 0x8071478: Tcl_Alloc (tclCkalloc.c:1046)
    ==5975==    by 0x80FA09B: SetListFromAny (tclListObj.c:1791)
    ==5975==    by 0x80F8C7F: Tcl_ListObjLength (tclListObj.c:730)
    ==5975==    by 0x8060678: TestconcatobjCmd (tclTest.c:7109)
    ==5975==    by 0x8068278: TclInvokeStringCommand (tclBasic.c:2145)
    ==5975==    by 0x806A065: TclEvalObjvInternal (tclBasic.c:3689)
    ==5975==
    ==5975==
    ==5975== 136 (24 direct, 112 indirect) bytes in 1 blocks are definitely lost in loss record 3 of 4
    ==5975==    at 0x40053C0: malloc (vg_replace_malloc.c:149)
    ==5975==    by 0x815B8FC: TclpAlloc (tclAlloc.c:708)
    ==5975==    by 0x8071478: Tcl_Alloc (tclCkalloc.c:1046)
    ==5975==    by 0x8108EF8: Tcl_DuplicateObj (tclObj.c:1522)
    ==5975==    by 0x80606FA: TestconcatobjCmd (tclTest.c:7127)
    ==5975==    by 0x8068278: TclInvokeStringCommand (tclBasic.c:2145)
    ==5975==    by 0x806A065: TclEvalObjvInternal (tclBasic.c:3689)
    ==5975==    by 0x80C322D: TclExecuteByteCode (tclExecute.c:2327)
    ==5975==
    ==5975==
    ==5975== 28 bytes in 1 blocks are indirectly lost in loss record 4 of 4
    ==5975==    at 0x40053C0: malloc (vg_replace_malloc.c:149)
    ==5975==    by 0x815B8FC: TclpAlloc (tclAlloc.c:708)
    ==5975==    by 0x807152A: Tcl_AttemptAlloc (tclCkalloc.c:1098)
    ==5975==    by 0x80F8396: NewListIntRep (tclListObj.c:94)
    ==5975==    by 0x80F9F29: SetListFromAny (tclListObj.c:1750)
    ==5975==    by 0x80F8C7F: Tcl_ListObjLength (tclListObj.c:730)
    ==5975==    by 0x8060678: TestconcatobjCmd (tclTest.c:7109)
    ==5975==    by 0x8068278: TclInvokeStringCommand (tclBasic.c:2145)
    ==5975==
    
    
  4. foundin changed to: "obsolete: 8.5.7"
  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: "dgp"
  10. subsystem changed to: "45. Parsing and Eval"
  11. title changed to: "[testconcatobj] leaks memory"
  12. type changed to: "Bug"