• 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.

acolangelo

Recruit
Jun 15, 2024
9
1
Description
macOS crash on launch (after working fine forever!) - Invalid view geometry: width is NaN / PC register does not match crashing frame


Mac


Steam

What is your game version?
Latest of game and all DLC

What DLC do you have installed?
Space Race, Green Planet, Below and Beyond, Marsvision Song Contest, Colony Design Set, Project Laika, In-Dome Buildings Pack

Please explain your issue is in as much detail as possible.
Game was working perfectly fine for…years! One day it worked in the morning and then at night, started getting a crash on launch. No macOS updates or anything in between those two attempts.

Full crash log attached with the following messages, among others:

Invalid view geometry: width is NaN

PC register does not match crashing frame


I’ve tried disabling all DLC, completely reinstalling Steam and Surviving Mars, and clearing all save files. No luck yet.

Can you replicate the issue?
Yes, trying to launch the app manually or from Steam.


File(s) attached
 

Attachments

  • MarsSteam-2024-06-14-213727.ips.zip
    6,3 KB · Views: 0
Upvote 0
The crash is not one I've seen before, but appears to be in the video/graphics area, which as you are on the M2 goes via Rosetta. Are you sure there was no MacOS update, which would have come with a new Rosetta version?


Please attach here the latest log from the game :

~/Library/Application Support/Surviving Mars/logs/

To find that file, in Finder do cmd-shift-G to bring up the GOTO box. In there paste ~/Library/ . You will see a /Application Support/ folder, and inside that /Surviving Mars/ and then a /logs/ folder. Please attach the latest file from in there to here by dropping it on this support ticket, or use the "Attach file" link here.
 
The crash is not one I've seen before, but appears to be in the video/graphics area, which as you are on the M2 goes via Rosetta. Are you sure there was no MacOS update, which would have come with a new Rosetta version?


Please attach here the latest log from the game :

~/Library/Application Support/Surviving Mars/logs/

To find that file, in Finder do cmd-shift-G to bring up the GOTO box. In there paste ~/Library/ . You will see a /Application Support/ folder, and inside that /Surviving Mars/ and then a /logs/ folder. Please attach the latest file from in there to here by dropping it on this support ticket, or use the "Attach file" link here.

I’m on the M1 Max, and yep, no macOS updates—nothing changed between two runs. It was working perfectly fine at ~8 AM one morning, and crashing on launch next time I tried to fire it up in the evening.

Unfortunately, I don’t have a /logs directory—I had cleared everything out to try to reset back to fresh and nothing new is being written into there, it seems.

I’ve also tried launching via the launch options defining a width and height since I was curious if that would address the `width is NaN` part of this crash, but no luck. Also tried launching while attached to some external monitors thinking the same, but also no luck. Bummer!
 
Sorry, I mean Mx not M2.


What I'd suggest is a full clean reinstall of the game:

- move any valued save games elsewhere; they are under
~/Library/Application Support/Surviving Mars/{large number}/
- "uninstall" in Steam-Surviving Mars
- manually delete both the ~/Library/Application Support/Steam/SteamApps/common/Surviving Mars AND ~/Library/Application Support/Surviving Mars/ folders
- re-install game in Steam, run a Steam Verify when done.
- start the game with no mods active and test

In particular you need to make sure there are no files or folders left under either the Steam SM or Application Support SM locations, before installing again.

Good luck!
 
Sorry, I mean Mx not M2.


What I'd suggest is a full clean reinstall of the game:

- move any valued save games elsewhere; they are under
~/Library/Application Support/Surviving Mars/{large number}/
- "uninstall" in Steam-Surviving Mars
- manually delete both the ~/Library/Application Support/Steam/SteamApps/common/Surviving Mars AND ~/Library/Application Support/Surviving Mars/ folders
- re-install game in Steam, run a Steam Verify when done.
- start the game with no mods active and test

In particular you need to make sure there are no files or folders left under either the Steam SM or Application Support SM locations, before installing again.

Good luck!
Unfortunately have done that twice now with no luck

Is it possible to clear my cloud saved games on Steam? That’s the only thing I haven’t been able to clear and was wondering if those syncing in could be causing problems?
 
Unfortunately have done that twice now with no luck
Specifically making sure there are no files or folders left under either the Steam SM or Application Support SM locations, before installing again?


Is it possible to clear my cloud saved games on Steam? That’s the only thing I haven’t been able to clear and was wondering if those syncing in could be causing problems?
I'm not aware that Steam give you the ability to do that outside the game. You can view and download them here but not delete them:

You could put Steam in offline mode then try the game from there.
 
Specifically making sure there are no files or folders left under either the Steam SM or Application Support SM locations, before installing again?

Yep, and just did it again to verify. I completely uninstalled Surviving Mars and Steam, deleted both Application Support directories entirely, restarted my Mac, reinstalled everything, and still get the same crash. And it isn’t launching far enough to get any new logs generated in
~/Library/Application Support/Surviving Mars/logs/ (the only thing in there is a single directory named a 17-character integer that is some sort of identifier?).
 
Dang, really no idea what is going on here on this machine.

I take it putting Steam in offline mode didn't help either?

What actual MacOS version are you on now?
 
Dang, really no idea what is going on here on this machine.

I take it putting Steam in offline mode didn't help either?

What actual MacOS version are you on now?
Yep, no luck with offline mode.

Running the latest: macOS Sonoma 14.5 (23F79) which was rolled out May 13, 2024 and I’ve been on it since that week.
 
If you make a new user on this Mac and log into it with that, do you get the same problem?
 
I am also having this issue, did all of the fixes above. Any more suggestions? or do i just request a refund from steam and leave it?
You have exactly the error in the title of this thread, is that right? Or something else?

Has this game ever worked on this machine?

What Mac model and MacOS version do you have?

Did you try the new Mac user, as I suggested here?
 
You have exactly the error in the title of this thread, is that right? Or something else?

Has this game ever worked on this machine?

What Mac model and MacOS version do you have?

Did you try the new Mac user, as I suggested here?
yes i also have this problem, no i have not tried the new mac user yet

i have a brand new m3 with most updated macOS
I was able to play up until 3 days ago and no it no longer opens
 
yes i also have this problem,
Specifically this error?
Invalid view geometry: width is NaN / PC register does not match crashing frame


Did this first happen just after a MacOS update? Because this game has not changed for ~2 years.
 
Specifically this error?



Did this first happen just after a MacOS update? Because this game has not changed for ~2 years.
Yes, specifically this error when it opens a window but then immediatley closes it, and no it was not after the mac update, the update was installed after i tired to open the game and it failed
 
Okay then, I still have no idea what could have changed to cause this to you, and to the OP here.

Please try that new Mac user, it is all I can think of.
 
@acolangelo @Cosmihomi can you both please post your exact Mac model and MacOS versions as of now? I want to see what's in common between you two, as this issue doesn't seem to be very widespread.

I suppose the other possibility is some app (eg antivirus) or utility getting in the way, but that is VERY unusual under MacOS for any game.