Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: bf0f082c7b1c1c402df4183ea8cca255a4e49f38
Ticket: 543549ffffffffffffffffffffffffffffffffff
Improper memory clean up at exit
User & Date: pointsman on 2002-05-09 07:14:03
Changes

  1. icomment:
    Logged In: YES 
    user_id=13222
    
    I rechecked this, with the current HEAD (this is May 08
    22:00: GMT 2002). Configuration the same:
    
    ./configure --enable-symbols --disable-shared
    
    and -DPURIFY added to the C Flags.
    
    I'll append the results.
    
    Jeff noted, that he knows about the encoding ones.
    Three others are, "that looks like Vince's dept" (Jeff).
    
    rolf
    
    
    top 1 unfreed memory entry in leak table:
    
           bytes   count  location
        --------  ------  --------
            3464       8 
    /home/rolf/tcltk/cvs/tcl/unix/./../generic/tclAlloc.c line 679
            3464       8  total
    
        0x0814D3D4 (10 bytes) {malloc:589:0}
    [TclpAlloc|/home/rolf/tcltk/cvs/tcl/unix/./../generic/tclAlloc.c|679]
    0x0810F509 TclpAlloc+25 at ./../generic/tclAlloc.c:679
    0x080746CC Tcl_Alloc+28 at ./../generic/tclCkalloc.c:1002
    0x0809F0FC Tcl_CreateEncoding+108 at
    ./../generic/tclEncoding.c:738
    0x080A0483 LoadTableEncoding+2179 at
    ./../generic/tclEncoding.c:1542
    0x0809FA03 LoadEncodingFile+483 at
    ./../generic/tclEncoding.c:1226
    0x0809EB8D Tcl_GetEncoding+141 at ./../generic/tclEncoding.c:418
    0x0809F03D Tcl_SetSystemEncoding+77 at
    ./../generic/tclEncoding.c:677
    0x0806AFDF TclpSetInitialEncodings+575 at
    ./../unix/tclUnixInit.c:572
    0x080A1EB9 TclFindEncodings+153 at
    ./../generic/tclEncoding.c:2806
    0x0809F790 Tcl_FindExecutable+160 at
    ./../generic/tclEncoding.c:1138
    0x08054757 Tcl_Main+55 at ./../generic/tclMain.c:227
    0x08054556 main+38 at ./../unix/tclAppInit.c:99
    0x400D2313 getpwent+51 at ../nss/getXXent.c:80
    0x08054491 _start+33
    
        0x0814D428 (268 bytes) {malloc:576:0}
    [TclpAlloc|/home/rolf/tcltk/cvs/tcl/unix/./../generic/tclAlloc.c|679]
    0x0810F509 TclpAlloc+25 at ./../generic/tclAlloc.c:679
    0x080746CC Tcl_Alloc+28 at ./../generic/tclCkalloc.c:1002
    0x0809FD06 LoadTableEncoding+262 at
    ./../generic/tclEncoding.c:1389
    0x0809FA03 LoadEncodingFile+483 at
    ./../generic/tclEncoding.c:1226
    0x0809EB8D Tcl_GetEncoding+141 at ./../generic/tclEncoding.c:418
    0x0809F03D Tcl_SetSystemEncoding+77 at
    ./../generic/tclEncoding.c:677
    0x0806AFDF TclpSetInitialEncodings+575 at
    ./../unix/tclUnixInit.c:572
    0x080A1EB9 TclFindEncodings+153 at
    ./../generic/tclEncoding.c:2806
    0x0809F790 Tcl_FindExecutable+160 at
    ./../generic/tclEncoding.c:1138
    0x08054757 Tcl_Main+55 at ./../generic/tclMain.c:227
    0x08054556 main+38 at ./../unix/tclAppInit.c:99
    0x400D2313 getpwent+51 at ../nss/getXXent.c:80
    0x08054491 _start+33
    
        0x0814D534 (1536 bytes) {malloc:579:0}
    [TclpAlloc|/home/rolf/tcltk/cvs/tcl/unix/./../generic/tclAlloc.c|679]
    0x0810F509 TclpAlloc+25 at ./../generic/tclAlloc.c:679
    0x080746CC Tcl_Alloc+28 at ./../generic/tclCkalloc.c:1002
    0x0809FD58 LoadTableEncoding+344 at
    ./../generic/tclEncoding.c:1401
    0x0809FA03 LoadEncodingFile+483 at
    ./../generic/tclEncoding.c:1226
    0x0809EB8D Tcl_GetEncoding+141 at ./../generic/tclEncoding.c:418
    0x0809F03D Tcl_SetSystemEncoding+77 at
    ./../generic/tclEncoding.c:677
    0x0806AFDF TclpSetInitialEncodings+575 at
    ./../unix/tclUnixInit.c:572
    0x080A1EB9 TclFindEncodings+153 at
    ./../generic/tclEncoding.c:2806
    0x0809F790 Tcl_FindExecutable+160 at
    ./../generic/tclEncoding.c:1138
    0x08054757 Tcl_Main+55 at ./../generic/tclMain.c:227
    0x08054556 main+38 at ./../unix/tclAppInit.c:99
    0x400D2313 getpwent+51 at ../nss/getXXent.c:80
    0x08054491 _start+33
    
        0x081C2578 (36 bytes) {malloc:590:0}
    [TclpAlloc|/home/rolf/tcltk/cvs/tcl/unix/./../generic/tclAlloc.c|679]
    0x0810F509 TclpAlloc+25 at ./../generic/tclAlloc.c:679
    0x080746CC Tcl_Alloc+28 at ./../generic/tclCkalloc.c:1002
    0x0809F10B Tcl_CreateEncoding+123 at
    ./../generic/tclEncoding.c:740
    0x080A0483 LoadTableEncoding+2179 at
    ./../generic/tclEncoding.c:1542
    0x0809FA03 LoadEncodingFile+483 at
    ./../generic/tclEncoding.c:1226
    0x0809EB8D Tcl_GetEncoding+141 at ./../generic/tclEncoding.c:418
    0x0809F03D Tcl_SetSystemEncoding+77 at
    ./../generic/tclEncoding.c:677
    0x0806AFDF TclpSetInitialEncodings+575 at
    ./../unix/tclUnixInit.c:572
    0x080A1EB9 TclFindEncodings+153 at
    ./../generic/tclEncoding.c:2806
    0x0809F790 Tcl_FindExecutable+160 at
    ./../generic/tclEncoding.c:1138
    0x08054757 Tcl_Main+55 at ./../generic/tclMain.c:227
    0x08054556 main+38 at ./../unix/tclAppInit.c:99
    0x400D2313 getpwent+51 at ../nss/getXXent.c:80
    0x08054491 _start+33
    
        0x081C8908 (1536 bytes) {malloc:585:0}
    [TclpAlloc|/home/rolf/tcltk/cvs/tcl/unix/./../generic/tclAlloc.c|679]
    0x0810F509 TclpAlloc+25 at ./../generic/tclAlloc.c:679
    0x080746CC Tcl_Alloc+28 at ./../generic/tclCkalloc.c:1002
    0x080A00D5 LoadTableEncoding+1237 at
    ./../generic/tclEncoding.c:1466
    0x0809FA03 LoadEncodingFile+483 at
    ./../generic/tclEncoding.c:1226
    0x0809EB8D Tcl_GetEncoding+141 at ./../generic/tclEncoding.c:418
    0x0809F03D Tcl_SetSystemEncoding+77 at
    ./../generic/tclEncoding.c:677
    0x0806AFDF TclpSetInitialEncodings+575 at
    ./../unix/tclUnixInit.c:572
    0x080A1EB9 TclFindEncodings+153 at
    ./../generic/tclEncoding.c:2806
    0x0809F790 Tcl_FindExecutable+160 at
    ./../generic/tclEncoding.c:1138
    0x08054757 Tcl_Main+55 at ./../generic/tclMain.c:227
    0x08054556 main+38 at ./../unix/tclAppInit.c:99
    0x400D2313 getpwent+51 at ../nss/getXXent.c:80
    0x08054491 _start+33
    
        0x08215774 (24 bytes) {malloc:3067:0}
    [TclpAlloc|/home/rolf/tcltk/cvs/tcl/unix/./../generic/tclAlloc.c|679]
    0x0810F509 TclpAlloc+25 at ./../generic/tclAlloc.c:679
    0x080746CC Tcl_Alloc+28 at ./../generic/tclCkalloc.c:1002
    0x0805CE5C Tcl_NewStringObj+60 at ./../generic/tclStringObj.c:207
    0x080DBBDD Tcl_FSJoinPath+349 at ./../generic/tclIOUtil.c:2900
    0x080D9AB3 FSNormalizeAbsolutePath+323 at
    ./../generic/tclIOUtil.c:898
    0x080DADD8 Tcl_FSGetCwd+168 at ./../generic/tclIOUtil.c:1898
    0x080DD2B1 Tcl_FSGetNormalizedPath+145 at
    ./../generic/tclIOUtil.c:4055
    0x080DD95B Tcl_FSGetFileSystemForPath+75 at
    ./../generic/tclIOUtil.c:4557
    0x080DA639 Tcl_FSStat+345 at ./../generic/tclIOUtil.c:1457
    0x080DA14E Tcl_FSEvalFile+94 at ./../generic/tclIOUtil.c:1237
    0x080549B0 Tcl_Main+656 at ./../generic/tclMain.c:302
    0x08054556 main+38 at ./../unix/tclAppInit.c:99
    0x400D2313 getpwent+51 at ../nss/getXXent.c:80
    0x08054491 _start+33
    
        0x0821578C (24 bytes) {malloc:3080:0}
    [TclpAlloc|/home/rolf/tcltk/cvs/tcl/unix/./../generic/tclAlloc.c|679]
    0x0810F509 TclpAlloc+25 at ./../generic/tclAlloc.c:679
    0x080746CC Tcl_Alloc+28 at ./../generic/tclCkalloc.c:1002
    0x080DC897 SetFsPathFromAbsoluteNormalized+199 at
    ./../generic/tclIOUtil.c:3559
    0x080D9ADD FSNormalizeAbsolutePath+365 at
    ./../generic/tclIOUtil.c:917
    0x080DADD8 Tcl_FSGetCwd+168 at ./../generic/tclIOUtil.c:1898
    0x080DD2B1 Tcl_FSGetNormalizedPath+145 at
    ./../generic/tclIOUtil.c:4055
    0x080DD95B Tcl_FSGetFileSystemForPath+75 at
    ./../generic/tclIOUtil.c:4557
    0x080DA639 Tcl_FSStat+345 at ./../generic/tclIOUtil.c:1457
    0x080DA14E Tcl_FSEvalFile+94 at ./../generic/tclIOUtil.c:1237
    0x080549B0 Tcl_Main+656 at ./../generic/tclMain.c:302
    0x08054556 main+38 at ./../unix/tclAppInit.c:99
    0x400D2313 getpwent+51 at ../nss/getXXent.c:80
    0x08054491 _start+33
    
        0x08215B38 (30 bytes) {malloc:3077:0}
    [TclpAlloc|/home/rolf/tcltk/cvs/tcl/unix/./../generic/tclAlloc.c|679]
    0x0810F509 TclpAlloc+25 at ./../generic/tclAlloc.c:679
    0x080746CC Tcl_Alloc+28 at ./../generic/tclCkalloc.c:1002
    0x0805D469 Tcl_SetStringObj+185 at
    ./../generic/tclStringObj.c:707
    0x080F9300 TclpObjNormalizePath+448 at
    ./../unix/tclUnixFCmd.c:1732
    0x080D9BA0 TclNormalizeToUniquePath+96 at
    ./../generic/tclIOUtil.c:989
    0x080D9ACD FSNormalizeAbsolutePath+349 at
    ./../generic/tclIOUtil.c:911
    0x080DADD8 Tcl_FSGetCwd+168 at ./../generic/tclIOUtil.c:1898
    0x080DD2B1 Tcl_FSGetNormalizedPath+145 at
    ./../generic/tclIOUtil.c:4055
    0x080DD95B Tcl_FSGetFileSystemForPath+75 at
    ./../generic/tclIOUtil.c:4557
    0x080DA639 Tcl_FSStat+345 at ./../generic/tclIOUtil.c:1457
    0x080DA14E Tcl_FSEvalFile+94 at ./../generic/tclIOUtil.c:1237
    0x080549B0 Tcl_Main+656 at ./../generic/tclMain.c:302
    0x08054556 main+38 at ./../unix/tclAppInit.c:99
    0x400D2313 getpwent+51 at ../nss/getXXent.c:80
    0x08054491 _start+33
    
    
    
  2. login: "pointsman"
  3. mimetype: "text/plain"
  4. username: "pointsman"