• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Lordaeth

Recruit
37 Badges
Dec 25, 2017
4
0
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Third Rome
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Call to arms event
  • Magicka
  • Europa Universalis IV: Res Publica
  • Crusader Kings II
Would really appreciate some help!

I'm on an M1 mac, and I'm playing Austria, 1567 post-revoke (so tons of tiny subject nations). I just accepted a call to arms and my game will regularly crash within 2-3 days of letting it run. I moved graphics down to minimum but it doesn't improve much (changed it from 1 day to 2-3 days). I ported the save to an old Windows computer and it runs just fine (super slow since the computer is old and garbage), even though the Mac has a better CPU and GPU. For some reason, since these crashes started yesterday, just loading a game or launching the game from the launcher will give me ~10 seconds of spinning wheel of death before loading.

One example crash log is attached, although there are dozens.

  1. Did I fry/damage my computer somehow?
  2. Are there any solutions that will let me keep playing on the mac?
Thank you!







exceptions.txt:

Application: EUIV

Version: EU4 v1.35.4.0 Ottomans

Date/Time: 2023-06-22 00:24:10



Caught signal 11 (SIGSEGV)



Original Stack Trace:

2 libsystem_malloc.dylib 0x00007ff81bd39935 nanov2_malloc_zero_on_alloc + 605

3 eu4 0x0000000105bda4ae SDL_Delay_REAL + 94

4 eu4 0x0000000105c182c0 _ZN12CApplication14UpdateOneFrameEb + 288

5 eu4 0x0000000105c1876a _ZN12CApplication3RunEv + 48

6 eu4 0x0000000104fb27b3 main + 10441

7 dyld 0x00000002079bf310 start + 2432



Demangled Stack Trace:

2 libsystem_malloc.dylib 0x00007ff81bd39935 nanov2_malloc_zero_on_alloc + 605

3 eu4 0x0000000105bda4ae SDL_Delay_REAL + 94

4 eu4 0x0000000105c182c0 CApplication::UpdateOneFrame(bool) + 288

5 eu4 0x0000000105c1876a CApplication::Run() + 48

6 eu4 0x0000000104fb27b3 main + 10441

7 dyld 0x00000002079bf310 start + 2432
 
Do all your crashes have the same functions in the demangled stack trace(in your example nanov2_malloc_zero_on_alloc, SDL_Delay_REAL, CApplication::UpdateOneFrame) or are they all different? The current functions seem graphics related(SDL is a graphics library), but it could be memory corruption which results in crashes in random places.

Can you attach your save? I could test if it crashes on Linux and maybe somebody else can test if it crashes on their macOS as well. It could be an OS specific bug in eu4 which you randomly triggered with that specific save or it could be a software or hardware problem on your computer. Or it could be related to the recent steam update in which case it could help to disable the steam overlay for eu4.

Disclaimer: I'm not working for Paradox. I'm just trying to help people.
 
@grotaclas

Thank you so much for your response! Looking through, many of the crashes have only one function, which is always the nanov2_malloc_zero_on_alloc.

The save and backup are attached.

Thank you!
 

Attachments

  • A_Backup.eu4
    7,3 MB · Views: 0
  • A.eu4
    7,3 MB · Views: 0
Do all your crashes have the same functions in the demangled stack trace(in your example nanov2_malloc_zero_on_alloc, SDL_Delay_REAL, CApplication::UpdateOneFrame) or are they all different? The current functions seem graphics related(SDL is a graphics library), but it could be memory corruption which results in crashes in random places.

Can you attach your save? I could test if it crashes on Linux and maybe somebody else can test if it crashes on their macOS as well. It could be an OS specific bug in eu4 which you randomly triggered with that specific save or it could be a software or hardware problem on your computer. Or it could be related to the recent steam update in which case it could help to disable the steam overlay for eu4.

Disclaimer: I'm not working for Paradox. I'm just trying to help people.
Do you think that running it forward a few days and trying again might help?
 
I tried your save and it crashes for me as well. Interestingly the stacktrace is different on Linux:
Code:
  ./eu4                          ( CList<int>::RemoveToEnd(CList<int>::Iterator)  + 0xf   )  [0x194c423]
  ./eu4                          ( CUnit::TruncatePathIfBlocked()            + 0x9b  )  [0x1934f93]
  ./eu4                          ( CCountry::UpdateWarStatus(CEU3Date, bool, bool)  + 0x3fa )  [0x10338ae]
  ./eu4                          ( CWar::AddAttacker(CCountryTag, bool, bool, CEU3Date, bool, bool, EPromiseLand, bool, CWar const*)  + 0x1bd4)  [0x1975660]
  ./eu4                          ( CCallAllyAction::ExecuteDerived() const   + 0x170e)  [0x120ee92]
  ./eu4                          ( CDiplomaticAction::Execute() const        + 0x99  )  [0x11ba3c9]
  ./eu4                          ( CDiplomaticActionCommand::Execute() const  + 0x4d2 )  [0x11bccce]
The good news is that the first three functions are the same as the the stacktrace from this bugreport, so it is likely that your crash is caused by the same bug which just manifests itself differently on Linux and macOS. The developers confirmed that bug, so it will likely be fixed in the next patch, but this might be 1.36 and not compatible with your current save.

As a workaround, you could try to continue your save for a few months on windows and then transfer it back to macOS and see if it works then. Another possible workaround would be to return to version 1.35.3 and see if the save works then. AFAIK the bug was only introduced in 1.35.4.
 
Absolutely fascinating - changing to 1.35.3 works perfectly (obviously still slow because there are a ton of countries in the war, but absolutely no crashes). Thank you so much for your help!
 
Having a similar issue, made a post on reddit. I've attached my exception file and save file.

Game version: 1.35.4.0
Platform: macOS Ventura 13.4

I can also confirm that switching to 1.35.3 resolved this issue.
 

Attachments

  • exception.txt
    3,8 KB · Views: 0
  • Najd-Jhd.eu4
    8 MB · Views: 0
Last edited:
Having a similar issue, made a post on reddit. I've attached my exception file and save file.

Game version: 1.35.4.0
Platform: macOS Ventura 13.4

I can also confirm that switching to 1.35.3 resolved this issue.
Thank you for posting here like I asked you on reddit. This seems to be the same issue. Interestingly the macOS and Linux stack trace is almost identical this time:
Code:
Demangled Stack Trace:
  ./eu4                          ( CList<int>::RemoveToEnd(CList<int>::Iterator)  + 0xf   )  [0x194c423]
  ./eu4                          ( CUnit::TruncatePathIfBlocked()            + 0x9b  )  [0x1934f93]
  ./eu4                          ( CCountry::UpdateWarStatus(CEU3Date, bool, bool)  + 0x3fa )  [0x10338ae]
  ./eu4                          ( CWar::RemoveDefender(CCountryTag, bool, CEU3Date, CPdxHybridArray<CCountryTag, 8u, int> const&)  + 0x806 )  [0x197b576]
  ./eu4                          ( CPeaceOffer::Execute_RemoveCountriesFromWar(CWar*, bool)  + 0x3f5 )  [0x15d6ed9]
  ./eu4                          ( CPeaceOffer::Execute()                    + 0x16ad)  [0x15d37bb]
  ./eu4                          ( CRequestPeaceAction::ExecuteDerived() const  + 0xb0b )  [0x1261a83]
  ./eu4                          ( CDiplomaticAction::Execute() const        + 0x99  )  [0x11ba3c9]
  ./eu4                          ( CDiplomaticActionCommand::Execute() const  + 0x4d2 )  [0x11bccce]