.
D 2002-04-14T01:04:12
J assignee hobbs
J cmimetype text/plain
J comment \nEven\scompiled\swith\s-DPURIFY\sand\swith\sthe\sexit\nredefinition\s"magic"\sfrom\nhttp://mini.net/cgi-bin/wikit/3248.html\s(which\nensures,\sthat\seven\sthe\smain\sinterp\sis\sdeleted,\nwhich\snormaly\snot\shappens)\stcl\s8.4a4\sdoesn't\nclean\sup\sit's\smemory\scompletely\sat\sexit,\seven\nwith\sthe\ssmallest\spossible\sscript.\n\nUsing\smpatrol,\sI\sfound\sin\stotal\s18\snot\sfreed\nallocations.\sI'll\sappend\sstack\straces\sfor\sall\sof\nthis\sallocations\swith\sreferences\sto\sthe\scode\sat\nthe\send.\n\nI\sthink,\sall\sof\sthem\sdoesn't\sreally\shurt,\sbecause\nit's\s(limitied)\smemory,\sthat\sis\sallocated\sduring\nspecial\sinitializations.\sAs\sfar\sas\sI\scan\ssee,\nthere\sis\sno\sway,\sto\s'exploit'\sany\sof\sthese\sleaks\nto\swrite\sscripts,\sthat\sresults\sin\san\salways\ngrowing\stclsh\sprocess.\n\nBecause\sof\sthis,\sI\sthink\sthis\shas\sreally\s(very)\nlow\spriority.\sIt's\sonly\sa\sbit\sannoying\s"noise"\nfor\sthose,\swho\stry\sto\smemory\sdebug\sthe\score.\n\nOne\sproblem,\sfor\sexample,\sis\sthe\sstatic\sTcl_Obj\n*tclStartupScriptPath\sin\sTclMain.c,\swhich\sis\nfilled,\sif\sthe\stclsh\sis\scalled\swith\sa\sscript,\sbut\nit's\snever\sfreed.\sFreeing\stclStartupScriptPath\ncould\sbe\seasily\sdone\swith\ssomething\slike\n\n\s\s\s\sif\s(TclGetStartupScriptPath())\s{\n\s\s\s\s\s\s\s\sTcl_DecrRefCount\s(TclGetStartupScriptPath());\n\s\s\s\s}\n\nbefor\sthe\s\n\n\s\s\s\sTcl_Release((ClientData)\sinterp);\n\s\s\s\sTcl_Exit(exitCode);\n\nat\sthe\send\sof\sTcl_Main().\n\nAn\sother\sproblem\sis,\sthat\sthe\sstatic\sTcl_Encoding\nstructure\ssystemEncoding\s(static\sto\ntclEncoding.c)\sis\sfilled,\sduring\sthe\ninitializing,\sbut\snever\sproperly\sfreed.\sThat\nshould\salso\seasily\sfixable,\swith\sa\snew\strivial\nfunction\sin\stclEncoding.c,\slike\sthis\n\n\s\s\svoid\n\s\s\sTclFreeSystemEncoding()\n\s\s\s{\n\s\s\s\s\s\s\sTcl_FreeEncoding\s(systemEncoding);\n\s\s\s}\s\s\n\nthe\snecessary\sdeclaration\sat\sthe\stop\sof\stclMain.c\n\n\s\s\sEXTERN\svoid\sTclFreeSystemEncoding();\n\nand\sa\scall\sto\sthat\sat\sthe\ssame\splace,\sas\sabove.\n\n\nWith\sthis\schanges,\smost\sof\sthe\sabove\snoted\s18\snot\nfreed\sallocations\sare\sproperly\sfreed,\n\nrolf\n\n\n\n\s\s\s\s0x08104380\s(268\sbytes)\s{malloc:563:0}\n[TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]\n0x080C77A9\sTclpAlloc+25\sat\s./../generic/tclAlloc.c:673\n0x0806B03B\sTcl_Alloc+27\sat\s./../generic/tclCkalloc.c:1002\n0x08085F34\sLoadTableEncoding+244\sat\n./../generic/tclEncoding.c:1389\n0x08085CE6\sLoadEncodingFile+390\sat\n./../generic/tclEncoding.c:1236\n0x080851DE\sTcl_GetEncoding+62\sat\n./../generic/tclEncoding.c:418\n0x080854F2\sTcl_SetSystemEncoding+34\sat\n./../generic/tclEncoding.c:677\n0x08064922\sTclpSetInitialEncodings+466\sat\n./../unix/tclUnixInit.c:573\n0x080874C0\sTclFindEncodings+128\sat\n./../generic/tclEncoding.c:2792\n0x08085AE2\sTcl_FindExecutable+114\sat\n./../generic/tclEncoding.c:1145\n0x08054661\sTcl_Main+65\sat\s./../generic/tclMain.c:229\n0x080544E4\smain+36\sat\s./../unix/tclAppInit.c:101\n0x400D2313\sgetpwent+51\sat\s../nss/getXXent.c:80\n0x08054421\s_start+33\n\n\s\s\s\s0x0810448C\s(1536\sbytes)\s{malloc:564:0}\n[TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]\n0x080C77A9\sTclpAlloc+25\sat\s./../generic/tclAlloc.c:673\n0x0806B03B\sTcl_Alloc+27\sat\s./../generic/tclCkalloc.c:1002\n0x08085F6D\sLoadTableEncoding+301\sat\n./../generic/tclEncoding.c:1401\n0x08085CE6\sLoadEncodingFile+390\sat\n./../generic/tclEncoding.c:1236\n0x080851DE\sTcl_GetEncoding+62\sat\n./../generic/tclEncoding.c:418\n0x080854F2\sTcl_SetSystemEncoding+34\sat\n./../generic/tclEncoding.c:677\n0x08064922\sTclpSetInitialEncodings+466\sat\n./../unix/tclUnixInit.c:573\n0x080874C0\sTclFindEncodings+128\sat\n./../generic/tclEncoding.c:2792\n0x08085AE2\sTcl_FindExecutable+114\sat\n./../generic/tclEncoding.c:1145\n0x08054661\sTcl_Main+65\sat\s./../generic/tclMain.c:229\n0x080544E4\smain+36\sat\s./../unix/tclAppInit.c:101\n0x400D2313\sgetpwent+51\sat\s../nss/getXXent.c:80\n0x08054421\s_start+33\n\n\s\s\s\s0x08179254\s(24\sbytes)\s{malloc:2910:0}\n[TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]\n0x080C77A9\sTclpAlloc+25\sat\s./../generic/tclAlloc.c:673\n0x0806B03B\sTcl_Alloc+27\sat\s./../generic/tclCkalloc.c:1002\n0x080553D7\sTcl_NewObj+23\sat\s./../generic/tclObj.c:525\n0x080A493B\sTcl_FSJoinPath+123\sat\n./../generic/tclIOUtil.c:2804\n0x08094EB8\sTcl_FSJoinToPath+88\sat\n./../generic/tclFileName.c:1044\n0x080A55FD\sSetFsPathFromAny+845\sat\n./../generic/tclIOUtil.c:3650\n0x080553A5\sTcl_ConvertToType+37\sat\s./../generic/tclObj.c:473\n0x080A514B\sTcl_FSConvertToPathType+91\sat\n./../generic/tclIOUtil.c:3398\n0x080A58EE\sTcl_FSGetTranslatedPath+30\sat\n./../generic/tclIOUtil.c:3873\n0x080A3875\sTcl_FSEvalFile+37\sat\n./../generic/tclIOUtil.c:1221\n0x08054853\sTcl_Main+563\sat\s./../generic/tclMain.c:302\n0x080544E4\smain+36\sat\s./../unix/tclAppInit.c:101\n0x400D2313\sgetpwent+51\sat\s../nss/getXXent.c:80\n0x08054421\s_start+33\n\n\s\s\s\s0x081792FC\s(10\sbytes)\s{malloc:574:0}\n[TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]\n0x080C77A9\sTclpAlloc+25\sat\s./../generic/tclAlloc.c:673\n0x0806B03B\sTcl_Alloc+27\sat\s./../generic/tclCkalloc.c:1002\n0x08085598\sTcl_CreateEncoding+88\sat\n./../generic/tclEncoding.c:738\n0x08086412\sLoadTableEncoding+1490\sat\n./../generic/tclEncoding.c:1542\n0x08085CE6\sLoadEncodingFile+390\sat\n./../generic/tclEncoding.c:1236\n0x080851DE\sTcl_GetEncoding+62\sat\n./../generic/tclEncoding.c:418\n0x080854F2\sTcl_SetSystemEncoding+34\sat\n./../generic/tclEncoding.c:677\n0x08064922\sTclpSetInitialEncodings+466\sat\n./../unix/tclUnixInit.c:573\n0x080874C0\sTclFindEncodings+128\sat\n./../generic/tclEncoding.c:2792\n0x08085AE2\sTcl_FindExecutable+114\sat\n./../generic/tclEncoding.c:1145\n0x08054661\sTcl_Main+65\sat\s./../generic/tclMain.c:229\n0x080544E4\smain+36\sat\s./../unix/tclAppInit.c:101\n0x400D2313\sgetpwent+51\sat\s../nss/getXXent.c:80\n0x08054421\s_start+33\n\n\s\s\s\s0x08179594\s(53\sbytes)\s{malloc:588:0}\s[-|-|-]\n0x4005BAFB\s__open_catalog+1275\sat\sopen_catalog.c:234\n0x4005F12C\s__unsetenv+28\sat\s../sysdeps/generic/setenv.c:270\n0x40078908\s____strtod_l_internal+10680\sat\sstrtod.c:993\n0x4002C6A6\s__csinh+390\sat\n../sysdeps/libm-ieee754/s_csinh.c:94\n0x4005E11E\sabort+398\sat\s../sysdeps/generic/abort.c:128\n0x4002C710\s__csinh+496\sat\n../sysdeps/libm-ieee754/s_csinh.c:100\n0x40037543\s__sinhl+83\sat\n../sysdeps/libm-ieee754/w_sinhl.c:41\n0x4003B0A3\sT+107\n0x400D35B1\s__sleep+305\sat\n../sysdeps/unix/sysv/linux/sleep.c:82\n0x08064933\sTclpSetInitialEncodings+483\sat\n./../unix/tclUnixInit.c:587\n0x080874C0\sTclFindEncodings+128\sat\n./../generic/tclEncoding.c:2792\n0x08085AE2\sTcl_FindExecutable+114\sat\n./../generic/tclEncoding.c:1145\n0x08054661\sTcl_Main+65\sat\s./../generic/tclMain.c:229\n0x080544E4\smain+36\sat\s./../unix/tclAppInit.c:101\n0x400D2313\sgetpwent+51\sat\s../nss/getXXent.c:80\n0x08054421\s_start+33\n\n\s\s\s\s0x081797B0\s(36\sbytes)\s{malloc:575:0}\n[TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]\n0x080C77A9\sTclpAlloc+25\sat\s./../generic/tclAlloc.c:673\n0x0806B03B\sTcl_Alloc+27\sat\s./../generic/tclCkalloc.c:1002\n0x080855A1\sTcl_CreateEncoding+97\sat\n./../generic/tclEncoding.c:740\n0x08086412\sLoadTableEncoding+1490\sat\n./../generic/tclEncoding.c:1542\n0x08085CE6\sLoadEncodingFile+390\sat\n./../generic/tclEncoding.c:1236\n0x080851DE\sTcl_GetEncoding+62\sat\n./../generic/tclEncoding.c:418\n0x080854F2\sTcl_SetSystemEncoding+34\sat\n./../generic/tclEncoding.c:677\n0x08064922\sTclpSetInitialEncodings+466\sat\n./../unix/tclUnixInit.c:573\n0x080874C0\sTclFindEncodings+128\sat\n./../generic/tclEncoding.c:2792\n0x08085AE2\sTcl_FindExecutable+114\sat\n./../generic/tclEncoding.c:1145\n0x08054661\sTcl_Main+65\sat\s./../generic/tclMain.c:229\n0x080544E4\smain+36\sat\s./../unix/tclAppInit.c:101\n0x400D2313\sgetpwent+51\sat\s../nss/getXXent.c:80\n0x08054421\s_start+33\n\n\s\s\s\s0x0817F8E0\s(1536\sbytes)\s{malloc:570:0}\n[TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]\n0x080C77A9\sTclpAlloc+25\sat\s./../generic/tclAlloc.c:673\n0x0806B03B\sTcl_Alloc+27\sat\s./../generic/tclCkalloc.c:1002\n0x080861C0\sLoadTableEncoding+896\sat\n./../generic/tclEncoding.c:1466\n0x08085CE6\sLoadEncodingFile+390\sat\n./../generic/tclEncoding.c:1236\n0x080851DE\sTcl_GetEncoding+62\sat\n./../generic/tclEncoding.c:418\n0x080854F2\sTcl_SetSystemEncoding+34\sat\n./../generic/tclEncoding.c:677\n0x08064922\sTclpSetInitialEncodings+466\sat\n./../unix/tclUnixInit.c:573\n0x080874C0\sTclFindEncodings+128\sat\n./../generic/tclEncoding.c:2792\n0x08085AE2\sTcl_FindExecutable+114\sat\n./../generic/tclEncoding.c:1145\n0x08054661\sTcl_Main+65\sat\s./../generic/tclMain.c:229\n0x080544E4\smain+36\sat\s./../unix/tclAppInit.c:101\n0x400D2313\sgetpwent+51\sat\s../nss/getXXent.c:80\n0x08054421\s_start+33\n\n\s\s\s\s0x081CC160\s(24\sbytes)\s{malloc:1265:0}\n[TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]\n0x080C77A9\sTclpAlloc+25\sat\s./../generic/tclAlloc.c:673\n0x0806B03B\sTcl_Alloc+27\sat\s./../generic/tclCkalloc.c:1002\n0x0805A869\sTcl_NewStringObj+73\sat\n./../generic/tclStringObj.c:207\n0x080545CB\sTclSetStartupScriptFileName+27\sat\n./../generic/tclMain.c:156\n0x0805472C\sTcl_Main+268\sat\s./../generic/tclMain.c:263\n0x080544E4\smain+36\sat\s./../unix/tclAppInit.c:101\n0x400D2313\sgetpwent+51\sat\s../nss/getXXent.c:80\n0x08054421\s_start+33\n\n\s\s\s\s0x081CC178\s(11\sbytes)\s{malloc:1266:0}\n[TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]\n0x080C77A9\sTclpAlloc+25\sat\s./../generic/tclAlloc.c:673\n0x0806B03B\sTcl_Alloc+27\sat\s./../generic/tclCkalloc.c:1002\n0x0805A8B9\sTcl_NewStringObj+153\sat\n./../generic/tclStringObj.c:208\n0x080545CB\sTclSetStartupScriptFileName+27\sat\n./../generic/tclMain.c:156\n0x0805472C\sTcl_Main+268\sat\s./../generic/tclMain.c:263\n0x080544E4\smain+36\sat\s./../unix/tclAppInit.c:101\n0x400D2313\sgetpwent+51\sat\s../nss/getXXent.c:80\n0x08054421\s_start+33\n\n\s\s\s\s0x081CC1F8\s(54\sbytes)\s{malloc:3132:0}\s[-|-|-]\n0x4005BAFB\s__open_catalog+1275\sat\sopen_catalog.c:234\n0x4005F12C\s__unsetenv+28\sat\s../sysdeps/generic/setenv.c:270\n0x40078908\s____strtod_l_internal+10680\sat\sstrtod.c:993\n0x4002C6A6\s__csinh+390\sat\n../sysdeps/libm-ieee754/s_csinh.c:94\n0x4005E11E\sabort+398\sat\s../sysdeps/generic/abort.c:128\n0x4002C710\s__csinh+496\sat\n../sysdeps/libm-ieee754/s_csinh.c:100\n0x40037543\s__sinhl+83\sat\n../sysdeps/libm-ieee754/w_sinhl.c:41\n0x4003B0A3\sT+107\n0x080C77C9\sTclpFree+25\sat\s./../generic/tclAlloc.c:697\n0x0806B239\sTcl_Free+25\sat\s./../generic/tclCkalloc.c:1161\n0x0805B9AC\sFreeStringInternalRep+28\sat\n./../generic/tclStringObj.c:1812\n0x080554A7\sTclFreeObj+39\sat\s./../generic/tclObj.c:706\n0x08063833\sTclDeleteVars+339\sat\s./../generic/tclVar.c:5019\n0x080A94F5\sTclTeardownNamespace+213\sat\n./../generic/tclNamesp.c:743\n0x080656A6\sDeleteInterpProc+102\sat\n./../generic/tclBasic.c:995\n0x08058079\sTcl_Release+185\sat\s./../generic/tclPreserve.c:242\n0x08054D81\sTcl_Main+1889\sat\s./../generic/tclMain.c:530\n0x080544E4\smain+36\sat\s./../unix/tclAppInit.c:101\n0x400D2313\sgetpwent+51\sat\s../nss/getXXent.c:80\n0x08054421\s_start+33\n\n\s\s\s\s0x081CC4D8\s(45\sbytes)\s{malloc:3063:0}\n[TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]\n0x080C77A9\sTclpAlloc+25\sat\s./../generic/tclAlloc.c:673\n0x0806B03B\sTcl_Alloc+27\sat\s./../generic/tclCkalloc.c:1002\n0x080A5BAA\sNativeCreateNativeRep+90\sat\n./../generic/tclIOUtil.c:4185\n0x080A5B06\sTcl_FSGetInternalRep+118\sat\n./../generic/tclIOUtil.c:4105\n0x080A5B40\sTcl_FSGetNativePath+32\sat\n./../generic/tclIOUtil.c:4147\n0x080BA8B9\sTclpObjStat+25\sat\s./../unix/tclUnixFile.c:692\n0x080A3C51\sTcl_FSStat+257\sat\s./../generic/tclIOUtil.c:1452\n0x080A38B2\sTcl_FSEvalFile+98\sat\n./../generic/tclIOUtil.c:1228\n0x08054853\sTcl_Main+563\sat\s./../generic/tclMain.c:302\n0x080544E4\smain+36\sat\s./../unix/tclAppInit.c:101\n0x400D2313\sgetpwent+51\sat\s../nss/getXXent.c:80\n0x08054421\s_start+33\n\n\s\s\s\s0x081CC508\s(24\sbytes)\s{malloc:2971:0}\n[TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]\n0x080C77A9\sTclpAlloc+25\sat\s./../generic/tclAlloc.c:673\n0x0806B03B\sTcl_Alloc+27\sat\s./../generic/tclCkalloc.c:1002\n0x0805A869\sTcl_NewStringObj+73\sat\n./../generic/tclStringObj.c:207\n0x080A49EA\sTcl_FSJoinPath+298\sat\n./../generic/tclIOUtil.c:2826\n0x080A3375\sFSNormalizeAbsolutePath+277\sat\n./../generic/tclIOUtil.c:889\n0x080A40D3\sTcl_FSGetCwd+99\sat\s./../generic/tclIOUtil.c:1862\n0x080A59C8\sTcl_FSGetNormalizedPath+104\sat\n./../generic/tclIOUtil.c:3969\n0x080A5E69\sTcl_FSGetFileSystemForPath+57\sat\n./../generic/tclIOUtil.c:4497\n0x080A3C39\sTcl_FSStat+233\sat\s./../generic/tclIOUtil.c:1449\n0x080A38B2\sTcl_FSEvalFile+98\sat\n./../generic/tclIOUtil.c:1228\n0x08054853\sTcl_Main+563\sat\s./../generic/tclMain.c:302\n0x080544E4\smain+36\sat\s./../unix/tclAppInit.c:101\n0x400D2313\sgetpwent+51\sat\s../nss/getXXent.c:80\n0x08054421\s_start+33\n\n\s\s\s\s0x081CC520\s(34\sbytes)\s{realloc:2972:5}\n[TclpRealloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|720]\n0x080C77ED\sTclpRealloc+29\sat\s./../generic/tclAlloc.c:721\n0x0806B12F\sTcl_Realloc+31\sat\s./../generic/tclCkalloc.c:1085\n0x0805AD69\sTcl_SetObjLength+105\sat\n./../generic/tclStringObj.c:765\n0x08094F9E\sTclpNativeJoinPath+190\sat\n./../generic/tclFileName.c:1112\n0x080A4A49\sTcl_FSJoinPath+393\sat\n./../generic/tclIOUtil.c:2854\n0x080A3375\sFSNormalizeAbsolutePath+277\sat\n./../generic/tclIOUtil.c:889\n0x080A40D3\sTcl_FSGetCwd+99\sat\s./../generic/tclIOUtil.c:1862\n0x080A59C8\sTcl_FSGetNormalizedPath+104\sat\n./../generic/tclIOUtil.c:3969\n0x080A5E69\sTcl_FSGetFileSystemForPath+57\sat\n./../generic/tclIOUtil.c:4497\n0x080A3C39\sTcl_FSStat+233\sat\s./../generic/tclIOUtil.c:1449\n0x080A38B2\sTcl_FSEvalFile+98\sat\n./../generic/tclIOUtil.c:1228\n0x08054853\sTcl_Main+563\sat\s./../generic/tclMain.c:302\n0x080544E4\smain+36\sat\s./../unix/tclAppInit.c:101\n0x400D2313\sgetpwent+51\sat\s../nss/getXXent.c:80\n0x08054421\s_start+33\n\n\s\s\s\s0x081CC544\s(24\sbytes)\s{malloc:2980:0}\n[TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]\n0x080C77A9\sTclpAlloc+25\sat\s./../generic/tclAlloc.c:673\n0x0806B03B\sTcl_Alloc+27\sat\s./../generic/tclCkalloc.c:1002\n0x080A5265\sSetFsPathFromAbsoluteNormalized+149\sat\n./../generic/tclIOUtil.c:3482\n0x080A338A\sFSNormalizeAbsolutePath+298\sat\n./../generic/tclIOUtil.c:909\n0x080A40D3\sTcl_FSGetCwd+99\sat\s./../generic/tclIOUtil.c:1862\n0x080A59C8\sTcl_FSGetNormalizedPath+104\sat\n./../generic/tclIOUtil.c:3969\n0x080A5E69\sTcl_FSGetFileSystemForPath+57\sat\n./../generic/tclIOUtil.c:4497\n0x080A3C39\sTcl_FSStat+233\sat\s./../generic/tclIOUtil.c:1449\n0x080A38B2\sTcl_FSEvalFile+98\sat\n./../generic/tclIOUtil.c:1228\n0x08054853\sTcl_Main+563\sat\s./../generic/tclMain.c:302\n0x080544E4\smain+36\sat\s./../unix/tclAppInit.c:101\n0x400D2313\sgetpwent+51\sat\s../nss/getXXent.c:80\n0x08054421\s_start+33\n\n\s\s\s\s0x081CC614\s(24\sbytes)\s{malloc:3051:0}\n[TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]\n0x080C77A9\sTclpAlloc+25\sat\s./../generic/tclAlloc.c:673\n0x0806B03B\sTcl_Alloc+27\sat\s./../generic/tclCkalloc.c:1002\n0x0805A869\sTcl_NewStringObj+73\sat\n./../generic/tclStringObj.c:207\n0x080A49EA\sTcl_FSJoinPath+298\sat\n./../generic/tclIOUtil.c:2826\n0x080A3375\sFSNormalizeAbsolutePath+277\sat\n./../generic/tclIOUtil.c:889\n0x080A5A16\sTcl_FSGetNormalizedPath+182\sat\n./../generic/tclIOUtil.c:3982\n0x080A5E69\sTcl_FSGetFileSystemForPath+57\sat\n./../generic/tclIOUtil.c:4497\n0x080A3C39\sTcl_FSStat+233\sat\s./../generic/tclIOUtil.c:1449\n0x080A38B2\sTcl_FSEvalFile+98\sat\n./../generic/tclIOUtil.c:1228\n0x08054853\sTcl_Main+563\sat\s./../generic/tclMain.c:302\n0x080544E4\smain+36\sat\s./../unix/tclAppInit.c:101\n0x400D2313\sgetpwent+51\sat\s../nss/getXXent.c:80\n0x08054421\s_start+33\n\n\s\s\s\s0x081CC62C\s(69\sbytes)\s{realloc:3052:6}\n[TclpRealloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|720]\n0x080C77ED\sTclpRealloc+29\sat\s./../generic/tclAlloc.c:721\n0x0806B1DD\sTcl_AttemptRealloc+29\sat\n./../generic/tclCkalloc.c:1130\n0x0805AE49\sTcl_AttemptSetObjLength+105\sat\n./../generic/tclStringObj.c:840\n0x0805B428\sAppendUtfToUtfRep+104\sat\n./../generic/tclStringObj.c:1336\n0x0805B02B\sTcl_AppendToObj+139\sat\n./../generic/tclStringObj.c:983\n0x08094F72\sTclpNativeJoinPath+146\sat\n./../generic/tclFileName.c:1101\n0x080A4A49\sTcl_FSJoinPath+393\sat\n./../generic/tclIOUtil.c:2854\n0x080A3375\sFSNormalizeAbsolutePath+277\sat\n./../generic/tclIOUtil.c:889\n0x080A5A16\sTcl_FSGetNormalizedPath+182\sat\n./../generic/tclIOUtil.c:3982\n0x080A5E69\sTcl_FSGetFileSystemForPath+57\sat\n./../generic/tclIOUtil.c:4497\n0x080A3C39\sTcl_FSStat+233\sat\s./../generic/tclIOUtil.c:1449\n0x080A38B2\sTcl_FSEvalFile+98\sat\n./../generic/tclIOUtil.c:1228\n0x08054853\sTcl_Main+563\sat\s./../generic/tclMain.c:302\n0x080544E4\smain+36\sat\s./../unix/tclAppInit.c:101\n0x400D2313\sgetpwent+51\sat\s../nss/getXXent.c:80\n0x08054421\s_start+33\n\n\s\s\s\s0x081CC674\s(24\sbytes)\s{malloc:3062:0}\n[TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]\n0x080C77A9\sTclpAlloc+25\sat\s./../generic/tclAlloc.c:673\n0x0806B03B\sTcl_Alloc+27\sat\s./../generic/tclCkalloc.c:1002\n0x080A5265\sSetFsPathFromAbsoluteNormalized+149\sat\n./../generic/tclIOUtil.c:3482\n0x080A338A\sFSNormalizeAbsolutePath+298\sat\n./../generic/tclIOUtil.c:909\n0x080A5A16\sTcl_FSGetNormalizedPath+182\sat\n./../generic/tclIOUtil.c:3982\n0x080A5E69\sTcl_FSGetFileSystemForPath+57\sat\n./../generic/tclIOUtil.c:4497\n0x080A3C39\sTcl_FSStat+233\sat\s./../generic/tclIOUtil.c:1449\n0x080A38B2\sTcl_FSEvalFile+98\sat\n./../generic/tclIOUtil.c:1228\n0x08054853\sTcl_Main+563\sat\s./../generic/tclMain.c:302\n0x080544E4\smain+36\sat\s./../unix/tclAppInit.c:101\n0x400D2313\sgetpwent+51\sat\s../nss/getXXent.c:80\n0x08054421\s_start+33\n\n\s\s\s\s0x081CDD64\s(24\sbytes)\s{malloc:2913:0}\n[TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]\n0x080C77A9\sTclpAlloc+25\sat\s./../generic/tclAlloc.c:673\n0x0806B03B\sTcl_Alloc+27\sat\s./../generic/tclCkalloc.c:1002\n0x080A5609\sSetFsPathFromAny+857\sat\n./../generic/tclIOUtil.c:3660\n0x080553A5\sTcl_ConvertToType+37\sat\s./../generic/tclObj.c:473\n0x080A514B\sTcl_FSConvertToPathType+91\sat\n./../generic/tclIOUtil.c:3398\n0x080A58EE\sTcl_FSGetTranslatedPath+30\sat\n./../generic/tclIOUtil.c:3873\n0x080A3875\sTcl_FSEvalFile+37\sat\n./../generic/tclIOUtil.c:1221\n0x08054853\sTcl_Main+563\sat\s./../generic/tclMain.c:302\n0x080544E4\smain+36\sat\s./../unix/tclAppInit.c:101\n0x400D2313\sgetpwent+51\sat\s../nss/getXXent.c:80\n0x08054421\s_start+33\n\n\s\s\s\s0x081CDF9C\s(16\sbytes)\s{malloc:2911:0}\n[TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]\n0x080C77A9\sTclpAlloc+25\sat\s./../generic/tclAlloc.c:673\n0x0806B03B\sTcl_Alloc+27\sat\s./../generic/tclCkalloc.c:1002\n0x0805B859\sSetStringFromAny+89\sat\n./../generic/tclStringObj.c:1706\n0x0805AD34\sTcl_SetObjLength+52\sat\n./../generic/tclStringObj.c:754\n0x08094F9E\sTclpNativeJoinPath+190\sat\n./../generic/tclFileName.c:1112\n0x080A4A49\sTcl_FSJoinPath+393\sat\n./../generic/tclIOUtil.c:2854\n0x08094EB8\sTcl_FSJoinToPath+88\sat\n./../generic/tclFileName.c:1044\n0x080A55FD\sSetFsPathFromAny+845\sat\n./../generic/tclIOUtil.c:3650\n0x080553A5\sTcl_ConvertToType+37\sat\s./../generic/tclObj.c:473\n0x080A514B\sTcl_FSConvertToPathType+91\sat\n./../generic/tclIOUtil.c:3398\n0x080A58EE\sTcl_FSGetTranslatedPath+30\sat\n./../generic/tclIOUtil.c:3873\n0x080A3875\sTcl_FSEvalFile+37\sat\n./../generic/tclIOUtil.c:1221\n0x08054853\sTcl_Main+563\sat\s./../generic/tclMain.c:302\n0x080544E4\smain+36\sat\s./../unix/tclAppInit.c:101\n0x400D2313\sgetpwent+51\sat\s../nss/getXXent.c:80\n0x08054421\s_start+33\n\n\s\s\s\s0x081CE0F8\s(11\sbytes)\s{malloc:2912:0}\n[TclpAlloc|/home/tmp/tcltk/tcl8.4a4/unix/./../generic/tclAlloc.c|672]\n0x080C77A9\sTclpAlloc+25\sat\s./../generic/tclAlloc.c:673\n0x0806B03B\sTcl_Alloc+27\sat\s./../generic/tclCkalloc.c:1002\n0x0805AD7A\sTcl_SetObjLength+122\sat\n./../generic/tclStringObj.c:768\n0x08094F9E\sTclpNativeJoinPath+190\sat\n./../generic/tclFileName.c:1112\n0x080A4A49\sTcl_FSJoinPath+393\sat\n./../generic/tclIOUtil.c:2854\n0x08094EB8\sTcl_FSJoinToPath+88\sat\n./../generic/tclFileName.c:1044\n0x080A55FD\sSetFsPathFromAny+845\sat\n./../generic/tclIOUtil.c:3650\n0x080553A5\sTcl_ConvertToType+37\sat\s./../generic/tclObj.c:473\n0x080A514B\sTcl_FSConvertToPathType+91\sat\n./../generic/tclIOUtil.c:3398\n0x080A58EE\sTcl_FSGetTranslatedPath+30\sat\n./../generic/tclIOUtil.c:3873\n0x080A3875\sTcl_FSEvalFile+37\sat\n./../generic/tclIOUtil.c:1221\n0x08054853\sTcl_Main+563\sat\s./../generic/tclMain.c:302\n0x080544E4\smain+36\sat\s./../unix/tclAppInit.c:101\n0x400D2313\sgetpwent+51\sat\s../nss/getXXent.c:80\n0x08054421\s_start+33\n
J foundin obsolete:\s8.4a4
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 41.\sMemory\sAllocation
J title Improper\smemory\sclean\sup\sat\sexit
J type Bug
K 543549ffffffffffffffffffffffffffffffffff
U nobody
Z edb98757c787a855f42f64d200e843a9