Skip to content
Tcl Source Code History Of Ticket 2895367
Login

History Of Ticket 2895367

Artifacts Associated With Ticket 2895367

  1. Ticket change [c4d44148a5] (rid 111904) by dgp on 2009-11-10 17:45:40:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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 initialized to: "obsolete: 8.5.7"
    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: "45. Parsing and Eval"
    11. title initialized to: "[testconcatobj] leaks memory"
    12. type initialized to: "Bug"
  2. Ticket change [d0604c8373] (rid 113168) by dkf on 2009-12-13 02:59:25:

    1. assignee changed to: "dkf"
    2. closedate changed to: "2009-12-12T19:59:25"
    3. closer changed to: "dkf"
    4. icomment:
      
      
      allow_comments - 1
      
      Ugly code in that function! Hacky cleanup code added. Don't look at the idioms! (Fixed on 8.5 and 8.6.)
      
      
    5. login: "dkf"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. username: "dkf"