Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game crashes when loading game data when compiled with ”Default” compiler preset #1694

Open
permartinson opened this issue Feb 19, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@permartinson
Copy link

I have had severe issues withe the game crasting with a kernel panic in some occstions when loading save data. Not all the time, but every 5th to 10th time. The actual save data is fine, when I restart and try again it usually does load. I have taken all the usual recommended steps, including script lock and to clear the scene stack before loading but without improvement. When I checked the console in Sameboy i got a message about invalid opcode, which led me to try a different compiler preset. After changing to from ”Default” to ”Slower” the issue seems to be gone.

To Reproduce
It is hard to reproduce as it doesn’t happen all the time. But basically:

  1. Create a game.
  2. Add a save
  3. Compile and run with Default setting.
  4. Play game and save
  5. Restart game and try to load the data.
  6. Observe that sometimes the game crashes with a kernel panic

Then comple and run with ”Slower” setting and note that crashes do not happen anymore.

Platform:

  • OS: macOS 14.1.1
  • App version 4.1.3

Additional context
I have read about others experiencing similar issues in the Discord. Example:
https://discord.com/channels/554713715442712616/585023243732123676/1319565359291961428

@permartinson permartinson added the bug Something isn't working label Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant