From: SourceForge.net <no...@so...> - 2011-08-19 20:04:09
|
Bugs item #3393280, was opened at 2011-08-17 12:16 Message generated for change (Comment added) made by andreas_kupries You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=3393280&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 26. Channel Transforms Group: development: 8.6b2 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Don Porter (dgp) Assigned to: Don Porter (dgp) Summary: iortrans-11.0 leaks Initial Comment: $ make valgrind TESTFLAGS="-file ioTrans.test -match iortrans-11.0" ... ==2696== 405 (88 direct, 317 indirect) bytes in 1 blocks are definitely lost in loss record 23 of 23 ==2696== at 0x4A05E1C: malloc (vg_replace_malloc.c:195) ==2696== by 0x493654: Tcl_Alloc (in /local/tmp/dgp/fossil/tcl-only/valgrind/tcltest) ==2696== by 0x4F3827: TclChanPushObjCmd (in /local/tmp/dgp/fossil/tcl-only/valgrind/tcltest) ==2696== by 0x48DD49: TclNREvalObjv (in /local/tmp/dgp/fossil/tcl-only/valgrind/tcltest) ==2696== by 0x48F4EC: TclNREvalObjEx (in /local/tmp/dgp/fossil/tcl-only/valgrind/tcltest) ==2696== by 0x4D8996: NsEnsembleImplementationCmdNR (in /local/tmp/dgp/fossil/tcl-only/valgrind/tcltest) ==2696== by 0x489435: TclNRRunCallbacks (in /local/tmp/dgp/fossil/tcl-only/valgrind/tcltest) ==2696== by 0x4207B2: SlaveEval (in /local/tmp/dgp/fossil/tcl-only/valgrind/tcltest) ---------------------------------------------------------------------- >Comment By: Andreas Kupries (andreas_kupries) Date: 2011-08-19 13:04 Message: Oops. Sorry. (Has ReflectClose in tclIORChan.c similar missing T_EF ?) ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2011-08-19 12:58 Message: ReflectClose simply has a few exits that fail to call Tcl_EventuallyFree ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2011-08-19 12:34 Message: The value returned by NewReflectedTransform (tclIORTrans.c, line 580) is what is leaking. Suspect a missing Tcl_Release() call somewhere. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=3393280&group_id=10894 |