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

Games written in the love 11.1 framework hang when love.audio.stop() is called #52

Closed
dwangoac opened this issue Aug 7, 2018 · 1 comment

Comments

@dwangoac
Copy link

dwangoac commented Aug 7, 2018

Steps: Play a game that uses the love 11.1 framework (https://bitbucket.org/rude/love/) and trigger an action that causes love.audio.stop() to be called, such as going down a pipe while playing mari0 (https://github.com/Stabyourself/mari0).

Result: Whenever love.audio.stop() is called, frames stop advancing and the game appears to hang. There are no obvious debug logs that point to a problem when the hang appears.

Additional information: I do not yet know what other scenarios cause this issue. Disabling all calls to love.audio.stop() is sufficient to allow a full TAS of mari0 to be completed. We have assistance from the mari0 developers as needed, but this appears to be an issue with the interaction between libTAS and the love framework itself.

@dwangoac dwangoac changed the title The love 11.1 framework hangs when love.audio.stop() is called Games written in the love 11.1 framework hang when love.audio.stop() is called Aug 7, 2018
@clementgallet
Copy link
Owner

Thanks for the precise comment! I was indeed a bug where the same mutex was locked twice when a game calls alSourceStopv. Fixed in 652278b

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

No branches or pull requests

2 participants