Skip to content
Tcl Source Code History Of Ticket 3396948
Login

History Of Ticket 3396948

Artifacts Associated With Ticket 3396948

  1. Ticket change [b4e40a8ba9] (rid 125127) by dgp on 2011-08-23 15:41:29:

    1. assignee initialized to: "andreas_kupries"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      $ cat leak.tcl
          proc foo {args} {return {initialize finalize watch read}}
          close [chan create r foo]
      $ valgrind --leak-check=yes ./tclsh leak.tcl
      ...
      ==29335== 88 bytes in 1 blocks are definitely lost in loss record 16 of 20
      ==29335==    at 0x4A05E1C: malloc (vg_replace_malloc.c:195)
      ==29335==    by 0x49FA82: TclpAlloc (tclAlloc.c:705)
      ==29335==    by 0x4B1086: Tcl_Alloc (tclCkalloc.c:1046)
      ==29335==    by 0x426520: GetThreadReflectedChannelMap (tclIORChan.c:2573)
      ==29335==    by 0x4244A6: TclChanCreateObjCmd (tclIORChan.c:720)
      ==29335==    by 0x4A51B4: TclNREvalObjv (tclBasic.c:4273)
      ==29335==    by 0x4A7CBC: TclNREvalObjEx (tclBasic.c:5984)
      ==29335==    by 0x4AAA9C: Tcl_NREvalObj (tclBasic.c:8181)
      ==29335==    by 0x5235DA: NsEnsembleImplementationCmdNR (tclEnsemble.c:1858)
      ==29335==    by 0x4A550E: NRRunObjProc (tclBasic.c:4366)
      ==29335==    by 0x4A52DF: TclNRRunCallbacks (tclBasic.c:4315)
      ==29335==    by 0x4A4CFE: Tcl_EvalObjv (tclBasic.c:4107)
      
      
    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: "25. Channel System"
    11. title initialized to: "ThreadReflectedChannelMap leak"
    12. type initialized to: "Bug"
  2. Ticket change [0f42a98787] (rid 94757) by dgp on 2011-08-23 23:00:39:

    1. icomment:
      
      Looks like a simple one.  Thread exit handler
      DeleteThreadReflectedChannelMap() is simply
      missing a ckfree() call.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [ac90f0cbb5] (rid 101318) by dgp on 2011-08-23 23:31:20:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2011-08-23T16:31:20"
    3. closer changed to: "dgp"
    4. icomment:
      
      
      allow_comments - 1
      
      Moved a few mutexes as well in the
      patch applied to trunk.
      
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. username: "dgp"
  4. Ticket change [c4b0c50b7a] (rid 111883) by dgp on 2011-08-25 19:47:01:

    1. icomment:
      
      
      allow_comments - 0
      
      Very similar leaks of ReflectedTransformMap
      are also present, but attempting the same simple
      fix to them lead to segfaults.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. status changed to: "Open"
    5. username: "dgp"
  5. Ticket change [11d2096ee3] (rid 95208) by dgp on 2011-08-29 21:37:04:

    1. closedate changed to: "2011-08-29T14:37:04"
    2. closer changed to: "dgp"
    3. icomment:
      
      
      allow_comments - 1
      
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "dgp"