Opened 12 years ago
Closed 11 years ago
#1695 closed defect (needsinfo)
[NEEDS INFO] Crash in CBinarySerializerScriptImpl while saving
Reported by: | loheme | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | |
Component: | Core engine | Keywords: | serializer |
Cc: | Patch: |
Description
The following error message was generated while trying to save a game:
Much to our regret we must report the program has encountered an error.
Please let us know at http://trac.wildfiregames.com/ and attach the crashlog.txt and crashlog.dmp files.
Details: unhandled exception (Access violation writing 0x00000004)
Location: unknown:0 (?)
Call stack:
(error while dumping stack: No stack frames found) errno = 12 (Not enough memory) OS error = 487 (Attempt to access invalid address.)
Attachments (2)
Change History (6)
by , 12 years ago
Attachment: | crashlog.dmp added |
---|
by , 12 years ago
Attachment: | crashlog.txt added |
---|
comment:1 by , 12 years ago
comment:2 by , 11 years ago
Keywords: | serializer added |
---|
Were you using "time warp" by chance, at any point in the game before this crash? The crash log looks similar but not identical to a crash caused by using time warp (which is an experimental feature not intended for frequent use).
Also it would be helpful to know how many players were in the game, if they were AIs, and which map.
comment:3 by , 11 years ago
Summary: | 0AD crashed while saving → Crash in CBinarySerializerScriptImpl while saving |
---|
Call stack for reference:
> pyrogenesis.exe!std::_Tree<std::_Tmap_traits<JSObject *,unsigned int,std::less<JSObject *>,ProxyAllocator<std::pair<JSObject * const,unsigned int>,Allocators::Arena<Allocators::Storage_Fixed<Allocator_Aligned<16> > > >,0> >::_Buynode() Line 1390 + 0x8 bytes C++ pyrogenesis.exe!CBinarySerializerScriptImpl::CBinarySerializerScriptImpl(ScriptInterface & scriptInterface={...}, ISerializer & serializer={...}) Line 33 + 0x75 bytes C++ pyrogenesis.exe!CBinarySerializer<CStdSerializerImpl>::CBinarySerializer<CStdSerializerImpl><std::basic_ostream<char,std::char_traits<char> > >(ScriptInterface & scriptInterface={...}, std::basic_ostream<char,std::char_traits<char> > & a={...}) Line 100 + 0x65 bytes C++ pyrogenesis.exe!CStdSerializer::CStdSerializer(ScriptInterface & scriptInterface={...}, std::basic_ostream<char,std::char_traits<char> > & stream={...}) Line 29 + 0x14 bytes C++ pyrogenesis.exe!CComponentManager::SerializeState(std::basic_ostream<char,std::char_traits<char> > & stream={...}) Line 185 C++ pyrogenesis.exe!SavedGames::Save(const std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> > & prefix=<Bad Ptr>, CSimulation2 & simulation={...}, CGUIManager * gui=0x102173d0, int playerID=1) Line 62 + 0x17 bytes C++ pyrogenesis.exe!`anonymous namespace'::SaveGame(void * cbdata=0x102173d0) Line 244 + 0x36 bytes C++ pyrogenesis.exe!ScriptInterface::call<void,&`anonymous namespace'::SaveGame>(JSContext * cx=0x597239dc, unsigned int argc=1511954624, unsigned __int64 * vp=0x00cbf5af) Line 104 + 0x11 bytes C++ pyrogenesis.exe!CProfileNode::Frame() Line 410 + 0x7 bytes C++ pyrogenesis.exe!CProfileNode::Frame() Line 410 + 0x7 bytes C++ pyrogenesis.exe!CProfileNode::Frame() Line 410 + 0x7 bytes C++ pyrogenesis.exe!CProfileNode::Frame() Line 410 + 0x7 bytes C++ pyrogenesis.exe!CProfileNode::Frame() Line 410 + 0x7 bytes C++ pyrogenesis.exe!CProfileNode::Frame() Line 410 + 0x7 bytes C++ pyrogenesis.exe!CProfileNode::Frame() Line 410 + 0x7 bytes C++ pyrogenesis.exe!CProfileNode::Frame() Line 410 + 0x7 bytes C++ pyrogenesis.exe!CProfileNode::Frame() Line 410 + 0x7 bytes C++ pyrogenesis.exe!CProfileNode::Frame() Line 410 + 0x7 bytes C++ pyrogenesis.exe!CProfileNode::Frame() Line 410 + 0x7 bytes C++ pyrogenesis.exe!CProfileNode::Frame() Line 410 + 0x7 bytes C++ pyrogenesis.exe!CProfileNode::Frame() Line 410 + 0x7 bytes C++ pyrogenesis.exe!CProfileNode::Frame() Line 410 + 0x7 bytes C++ pyrogenesis.exe!CProfileNode::Frame() Line 410 + 0x7 bytes C++ pyrogenesis.exe!CProfileNode::Frame() Line 410 + 0x7 bytes C++ msvcr90.dll!___set_flsgetvalue() + 0xf bytes pyrogenesis.exe!IGUIObject::ScriptEvent(const CStr8 & Action={...}) Line 496 + 0x7b bytes C++ pyrogenesis.exe!IGUIObject::SendEvent(EGUIMessageType type=GUIM_PRESSED, const CStr8 & EventName={...}) Line 477 C++ pyrogenesis.exe!IGUIButtonBehavior::HandleMessage(SGUIMessage & Message={...}) Line 68 + 0x32 bytes C++ pyrogenesis.exe!CButton::HandleMessage(SGUIMessage & Message={...}) Line 86 C++ pyrogenesis.exe!IGUIObject::SendEvent(EGUIMessageType type=GUIM_MOUSE_RELEASE_LEFT, const CStr8 & EventName={...}) Line 475 C++ pyrogenesis.exe!CGUI::HandleEvent(const SDL_Event_ * ev=0x001af618) Line 214 + 0x20 bytes C++ pyrogenesis.exe!CGUIManager::HandleEvent(const SDL_Event_ * ev=0x001af618) Line 212 + 0x24 bytes C++ pyrogenesis.exe!gui_handler(const SDL_Event_ * ev=0x001af618) Line 48 + 0x18 bytes C++ pyrogenesis.exe!in_dispatch_event(const SDL_Event_ * ev=0x001af618) Line 60 + 0xa bytes C++ pyrogenesis.exe!PumpEvents() Line 191 C++ pyrogenesis.exe!Frame() Line 354 C++ pyrogenesis.exe!RunGameOrAtlas(int argc=1, const char * * argv=0x00681130) Line 529 + 0x5 bytes C++ pyrogenesis.exe!main(int argc=1, char * * argv=0x00681130) Line 572 + 0xf bytes C++ pyrogenesis.exe!wmain(int argc=1, wchar_t * * argv=0x00851608) Line 380 + 0xb 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:4 by , 11 years ago
Milestone: | Backlog |
---|---|
Resolution: | → needsinfo |
Status: | new → closed |
Summary: | Crash in CBinarySerializerScriptImpl while saving → [NEEDS INFO] Crash in CBinarySerializerScriptImpl while saving |
Can you remember what you were doing when this error occurred?