==12160== Memcheck, a memory error detector.
==12160== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==12160== Using LibVEX rev 1804, a library for dynamic binary translation.
==12160== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==12160== Using valgrind-3.3.0, a dynamic binary instrumentation framework.
==12160== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==12160== For more details, rerun with: -v
==12160== 
==12160== Invalid read of size 4
==12160==    at 0x5D69EB7: TclOOGetCallContext (in /usr/local/tcl/8.5.1-dbg/lib/TclOO0.2a0/libTclOO0.2a0.so)
==12160==    by 0x5D65314: TclOOObjectCmdCore (in /usr/local/tcl/8.5.1-dbg/lib/TclOO0.2a0/libTclOO0.2a0.so)
==12160==    by 0x5D655CD: PublicObjectCmd (in /usr/local/tcl/8.5.1-dbg/lib/TclOO0.2a0/libTclOO0.2a0.so)
==12160==    by 0x4E60813: TclEvalObjvInternal (tclBasic.c:3647)
==12160==    by 0x4EC2E65: TclExecuteByteCode (tclExecute.c:2255)
==12160==    by 0x4F1BD26: TclObjInterpProcCore (tclProc.c:1721)
==12160==    by 0x4F1BC22: TclObjInterpProc (tclProc.c:1615)
==12160==    by 0x4E60813: TclEvalObjvInternal (tclBasic.c:3647)
==12160==    by 0x4E61B08: TclEvalEx (tclBasic.c:4294)
==12160==    by 0x4E6106D: Tcl_EvalEx (tclBasic.c:4000)
==12160==    by 0x4EF38DC: Tcl_FSEvalFileEx (tclIOUtil.c:1825)
==12160==    by 0x4EFC056: Tcl_Main (tclMain.c:441)
==12160==  Address 0x61a1cf4 is 164 bytes inside a block of size 376 free'd
==12160==    at 0x4C22B9E: free (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==12160==    by 0x4E5C36D: TclpFree (tclAlloc.c:729)
==12160==    by 0x4E68084: Tcl_Free (tclCkalloc.c:1182)
==12160==    by 0x4F195AC: Tcl_Release (tclPreserve.c:230)
==12160==    by 0x5D653DD: TclOOObjectCmdCore (in /usr/local/tcl/8.5.1-dbg/lib/TclOO0.2a0/libTclOO0.2a0.so)
==12160==    by 0x5D655CD: PublicObjectCmd (in /usr/local/tcl/8.5.1-dbg/lib/TclOO0.2a0/libTclOO0.2a0.so)
==12160==    by 0x4E60813: TclEvalObjvInternal (tclBasic.c:3647)
==12160==    by 0x4EC2E65: TclExecuteByteCode (tclExecute.c:2255)
==12160==    by 0x4F1BD26: TclObjInterpProcCore (tclProc.c:1721)
==12160==    by 0x4F1BC22: TclObjInterpProc (tclProc.c:1615)
==12160==    by 0x4E60813: TclEvalObjvInternal (tclBasic.c:3647)
==12160==    by 0x4E61B08: TclEvalEx (tclBasic.c:4294)

::oo::InfoClass ::oo::copy ::oo::object ::oo::InfoObject ::oo::define ::oo::class
::oo ::tcl ::tstoo ::pkg
==12160== 
==12160== Invalid read of size 4
==12160==    at 0x5D63CE3: ReleaseClassContents (in /usr/local/tcl/8.5.1-dbg/lib/TclOO0.2a0/libTclOO0.2a0.so)
==12160==    by 0x5D65C70: ObjectRenamedTrace (in /usr/local/tcl/8.5.1-dbg/lib/TclOO0.2a0/libTclOO0.2a0.so)
==12160==    by 0x4E5F737: CallCommandTraces (tclBasic.c:2918)
==12160==    by 0x4E5F3CC: Tcl_DeleteCommandFromToken (tclBasic.c:2741)
==12160==    by 0x4EFDAAB: TclTeardownNamespace (tclNamesp.c:1087)
==12160==    by 0x4EFD96A: Tcl_DeleteNamespace (tclNamesp.c:989)
==12160==    by 0x4EFDC09: TclTeardownNamespace (tclNamesp.c:1139)
==12160==    by 0x4E5D7EE: DeleteInterpProc (tclBasic.c:1250)
==12160==    by 0x4F195B8: Tcl_Release (tclPreserve.c:232)
==12160==    by 0x4EFC76E: Tcl_Main (tclMain.c:687)
==12160==    by 0x4008E9: main (tclAppInit.c:87)
==12160==  Address 0x5b6e7f8 is 160 bytes inside a block of size 376 free'd
==12160==    at 0x4C22B9E: free (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==12160==    by 0x4E5C36D: TclpFree (tclAlloc.c:729)
==12160==    by 0x4E68084: Tcl_Free (tclCkalloc.c:1182)
==12160==    by 0x4F195AC: Tcl_Release (tclPreserve.c:230)
==12160==    by 0x4E5F737: CallCommandTraces (tclBasic.c:2918)
==12160==    by 0x4E5F3CC: Tcl_DeleteCommandFromToken (tclBasic.c:2741)
==12160==    by 0x4EFDAAB: TclTeardownNamespace (tclNamesp.c:1087)
==12160==    by 0x4EFD96A: Tcl_DeleteNamespace (tclNamesp.c:989)
==12160==    by 0x4EFDC09: TclTeardownNamespace (tclNamesp.c:1139)
==12160==    by 0x4E5D7EE: DeleteInterpProc (tclBasic.c:1250)
==12160==    by 0x4F195B8: Tcl_Release (tclPreserve.c:232)
==12160==    by 0x4EFC76E: Tcl_Main (tclMain.c:687)
==12160== 
==12160== ERROR SUMMARY: 5 errors from 2 contexts (suppressed: 36 from 3)
==12160== malloc/free: in use at exit: 1,272 bytes in 27 blocks.
==12160== malloc/free: 2,471,270 allocs, 2,471,243 frees, 168,081,790 bytes allocated.
==12160== For counts of detected errors, rerun with: -v
==12160== searching for pointers to 27 not-freed blocks.
==12160== checked 128,504 bytes.
==12160== 
==12160== 
==12160== 136 bytes in 1 blocks are still reachable in loss record 1 of 3
==12160==    at 0x4C2301B: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==12160==    by 0x4011C4F: (within /lib64/ld-2.6.1.so)
==12160==    by 0x40120E5: (within /lib64/ld-2.6.1.so)
==12160==    by 0x400DC15: (within /lib64/ld-2.6.1.so)
==12160==    by 0x4011756: (within /lib64/ld-2.6.1.so)
==12160==    by 0x5184FB9: (within /lib64/libdl-2.6.1.so)
==12160==    by 0x400DC15: (within /lib64/ld-2.6.1.so)
==12160==    by 0x518551C: (within /lib64/libdl-2.6.1.so)
==12160==    by 0x5184F31: dlopen (in /lib64/libdl-2.6.1.so)
==12160==    by 0x4F48C24: TclpDlopen (tclLoadDl.c:78)
==12160==    by 0x4EF4B86: TclLoadFile (tclIOUtil.c:3157)
==12160==    by 0x4EFA9BA: Tcl_LoadObjCmd (tclLoad.c:372)
==12160== 
==12160== 
==12160== 1,136 (296 direct, 840 indirect) bytes in 2 blocks are definitely lost in loss record 2 of 3
==12160==    at 0x4C2301B: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==12160==    by 0x4E5C356: TclpAlloc (tclAlloc.c:706)
==12160==    by 0x4E67EAE: Tcl_Alloc (tclCkalloc.c:1019)
==12160==    by 0x5D661C8: ???
==12160==    by 0x5D677F5: ???
==12160==    by 0x4EFABC8: Tcl_LoadObjCmd (tclLoad.c:432)
==12160==    by 0x4E60813: TclEvalObjvInternal (tclBasic.c:3647)
==12160==    by 0x4E61B08: TclEvalEx (tclBasic.c:4294)
==12160==    by 0x4E6106D: Tcl_EvalEx (tclBasic.c:4000)
==12160==    by 0x4F153B0: PkgRequireCore (tclPkg.c:486)
==12160==    by 0x4F150FE: Tcl_PkgRequireProc (tclPkg.c:329)
==12160==    by 0x4F16AB5: Tcl_PackageObjCmd (tclPkg.c:991)
==12160== 
==12160== 
==12160== 840 bytes in 24 blocks are indirectly lost in loss record 3 of 3
==12160==    at 0x4C2301B: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==12160==    by 0x4E5C356: TclpAlloc (tclAlloc.c:706)
==12160==    by 0x4E67EAE: Tcl_Alloc (tclCkalloc.c:1019)
==12160==    by 0x4F22BBF: Tcl_NewStringObj (tclStringObj.c:210)
==12160==    by 0x5D6EBDD: ???
==12160==    by 0x5D6789F: ???
==12160==    by 0x4EFABC8: Tcl_LoadObjCmd (tclLoad.c:432)
==12160==    by 0x4E60813: TclEvalObjvInternal (tclBasic.c:3647)
==12160==    by 0x4E61B08: TclEvalEx (tclBasic.c:4294)
==12160==    by 0x4E6106D: Tcl_EvalEx (tclBasic.c:4000)
==12160==    by 0x4F153B0: PkgRequireCore (tclPkg.c:486)
==12160==    by 0x4F150FE: Tcl_PkgRequireProc (tclPkg.c:329)
==12160== 
==12160== LEAK SUMMARY:
==12160==    definitely lost: 296 bytes in 2 blocks.
==12160==    indirectly lost: 840 bytes in 24 blocks.
==12160==      possibly lost: 0 bytes in 0 blocks.
==12160==    still reachable: 136 bytes in 1 blocks.
==12160==         suppressed: 0 bytes in 0 blocks.
