Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Frequent Crashing on Mac OS  (Read 2667 times)

okelly4408

  • Bay Watcher
    • View Profile
Frequent Crashing on Mac OS
« on: February 03, 2021, 04:41:01 am »

Hello,
I play 47.0.04 with and without DFHack. Sometimes during a fortress I get to some point in time when the game crashes. No matter what the game always will crash at this time. This has happened to me on numerous saves and it usually is a game ender. I'd say 50% of my games have ended this way. Sometimes I can delay the crash but quitting before it happens and then un-retiring the fort but it's only a matter of time before it happens again.

I am really not sure what is causing it. It is a segmentation fault and when using DFhack I get this message upon crashing:
[DFHack]# /Users/okelly/Downloads/df_osx 5/dfhack: line 27:  6376 Segmentation fault: 11  DYLD_INSERT_LIBRARIES=./hack/libdfhack.dylib ./dwarfort.exe "$@"

I try canceling all jobs, forcing people to burrows, disbanding all military, etc and I cannot find a solution. It is getting to the point where it is becoming unplayable. Any ideas?

Thanks.
Logged

okelly4408

  • Bay Watcher
    • View Profile
Re: Frequent Crashing on Mac OS
« Reply #1 on: February 03, 2021, 04:53:22 am »

Also, I uploaded the save if anyone can take a look. The crash occurs after a few minutes, it requires no action.

https://dffd.bay12games.com/file.php?id=15396

Also here is another save of mine with a crash soon after loading (my fortress before ^):

 https://dffd.bay12games.com/file.php?id=15397
« Last Edit: February 03, 2021, 05:45:28 am by okelly4408 »
Logged

okelly4408

  • Bay Watcher
    • View Profile
Re: Frequent Crashing on Mac OS
« Reply #2 on: February 04, 2021, 05:03:43 am »

I started a new fortress and I ran into this again. I uploaded the save here:
https://dffd.bay12games.com/file.php?id=15401
It crashes shortly after loading. Please help, I cant play anymore without this happening.
Logged

A_Curious_Cat

  • Bay Watcher
    • View Profile
Re: Frequent Crashing on Mac OS
« Reply #3 on: February 04, 2021, 05:41:37 am »

Are you trying to play DF on one of those new Apple M1-based machines?  If so, at least one other person has had problems running DF (although I’m not sure if they were trying to run the MacOS X version or the Windows version and I’m not sure if they were running it under Rosetta or not).  If you’re using an M1-based machine, try running DF under Rosetta.  If that doesn’t work, your only hope is probably to buy Toady One an M1-based machine (or pitch in to help buy him one)...
Logged
Really hoping somebody puts this in their signature.

okelly4408

  • Bay Watcher
    • View Profile
Re: Frequent Crashing on Mac OS
« Reply #4 on: February 04, 2021, 03:30:08 pm »

No, I'm not. When I load the saves on a windows PC it also crashes.
Logged

A_Curious_Cat

  • Bay Watcher
    • View Profile
Re: Frequent Crashing on Mac OS
« Reply #5 on: February 04, 2021, 09:56:55 pm »

No, I'm not. When I load the saves on a windows PC it also crashes.

Sounds like save corruption, then...
Logged
Really hoping somebody puts this in their signature.

lethosor

  • Bay Watcher
    • View Profile
Re: Frequent Crashing on Mac OS
« Reply #6 on: February 08, 2021, 09:10:26 pm »

Does DFHack's "fix/corrupt-equipment" script help?
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

Thisfox

  • Bay Watcher
  • Vixen.
    • View Profile
Re: Frequent Crashing on Mac OS
« Reply #7 on: February 09, 2021, 05:33:05 pm »

You're doing better than me. Since I upgraded to Big Sur, the game has become a plain white screen on load....
Logged
Mules gotta spleen. Dwarfs gotta eat.
Thisfox likes aquifers, olivine, Forgotten Beasts for their imagination, & dorfs for their stupidity. She prefers to consume gin & tonic. She absolutely detests Facebook.
"Urist McMason died out of pure spite to make you wonder why he was suddenly dead"
Oh god... Plump Helmet Man Mimes!

Ziusudra

  • Bay Watcher
    • View Profile
Re: Frequent Crashing on Mac OS
« Reply #8 on: February 09, 2021, 06:48:37 pm »

You're doing better than me. Since I upgraded to Big Sur, the game has become a plain white screen on load....
Hav you tried changing the PRINT_MODE? https://dwarffortresswiki.org/index.php/DF2014:Installation#Mac
Logged
Ironblood didn't use an axe because he needed it. He used it to be kind. And right now he wasn't being kind.

Thisfox

  • Bay Watcher
  • Vixen.
    • View Profile
Re: Frequent Crashing on Mac OS
« Reply #9 on: February 16, 2021, 04:32:04 am »

You're doing better than me. Since I upgraded to Big Sur, the game has become a plain white screen on load....
Hav you tried changing the PRINT_MODE? https://dwarffortresswiki.org/index.php/DF2014:Installation#Mac

...I had. But I went back and checked, and found out I'd changed the wrong PRINT_MODE.... So yeah, thankyou. Glad it works again. Thankyou.
Logged
Mules gotta spleen. Dwarfs gotta eat.
Thisfox likes aquifers, olivine, Forgotten Beasts for their imagination, & dorfs for their stupidity. She prefers to consume gin & tonic. She absolutely detests Facebook.
"Urist McMason died out of pure spite to make you wonder why he was suddenly dead"
Oh god... Plump Helmet Man Mimes!

okelly4408

  • Bay Watcher
    • View Profile
Re: Frequent Crashing on Mac OS
« Reply #10 on: February 27, 2021, 10:48:10 pm »

Does DFHack's "fix/corrupt-equipment" script help?

No it does not. I switched to playing on my Windows PC with dfhack 47.05 and it is MUCH more stable. It still crashes here and there but I haven't had an "unavoidable" crash yet and I am 8 years in.
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: Frequent Crashing on Mac OS
« Reply #11 on: February 28, 2021, 12:07:13 am »

The improvement is likely due to some of the other crash fixes in 0.47.05, then. Some fixes (but not all of them) will be applied to old saves that are loaded into 0.47.05, so you might be able to bring over some of your 0.47.04 saves, if you're interested in trying to recover them.
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

jecowa

  • Bay Watcher
    • View Profile
Re: Frequent Crashing on Mac OS
« Reply #12 on: February 28, 2021, 12:48:05 am »

Not sure if this is helpful, but here's the error log from running the save file that causes the crash after a few seconds:

Code: [Select]
*** Error(s) finalizing the entity MOUNTAIN
Unrecognized entity trapcomp token: ITEM_TRAPCOMP_STEAM_PISTON
Repairing squad info for Unit #26266
Repairing squad info for Unit #26434
Repairing squad info for Unit #16282
Repairing squad info for Unit #22344
Repairing squad info for Unit #22819
Repairing squad info for Unit #26590
Logged