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

Crashes when "Play Once" is selected in the timeline (macOS at least) #458

Open
joyel24 opened this issue May 7, 2024 · 5 comments
Open

Comments

@joyel24
Copy link

joyel24 commented May 7, 2024

LibreSprite version
1.0
Describe the bug

If I run libresprite with the terminal, I have this error when it crashes :
libc++abi: terminating with uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument
[1] 71400 abort /Applications/libresprite.app/Contents/MacOS/libresprite

To Reproduce

Enable play once feature in the timeline and run it... App crashes at the end.

Expected behaviour

Don't crashes and don't close the app... :)

OS/Hardware
  • Operative System: macOS 12.7.4
  • CPU: i7 6820hq 2.7GHz
@joyel24
Copy link
Author

joyel24 commented May 10, 2024

Video demo of the issue below...
First I play the timeline in infinite mode (by default) witch work without troubles.
Then I do the same thing after having checked "Play Once" : It crashes.
https://github.com/LibreSprite/LibreSprite/assets/21010316/f36fae14-a2f8-4c78-9643-c0bfae9f8676

@jjhaggar
Copy link
Contributor

Could you try with the latest build?
image
https://github.com/LibreSprite/LibreSprite/releases/tag/v1.1-dev

Also, does it happen with any file you try?

@joyel24
Copy link
Author

joyel24 commented May 12, 2024

Still present on 1.1 pre-release & also with a newly created sprite, even if the every sprites in the timeline are empty, it crash in any cases...
The error is the same as 1.0 when running the binary via terminal.
Edit: I just tried to compile the actual master branch by myself and the same error is still present.
For my curiosity, I tried with the latest Asperite release 1.3.6 and it works fine.

@joyel24
Copy link
Author

joyel24 commented May 12, 2024

Perfect, I hope i found !
aseprite/aseprite@aa8cf94
Edit:
YES ! I fixed it thanks to the commit from libresprite above
#476

@joyel24
Copy link
Author

joyel24 commented May 12, 2024

You can find the compiled binary for macos here to test it directly : https://github.com/joyel24/LibreSprite/releases/tag/fix-playonce-crash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants