Closed aslak01 closed 1 year ago
Fheroes2 version 1.04, installed with homebrew.
Hi @aslak01 what I see with your single-player AUTOSAVE
file is an infinite loop (which looks like a game "freeze") that should be fixed by #7169. There is no crash (even on 1.0.4). Have you tried the latest snapshot build (don't confuse it with the latest release)? I don't see any issues with the latest snapshot build.
Could be it's a mac specific crash? I just tried another map and it crashed before I even found an enemy. I did confuse the snapshot build with 1.04, so I haven't tried that. Trying it now, I can't get it to start with the error: dyld[18029]: Library not loaded: /usr/local/opt/sdl2_mixer/lib/libSDL2_mixer-2.0.0.dylib
Edit: You're right I'm seeing a freeze, not a crash, the game doesn't exit just stalls. I wasn't aware of the distinction.
Edit: You're right I'm seeing a freeze, not a crash, the game doesn't exit just stalls. I wasn't aware of the distinction.
If you are seeing a freeze, then you should try the latest snapshot.
Yeah but I'm not sure how to get it to run. I downgraded to 1.03 on my other computer to be able to play, which worked, although I'm not sure if the enemy just didn't get dimension door in that game.
Yeah but I'm not sure how to get it to run.
You can try to build it yourself. You'll need the Xcode and a few libraries from Homebrew:
https://ihhub.github.io/fheroes2/DEVELOPMENT.html#macos-and-linux
You will not need to copy HoMM2 data files, so you can just skip the second and third items of the list.
I didn't load in the autosave with the freeze but I'm pretty sure you're right https://github.com/ihhub/fheroes2/pull/7169 solves the issue.
Just confirmed with a freezing autosave that my issue is resolved.
Preliminary checks
Platform
macOS
Describe the bug
I'm on an M1 mac on latest macOS, latest fheroes2. Since last version I have noticed crashes when encountering enemies on the world map, which are reproducible on reload. I think it is tied to dimension door, as at least once it happened when the enemy was dimension dooring around, while the other times I was unable to see whether they had dimension door available.
Save file
Archive.zip
Additional info
This is the output from Console.app