Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 04fdf446034d328508d8fc73a1c783309cf1c18e
Ticket: 543549ffffffffffffffffffffffffffffffffff
Improper memory clean up at exit
User & Date: nobody on 2002-04-14 01:04:12
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    Even compiled with -DPURIFY and with the exit
    redefinition "magic" from
    http://mini.net/cgi-bin/wikit/3248.html (which
    ensures, that even the main interp is deleted,
    which normaly not happens) tcl 8.4a4 doesn't
    clean up it's memory completely at exit, even
    with the smallest possible script.
    
    Using mpatrol, I found in total 18 not freed
    allocations. I'll append stack traces for all of
    this allocations with references to the code at
    the end.
    
    I think, all of them doesn't really hurt, because
    it's (limitied) memory, that is allocated during
    special initializations. As far as I can see,
    there is no way, to 'exploit' any of these leaks
    to write scripts, that results in an always
    growing tclsh process.
    
    Because of this, I think this has really (very)
    low priority. It's only a bit annoying "noise"
    for those, who try to memory debug the core.
    
    One problem, for example, is the static Tcl_Obj
    *tclStartupScriptPath in TclMain.c, which is
    filled, if the tclsh is called with a script, but
    it's never freed. Freeing tclStartupScriptPath
    could be easily done with something like
    
        if (TclGetStartupScriptPath()) {
            Tcl_DecrRefCount (TclGetStartupScriptPath());
        }
    
    befor the 
    
        Tcl_Release((ClientData) interp);
        Tcl_Exit(exitCode);
    
    at the end of Tcl_Main().
    
    An other problem is, that the static Tcl_Encoding
    structure systemEncoding (static to
    tclEncoding.c) is filled, during the
    initializing, but never properly freed. That
    should also easily fixable, with a new trivial
    function in tclEncoding.c, like this
    
       void
       TclFreeSystemEncoding()
       {
           Tcl_FreeEncoding (systemEncoding);
       }  
    
    the necessary declaration at the top of tclMain.c
    
       EXTERN void TclFreeSystemEncoding();
    
    and a call to that at the same place, as above.
    
    
    With this changes, most of the above noted 18 not
    freed allocations are properly freed,
    
    rolf
    
    
    
        0x08104380 (268 bytes) {malloc:563:0}
    [TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]
    0x080C77A9 TclpAlloc+25 at ./../generic/tclAlloc.c:673
    0x0806B03B Tcl_Alloc+27 at ./../generic/tclCkalloc.c:1002
    0x08085F34 LoadTableEncoding+244 at
    ./../generic/tclEncoding.c:1389
    0x08085CE6 LoadEncodingFile+390 at
    ./../generic/tclEncoding.c:1236
    0x080851DE Tcl_GetEncoding+62 at
    ./../generic/tclEncoding.c:418
    0x080854F2 Tcl_SetSystemEncoding+34 at
    ./../generic/tclEncoding.c:677
    0x08064922 TclpSetInitialEncodings+466 at
    ./../unix/tclUnixInit.c:573
    0x080874C0 TclFindEncodings+128 at
    ./../generic/tclEncoding.c:2792
    0x08085AE2 Tcl_FindExecutable+114 at
    ./../generic/tclEncoding.c:1145
    0x08054661 Tcl_Main+65 at ./../generic/tclMain.c:229
    0x080544E4 main+36 at ./../unix/tclAppInit.c:101
    0x400D2313 getpwent+51 at ../nss/getXXent.c:80
    0x08054421 _start+33
    
        0x0810448C (1536 bytes) {malloc:564:0}
    [TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]
    0x080C77A9 TclpAlloc+25 at ./../generic/tclAlloc.c:673
    0x0806B03B Tcl_Alloc+27 at ./../generic/tclCkalloc.c:1002
    0x08085F6D LoadTableEncoding+301 at
    ./../generic/tclEncoding.c:1401
    0x08085CE6 LoadEncodingFile+390 at
    ./../generic/tclEncoding.c:1236
    0x080851DE Tcl_GetEncoding+62 at
    ./../generic/tclEncoding.c:418
    0x080854F2 Tcl_SetSystemEncoding+34 at
    ./../generic/tclEncoding.c:677
    0x08064922 TclpSetInitialEncodings+466 at
    ./../unix/tclUnixInit.c:573
    0x080874C0 TclFindEncodings+128 at
    ./../generic/tclEncoding.c:2792
    0x08085AE2 Tcl_FindExecutable+114 at
    ./../generic/tclEncoding.c:1145
    0x08054661 Tcl_Main+65 at ./../generic/tclMain.c:229
    0x080544E4 main+36 at ./../unix/tclAppInit.c:101
    0x400D2313 getpwent+51 at ../nss/getXXent.c:80
    0x08054421 _start+33
    
        0x08179254 (24 bytes) {malloc:2910:0}
    [TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]
    0x080C77A9 TclpAlloc+25 at ./../generic/tclAlloc.c:673
    0x0806B03B Tcl_Alloc+27 at ./../generic/tclCkalloc.c:1002
    0x080553D7 Tcl_NewObj+23 at ./../generic/tclObj.c:525
    0x080A493B Tcl_FSJoinPath+123 at
    ./../generic/tclIOUtil.c:2804
    0x08094EB8 Tcl_FSJoinToPath+88 at
    ./../generic/tclFileName.c:1044
    0x080A55FD SetFsPathFromAny+845 at
    ./../generic/tclIOUtil.c:3650
    0x080553A5 Tcl_ConvertToType+37 at ./../generic/tclObj.c:473
    0x080A514B Tcl_FSConvertToPathType+91 at
    ./../generic/tclIOUtil.c:3398
    0x080A58EE Tcl_FSGetTranslatedPath+30 at
    ./../generic/tclIOUtil.c:3873
    0x080A3875 Tcl_FSEvalFile+37 at
    ./../generic/tclIOUtil.c:1221
    0x08054853 Tcl_Main+563 at ./../generic/tclMain.c:302
    0x080544E4 main+36 at ./../unix/tclAppInit.c:101
    0x400D2313 getpwent+51 at ../nss/getXXent.c:80
    0x08054421 _start+33
    
        0x081792FC (10 bytes) {malloc:574:0}
    [TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]
    0x080C77A9 TclpAlloc+25 at ./../generic/tclAlloc.c:673
    0x0806B03B Tcl_Alloc+27 at ./../generic/tclCkalloc.c:1002
    0x08085598 Tcl_CreateEncoding+88 at
    ./../generic/tclEncoding.c:738
    0x08086412 LoadTableEncoding+1490 at
    ./../generic/tclEncoding.c:1542
    0x08085CE6 LoadEncodingFile+390 at
    ./../generic/tclEncoding.c:1236
    0x080851DE Tcl_GetEncoding+62 at
    ./../generic/tclEncoding.c:418
    0x080854F2 Tcl_SetSystemEncoding+34 at
    ./../generic/tclEncoding.c:677
    0x08064922 TclpSetInitialEncodings+466 at
    ./../unix/tclUnixInit.c:573
    0x080874C0 TclFindEncodings+128 at
    ./../generic/tclEncoding.c:2792
    0x08085AE2 Tcl_FindExecutable+114 at
    ./../generic/tclEncoding.c:1145
    0x08054661 Tcl_Main+65 at ./../generic/tclMain.c:229
    0x080544E4 main+36 at ./../unix/tclAppInit.c:101
    0x400D2313 getpwent+51 at ../nss/getXXent.c:80
    0x08054421 _start+33
    
        0x08179594 (53 bytes) {malloc:588:0} [-|-|-]
    0x4005BAFB __open_catalog+1275 at open_catalog.c:234
    0x4005F12C __unsetenv+28 at ../sysdeps/generic/setenv.c:270
    0x40078908 ____strtod_l_internal+10680 at strtod.c:993
    0x4002C6A6 __csinh+390 at
    ../sysdeps/libm-ieee754/s_csinh.c:94
    0x4005E11E abort+398 at ../sysdeps/generic/abort.c:128
    0x4002C710 __csinh+496 at
    ../sysdeps/libm-ieee754/s_csinh.c:100
    0x40037543 __sinhl+83 at
    ../sysdeps/libm-ieee754/w_sinhl.c:41
    0x4003B0A3 T+107
    0x400D35B1 __sleep+305 at
    ../sysdeps/unix/sysv/linux/sleep.c:82
    0x08064933 TclpSetInitialEncodings+483 at
    ./../unix/tclUnixInit.c:587
    0x080874C0 TclFindEncodings+128 at
    ./../generic/tclEncoding.c:2792
    0x08085AE2 Tcl_FindExecutable+114 at
    ./../generic/tclEncoding.c:1145
    0x08054661 Tcl_Main+65 at ./../generic/tclMain.c:229
    0x080544E4 main+36 at ./../unix/tclAppInit.c:101
    0x400D2313 getpwent+51 at ../nss/getXXent.c:80
    0x08054421 _start+33
    
        0x081797B0 (36 bytes) {malloc:575:0}
    [TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]
    0x080C77A9 TclpAlloc+25 at ./../generic/tclAlloc.c:673
    0x0806B03B Tcl_Alloc+27 at ./../generic/tclCkalloc.c:1002
    0x080855A1 Tcl_CreateEncoding+97 at
    ./../generic/tclEncoding.c:740
    0x08086412 LoadTableEncoding+1490 at
    ./../generic/tclEncoding.c:1542
    0x08085CE6 LoadEncodingFile+390 at
    ./../generic/tclEncoding.c:1236
    0x080851DE Tcl_GetEncoding+62 at
    ./../generic/tclEncoding.c:418
    0x080854F2 Tcl_SetSystemEncoding+34 at
    ./../generic/tclEncoding.c:677
    0x08064922 TclpSetInitialEncodings+466 at
    ./../unix/tclUnixInit.c:573
    0x080874C0 TclFindEncodings+128 at
    ./../generic/tclEncoding.c:2792
    0x08085AE2 Tcl_FindExecutable+114 at
    ./../generic/tclEncoding.c:1145
    0x08054661 Tcl_Main+65 at ./../generic/tclMain.c:229
    0x080544E4 main+36 at ./../unix/tclAppInit.c:101
    0x400D2313 getpwent+51 at ../nss/getXXent.c:80
    0x08054421 _start+33
    
        0x0817F8E0 (1536 bytes) {malloc:570:0}
    [TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]
    0x080C77A9 TclpAlloc+25 at ./../generic/tclAlloc.c:673
    0x0806B03B Tcl_Alloc+27 at ./../generic/tclCkalloc.c:1002
    0x080861C0 LoadTableEncoding+896 at
    ./../generic/tclEncoding.c:1466
    0x08085CE6 LoadEncodingFile+390 at
    ./../generic/tclEncoding.c:1236
    0x080851DE Tcl_GetEncoding+62 at
    ./../generic/tclEncoding.c:418
    0x080854F2 Tcl_SetSystemEncoding+34 at
    ./../generic/tclEncoding.c:677
    0x08064922 TclpSetInitialEncodings+466 at
    ./../unix/tclUnixInit.c:573
    0x080874C0 TclFindEncodings+128 at
    ./../generic/tclEncoding.c:2792
    0x08085AE2 Tcl_FindExecutable+114 at
    ./../generic/tclEncoding.c:1145
    0x08054661 Tcl_Main+65 at ./../generic/tclMain.c:229
    0x080544E4 main+36 at ./../unix/tclAppInit.c:101
    0x400D2313 getpwent+51 at ../nss/getXXent.c:80
    0x08054421 _start+33
    
        0x081CC160 (24 bytes) {malloc:1265:0}
    [TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]
    0x080C77A9 TclpAlloc+25 at ./../generic/tclAlloc.c:673
    0x0806B03B Tcl_Alloc+27 at ./../generic/tclCkalloc.c:1002
    0x0805A869 Tcl_NewStringObj+73 at
    ./../generic/tclStringObj.c:207
    0x080545CB TclSetStartupScriptFileName+27 at
    ./../generic/tclMain.c:156
    0x0805472C Tcl_Main+268 at ./../generic/tclMain.c:263
    0x080544E4 main+36 at ./../unix/tclAppInit.c:101
    0x400D2313 getpwent+51 at ../nss/getXXent.c:80
    0x08054421 _start+33
    
        0x081CC178 (11 bytes) {malloc:1266:0}
    [TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]
    0x080C77A9 TclpAlloc+25 at ./../generic/tclAlloc.c:673
    0x0806B03B Tcl_Alloc+27 at ./../generic/tclCkalloc.c:1002
    0x0805A8B9 Tcl_NewStringObj+153 at
    ./../generic/tclStringObj.c:208
    0x080545CB TclSetStartupScriptFileName+27 at
    ./../generic/tclMain.c:156
    0x0805472C Tcl_Main+268 at ./../generic/tclMain.c:263
    0x080544E4 main+36 at ./../unix/tclAppInit.c:101
    0x400D2313 getpwent+51 at ../nss/getXXent.c:80
    0x08054421 _start+33
    
        0x081CC1F8 (54 bytes) {malloc:3132:0} [-|-|-]
    0x4005BAFB __open_catalog+1275 at open_catalog.c:234
    0x4005F12C __unsetenv+28 at ../sysdeps/generic/setenv.c:270
    0x40078908 ____strtod_l_internal+10680 at strtod.c:993
    0x4002C6A6 __csinh+390 at
    ../sysdeps/libm-ieee754/s_csinh.c:94
    0x4005E11E abort+398 at ../sysdeps/generic/abort.c:128
    0x4002C710 __csinh+496 at
    ../sysdeps/libm-ieee754/s_csinh.c:100
    0x40037543 __sinhl+83 at
    ../sysdeps/libm-ieee754/w_sinhl.c:41
    0x4003B0A3 T+107
    0x080C77C9 TclpFree+25 at ./../generic/tclAlloc.c:697
    0x0806B239 Tcl_Free+25 at ./../generic/tclCkalloc.c:1161
    0x0805B9AC FreeStringInternalRep+28 at
    ./../generic/tclStringObj.c:1812
    0x080554A7 TclFreeObj+39 at ./../generic/tclObj.c:706
    0x08063833 TclDeleteVars+339 at ./../generic/tclVar.c:5019
    0x080A94F5 TclTeardownNamespace+213 at
    ./../generic/tclNamesp.c:743
    0x080656A6 DeleteInterpProc+102 at
    ./../generic/tclBasic.c:995
    0x08058079 Tcl_Release+185 at ./../generic/tclPreserve.c:242
    0x08054D81 Tcl_Main+1889 at ./../generic/tclMain.c:530
    0x080544E4 main+36 at ./../unix/tclAppInit.c:101
    0x400D2313 getpwent+51 at ../nss/getXXent.c:80
    0x08054421 _start+33
    
        0x081CC4D8 (45 bytes) {malloc:3063:0}
    [TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]
    0x080C77A9 TclpAlloc+25 at ./../generic/tclAlloc.c:673
    0x0806B03B Tcl_Alloc+27 at ./../generic/tclCkalloc.c:1002
    0x080A5BAA NativeCreateNativeRep+90 at
    ./../generic/tclIOUtil.c:4185
    0x080A5B06 Tcl_FSGetInternalRep+118 at
    ./../generic/tclIOUtil.c:4105
    0x080A5B40 Tcl_FSGetNativePath+32 at
    ./../generic/tclIOUtil.c:4147
    0x080BA8B9 TclpObjStat+25 at ./../unix/tclUnixFile.c:692
    0x080A3C51 Tcl_FSStat+257 at ./../generic/tclIOUtil.c:1452
    0x080A38B2 Tcl_FSEvalFile+98 at
    ./../generic/tclIOUtil.c:1228
    0x08054853 Tcl_Main+563 at ./../generic/tclMain.c:302
    0x080544E4 main+36 at ./../unix/tclAppInit.c:101
    0x400D2313 getpwent+51 at ../nss/getXXent.c:80
    0x08054421 _start+33
    
        0x081CC508 (24 bytes) {malloc:2971:0}
    [TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]
    0x080C77A9 TclpAlloc+25 at ./../generic/tclAlloc.c:673
    0x0806B03B Tcl_Alloc+27 at ./../generic/tclCkalloc.c:1002
    0x0805A869 Tcl_NewStringObj+73 at
    ./../generic/tclStringObj.c:207
    0x080A49EA Tcl_FSJoinPath+298 at
    ./../generic/tclIOUtil.c:2826
    0x080A3375 FSNormalizeAbsolutePath+277 at
    ./../generic/tclIOUtil.c:889
    0x080A40D3 Tcl_FSGetCwd+99 at ./../generic/tclIOUtil.c:1862
    0x080A59C8 Tcl_FSGetNormalizedPath+104 at
    ./../generic/tclIOUtil.c:3969
    0x080A5E69 Tcl_FSGetFileSystemForPath+57 at
    ./../generic/tclIOUtil.c:4497
    0x080A3C39 Tcl_FSStat+233 at ./../generic/tclIOUtil.c:1449
    0x080A38B2 Tcl_FSEvalFile+98 at
    ./../generic/tclIOUtil.c:1228
    0x08054853 Tcl_Main+563 at ./../generic/tclMain.c:302
    0x080544E4 main+36 at ./../unix/tclAppInit.c:101
    0x400D2313 getpwent+51 at ../nss/getXXent.c:80
    0x08054421 _start+33
    
        0x081CC520 (34 bytes) {realloc:2972:5}
    [TclpRealloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|720]
    0x080C77ED TclpRealloc+29 at ./../generic/tclAlloc.c:721
    0x0806B12F Tcl_Realloc+31 at ./../generic/tclCkalloc.c:1085
    0x0805AD69 Tcl_SetObjLength+105 at
    ./../generic/tclStringObj.c:765
    0x08094F9E TclpNativeJoinPath+190 at
    ./../generic/tclFileName.c:1112
    0x080A4A49 Tcl_FSJoinPath+393 at
    ./../generic/tclIOUtil.c:2854
    0x080A3375 FSNormalizeAbsolutePath+277 at
    ./../generic/tclIOUtil.c:889
    0x080A40D3 Tcl_FSGetCwd+99 at ./../generic/tclIOUtil.c:1862
    0x080A59C8 Tcl_FSGetNormalizedPath+104 at
    ./../generic/tclIOUtil.c:3969
    0x080A5E69 Tcl_FSGetFileSystemForPath+57 at
    ./../generic/tclIOUtil.c:4497
    0x080A3C39 Tcl_FSStat+233 at ./../generic/tclIOUtil.c:1449
    0x080A38B2 Tcl_FSEvalFile+98 at
    ./../generic/tclIOUtil.c:1228
    0x08054853 Tcl_Main+563 at ./../generic/tclMain.c:302
    0x080544E4 main+36 at ./../unix/tclAppInit.c:101
    0x400D2313 getpwent+51 at ../nss/getXXent.c:80
    0x08054421 _start+33
    
        0x081CC544 (24 bytes) {malloc:2980:0}
    [TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]
    0x080C77A9 TclpAlloc+25 at ./../generic/tclAlloc.c:673
    0x0806B03B Tcl_Alloc+27 at ./../generic/tclCkalloc.c:1002
    0x080A5265 SetFsPathFromAbsoluteNormalized+149 at
    ./../generic/tclIOUtil.c:3482
    0x080A338A FSNormalizeAbsolutePath+298 at
    ./../generic/tclIOUtil.c:909
    0x080A40D3 Tcl_FSGetCwd+99 at ./../generic/tclIOUtil.c:1862
    0x080A59C8 Tcl_FSGetNormalizedPath+104 at
    ./../generic/tclIOUtil.c:3969
    0x080A5E69 Tcl_FSGetFileSystemForPath+57 at
    ./../generic/tclIOUtil.c:4497
    0x080A3C39 Tcl_FSStat+233 at ./../generic/tclIOUtil.c:1449
    0x080A38B2 Tcl_FSEvalFile+98 at
    ./../generic/tclIOUtil.c:1228
    0x08054853 Tcl_Main+563 at ./../generic/tclMain.c:302
    0x080544E4 main+36 at ./../unix/tclAppInit.c:101
    0x400D2313 getpwent+51 at ../nss/getXXent.c:80
    0x08054421 _start+33
    
        0x081CC614 (24 bytes) {malloc:3051:0}
    [TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]
    0x080C77A9 TclpAlloc+25 at ./../generic/tclAlloc.c:673
    0x0806B03B Tcl_Alloc+27 at ./../generic/tclCkalloc.c:1002
    0x0805A869 Tcl_NewStringObj+73 at
    ./../generic/tclStringObj.c:207
    0x080A49EA Tcl_FSJoinPath+298 at
    ./../generic/tclIOUtil.c:2826
    0x080A3375 FSNormalizeAbsolutePath+277 at
    ./../generic/tclIOUtil.c:889
    0x080A5A16 Tcl_FSGetNormalizedPath+182 at
    ./../generic/tclIOUtil.c:3982
    0x080A5E69 Tcl_FSGetFileSystemForPath+57 at
    ./../generic/tclIOUtil.c:4497
    0x080A3C39 Tcl_FSStat+233 at ./../generic/tclIOUtil.c:1449
    0x080A38B2 Tcl_FSEvalFile+98 at
    ./../generic/tclIOUtil.c:1228
    0x08054853 Tcl_Main+563 at ./../generic/tclMain.c:302
    0x080544E4 main+36 at ./../unix/tclAppInit.c:101
    0x400D2313 getpwent+51 at ../nss/getXXent.c:80
    0x08054421 _start+33
    
        0x081CC62C (69 bytes) {realloc:3052:6}
    [TclpRealloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|720]
    0x080C77ED TclpRealloc+29 at ./../generic/tclAlloc.c:721
    0x0806B1DD Tcl_AttemptRealloc+29 at
    ./../generic/tclCkalloc.c:1130
    0x0805AE49 Tcl_AttemptSetObjLength+105 at
    ./../generic/tclStringObj.c:840
    0x0805B428 AppendUtfToUtfRep+104 at
    ./../generic/tclStringObj.c:1336
    0x0805B02B Tcl_AppendToObj+139 at
    ./../generic/tclStringObj.c:983
    0x08094F72 TclpNativeJoinPath+146 at
    ./../generic/tclFileName.c:1101
    0x080A4A49 Tcl_FSJoinPath+393 at
    ./../generic/tclIOUtil.c:2854
    0x080A3375 FSNormalizeAbsolutePath+277 at
    ./../generic/tclIOUtil.c:889
    0x080A5A16 Tcl_FSGetNormalizedPath+182 at
    ./../generic/tclIOUtil.c:3982
    0x080A5E69 Tcl_FSGetFileSystemForPath+57 at
    ./../generic/tclIOUtil.c:4497
    0x080A3C39 Tcl_FSStat+233 at ./../generic/tclIOUtil.c:1449
    0x080A38B2 Tcl_FSEvalFile+98 at
    ./../generic/tclIOUtil.c:1228
    0x08054853 Tcl_Main+563 at ./../generic/tclMain.c:302
    0x080544E4 main+36 at ./../unix/tclAppInit.c:101
    0x400D2313 getpwent+51 at ../nss/getXXent.c:80
    0x08054421 _start+33
    
        0x081CC674 (24 bytes) {malloc:3062:0}
    [TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]
    0x080C77A9 TclpAlloc+25 at ./../generic/tclAlloc.c:673
    0x0806B03B Tcl_Alloc+27 at ./../generic/tclCkalloc.c:1002
    0x080A5265 SetFsPathFromAbsoluteNormalized+149 at
    ./../generic/tclIOUtil.c:3482
    0x080A338A FSNormalizeAbsolutePath+298 at
    ./../generic/tclIOUtil.c:909
    0x080A5A16 Tcl_FSGetNormalizedPath+182 at
    ./../generic/tclIOUtil.c:3982
    0x080A5E69 Tcl_FSGetFileSystemForPath+57 at
    ./../generic/tclIOUtil.c:4497
    0x080A3C39 Tcl_FSStat+233 at ./../generic/tclIOUtil.c:1449
    0x080A38B2 Tcl_FSEvalFile+98 at
    ./../generic/tclIOUtil.c:1228
    0x08054853 Tcl_Main+563 at ./../generic/tclMain.c:302
    0x080544E4 main+36 at ./../unix/tclAppInit.c:101
    0x400D2313 getpwent+51 at ../nss/getXXent.c:80
    0x08054421 _start+33
    
        0x081CDD64 (24 bytes) {malloc:2913:0}
    [TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]
    0x080C77A9 TclpAlloc+25 at ./../generic/tclAlloc.c:673
    0x0806B03B Tcl_Alloc+27 at ./../generic/tclCkalloc.c:1002
    0x080A5609 SetFsPathFromAny+857 at
    ./../generic/tclIOUtil.c:3660
    0x080553A5 Tcl_ConvertToType+37 at ./../generic/tclObj.c:473
    0x080A514B Tcl_FSConvertToPathType+91 at
    ./../generic/tclIOUtil.c:3398
    0x080A58EE Tcl_FSGetTranslatedPath+30 at
    ./../generic/tclIOUtil.c:3873
    0x080A3875 Tcl_FSEvalFile+37 at
    ./../generic/tclIOUtil.c:1221
    0x08054853 Tcl_Main+563 at ./../generic/tclMain.c:302
    0x080544E4 main+36 at ./../unix/tclAppInit.c:101
    0x400D2313 getpwent+51 at ../nss/getXXent.c:80
    0x08054421 _start+33
    
        0x081CDF9C (16 bytes) {malloc:2911:0}
    [TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]
    0x080C77A9 TclpAlloc+25 at ./../generic/tclAlloc.c:673
    0x0806B03B Tcl_Alloc+27 at ./../generic/tclCkalloc.c:1002
    0x0805B859 SetStringFromAny+89 at
    ./../generic/tclStringObj.c:1706
    0x0805AD34 Tcl_SetObjLength+52 at
    ./../generic/tclStringObj.c:754
    0x08094F9E TclpNativeJoinPath+190 at
    ./../generic/tclFileName.c:1112
    0x080A4A49 Tcl_FSJoinPath+393 at
    ./../generic/tclIOUtil.c:2854
    0x08094EB8 Tcl_FSJoinToPath+88 at
    ./../generic/tclFileName.c:1044
    0x080A55FD SetFsPathFromAny+845 at
    ./../generic/tclIOUtil.c:3650
    0x080553A5 Tcl_ConvertToType+37 at ./../generic/tclObj.c:473
    0x080A514B Tcl_FSConvertToPathType+91 at
    ./../generic/tclIOUtil.c:3398
    0x080A58EE Tcl_FSGetTranslatedPath+30 at
    ./../generic/tclIOUtil.c:3873
    0x080A3875 Tcl_FSEvalFile+37 at
    ./../generic/tclIOUtil.c:1221
    0x08054853 Tcl_Main+563 at ./../generic/tclMain.c:302
    0x080544E4 main+36 at ./../unix/tclAppInit.c:101
    0x400D2313 getpwent+51 at ../nss/getXXent.c:80
    0x08054421 _start+33
    
        0x081CE0F8 (11 bytes) {malloc:2912:0}
    [TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]
    0x080C77A9 TclpAlloc+25 at ./../generic/tclAlloc.c:673
    0x0806B03B Tcl_Alloc+27 at ./../generic/tclCkalloc.c:1002
    0x0805AD7A Tcl_SetObjLength+122 at
    ./../generic/tclStringObj.c:768
    0x08094F9E TclpNativeJoinPath+190 at
    ./../generic/tclFileName.c:1112
    0x080A4A49 Tcl_FSJoinPath+393 at
    ./../generic/tclIOUtil.c:2854
    0x08094EB8 Tcl_FSJoinToPath+88 at
    ./../generic/tclFileName.c:1044
    0x080A55FD SetFsPathFromAny+845 at
    ./../generic/tclIOUtil.c:3650
    0x080553A5 Tcl_ConvertToType+37 at ./../generic/tclObj.c:473
    0x080A514B Tcl_FSConvertToPathType+91 at
    ./../generic/tclIOUtil.c:3398
    0x080A58EE Tcl_FSGetTranslatedPath+30 at
    ./../generic/tclIOUtil.c:3873
    0x080A3875 Tcl_FSEvalFile+37 at
    ./../generic/tclIOUtil.c:1221
    0x08054853 Tcl_Main+563 at ./../generic/tclMain.c:302
    0x080544E4 main+36 at ./../unix/tclAppInit.c:101
    0x400D2313 getpwent+51 at ../nss/getXXent.c:80
    0x08054421 _start+33
    
    
  4. foundin changed to: "obsolete: 8.4a4"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "41. Memory Allocation"
  10. title changed to: "Improper memory clean up at exit"
  11. type changed to: "Bug"