[macOS] Game crush when press 'End Turn' button

Hi,
Is there any suggestions to fix the following issue?
The game crash when press ‘End Turn’ button. The error occurs in every game mode.

Repro steps:

  1. Install H3 GOG Complete Edition.
  2. Copy necessery files.
  3. Install last vcmi (in this case https://builds.vcmi.download/branch/develop/macOS/VCMI-branch-develop-ff7fd20.dmg)
  4. Paste copied file to vcmi directory.
  5. Run the game.
  6. Start new game and then press ‘End Turn’ button.
  7. Game crash.

I’m working on macOS Catalina 10.15.7.

I download old version VCMI-branch-develop-e3b3bba and fix it

Same for me on 10.14.6 with the latest build eb011e5, please see logs: https://www.dropbox.com/sh/hncryjg45i848vy/AABnwviSc2GL45OV0g8Md9UHa?dl=0

Edit: there’s no crash when running game built from the latest source.

On 10.13.6 nothing happens at all.
The game shows signs that the turn has indeed ended (including emptying the menu), but then nothing.
I then try quitting the game using command-Q, but that doesn’t work either.
Command-option-esc to the rescue.

P.S. Apparently, this is a reprise from 5 years ago — stuff that happens on a forum where the dates show no year… 8)
App version now is 1.7.1.

I think it was fixed in 1.7.2-beta, please get it from VCMI Project Builds

Thank you, kambala, for answering and providing the link to the nightlies!
Unfortunately, it hasn’t. Running the beta from February 2, the described issues remain the same.

we had a report from iOS of the same behavior, so seems not fixed indeed.

could you create “process sampling” as soon as you encounter this issue again? To do that, open Activity Monitor, find VCMI process (vcmiclient), select it and in menubar select View > Sample Process. Once ready, please save it to file and upload here or to a GitHub issue.

oh, and please also attach game logs as well

Being unable to upload, I’m cloud-sharing the requested files: https://drive.google.com/file/d/18XelWEvecw2f_Mtp8-hGdG-XNGXCGyzG/view?usp=drivesdk
Thank you!

1 Like

I’ve created GitHub issue: AI never finishes turn · Issue #6841 · vcmi/vcmi · GitHub