Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#2856 closed defect (needsinfo)

break at loading a game

Reported by: JuKu96 Owned by:
Priority: Must Have Milestone:
Component: Core engine Keywords:
Cc: JuKu96 Patch:

Description

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 (Breakpoint)
Location: unknown:0 (?)
Call stack:  (error while dumping stack: No stack frames found) errno = 13
(Insufficient access rights to open file)
OS error = 0 (no error code was set) 

Attachments (5)

crashlog.dmp (102.7 KB ) - added by JuKu96 10 years ago.
crashlog
system_info.txt (15.6 KB ) - added by JuKu96 10 years ago.
systeminfo
crashlog.2.dmp (102.7 KB ) - added by JuKu96 10 years ago.
crashlog
mainlog.html (16.0 KB ) - added by JuKu96 10 years ago.
mainlog
interestinglog.html (303 bytes ) - added by JuKu96 10 years ago.
intrestinglog

Download all attachments as: .zip

Change History (10)

by JuKu96, 10 years ago

Attachment: crashlog.dmp added

crashlog

by JuKu96, 10 years ago

Attachment: system_info.txt added

systeminfo

by JuKu96, 10 years ago

Attachment: crashlog.2.dmp added

crashlog

by JuKu96, 10 years ago

Attachment: mainlog.html added

mainlog

by JuKu96, 10 years ago

Attachment: interestinglog.html added

intrestinglog

comment:1 by JuKu96, 10 years ago

Now the following message was thrown:

(error while formatting error message)

comment:2 by historic_bruno, 10 years ago

Call stack of first crashlog:

