sis_gam Posted December 13, 2021 Report Share Posted December 13, 2021 (edited) Hallo, i'm using a new PC and 0AD 0.25b will not start. On every start it hang up with this error message: -------------------------- 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. You may find paths to these files at https://trac.wildfiregames.com/wiki/GameDataPaths Details: unhandled exception (std::out_of_range("invalid bitset<N> position")) Location: unknown:0 (RtlGetAppContainerNamedObjectPath) Call stack: (error while dumping stack: No stack frames found) errno = 0 (No error reported here) OS error = 0 (no error code was set) ------------------ I'm using an Windows 10 64 Bit / Intel i9 12900k / ASUS Prime Z690-p D4 / 32GB DDR4 3600 / GTX 760 Following Steps i tried: -https://trac.wildfiregames.com/wiki/SwitchingToYourPCsDedicatedGPU -reinstall -clear cache i installed a linux mint in a virtual box, on this 0ad starts... have anyone an idea? thanks for your help!! mainlog.html system_info.txt crashlog.dmp crashlog.txt interestinglog.html Edited December 13, 2021 by sis_gam Quote Link to comment Share on other sites More sharing options...
nwtour Posted December 13, 2021 Report Share Posted December 13, 2021 (edited) 1 hour ago, sis_gam said: Hallo Hello 1 hour ago, sis_gam said: Details: unhandled exception (std::out_of_range("invalid bitset<N> position")) Look like Your computer has more cores than the build computer considers the maximum (32) Edited December 13, 2021 by nwtour Quote Link to comment Share on other sites More sharing options...
Stan` Posted December 13, 2021 Report Share Posted December 13, 2021 21 minutes ago, nwtour said: Look like Your computer has more cores than the build computer considers the maximum (32) https://trac.wildfiregames.com/ticket/6393 1 Quote Link to comment Share on other sites More sharing options...
sis_gam Posted December 13, 2021 Author Report Share Posted December 13, 2021 thank you very much for this very quick response. if I understand correctly now, 0 A.D. does not work with my processor and could it work in the next version in February? I wish you a merry christmas and a happy new year. best regards Quote Link to comment Share on other sites More sharing options...
nwtour Posted December 13, 2021 Report Share Posted December 13, 2021 (edited) 20 minutes ago, sis_gam said: if I understand correctly now, 0 A.D. does not work with my processor and could it work in the next version in February? You can try temporary forcibly limit the number of processors to 32 in Microsoft msconfig utility (and reboot)It seems safe 20 minutes ago, sis_gam said: I wish you a merry christmas and a happy new year. best regards And you Edited December 13, 2021 by nwtour 1 Quote Link to comment Share on other sites More sharing options...
Stan` Posted December 13, 2021 Report Share Posted December 13, 2021 @sis_gam Would you be so kind as to test this fix ? Just drag and drop the files of that archive inside your installation folder system.zip Oh and if you could upload your userreport_hwdetect.txt if it works, that would be great. See https://trac.wildfiregames.com/wiki/GameDataPaths Diff: Spoiler $ svn diff source/ Index: source/lib/sysdep/arch/x86_x64/topology.cpp =================================================================== --- source/lib/sysdep/arch/x86_x64/topology.cpp (revision 25858) +++ source/lib/sysdep/arch/x86_x64/topology.cpp (working copy) @@ -170,7 +170,7 @@ { size_t operator()(const ApicField& apicField) const { - std::bitset<os_cpu_MaxProcessors> values; + std::bitset<64> values; for(size_t processor = 0; processor < os_cpu_NumProcessors(); processor++) { const ApicId apicId = ApicIdFromProcessor(processor); Index: source/main.cpp =================================================================== --- source/main.cpp (revision 25858) +++ source/main.cpp (working copy) @@ -101,6 +101,11 @@ #include <chrono> +extern "C" { + _declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001; + _declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 0x00000001; +} + extern CStrW g_UniqueLogPostfix; // Marks terrain as modified so the minimap can repaint (is there a cleaner way of handling this?) 1 Quote Link to comment Share on other sites More sharing options...
sis_gam Posted December 20, 2021 Author Report Share Posted December 20, 2021 The tip about msconfig worked great. 1 Quote Link to comment Share on other sites More sharing options...
sis_gam Posted December 20, 2021 Author Report Share Posted December 20, 2021 tomorrow i will test the fix. thank you very much!! 1 Quote Link to comment Share on other sites More sharing options...
ginolegigot Posted January 30, 2022 Report Share Posted January 30, 2022 Hello @Stan` Just to mention your fix works great. Thank you. 2 Quote Link to comment Share on other sites More sharing options...
molito Posted May 10, 2022 Report Share Posted May 10, 2022 (edited) Hi, I encountered the same problem. I'm using intel i7-12700f, which has 12 cores and 20 threads. So, I limited the cores number to 20 in msconfig and rebooted. but the problem persisted. Can anyone help? crashlog.dmp crashlog.txt Edited May 10, 2022 by molito Quote Link to comment Share on other sites More sharing options...
Stan` Posted May 10, 2022 Report Share Posted May 10, 2022 1 hour ago, molito said: Hi, I encountered the same problem. I'm using intel i7-12700f, which has 12 cores and 20 threads. So, I limited the cores number to 20 in msconfig and rebooted. but the problem persisted. Can anyone help? crashlog.dmp 139 kB · 0 downloads crashlog.txt 806 B · 2 downloads Use the executable I provided above. Quote Link to comment Share on other sites More sharing options...
molito Posted May 10, 2022 Report Share Posted May 10, 2022 11 hours ago, Stan` said: Use the executable I provided above. Thank you. Your fix works perfect. 1 Quote Link to comment Share on other sites More sharing options...
sarge Posted June 22, 2022 Report Share Posted June 22, 2022 I'm having a similar problem with Windows 10 and 11 both, when I start 0 A.D. I get the following error 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. You may find paths to these files at https://trac.wildfiregames.com/wiki/GameDataPaths Details: unhandled exception (Access violation reading 0x0000000C) 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) Attached log files. --- Thanks, John K3OSP crashlog.txtsystem_info.txtuserreport_hwdetect.txtcrashlog.dmp Quote Link to comment Share on other sites More sharing options...
Stan` Posted June 22, 2022 Report Share Posted June 22, 2022 5 hours ago, sarge said: I'm having a similar problem with Windows 10 and 11 both, when I start 0 A.D. I get the following error 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. You may find paths to these files at https://trac.wildfiregames.com/wiki/GameDataPaths Details: unhandled exception (Access violation reading 0x0000000C) 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) Attached log files. --- Thanks, John K3OSP crashlog.txt 18 kB · 0 downloads system_info.txt 17 kB · 0 downloads userreport_hwdetect.txt 13 kB · 0 downloads crashlog.dmp 141 kB · 0 downloads See https://trac.wildfiregames.com/wiki/SwitchingToYourPCsDedicatedGPU Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.