Artifacts Associated With Ticket 218827ffffffffff
Ticket change [79771d2224] (rid 90135) by nobody on 2000-10-26 01:06:06:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 2273 Bug Version: 8.0.5 SubmitDate: '1999-06-21' LastModified: '1999-10-21' Severity: LOW Status: Released Submitter: techsupp ChangedBy: hobbs OS: Solaris OSVersion: 5.4 Machine: Other FixedDate: '1999-10-21' ClosedDate: '2000-10-25' Name: Daniel G. Downey ObservedBehavior: We use a product from CenterLine Software called testCenter to find memory leaks in the code we write. Such things as memory allocated but never freed or deleted. It also detects such things as variables used before set etc. We previously used tcl7.6 and the report was "No errs, No leaks" Now with tcl8.0.5 (and tcl8.1.1 as well) we have over 13Mb of leaks just by invoking the tclsh and then exiting. None of our code has been called. Of course when we actually run a script the number of leaks grows quite huge. Here are the locations of the largest leaks: PosLeak 10535 bytes Tcl_NewStringObj libtcl8.0.a(tclStringObj.o) 5 possible leaks totalling 10535 bytes The oldest is 368 bytes at 0xae6610 The youngest is 1247 bytes at 0xb09bb0 Allocated at: _centerline_shl_malloc Tcl_NewStringObj libtcl8.0.a(tclStringObj.o), pc=0x766d88 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] TclCreateProc libtcl8.0.a(tclProc.o), pc=0x760e80 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] Tcl_ProcObjCmd libtcl8.0.a(tclProc.o), pc=0x760c98 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] TclExecuteByteCode libtcl8.0.a(tclExecute.o), pc=0x6e94b8 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] Tcl_EvalObj libtcl8.0.a(tclBasic.o), pc=0x6737e8 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] Tcl_EvalFile libtcl8.0.a(tclIOUtil.o), pc=0x734abc [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] Tcl_SourceObjCmd libtcl8.0.a(tclCmdMZ.o), pc=0x697a40 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] TclExecuteByteCode libtcl8.0.a(tclExecute.o), pc=0x6e94b8 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] Tcl_EvalObj libtcl8.0.a(tclBasic.o), pc=0x6737e8 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] Tcl_UplevelObjCmd libtcl8.0.a(tclProc.o), pc=0x761570 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] TclExecuteByteCode libtcl8.0.a(tclExecute.o), pc=0x6e94b8 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] Tcl_EvalObj libtcl8.0.a(tclBasic.o), pc=0x6737e8 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] TclObjInterpProc libtcl8.0.a(tclProc.o), pc=0x761c14 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] TclExecuteByteCode libtcl8.0.a(tclExecute.o), pc=0x6e94b8 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] Tcl_EvalObj libtcl8.0.a(tclBasic.o), pc=0x6737e8 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] Tcl_Eval libtcl8.0.a(tclBasic.o), pc=0x6734e0 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] MrcoTclInit(Tcl_Interp*) "Register.C":8 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/src/] Tcl_Main libtcl8.0.a(tclMain.o), pc=0x73ef68 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] main "Register.C":163 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/src/] PosLeak 2400 bytes TclAllocateFreeObjects libtcl8.0.a(tclObj.o) 1 possible leak totalling 2400 bytes The possible leak is 2400 bytes at 0xb031b0 Allocated at: _centerline_shl_malloc TclAllocateFreeObjects libtcl8.0.a(tclObj.o), pc=0x74e288 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] Tcl_NewObj libtcl8.0.a(tclObj.o), pc=0x74e224 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] TclObjIndexForString libtcl8.0.a(tclCompile.o), pc=0x6b6520 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] TclCompileString libtcl8.0.a(tclCompile.o), pc=0x6adc5c [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] SetByteCodeFromAny libtcl8.0.a(tclCompile.o), pc=0x6aca78 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] TclProcCompileProc libtcl8.0.a(tclProc.o), pc=0x761f04 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] TclObjInterpProc libtcl8.0.a(tclProc.o), pc=0x7618c8 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] TclExecuteByteCode libtcl8.0.a(tclExecute.o), pc=0x6e94b8 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] Tcl_EvalObj libtcl8.0.a(tclBasic.o), pc=0x6737e8 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] TclExecuteByteCode libtcl8.0.a(tclExecute.o), pc=0x6e972c [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] Tcl_EvalObj libtcl8.0.a(tclBasic.o), pc=0x6737e8 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] Tcl_EvalFile libtcl8.0.a(tclIOUtil.o), pc=0x734abc [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] Tcl_SourceObjCmd libtcl8.0.a(tclCmdMZ.o), pc=0x697a40 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] TclExecuteByteCode libtcl8.0.a(tclExecute.o), pc=0x6e94b8 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] Tcl_EvalObj libtcl8.0.a(tclBasic.o), pc=0x6737e8 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] Tcl_UplevelObjCmd libtcl8.0.a(tclProc.o), pc=0x761570 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] TclExecuteByteCode libtcl8.0.a(tclExecute.o), pc=0x6e94b8 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] Tcl_EvalObj libtcl8.0.a(tclBasic.o), pc=0x6737e8 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] TclObjInterpProc libtcl8.0.a(tclProc.o), pc=0x761c14 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] TclExecuteByteCode libtcl8.0.a(tclExecute.o), pc=0x6e94b8 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] Tcl_EvalObj libtcl8.0.a(tclBasic.o), pc=0x6737e8 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] Tcl_Eval libtcl8.0.a(tclBasic.o), pc=0x6734e0 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] MrcoTclInit(Tcl_Interp*) "Register.C":8 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/src/] Tcl_Main libtcl8.0.a(tclMain.o), pc=0x73ef68 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/lib/] main "Register.C":163 [/mirror1/mrco/projects/VolumeOfMPLayer/MRCOShell/src/] These are the biggest 2. There are many smaller ones. Thanks, Dan I have just finished "Purify"ing Tcl, reducing mem leaks on Solaris to 0 for the entire test suite. -- 10/21/1999 hobbs - foundin initialized to: "final: 8.0.5"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to: "There are a number of memory leaks."
- type initialized to: "Bug"
Ticket change [654e904c6f] (rid 102519) by welch on 2000-10-26 08:30:12:
- closedate changed to: "2000-10-26T01:30:12"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"