Opened 10 years ago

Closed 8 years ago

#2785 closed defect (needsinfo)

[NEEDSINFO] Crash: Not enough memory

Reported by: scythetwirler Owned by:
Priority: Should Have Milestone:
Component: Core engine Keywords:
Cc: Patch:

Description

(error while dumping stack: No stack frames found)

errno = 12 (Not enough memory)

OS error = 0 (no error code was set)

r15612

Not sure if it still happens.

Attachments (1)

logs.zip (218.1 KB ) - added by scythetwirler 10 years ago.

Download all attachments as: .zip

Change History (3)

by scythetwirler, 10 years ago

Attachment: logs.zip added

comment:1 by historic_bruno, 10 years ago

Looks like it failed while dumping the debug simulation state during an OOS error. Possibly related to #2808. Call stack:

 	KERNELBASE.dll!_RaiseException@16()  + 0x58 bytes	
 	msvcr90.dll!_CxxThrowException(void * pExceptionObject=0x006ce34c, const _s__ThrowInfo * pThrowInfo=0x7126d604)  Line 161	C++
 	msvcr90.dll!operator new(unsigned int size=4726834)  Line 63 + 0x17 bytes	C++
 	msvcp90.dll!std::_Allocate<unsigned short>(unsigned int _Count=2363417, unsigned short * __formal=0x00000000)  Line 43 + 0x9 bytes	C++
>	msvcp90.dll!std::allocator<unsigned short>::allocate(unsigned int _Count=2363417)  Line 151 + 0xa bytes	C++
 	msvcp90.dll!std::basic_string<unsigned short,std::char_traits<unsigned short>,std::allocator<unsigned short> >::_Copy(unsigned int _Newsize=2363416, unsigned int _Oldlen=7)  Line 2107 + 0x14 bytes	C++
 	msvcp90.dll!std::basic_string<unsigned short,std::char_traits<unsigned short>,std::allocator<unsigned short> >::_Grow(unsigned int _Newsize=2363416, bool _Trim=false)  Line 2133 + 0xb bytes	C++
 	msvcp90.dll!std::basic_string<unsigned short,std::char_traits<unsigned short>,std::allocator<unsigned short> >::assign(const std::basic_string<unsigned short,std::char_traits<unsigned short>,std::allocator<unsigned short> > & _Right=<Bad Ptr>, unsigned int _Roff=0, unsigned int _Count=4294967295)  Line 1065 + 0x8 bytes	C++
 	msvcp90.dll!std::basic_string<unsigned short,std::char_traits<unsigned short>,std::allocator<unsigned short> >::assign(const std::basic_string<unsigned short,std::char_traits<unsigned short>,std::allocator<unsigned short> > & _Right=<Bad Ptr>)  Line 1052	C++
 	pyrogenesis.exe!ScriptInterface::FromJSVal<std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> > >(JSContext * cx=0x00241018, JS::Handle<JS::Value> v={...}, std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> > & out="")  Line 165 + 0x1f bytes	C++
 	pyrogenesis.exe!ScriptInterface::CallFunction<std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> > >(JS::Handle<JS::Value> val={...}, const char * name=0x003d9aa8, std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> > & ret="")  Line 146 + 0x108 bytes	C++
 	pyrogenesis.exe!ScriptInterface::ToString(JS::MutableHandle<JS::Value> obj={...}, bool pretty=true)  Line 1355	C++
 	pyrogenesis.exe!CDebugSerializer::PutScriptVal(const char * name=0x003d9264, JS::MutableHandle<JS::Value> value={...})  Line 154	C++
 	pyrogenesis.exe!ISerializer::ScriptVal(const char * name=0x003d9264, JS::MutableHandle<JS::Value> value={...})  Line 98	C++
 	pyrogenesis.exe!CComponentTypeScript::Serialize(ISerializer & serialize={...})  Line 102	C++
 	pyrogenesis.exe!CComponentManager::DumpDebugState(std::basic_ostream<char,std::char_traits<char> > & stream={...}, bool includeDebugInfo=true)  Line 89	C++
 	pyrogenesis.exe!CSimulation2::DumpDebugState(std::basic_ostream<char,std::char_traits<char> > & stream={...})  Line 803	C++
 	pyrogenesis.exe!CNetTurnManager::OnSyncError(unsigned int turn=2194, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & expectedHash={...})  Line 238	C++
 	pyrogenesis.exe!CNetClient::OnInGame(void * context=0x0b590d88, CFsmEvent * event=0x0b588708)  Line 609 + 0x16 bytes	C++
 	pyrogenesis.exe!CFsmTransition::RunActions()  Line 158 + 0xa bytes	C++
 	pyrogenesis.exe!CFsm::Update(unsigned int eventType=19, void * pEventParam=0x4d191000)  Line 425 + 0xa bytes	C++
 	pyrogenesis.exe!CNetClient::HandleMessage(CNetMessage * message=0x4d191000)  Line 312 + 0x9 bytes	C++
 	pyrogenesis.exe!CNetClientSession::Poll()  Line 140	C++
 	pyrogenesis.exe!Frame()  Line 340	C++
 	pyrogenesis.exe!RunGameOrAtlas(int argc=1, const char * * argv=0x03fee580)  Line 488 + 0x5 bytes	C++
 	pyrogenesis.exe!main(int argc=1, char * * argv=0x03fee580)  Line 530 + 0xd bytes	C++
 	pyrogenesis.exe!wmain(int argc=1, wchar_t * * argv=0x03feee08)  Line 380 + 0xa bytes	C++
 	pyrogenesis.exe!__tmainCRTStartup()  Line 583 + 0x17 bytes	C
 	pyrogenesis.exe!CallStartupWithinTryBlock()  Line 397	C++
 	kernel32.dll!@BaseThreadInitThunk@12()  + 0x12 bytes	
 	ntdll.dll!___RtlUserThreadStart@8()  + 0x27 bytes	
 	ntdll.dll!__RtlUserThreadStart@8()  + 0x1b bytes	

comment:2 by Stan, 8 years ago

Milestone: Backlog
Resolution: needsinfo
Status: newclosed
Summary: Crash: Not enough memory[NEEDSINFO] Crash: Not enough memory

I'm closing it as needinfo since the probable cause of the bug was fixed, feel free to reopen it if it arises again;

Note: See TracTickets for help on using tickets.