>	pyrogenesis.exe!ArchiveReader_Zip::FindRecord(const unsigned char * buf=0x1f12e000, unsigned int size=66000, const unsigned char * start=0x1f12e000, unsigned int magic=101010256, unsigned int recordSize=22)  Line 500 + 0x2a bytes	C++
 	pyrogenesis.exe!ArchiveReader_Zip::ScanForEcdr(const boost::shared_ptr<File> & file={...}, __int64 fileSize=1400832, unsigned char * buf=0x1f12e000, unsigned int maxScanSize=66000, unsigned int & cd_numEntries=0, __int64 & cd_ofs=0, unsigned int & cd_size=0)  Line 525 + 0xf bytes	C++
 	pyrogenesis.exe!ArchiveReader_Zip::LocateCentralDirectory(const boost::shared_ptr<File> & file={...}, __int64 fileSize=1400832, __int64 & cd_ofs=0, unsigned int & cd_numEntries=0, unsigned int & cd_size=0)  Line 543 + 0x23 bytes	C++
 	pyrogenesis.exe!ArchiveReader_Zip::ReadEntries(void (const Path &, const CFileInfo &, boost::shared_ptr<IArchiveFile>, unsigned int)* cb=0x01184740, unsigned int cbData=4250232)  Line 450 + 0x51 bytes	C++
 	pyrogenesis.exe!SavedGames::GetSavedGames(ScriptInterface & scriptInterface={...})  Line 225	C++
 	pyrogenesis.exe!`anonymous namespace'::GetSavedGames(ScriptInterface::CxPrivate * pCxPrivate=0x1ef65cc8)  Line 382 + 0x17 bytes	C++
 	pyrogenesis.exe!ScriptInterface_NativeWrapper<std::vector<CScriptValRooted,std::allocator<CScriptValRooted> > >::call<std::vector<CScriptValRooted,std::allocator<CScriptValRooted> > (__cdecl*)(ScriptInterface::CxPrivate *)>(JSContext * cx=0x07336c68, JS::Value & rval={...}, std::vector<CScriptValRooted,std::allocator<CScriptValRooted> > (ScriptInterface::CxPrivate *)* fptr=0x01285950)  Line 33 + 0x37 bytes	C++
 	pyrogenesis.exe!ScriptInterface::call<std::vector<CScriptValRooted,std::allocator<CScriptValRooted> >,&`anonymous namespace'::GetSavedGames>(JSContext * cx=0x07336c68, unsigned int argc=0, JS::Value * vp=0x0723e938)  Line 103 + 0xa0 bytes	C++
 	mozjs24-ps-release.dll!js::Invoke(JSContext * cx=0x07336c68, JS::CallArgs args={...}, js::MaybeConstruct construct=NO_CONSTRUCT)  Line 481 + 0xc bytes	C++
 	mozjs24-ps-release.dll!Interpret(JSContext * cx=0x07336c68, js::RunState & state={...})  Line 2298 + 0x11 bytes	C++
 	mozjs24-ps-release.dll!js::RunScript(JSContext * cx=0x07336c68, js::RunState & state={...})  Line 438 + 0x7 bytes	C++
 	mozjs24-ps-release.dll!js::Invoke(JSContext * cx=0x07336c68, JS::CallArgs args={...}, js::MaybeConstruct construct=NO_CONSTRUCT)  Line 500 + 0xb bytes	C++
 	mozjs24-ps-release.dll!js::Invoke(JSContext * cx=0x07336c68, const JS::Value & thisv={...}, const JS::Value & fval={...}, unsigned int argc=2, JS::Value * argv=0x0040e4cc, JS::Value * rval=0x0040e4dc)  Line 531 + 0xe bytes	C++
 	mozjs24-ps-release.dll!JS_CallFunctionName(JSContext * cx=0x07336c68, JSObject * objArg=0x0716a040, const char * name=0x01342d18, unsigned int argc=2, JS::Value * argv=0x0040e4cc, JS::Value * rval=0x0040e4dc)  Line 5625 + 0x70 bytes	C++
 	pyrogenesis.exe!ScriptInterface::CallFunction_(JS::Value val={...}, const char * name=0x01342d18, unsigned int argc=2, JS::Value * argv=0x0040e4cc, JS::Value & ret={...})  Line 984 + 0x1e bytes	C++
 	pyrogenesis.exe!CGUIManager::LoadPage(CGUIManager::SGUIPage & page={...})  Line 249 + 0x79 bytes	C++
 	pyrogenesis.exe!CGUIManager::PushPage(const CStrW & pageName={...}, boost::shared_ptr<ScriptInterface::StructuredClone> initData={...})  Line 86	C++
 	pyrogenesis.exe!`anonymous namespace'::PushGuiPage(ScriptInterface::CxPrivate * pCxPrivate=0x04fe4938, std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> > name=<Bad Ptr>, CScriptVal initData={...})  Line 91 + 0x3f bytes	C++
 	pyrogenesis.exe!ScriptInterface_NativeWrapper<void>::call<std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >,CScriptVal,void (__cdecl*)(ScriptInterface::CxPrivate *,std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >,CScriptVal)>(JSContext * cx=0x00f61c68, JS::Value & __formal={...}, void (ScriptInterface::CxPrivate *, std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >, CScriptVal)* fptr=0x01283fc0, std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> > a0=<Bad Ptr>, CScriptVal a1={...})  Line 45 + 0x60 bytes	C++
 	pyrogenesis.exe!ScriptInterface::call<void,std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >,CScriptVal,&`anonymous namespace'::PushGuiPage>(JSContext * cx=0x00f61c68, unsigned int argc=2, JS::Value * vp=0x0723e8a8)  Line 103 + 0x15e bytes	C++
 	mozjs24-ps-release.dll!js::Invoke(JSContext * cx=0x00f61c68, JS::CallArgs args={...}, js::MaybeConstruct construct=NO_CONSTRUCT)  Line 481 + 0xc bytes	C++
 	mozjs24-ps-release.dll!Interpret(JSContext * cx=0x00f61c68, js::RunState & state={...})  Line 2298 + 0x11 bytes	C++
 	mozjs24-ps-release.dll!js::RunScript(JSContext * cx=0x00f61c68, js::RunState & state={...})  Line 438 + 0x7 bytes	C++
 	mozjs24-ps-release.dll!js::Invoke(JSContext * cx=0x00f61c68, JS::CallArgs args={...}, js::MaybeConstruct construct=NO_CONSTRUCT)  Line 500 + 0xb bytes	C++
 	mozjs24-ps-release.dll!js::Invoke(JSContext * cx=0x00f61c68, const JS::Value & thisv={...}, const JS::Value & fval={...}, unsigned int argc=1, JS::Value * argv=0x0040efd8, JS::Value * rval=0x0040efb8)  Line 531 + 0xe bytes	C++
 	mozjs24-ps-release.dll!JS_CallFunctionValue(JSContext * cx=0x00f61c68, JSObject * objArg=0x071a7c40, JS::Value fval={...}, unsigned int argc=1, JS::Value * argv=0x0040efd8, JS::Value * rval=0x0040efb8)  Line 5639 + 0x46 bytes	C++
 	pyrogenesis.exe!IGUIObject::ScriptEvent(const CStr8 & Action={...})  Line 491	C++
 	pyrogenesis.exe!IGUIObject::SendEvent(EGUIMessageType type=GUIM_PRESSED, const CStr8 & EventName={...})  Line 463	C++
 	pyrogenesis.exe!IGUIButtonBehavior::HandleMessage(SGUIMessage & Message={...})  Line 90 + 0x2d bytes	C++
 	pyrogenesis.exe!CButton::HandleMessage(SGUIMessage & Message={...})  Line 91	C++
 	pyrogenesis.exe!IGUIObject::SendEvent(EGUIMessageType type=GUIM_MOUSE_PRESS_LEFT, const CStr8 & EventName={...})  Line 461	C++
 	pyrogenesis.exe!CGUI::HandleEvent(const SDL_Event_ * ev=0x0040f53c)  Line 150 + 0x20 bytes	C++
 	pyrogenesis.exe!CGUIManager::HandleEvent(const SDL_Event_ * ev=0x0040f53c)  Line 319 + 0x21 bytes	C++
 	pyrogenesis.exe!gui_handler(const SDL_Event_ * ev=0x0040f53c)  Line 47 + 0x16 bytes	C++
 	pyrogenesis.exe!in_dispatch_event(const SDL_Event_ * ev=0x0040f53c)  Line 62 + 0xa bytes	C++
 	pyrogenesis.exe!PumpEvents()  Line 194	C++
 	pyrogenesis.exe!Frame()  Line 322	C++
 	pyrogenesis.exe!RunGameOrAtlas(int argc=1, const char * * argv=0x006796b8)  Line 478 + 0x5 bytes	C++
 	pyrogenesis.exe!main(int argc=1, char * * argv=0x006796b8)  Line 520 + 0xd bytes	C++
 	pyrogenesis.exe!wmain(int argc=1, wchar_t * * argv=0x0067d540)  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:3 by historic_bruno, 9 years ago

Based on the call stack, I assume this didn't happen during the actual game loading, but when the list of saved games was being displayed. It's possible one of them is corrupted. They are stored as .0adsave files which are really just zip files, you can find them in the saves folder (see GameDataPaths). If you can try renaming those (add a .bak to the end or something) until you find whether the problem is solved. That can tell us if one of the files is bad, or you can also rename them to .zip and open like a normal archive to test.

If you try that, but it happens even with new saved games, then there's a more serious issue.

Last edited 9 years ago by historic_bruno (previous) (diff)

comment:4 by Stan, 9 years ago

Resolution: needsinfo
Status: newclosed

comment:5 by Stan, 9 years ago

Milestone: Backlog
Note: See TracTickets for help on using tickets.