-
Notifications
You must be signed in to change notification settings - Fork 75
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
gs_audio: Use-after-free crash on exit #21
Comments
I'm currently re-writing large portions of the audio subsystem right now, because it's had issues like this for a while. I'll keep this open, so know that it's actively being worked on. |
ghost
mentioned this issue
May 7, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Gunslinger apps occasionally segfault when closing. It's not really a big deal since the program is already exiting, but I know users in the Discord have mentioned it before so I thought it should be officially reported.
Tested on Linux w/ GCC.
Address Sanitizer says this crash happens when
ma_audio_commit
accesses the audio subsystem after the engine instance has been freed.gunslinger/impl/gs_audio_impl.h
Lines 449 to 453 in fc25815
gunslinger/impl/gs_platform_impl.h
Lines 1397 to 1398 in fc25815
GDB backtrace:
Relevant address sanitizer output:
The text was updated successfully, but these errors were encountered: