Possible memory leak in Squirrel
#1
After running the server for the first time under the debugger, I got this list of possible memory leaks. Dunno if they're valid, just noting them for later processing Wink

Code:
######## CRT-Leaks ########
--------------- Key: 56289, 52 bytes ---------
f:\dd\vctools\crt_bld\self_x86\crt\src\dbgmalloc.c (56): malloc
c:\program files\microsoft visual studio 9.0\vc\include\xmemory (43): std::_Allocate<std::_Tree_nod<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::_Node>
c:\program files\microsoft visual studio 9.0\vc\include\xmemory (145): std::allocator<std::_Tree_nod<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::_Node>::allocate
c:\program files\microsoft visual studio 9.0\vc\include\xtree (1409): std::_Tree<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::_Buynode
c:\program files\microsoft visual studio 9.0\vc\include\xtree (1191): std::_Tree<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::_Insert
c:\program files\microsoft visual studio 9.0\vc\include\xtree (674): std::_Tree<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::insert
c:\program files\microsoft visual studio 9.0\vc\include\map (173): std::map<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> > >::operator[]
c:\programovani\programy\cizi\mc-server.clean\squirrel_3_0_1_stable\sqrat\sqrat\sqratclasstype.h (62): Sqrat::ClassType<cSquirrelBaseClass>::getClassTypeData
c:\programovani\programy\cizi\mc-server.clean\squirrel_3_0_1_stable\sqrat\sqrat\sqratclasstype.h (97): Sqrat::ClassType<cSquirrelBaseClass>::Initialized
c:\programovani\programy\cizi\mc-server.clean\squirrel_3_0_1_stable\sqrat\sqrat\sqratclass.h (62): Sqrat::Class<cSquirrelBaseClass,Sqrat::DefaultAllocator<cSquirrelBaseClass> >::Class<cSquirrelBaseClass,Sqrat::DefaultAllocator<cSquirrelBaseClass> >
c:\programovani\programy\cizi\mc-server.clean\source\squirrelbindings\squirrelbindings.cpp (16): BindSquirrel
c:\programovani\programy\cizi\mc-server.clean\source\squirrelbindings\squirrelfunctions.cpp (47): OpenSquirrelVM
c:\programovani\programy\cizi\mc-server.clean\source\cpluginmanager.cpp (83): cPluginManager::ReloadPluginsNow
c:\programovani\programy\cizi\mc-server.clean\source\croot.cpp (136): cRoot::Start
c:\programovani\programy\cizi\mc-server.clean\source\main.cpp (182): main
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (586): __tmainCRTStartup
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (403): mainCRTStartup
ERROR: SymGetSymFromAddr64, GetLastError: 126 (Address: 00DBA307)
ERROR: SymGetModuleInfo64, GetLastError: 1114 (Address: 00DBA307)
00DBA307 ((module-name not available)): (filename not available): (function-name not available)
79E71B4C (mscorwks): (filename not available): CallDescrWorker
79E821B1 (mscorwks): (filename not available): CallDescrWorkerWithHandler
79E96501 (mscorwks): (filename not available): MethodDesc::CallDescr
79E96534 (mscorwks): (filename not available): MethodDesc::CallTargetWorker
79E96552 (mscorwks): (filename not available): MethodDescCallSite::CallWithValueTypes
79F273B4 (mscorwks): (filename not available): ClassLoader::RunMain
79EEF965 (mscorwks): (filename not available): Assembly::ExecuteMainMethod
79EEFEB5 (mscorwks): (filename not available): SystemDomain::ExecuteMainMethod
79EF009F (mscorwks): (filename not available): ExecuteEXE
79EEFFCF (mscorwks): (filename not available): _CorExeMain
603B55AB (mscoreei): (filename not available): _CorExeMain
79007F16 (mscoree): (filename not available): ShellShim__CorExeMain
79004DE3 (mscoree): (filename not available): _CorExeMain_Exported
7C817067 (KERNEL32): (filename not available): BaseProcessStart
--------------- Key: 56316, 52 bytes ---------
f:\dd\vctools\crt_bld\self_x86\crt\src\dbgmalloc.c (56): malloc
c:\program files\microsoft visual studio 9.0\vc\include\xmemory (43): std::_Allocate<std::_Tree_nod<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::_Node>
c:\program files\microsoft visual studio 9.0\vc\include\xmemory (145): std::allocator<std::_Tree_nod<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::_Node>::allocate
c:\program files\microsoft visual studio 9.0\vc\include\xtree (1409): std::_Tree<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::_Buynode
c:\program files\microsoft visual studio 9.0\vc\include\xtree (1191): std::_Tree<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::_Insert
c:\program files\microsoft visual studio 9.0\vc\include\xtree (674): std::_Tree<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::insert
c:\program files\microsoft visual studio 9.0\vc\include\map (173): std::map<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> > >::operator[]
c:\programovani\programy\cizi\mc-server.clean\squirrel_3_0_1_stable\sqrat\sqrat\sqratclasstype.h (62): Sqrat::ClassType<Vector3f>::getClassTypeData
c:\programovani\programy\cizi\mc-server.clean\squirrel_3_0_1_stable\sqrat\sqrat\sqratclasstype.h (97): Sqrat::ClassType<Vector3f>::Initialized
c:\programovani\programy\cizi\mc-server.clean\squirrel_3_0_1_stable\sqrat\sqrat\sqratclass.h (62): Sqrat::Class<Vector3f,Sqrat::NoConstructor>::Class<Vector3f,Sqrat::NoConstructor>
c:\programovani\programy\cizi\mc-server.clean\source\squirrelbindings\squirrelbindings.cpp (23): BindSquirrel
c:\programovani\programy\cizi\mc-server.clean\source\squirrelbindings\squirrelfunctions.cpp (47): OpenSquirrelVM
c:\programovani\programy\cizi\mc-server.clean\source\cpluginmanager.cpp (83): cPluginManager::ReloadPluginsNow
c:\programovani\programy\cizi\mc-server.clean\source\croot.cpp (136): cRoot::Start
c:\programovani\programy\cizi\mc-server.clean\source\main.cpp (182): main
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (586): __tmainCRTStartup
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (403): mainCRTStartup
ERROR: SymGetSymFromAddr64, GetLastError: 126 (Address: 00DBA307)
ERROR: SymGetModuleInfo64, GetLastError: 1114 (Address: 00DBA307)
00DBA307 ((module-name not available)): (filename not available): (function-name not available)
79E71B4C (mscorwks): (filename not available): CallDescrWorker
79E821B1 (mscorwks): (filename not available): CallDescrWorkerWithHandler
79E96501 (mscorwks): (filename not available): MethodDesc::CallDescr
79E96534 (mscorwks): (filename not available): MethodDesc::CallTargetWorker
79E96552 (mscorwks): (filename not available): MethodDescCallSite::CallWithValueTypes
79F273B4 (mscorwks): (filename not available): ClassLoader::RunMain
79EEF965 (mscorwks): (filename not available): Assembly::ExecuteMainMethod
79EEFEB5 (mscorwks): (filename not available): SystemDomain::ExecuteMainMethod
79EF009F (mscorwks): (filename not available): ExecuteEXE
79EEFFCF (mscorwks): (filename not available): _CorExeMain
603B55AB (mscoreei): (filename not available): _CorExeMain
79007F16 (mscoree): (filename not available): ShellShim__CorExeMain
79004DE3 (mscoree): (filename not available): _CorExeMain_Exported
7C817067 (KERNEL32): (filename not available): BaseProcessStart
--------------- Key: 56361, 52 bytes ---------
f:\dd\vctools\crt_bld\self_x86\crt\src\dbgmalloc.c (56): malloc
c:\program files\microsoft visual studio 9.0\vc\include\xmemory (43): std::_Allocate<std::_Tree_nod<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::_Node>
c:\program files\microsoft visual studio 9.0\vc\include\xmemory (145): std::allocator<std::_Tree_nod<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::_Node>::allocate
c:\program files\microsoft visual studio 9.0\vc\include\xtree (1409): std::_Tree<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::_Buynode
c:\program files\microsoft visual studio 9.0\vc\include\xtree (1191): std::_Tree<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::_Insert
c:\program files\microsoft visual studio 9.0\vc\include\xtree (674): std::_Tree<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::insert
c:\program files\microsoft visual studio 9.0\vc\include\map (173): std::map<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> > >::operator[]
c:\programovani\programy\cizi\mc-server.clean\squirrel_3_0_1_stable\sqrat\sqrat\sqratclasstype.h (62): Sqrat::ClassType<Vector3d>::getClassTypeData
c:\programovani\programy\cizi\mc-server.clean\squirrel_3_0_1_stable\sqrat\sqrat\sqratclasstype.h (97): Sqrat::ClassType<Vector3d>::Initialized
c:\programovani\programy\cizi\mc-server.clean\squirrel_3_0_1_stable\sqrat\sqrat\sqratclass.h (62): Sqrat::Class<Vector3d,Sqrat::NoConstructor>::Class<Vector3d,Sqrat::NoConstructor>
c:\programovani\programy\cizi\mc-server.clean\source\squirrelbindings\squirrelbindings.cpp (33): BindSquirrel
c:\programovani\programy\cizi\mc-server.clean\source\squirrelbindings\squirrelfunctions.cpp (47): OpenSquirrelVM
c:\programovani\programy\cizi\mc-server.clean\source\cpluginmanager.cpp (83): cPluginManager::ReloadPluginsNow
c:\programovani\programy\cizi\mc-server.clean\source\croot.cpp (136): cRoot::Start
c:\programovani\programy\cizi\mc-server.clean\source\main.cpp (182): main
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (586): __tmainCRTStartup
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (403): mainCRTStartup
ERROR: SymGetSymFromAddr64, GetLastError: 126 (Address: 00DBA307)
ERROR: SymGetModuleInfo64, GetLastError: 1114 (Address: 00DBA307)
00DBA307 ((module-name not available)): (filename not available): (function-name not available)
79E71B4C (mscorwks): (filename not available): CallDescrWorker
79E821B1 (mscorwks): (filename not available): CallDescrWorkerWithHandler
79E96501 (mscorwks): (filename not available): MethodDesc::CallDescr
79E96534 (mscorwks): (filename not available): MethodDesc::CallTargetWorker
79E96552 (mscorwks): (filename not available): MethodDescCallSite::CallWithValueTypes
79F273B4 (mscorwks): (filename not available): ClassLoader::RunMain
79EEF965 (mscorwks): (filename not available): Assembly::ExecuteMainMethod
79EEFEB5 (mscorwks): (filename not available): SystemDomain::ExecuteMainMethod
79EF009F (mscorwks): (filename not available): ExecuteEXE
79EEFFCF (mscorwks): (filename not available): _CorExeMain
603B55AB (mscoreei): (filename not available): _CorExeMain
79007F16 (mscoree): (filename not available): ShellShim__CorExeMain
79004DE3 (mscoree): (filename not available): _CorExeMain_Exported
7C817067 (KERNEL32): (filename not available): BaseProcessStart
--------------- Key: 56399, 52 bytes ---------
f:\dd\vctools\crt_bld\self_x86\crt\src\dbgmalloc.c (56): malloc
c:\program files\microsoft visual studio 9.0\vc\include\xmemory (43): std::_Allocate<std::_Tree_nod<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::_Node>
c:\program files\microsoft visual studio 9.0\vc\include\xmemory (145): std::allocator<std::_Tree_nod<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::_Node>::allocate
c:\program files\microsoft visual studio 9.0\vc\include\xtree (1409): std::_Tree<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::_Buynode
c:\program files\microsoft visual studio 9.0\vc\include\xtree (1191): std::_Tree<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::_Insert
c:\program files\microsoft visual studio 9.0\vc\include\xtree (674): std::_Tree<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::insert
c:\program files\microsoft visual studio 9.0\vc\include\map (173): std::map<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> > >::operator[]
c:\programovani\programy\cizi\mc-server.clean\squirrel_3_0_1_stable\sqrat\sqrat\sqratclasstype.h (62): Sqrat::ClassType<cEntity>::getClassTypeData
c:\programovani\programy\cizi\mc-server.clean\squirrel_3_0_1_stable\sqrat\sqrat\sqratclasstype.h (97): Sqrat::ClassType<cEntity>::Initialized
c:\programovani\programy\cizi\mc-server.clean\squirrel_3_0_1_stable\sqrat\sqrat\sqratclass.h (62): Sqrat::Class<cEntity,Sqrat::NoConstructor>::Class<cEntity,Sqrat::NoConstructor>
c:\programovani\programy\cizi\mc-server.clean\source\squirrelbindings\squirrelbindings.cpp (43): BindSquirrel
c:\programovani\programy\cizi\mc-server.clean\source\squirrelbindings\squirrelfunctions.cpp (47): OpenSquirrelVM
c:\programovani\programy\cizi\mc-server.clean\source\cpluginmanager.cpp (83): cPluginManager::ReloadPluginsNow
c:\programovani\programy\cizi\mc-server.clean\source\croot.cpp (136): cRoot::Start
c:\programovani\programy\cizi\mc-server.clean\source\main.cpp (182): main
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (586): __tmainCRTStartup
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (403): mainCRTStartup
ERROR: SymGetSymFromAddr64, GetLastError: 126 (Address: 00DBA307)
ERROR: SymGetModuleInfo64, GetLastError: 1114 (Address: 00DBA307)
00DBA307 ((module-name not available)): (filename not available): (function-name not available)
79E71B4C (mscorwks): (filename not available): CallDescrWorker
79E821B1 (mscorwks): (filename not available): CallDescrWorkerWithHandler
79E96501 (mscorwks): (filename not available): MethodDesc::CallDescr
79E96534 (mscorwks): (filename not available): MethodDesc::CallTargetWorker
79E96552 (mscorwks): (filename not available): MethodDescCallSite::CallWithValueTypes
79F273B4 (mscorwks): (filename not available): ClassLoader::RunMain
79EEF965 (mscorwks): (filename not available): Assembly::ExecuteMainMethod
79EEFEB5 (mscorwks): (filename not available): SystemDomain::ExecuteMainMethod
79EF009F (mscorwks): (filename not available): ExecuteEXE
79EEFFCF (mscorwks): (filename not available): _CorExeMain
603B55AB (mscoreei): (filename not available): _CorExeMain
79007F16 (mscoree): (filename not available): ShellShim__CorExeMain
79004DE3 (mscoree): (filename not available): _CorExeMain_Exported
7C817067 (KERNEL32): (filename not available): BaseProcessStart
--------------- Key: 56509, 52 bytes ---------
f:\dd\vctools\crt_bld\self_x86\crt\src\dbgmalloc.c (56): malloc
c:\program files\microsoft visual studio 9.0\vc\include\xmemory (43): std::_Allocate<std::_Tree_nod<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::_Node>
c:\program files\microsoft visual studio 9.0\vc\include\xmemory (145): std::allocator<std::_Tree_nod<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::_Node>::allocate
c:\program files\microsoft visual studio 9.0\vc\include\xtree (1409): std::_Tree<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::_Buynode
c:\program files\microsoft visual studio 9.0\vc\include\xtree (1191): std::_Tree<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::_Insert
c:\program files\microsoft visual studio 9.0\vc\include\xtree (674): std::_Tree<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::insert
c:\program files\microsoft visual studio 9.0\vc\include\map (173): std::map<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> > >::operator[]
c:\programovani\programy\cizi\mc-server.clean\squirrel_3_0_1_stable\sqrat\sqrat\sqratclasstype.h (62): Sqrat::ClassType<cPawn>::getClassTypeData
c:\programovani\programy\cizi\mc-server.clean\squirrel_3_0_1_stable\sqrat\sqrat\sqratclasstype.h (97): Sqrat::ClassType<cPawn>::Initialized
c:\programovani\programy\cizi\mc-server.clean\squirrel_3_0_1_stable\sqrat\sqrat\sqratclass.h (342): Sqrat::DerivedClass<cPawn,cEntity,Sqrat::NoConstructor>::DerivedClass<cPawn,cEntity,Sqrat::NoConstructor>
c:\programovani\programy\cizi\mc-server.clean\source\squirrelbindings\squirrelbindings.cpp (83): BindSquirrel
c:\programovani\programy\cizi\mc-server.clean\source\squirrelbindings\squirrelfunctions.cpp (47): OpenSquirrelVM
c:\programovani\programy\cizi\mc-server.clean\source\cpluginmanager.cpp (83): cPluginManager::ReloadPluginsNow
c:\programovani\programy\cizi\mc-server.clean\source\croot.cpp (136): cRoot::Start
c:\programovani\programy\cizi\mc-server.clean\source\main.cpp (182): main
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (586): __tmainCRTStartup
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (403): mainCRTStartup
ERROR: SymGetSymFromAddr64, GetLastError: 126 (Address: 00DBA307)
ERROR: SymGetModuleInfo64, GetLastError: 1114 (Address: 00DBA307)
00DBA307 ((module-name not available)): (filename not available): (function-name not available)
79E71B4C (mscorwks): (filename not available): CallDescrWorker
79E821B1 (mscorwks): (filename not available): CallDescrWorkerWithHandler
79E96501 (mscorwks): (filename not available): MethodDesc::CallDescr
79E96534 (mscorwks): (filename not available): MethodDesc::CallTargetWorker
79E96552 (mscorwks): (filename not available): MethodDescCallSite::CallWithValueTypes
79F273B4 (mscorwks): (filename not available): ClassLoader::RunMain
79EEF965 (mscorwks): (filename not available): Assembly::ExecuteMainMethod
79EEFEB5 (mscorwks): (filename not available): SystemDomain::ExecuteMainMethod
79EF009F (mscorwks): (filename not available): ExecuteEXE
79EEFFCF (mscorwks): (filename not available): _CorExeMain
603B55AB (mscoreei): (filename not available): _CorExeMain
79007F16 (mscoree): (filename not available): ShellShim__CorExeMain
79004DE3 (mscoree): (filename not available): _CorExeMain_Exported
7C817067 (KERNEL32): (filename not available): BaseProcessStart
--------------- Key: 56574, 52 bytes ---------
f:\dd\vctools\crt_bld\self_x86\crt\src\dbgmalloc.c (56): malloc
c:\program files\microsoft visual studio 9.0\vc\include\xmemory (43): std::_Allocate<std::_Tree_nod<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::_Node>
c:\program files\microsoft visual studio 9.0\vc\include\xmemory (145): std::allocator<std::_Tree_nod<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::_Node>::allocate
c:\program files\microsoft visual studio 9.0\vc\include\xtree (1409): std::_Tree<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::_Buynode
c:\program files\microsoft visual studio 9.0\vc\include\xtree (1191): std::_Tree<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::_Insert
c:\program files\microsoft visual studio 9.0\vc\include\xtree (674): std::_Tree<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::insert
c:\program files\microsoft visual studio 9.0\vc\include\map (173): std::map<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> > >::operator[]
c:\programovani\programy\cizi\mc-server.clean\squirrel_3_0_1_stable\sqrat\sqrat\sqratclasstype.h (62): Sqrat::ClassType<cPlayer>::getClassTypeData
c:\programovani\programy\cizi\mc-server.clean\squirrel_3_0_1_stable\sqrat\sqrat\sqratclasstype.h (97): Sqrat::ClassType<cPlayer>::Initialized
c:\programovani\programy\cizi\mc-server.clean\squirrel_3_0_1_stable\sqrat\sqrat\sqratclass.h (342): Sqrat::DerivedClass<cPlayer,cPawn,Sqrat::NoConstructor>::DerivedClass<cPlayer,cPawn,Sqrat::NoConstructor>
c:\programovani\programy\cizi\mc-server.clean\source\squirrelbindings\squirrelbindings.cpp (102): BindSquirrel
c:\programovani\programy\cizi\mc-server.clean\source\squirrelbindings\squirrelfunctions.cpp (47): OpenSquirrelVM
c:\programovani\programy\cizi\mc-server.clean\source\cpluginmanager.cpp (83): cPluginManager::ReloadPluginsNow
c:\programovani\programy\cizi\mc-server.clean\source\croot.cpp (136): cRoot::Start
c:\programovani\programy\cizi\mc-server.clean\source\main.cpp (182): main
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (586): __tmainCRTStartup
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (403): mainCRTStartup
ERROR: SymGetSymFromAddr64, GetLastError: 126 (Address: 00DBA307)
ERROR: SymGetModuleInfo64, GetLastError: 1114 (Address: 00DBA307)
00DBA307 ((module-name not available)): (filename not available): (function-name not available)
79E71B4C (mscorwks): (filename not available): CallDescrWorker
79E821B1 (mscorwks): (filename not available): CallDescrWorkerWithHandler
79E96501 (mscorwks): (filename not available): MethodDesc::CallDescr
79E96534 (mscorwks): (filename not available): MethodDesc::CallTargetWorker
79E96552 (mscorwks): (filename not available): MethodDescCallSite::CallWithValueTypes
79F273B4 (mscorwks): (filename not available): ClassLoader::RunMain
79EEF965 (mscorwks): (filename not available): Assembly::ExecuteMainMethod
79EEFEB5 (mscorwks): (filename not available): SystemDomain::ExecuteMainMethod
79EF009F (mscorwks): (filename not available): ExecuteEXE
79EEFFCF (mscorwks): (filename not available): _CorExeMain
603B55AB (mscoreei): (filename not available): _CorExeMain
79007F16 (mscoree): (filename not available): ShellShim__CorExeMain
79004DE3 (mscoree): (filename not available): _CorExeMain_Exported
7C817067 (KERNEL32): (filename not available): BaseProcessStart
--------------- Key: 56697, 52 bytes ---------
f:\dd\vctools\crt_bld\self_x86\crt\src\dbgmalloc.c (56): malloc
c:\program files\microsoft visual studio 9.0\vc\include\xmemory (43): std::_Allocate<std::_Tree_nod<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::_Node>
c:\program files\microsoft visual studio 9.0\vc\include\xmemory (145): std::allocator<std::_Tree_nod<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::_Node>::allocate
c:\program files\microsoft visual studio 9.0\vc\include\xtree (1409): std::_Tree<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::_Buynode
c:\program files\microsoft visual studio 9.0\vc\include\xtree (1191): std::_Tree<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::_Insert
c:\program files\microsoft visual studio 9.0\vc\include\xtree (674): std::_Tree<std::_Tmap_traits<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> >,0> >::insert
c:\program files\microsoft visual studio 9.0\vc\include\map (173): std::map<SQVM *,Sqrat::ClassTypeData,std::less<SQVM *>,std::allocator<std::pair<SQVM * const,Sqrat::ClassTypeData> > >::operator[]
c:\programovani\programy\cizi\mc-server.clean\squirrel_3_0_1_stable\sqrat\sqrat\sqratclasstype.h (62): Sqrat::ClassType<SquirrelStringArray>::getClassTypeData
c:\programovani\programy\cizi\mc-server.clean\squirrel_3_0_1_stable\sqrat\sqrat\sqratclasstype.h (97): Sqrat::ClassType<SquirrelStringArray>::Initialized
c:\programovani\programy\cizi\mc-server.clean\squirrel_3_0_1_stable\sqrat\sqrat\sqratclass.h (62): Sqrat::Class<SquirrelStringArray,Sqrat::DefaultAllocator<SquirrelStringArray> >::Class<SquirrelStringArray,Sqrat::DefaultAllocator<SquirrelStringArray> >
c:\programovani\programy\cizi\mc-server.clean\source\squirrelbindings\squirrelbindings.cpp (144): BindSquirrel
c:\programovani\programy\cizi\mc-server.clean\source\squirrelbindings\squirrelfunctions.cpp (47): OpenSquirrelVM
c:\programovani\programy\cizi\mc-server.clean\source\cpluginmanager.cpp (83): cPluginManager::ReloadPluginsNow
c:\programovani\programy\cizi\mc-server.clean\source\croot.cpp (136): cRoot::Start
c:\programovani\programy\cizi\mc-server.clean\source\main.cpp (182): main
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (586): __tmainCRTStartup
f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (403): mainCRTStartup
ERROR: SymGetSymFromAddr64, GetLastError: 126 (Address: 00DBA307)
ERROR: SymGetModuleInfo64, GetLastError: 1114 (Address: 00DBA307)
00DBA307 ((module-name not available)): (filename not available): (function-name not available)
79E71B4C (mscorwks): (filename not available): CallDescrWorker
79E821B1 (mscorwks): (filename not available): CallDescrWorkerWithHandler
79E96501 (mscorwks): (filename not available): MethodDesc::CallDescr
79E96534 (mscorwks): (filename not available): MethodDesc::CallTargetWorker
79E96552 (mscorwks): (filename not available): MethodDescCallSite::CallWithValueTypes
79F273B4 (mscorwks): (filename not available): ClassLoader::RunMain
79EEF965 (mscorwks): (filename not available): Assembly::ExecuteMainMethod
79EEFEB5 (mscorwks): (filename not available): SystemDomain::ExecuteMainMethod
79EF009F (mscorwks): (filename not available): ExecuteEXE

