Artifacts Associated With Ticket 3396948
Ticket change [b4e40a8ba9] (rid 125127) by dgp on 2011-08-23 15:41:29:
- assignee initialized to: "andreas_kupries"
- cmimetype initialized to: "text/plain"
- 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) - foundin initialized to: "obsolete: 8.6b2"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "25. Channel System"
- title initialized to: "ThreadReflectedChannelMap leak"
- type initialized to: "Bug"
Ticket change [0f42a98787] (rid 94757) by dgp on 2011-08-23 23:00:39:
- icomment:
Looks like a simple one. Thread exit handler DeleteThreadReflectedChannelMap() is simply missing a ckfree() call.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [ac90f0cbb5] (rid 101318) by dgp on 2011-08-23 23:31:20:
- assignee changed to: "dgp"
- closedate changed to: "2011-08-23T16:31:20"
- closer changed to: "dgp"
- icomment:
allow_comments - 1 Moved a few mutexes as well in the patch applied to trunk.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dgp"
Ticket change [c4b0c50b7a] (rid 111883) by dgp on 2011-08-25 19:47:01:
- icomment:
allow_comments - 0 Very similar leaks of ReflectedTransformMap are also present, but attempting the same simple fix to them lead to segfaults.
- login: "dgp"
- mimetype: "text/plain"
- status changed to: "Open"
- username: "dgp"
- icomment:
Ticket change [11d2096ee3] (rid 95208) by dgp on 2011-08-29 21:37:04:
- closedate changed to: "2011-08-29T14:37:04"
- closer changed to: "dgp"
- icomment:
allow_comments - 1
- login: "dgp"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "dgp"