Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e22b59db391d066eb52b7ab044993de02c6c43c4
Ticket: 1083082fffffffffffffffffffffffffffffffff
Memory leak at startup
User & Date: pointsman on 2004-12-10 18:15:48
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    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== 
    
    
  4. foundin changed to: "obsolete: 8.5a2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "pointsman"
  9. subsystem changed to: "None"
  10. title changed to: "Memory leak at startup"
  11. type changed to: "Bug"