-
Notifications
You must be signed in to change notification settings - Fork 1
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
Segfault from Mix_CloseAudio() #202
Comments
Looks like it's originating from Mix_CloseAudio(). Didn't we have trouble with this before? This is that Linux-specific bug isn't it. |
If you install debug symbols for SDL2_mixer you can run Driftwood inside a debugger and find out where it's crashing. |
I assume it's related to #70, but on my current system, the commit from back then that fixed it still segfaults. It must be somewhat dependent on the system running it. Installing debugging symbols gave little insight.
|
Well, the easy fix would be to not call |
Brilliant! I hope this doesn't have any unintended consequences aside from some memory being held for a few milliseconds longer at shutdown. We should look into that. |
Looking at the code for these two functions: |
Might be fixed in #212. |
I am experiencing a segfault on exit again. It looks like it's been around for quite a few commits.
Currently, Mix_CloseAudio() is commented out in our code as a workaround. We should concurrently investigate if there are any unwanted consequences from this besides the memory being held a bit longer on engine shutdown.
The text was updated successfully, but these errors were encountered: