Skip to content
Tcl Source Code Artifact [79771d2224]
Login

Artifact [79771d2224]

Artifact 79771d22246da4d56aea5ed344e910de5e53f568:

Ticket change [79771d2224] - New ticket [218827ffffffffff|218827ffff] <i>There are a number of memory leaks.</i>. by nobody on 2000-10-26 01:06:06.
D 2000-10-26T01:06:06
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s2273\sBug\nVersion:\s8.0.5\nSubmitDate:\s'1999-06-21'\nLastModified:\s'1999-10-21'\nSeverity:\sLOW\nStatus:\sReleased\nSubmitter:\stechsupp\nChangedBy:\shobbs\nOS:\sSolaris\nOSVersion:\s5.4\nMachine:\sOther\nFixedDate:\s'1999-10-21'\nClosedDate:\s'2000-10-25'\n\n\nName:\nDaniel\sG.\sDowney\n\nObservedBehavior:\nWe\suse\sa\sproduct\sfrom\sCenterLine\sSoftware\scalled\stestCenter\sto\sfind\n\s\s\s\smemory\sleaks\n\s\s\s\sin\sthe\scode\swe\swrite.\s\sSuch\sthings\sas\smemory\sallocated\sbut\snever\sfreed\n\s\s\s\sor\sdeleted.\s\sIt\salso\sdetects\ssuch\sthings\sas\svariables\sused\sbefore\sset\n\s\s\s\setc.\n\s\s\s\s\n\s\s\s\sWe\spreviously\sused\stcl7.6\sand\sthe\sreport\swas\s"No\serrs,\sNo\sleaks"\n\s\s\s\sNow\swith\stcl8.0.5\s(and\stcl8.1.1\sas\swell)\swe\shave\sover\s13Mb\sof\sleaks\sjust\n\s\s\s\sby\n\s\s\s\sinvoking\sthe\stclsh\sand\sthen\sexiting.\s\sNone\sof\sour\scode\shas\sbeen\scalled.\n\s\s\s\sOf\scourse\swhen\swe\sactually\srun\sa\sscript\sthe\snumber\sof\sleaks\sgrows\squite\n\s\s\s\shuge.\n\s\s\s\s\n\s\s\s\sHere\sare\sthe\slocations\sof\sthe\slargest\sleaks:\n\s\s\s\s\n\s\s\s\sPosLeak\s\s\s10535\sbytes\s\s\sTcl_NewStringObj\n\s\s\s\slibtcl8.0.a(tclStringObj.o)\n\s\s\s\s\s\s\s\s\s\s\s\s5\spossible\sleaks\stotalling\s10535\sbytes\n\s\s\s\s\s\s\s\s\s\s\s\sThe\soldest\sis\s368\sbytes\sat\s0xae6610\n\s\s\s\s\s\s\s\s\s\s\s\sThe\syoungest\sis\s1247\sbytes\sat\s0xb09bb0\n\s\s\s\s\s\s\s\s\s\s\s\sAllocated\sat:\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s_centerline_shl_malloc\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTcl_NewStringObj\s\slibtcl8.0.a(tclStringObj.o),\spc=0x766d88\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTclCreateProc\s\slibtcl8.0.a(tclProc.o),\spc=0x760e80\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTcl_ProcObjCmd\s\slibtcl8.0.a(tclProc.o),\spc=0x760c98\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTclExecuteByteCode\s\slibtcl8.0.a(tclExecute.o),\spc=0x6e94b8\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTcl_EvalObj\s\s\s\slibtcl8.0.a(tclBasic.o),\spc=0x6737e8\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTcl_EvalFile\s\s\slibtcl8.0.a(tclIOUtil.o),\spc=0x734abc\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTcl_SourceObjCmd\s\slibtcl8.0.a(tclCmdMZ.o),\spc=0x697a40\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTclExecuteByteCode\s\slibtcl8.0.a(tclExecute.o),\spc=0x6e94b8\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTcl_EvalObj\s\s\s\slibtcl8.0.a(tclBasic.o),\spc=0x6737e8\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTcl_UplevelObjCmd\s\slibtcl8.0.a(tclProc.o),\spc=0x761570\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTclExecuteByteCode\s\slibtcl8.0.a(tclExecute.o),\spc=0x6e94b8\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTcl_EvalObj\s\s\s\slibtcl8.0.a(tclBasic.o),\spc=0x6737e8\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTclObjInterpProc\s\slibtcl8.0.a(tclProc.o),\spc=0x761c14\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTclExecuteByteCode\s\slibtcl8.0.a(tclExecute.o),\spc=0x6e94b8\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTcl_EvalObj\s\s\s\slibtcl8.0.a(tclBasic.o),\spc=0x6737e8\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTcl_Eval\s\s\s\s\s\s\slibtcl8.0.a(tclBasic.o),\spc=0x6734e0\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sMrcoTclInit(Tcl_Interp*)\s\s"Register.C":8\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/src/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTcl_Main\s\s\s\s\s\s\slibtcl8.0.a(tclMain.o),\spc=0x73ef68\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\smain\s\s\s\s\s\s\s\s\s\s\s"Register.C":163\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/src/]\n\s\s\s\s\n\s\s\s\sPosLeak\s\s\s\s2400\sbytes\s\s\sTclAllocateFreeObjects\s\slibtcl8.0.a(tclObj.o)\n\s\s\s\s\s\s\s\s\s\s\s\s1\spossible\sleak\s\stotalling\s2400\sbytes\n\s\s\s\s\s\s\s\s\s\s\s\sThe\spossible\sleak\sis\s2400\sbytes\sat\s0xb031b0\n\s\s\s\s\s\s\s\s\s\s\s\sAllocated\sat:\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s_centerline_shl_malloc\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTclAllocateFreeObjects\s\slibtcl8.0.a(tclObj.o),\spc=0x74e288\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTcl_NewObj\s\s\s\s\slibtcl8.0.a(tclObj.o),\spc=0x74e224\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTclObjIndexForString\s\slibtcl8.0.a(tclCompile.o),\spc=0x6b6520\n\s\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTclCompileString\s\slibtcl8.0.a(tclCompile.o),\spc=0x6adc5c\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sSetByteCodeFromAny\s\slibtcl8.0.a(tclCompile.o),\spc=0x6aca78\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTclProcCompileProc\s\slibtcl8.0.a(tclProc.o),\spc=0x761f04\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTclObjInterpProc\s\slibtcl8.0.a(tclProc.o),\spc=0x7618c8\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTclExecuteByteCode\s\slibtcl8.0.a(tclExecute.o),\spc=0x6e94b8\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTcl_EvalObj\s\s\s\slibtcl8.0.a(tclBasic.o),\spc=0x6737e8\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTclExecuteByteCode\s\slibtcl8.0.a(tclExecute.o),\spc=0x6e972c\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTcl_EvalObj\s\s\s\slibtcl8.0.a(tclBasic.o),\spc=0x6737e8\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTcl_EvalFile\s\s\slibtcl8.0.a(tclIOUtil.o),\spc=0x734abc\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTcl_SourceObjCmd\s\slibtcl8.0.a(tclCmdMZ.o),\spc=0x697a40\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTclExecuteByteCode\s\slibtcl8.0.a(tclExecute.o),\spc=0x6e94b8\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTcl_EvalObj\s\s\s\slibtcl8.0.a(tclBasic.o),\spc=0x6737e8\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTcl_UplevelObjCmd\s\slibtcl8.0.a(tclProc.o),\spc=0x761570\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTclExecuteByteCode\s\slibtcl8.0.a(tclExecute.o),\spc=0x6e94b8\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTcl_EvalObj\s\s\s\slibtcl8.0.a(tclBasic.o),\spc=0x6737e8\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTclObjInterpProc\s\slibtcl8.0.a(tclProc.o),\spc=0x761c14\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTclExecuteByteCode\s\slibtcl8.0.a(tclExecute.o),\spc=0x6e94b8\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTcl_EvalObj\s\s\s\slibtcl8.0.a(tclBasic.o),\spc=0x6737e8\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTcl_Eval\s\s\s\s\s\s\slibtcl8.0.a(tclBasic.o),\spc=0x6734e0\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sMrcoTclInit(Tcl_Interp*)\s\s"Register.C":8\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/src/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTcl_Main\s\s\s\s\s\s\slibtcl8.0.a(tclMain.o),\spc=0x73ef68\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/]\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\smain\s\s\s\s\s\s\s\s\s\s\s"Register.C":163\n\s\s\s\s[/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/src/]\n\s\s\s\s\n\s\s\s\sThese\sare\sthe\sbiggest\s2.\s\s\sThere\sare\smany\ssmaller\sones.\n\s\s\s\s\n\s\s\s\sThanks,\n\s\s\s\sDan\n\n\n\nI\shave\sjust\sfinished\s"Purify"ing\sTcl,\sreducing\smem\sleaks\son\nSolaris\sto\s0\sfor\sthe\sentire\stest\ssuite.\s\n--\s10/21/1999\shobbs
J foundin final:\s8.0.5
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title There\sare\sa\snumber\sof\smemory\sleaks.
J type Bug
K 218827ffffffffffffffffffffffffffffffffff
U nobody
Z e358c5f1fca55c0ba345d07db675458a