Artifacts Associated With Ticket 12b0997ce7
Ticket change [1c12cbff55] (rid 138901) by dgp on 2014-07-21 14:32:45:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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)
- foundin initialized to: "trunk"
- is_private initialized to: "0"
- login: "dgp"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "25. Channel System"
- title initialized to: "mem leaks in iocmd.tf-32.0"
- type initialized to: "Bug"
Ticket change [9b9df53b9b] (rid 138918) by dgp on 2014-07-22 15:22:43:
- 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...
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [fd68cb9d88] (rid 138919) by dgp on 2014-07-22 15:59:09:
- 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.
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [3dde5c9619] (rid 138921) by dgp on 2014-07-22 16:45:20:
- icomment: "Fix commited to a testing/merging branch."
- login: "dgp"
- mimetype: "text/plain"
Ticket change [b890fb6439] (rid 138922) by dgp on 2014-07-22 16:57:08:
- icomment:
Reflected channels in 8.5 and 8.6 have already diverged. Not backporting.
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [1dd3398baa] (rid 138925) by dgp on 2014-07-22 17:04:44:
- assignee changed to: "dgp"
- closedate changed to: "2456861.21162981"
- closer changed to: "dgp"
- icomment: "fixed for 8.6.2."
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"