From: SourceForge.net <no...@so...> - 2004-12-10 19:17:39
|
Bugs item #1083082, was opened at 2004-12-10 13:15 Message generated for change (Comment added) made by dgp You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1083082&group_id=10894 Category: None Group: current: 8.5a2 Status: Open Resolution: None Priority: 5 Submitted By: Rolf Ade (pointsman) Assigned to: Nobody/Anonymous (nobody) Summary: Memory leak at startup Initial Comment: tcl head 10 dec 2004, compiled with --enable-symbols, -DPURIFY. Script is only: proc exit args {} valgrind reports: ==18300== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 27 from 2) ==18300== malloc/free: in use at exit: 12742 bytes in 264 blocks. ==18300== malloc/free: 6005 allocs, 5741 frees, 394569 bytes allocated. ==18300== For counts of detected errors, rerun with: -v ==18300== searching for pointers to 264 not-freed blocks. ==18300== checked 4668828 bytes. ==18300== ==18300== 120 bytes in 5 blocks are definitely lost in loss record 2 of 3 ==18300== at 0x40027B98: malloc (vg_replace_malloc.c:153) ==18300== by 0x40251A1D: TclpAlloc (../generic/tclAlloc.c:685) ==18300== by 0x402592E5: Tcl_Alloc (../generic/tclCkalloc.c:1018) ==18300== by 0x402DBD38: Tcl_NewStringObj (../generic/tclStringObj.c:211) ==18300== by 0x402E6C9E: TclGetProcessGlobalValue (../generic/tclUtil.c:2798) ==18300== by 0x4028801B: TclGetLibraryPath (../generic/tclEncoding.c:325) ==18300== by 0x4028B242: InitializeEncodingSearchPath (../generic/tclEncoding .c:3074) ==18300== by 0x402E6C72: TclGetProcessGlobalValue (../generic/tclUtil.c:2790) ==18300== by 0x40287F91: TclGetEncodingSearchPath (../generic/tclEncoding.c:2 81) ==18300== by 0x4028808C: MakeFileMap (../generic/tclEncoding.c:385) ==18300== by 0x4028B3B8: InitializeEncodingFileMap (../generic/tclEncoding.c: 3129) ==18300== by 0x402E6C72: TclGetProcessGlobalValue (../generic/tclUtil.c:2790) ==18300== by 0x40288E8F: LoadEncodingFile (../generic/tclEncoding.c:1344) ==18300== by 0x4028857B: Tcl_GetEncoding (../generic/tclEncoding.c:669) ==18300== by 0x402F4811: TclpGetEncodingNameFromEnvironment (tclUnixInit.c:61 5) ==18300== by 0x402F4752: TclpSetInitialEncodings (tclUnixInit.c:581) ==18300== by 0x40288E31: Tcl_FindExecutable (../generic/tclEncoding.c:1305) ==18300== by 0x402BBC12: Tcl_Main (../generic/tclMain.c:339) ==18300== by 0x8048705: main (tclAppInit.c:87) ==18300== by 0x4035D8AD: __libc_start_main (in /lib/libc.so.6) ==18300== ==18300== LEAK SUMMARY: ==18300== definitely lost: 120 bytes in 5 blocks. ==18300== possibly lost: 0 bytes in 0 blocks. ==18300== still reachable: 12622 bytes in 259 blocks. ==18300== suppressed: 0 bytes in 0 blocks. ==18300== Reachable blocks (those to which a pointer was found) are not shown. ==18300== To see them, rerun with: --show-reachable=yes ==18300== ---------------------------------------------------------------------- >Comment By: Don Porter (dgp) Date: 2004-12-10 14:17 Message: Logged In: YES user_id=80530 Thanks for the report. Looks like FreeThreadHash is missing a ClearHash call... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1083082&group_id=10894 |