Skip to content
Tcl Source Code History Of Ticket 12b0997ce75118f2
Login

History Of Ticket 12b0997ce75118f2

Artifacts Associated With Ticket 12b0997ce75118f2

  1. Ticket change [1c12cbff55] (rid 138901) by dgp on 2014-07-21 14:32:45:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      ==7719== 136 bytes in 1 blocks are definitely lost in loss record 18 of 22
      ==7719==    at 0x4A0610C: malloc (vg_replace_malloc.c:195)
      ==7719==    by 0x5D1CA6: TclpAlloc (tclAlloc.c:699)
      ==7719==    by 0x43D296: Tcl_Alloc (tclCkalloc.c:1059)
      ==7719==    by 0x53A13B: TclChanCreateObjCmd (tclIORChan.c:670)
      ==7719==    by 0x430A40: Dispatch (tclBasic.c:4357)
      ==7719==    by 0x430AC0: TclNRRunCallbacks (tclBasic.c:4390)
      ==7719==    by 0x430365: Tcl_EvalObjv (tclBasic.c:4121)
      ==7719==    by 0x4327F4: TclEvalEx (tclBasic.c:5259)
      
      
      ==7719== 1,175 (56 direct, 1,119 indirect) bytes in 1 blocks are definitely lost in loss record 22 of 22
      ==7719==    at 0x4A0610C: malloc (vg_replace_malloc.c:195)
      ==7719==    by 0x5D1CA6: TclpAlloc (tclAlloc.c:699)
      ==7719==    by 0x43D296: Tcl_Alloc (tclCkalloc.c:1059)
      ==7719==    by 0x52A807: Tcl_CreateChannel (tclIO.c:1557)
      ==7719==    by 0x53A0EF: TclChanCreateObjCmd (tclIORChan.c:657)
      ==7719==    by 0x430A40: Dispatch (tclBasic.c:4357)
      ==7719==    by 0x430AC0: TclNRRunCallbacks (tclBasic.c:4390)
      ==7719==    by 0x430365: Tcl_EvalObjv (tclBasic.c:4121)
      
    5. foundin initialized to: "trunk"
    6. is_private initialized to: "0"
    7. login: "dgp"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Minor"
    11. status initialized to: "Open"
    12. submitter initialized to: "dgp"
    13. subsystem initialized to: "25. Channel System"
    14. title initialized to: "mem leaks in iocmd.tf-32.0"
    15. type initialized to: "Bug"
  2. Ticket change [9b9df53b9b] (rid 138918) by dgp on 2014-07-22 15:22:43:

    1. icomment:
      The trouble here is that when the origin thread
      of a reflected channel is terminated, that reflected
      channel is marked as "dead".
      
      Forwarded ops on "dead" channels bail out early
      with the "Owner lost" message.
      
      When the op is "close" however, this early bailout
      means that the cleanup of RC structs is skipped,
      leading to the mem leak.
      
      Fix is to relocate RC struct cleanup to where it
      will not be skipped.  pending...
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  3. Ticket change [fd68cb9d88] (rid 138919) by dgp on 2014-07-22 15:59:09:

    1. icomment:
      That task is more complicated than expected
      because the Tcl_Obj's held in the rcPtr have
      to be freed in the same thread where they
      are created.
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  4. Ticket change [3dde5c9619] (rid 138921) by dgp on 2014-07-22 16:45:20:

    1. icomment: "Fix commited to a testing/merging branch."
    2. login: "dgp"
    3. mimetype: "text/plain"
  5. Ticket change [b890fb6439] (rid 138922) by dgp on 2014-07-22 16:57:08:

    1. icomment:
      Reflected channels in 8.5 and 8.6 have
      already diverged.  Not backporting.
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  6. Ticket change [1dd3398baa] (rid 138925) by dgp on 2014-07-22 17:04:44:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2456861.21162981"
    3. closer changed to: "dgp"
    4. icomment: "fixed for 8.6.2."
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"