Jump to content

game will not start 0.25b


sis_gam
 Share

Recommended Posts

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 by sis_gam
Link to comment
Share on other sites

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 by nwtour
Link to comment
Share on other sites

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
10-windows-tweaking-myths-debunked_5.png.b32cbe5bb6cd95e405dc7ad1c6b3f0c5.png

20 minutes ago, sis_gam said:

I wish you a merry christmas and a happy new year. best regards

And you

Edited by nwtour
  • Thanks 1
Link to comment
Share on other sites

@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?)

 

 

  • Like 1
Link to comment
Share on other sites

  • 1 month later...
  • 3 months later...
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.

Link to comment
Share on other sites

  • 1 month later...

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...