One thing that makes me wonder is why there's "mscorwks" at all - is Squirrel using some perverted way to hook into C# / CLR runtime, or is it just a glitch of the memleak detector? But why would the DLL be loaded at all?
Reply
Thanks given by:


Messages In This Thread
Possible memory leak in Squirrel - by xoft - 07-13-2012, 01:29 AM
RE: Possible memory leak in Squirrel - by Lapayo - 07-13-2012, 03:17 AM
RE: Possible memory leak in Squirrel - by Lapayo - 07-13-2012, 04:55 AM
RE: Possible memory leak in Squirrel - by Lapayo - 07-13-2012, 05:40 AM
RE: Possible memory leak in Squirrel - by xoft - 07-13-2012, 05:46 AM
RE: Possible memory leak in Squirrel - by Lapayo - 07-13-2012, 11:01 PM
RE: Possible memory leak in Squirrel - by xoft - 07-13-2012, 11:04 PM
RE: Possible memory leak in Squirrel - by Lapayo - 07-13-2012, 11:18 PM
RE: Possible memory leak in Squirrel - by Lapayo - 07-15-2012, 12:01 AM
RE: Possible memory leak in Squirrel - by xoft - 07-15-2012, 11:39 PM
RE: Possible memory leak in Squirrel - by Lapayo - 07-16-2012, 12:51 AM



Users browsing this thread: 3 Guest(s)