Opened 6 years ago

Closed 5 years ago

#5224 closed defect (needsinfo)

Crash: Game starts with low resolution and can't change it

Reported by: Thiago Dutra Lima Owned by:
Priority: Should Have Milestone:
Component: Core engine Keywords:
Cc: Patch:

Description

Game starts with low resolution and can't change it (1280, I suppose, and my screen is 1920). After the crash appears and turns off fullscreen, it doesn't go back to fullscreen even if I change the settings, and I can't change the resolution even in default.cfg. I have reinstalled and it still happens!

Thank you in advance!

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 (2)

crashlog.txt (14.7 KB ) - added by Thiago Dutra Lima 6 years ago.
crashlog.dmp (115.3 KB ) - added by Thiago Dutra Lima 6 years ago.

Download all attachments as: .zip

Change History (6)

by Thiago Dutra Lima, 6 years ago

Attachment: crashlog.txt added

by Thiago Dutra Lima, 6 years ago

Attachment: crashlog.dmp added

comment:1 by Stan, 6 years ago

That's weird, do you have enough disk space on your drives ?

You could try deleting the files in C:\Users\YourName\AppData\Local\0AD and C:\Users\YourName\AppData\Roaming\0AD

Call stack, looks like it fails copying files somewhere.

>	pyrogenesis.exe!wtruncate(const Path & pathname={...}, __int64 length=427) Line 285	C++	Symbols loaded.
 	pyrogenesis.exe!io::Store<io::DefaultCompletedHook,io::DefaultIssueHook>(const Path & pathname={...}, const void * data=0x13a51000, unsigned int size=427, const io::Parameters & p={...}, const io::DefaultCompletedHook & completedHook={...}, const io::DefaultIssueHook & issueHook={...}) Line 315	C++	Symbols loaded.
 	pyrogenesis.exe!RealDirectory::Store(const Path & name={...}, const std::shared_ptr<unsigned char> & fileContents={...}, unsigned int size=427) Line 57	C++	Symbols loaded.
 	pyrogenesis.exe!VFS::CreateFile(const Path & pathname={...}, const std::shared_ptr<unsigned char> & fileContents={...}, unsigned int size=427) Line 145	C++	Symbols loaded.
 	pyrogenesis.exe!CConfigDB::WriteFile(EConfigNamespace ns=CFG_USER, const Path & path={...}) Line 424	C++	Symbols loaded.
 	pyrogenesis.exe!CConfigDB::WriteValueToFile(EConfigNamespace ns=15880308, const CStr8 & name={...}, const CStr8 & value={...}, const Path & path={...}) Line 452	C++	Symbols loaded.
 	pyrogenesis.exe!JSI_ConfigDB::WriteValueToFile(ScriptInterface::CxPrivate * __formal=0x100cbe28, const std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> > & cfgNsString={...}, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & name={...}, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & value={...}, const Path & path={...}) Line 112	C++	Symbols loaded.
 	pyrogenesis.exe!ScriptInterface_NativeWrapper<bool>::call<bool __cdecl(ScriptInterface::CxPrivate *,std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> > const &,std::basic_string<char,std::char_traits<char>,std::allocator<char> > const &,std::basic_string<char,std::char_traits<char>,std::allocator<char> > const &,Path const &),std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,Path>(JSContext * cx=0x0ff325d0, JS::MutableHandle<JS::Value> rval={...}, bool(*)(ScriptInterface::CxPrivate *, const std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> > &, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > &, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > &, const Path &) fptr=0x00e44030, std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> > <params_0>={...}, std::basic_string<char,std::char_traits<char>,std::allocator<char> > <params_1>={...}, std::basic_string<char,std::char_traits<char>,std::allocator<char> > <params_2>={...}, Path <params_3>={...}) Line 75	C++	Symbols loaded.
 	pyrogenesis.exe!ScriptInterface::call<bool,std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,Path,&JSI_ConfigDB::WriteValueToFile>(JSContext * cx=0x0ff325d0, unsigned int argc=4, JS::Value * vp=0x0ff45730) Line 125	C++	Symbols loaded.
 	mozjs38-ps-release-vc120.dll!502636a4()	Unknown	No symbols loaded.
 	[Frames below may be incorrect and/or missing, no symbols loaded for mozjs38-ps-release-vc120.dll]		Annotated Frame

comment:2 by elexis, 6 years ago

Possibly a file permission problem

comment:3 by Itms, 5 years ago

Component: UI & SimulationCore engine

comment:4 by Stan, 5 years ago

Milestone: Backlog
Resolution: needsinfo
Status: newclosed

Been 10 month, so I'm closing it as needsinfo.

Note: See TracTickets for help on using tickets.