Ardens
Ardens copied to clipboard
Ardens and ArdensPlayer periodical crash when run them from cli
Hi! I try to run Ardens from the terminal on macos 13.3 with M1, but it crashes sometimes right on the start:
Projects/Arduino ❱ ArdensPlayer file=Arcade_3_in_1.hex
2024-01-09 20:01:17.919 ArdensPlayer[23331:68211338] *** Assertion failure in -[_sapp_macos_window setTitle:], NSWindow.m:2770
2024-01-09 20:01:17.919 ArdensPlayer[23331:68211338] Invalid parameter not satisfying: aString != nil
^C
Projects/Arduino ❱ ArdensPlayer file=Arcade_3_in_1.hex
2024-01-09 20:01:27.225 ArdensPlayer[23622:68212067] *** Assertion failure in -[_sapp_macos_window setTitle:], NSWindow.m:2770
2024-01-09 20:01:27.225 ArdensPlayer[23622:68212067] Invalid parameter not satisfying: aString != nil
^C
Projects/Arduino ❱ ArdensPlayer file=Arcade_3_in_1.hex
2024-01-09 20:01:31.882 ArdensPlayer[23942:68212733] *** Assertion failure in -[_sapp_macos_window setTitle:], NSWindow.m:2770
2024-01-09 20:01:31.882 ArdensPlayer[23942:68212733] Invalid parameter not satisfying: aString != nil
and sometimes not:
Projects/Arduino ❱ ArdensPlayer file=Arcade_3_in_1.hex
Ardens Player v0.21.18 by Peter Brown
It happens with different hex files:
Projects/Arduino ❱ ArdensPlayer file=arduboy_hello_world.ino.hex
2024-01-09 20:13:12.586 ArdensPlayer[38492:68257121] *** Assertion failure in -[_sapp_macos_window setTitle:], NSWindow.m:2770
2024-01-09 20:13:12.586 ArdensPlayer[38492:68257121] Invalid parameter not satisfying: aString != nil
I can't catch a condition to run it successfully, but drag-n-drop way always works normally.
Version of the Ardens is: macos arm64 v0.21.18
Thanks for the report. This is difficult for me to diagnose as I don't have access to a Mac -- the MacOS builds are built with GitHub Actions.
However, I've updated the sokol libs to the latest version (they were about a year old) in the hope that it might solve this issue. If you are willing, can you let me know if this build behaves better for you (build artifact download link)?
unfortunately, it didn't help:
Projects/Arduino ❱ ArdensPlayer file=Arcade_3_in_1.hex 1:14 AM
Ardens Player 3a8caa5 by Peter Brown
Projects/Arduino ❱ ArdensPlayer file=Arcade_3_in_1.hex
2024-01-10 01:15:16.481 ArdensPlayer[65652:68970067] *** Assertion failure in -[_sapp_macos_window setTitle:], NSWindow.m:2770
2024-01-10 01:15:16.481 ArdensPlayer[65652:68970067] Invalid parameter not satisfying: aString != nil
Hmm... I tried Ardens_macos_x64 version, and it works!
Projects/Arduino ❱ ArdensPlayer file=Arcade_3_in_1.hex
Ardens Player 3a8caa5 by Peter Brown
Also, I tried the v0.21.19 Ardens_macos_x64.dmg and it works too.
Projects/Arduino ❱ ArdensPlayer file=Arcade_3_in_1.hex
Ardens Player v0.21.19 by Peter Brown
Thanks for testing!
I should've thought of recommending the x64 build -- the arm64 builds have caused multiple issues to other people that were almost universally mitigated by switching to x64 via Rosetta. I'm almost considering pulling the arm64 builds and just releasing x64 until I get a Mac that I can dev on myself to debug the arm64 issues.
Sounds good! Thank you!