-
-
Notifications
You must be signed in to change notification settings - Fork 957
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
Audio driver crash on quit - fluidsynth/SDL #7337
Comments
Maybe _midi.synth needs to be NULLed after delete here? And possibly a mutex needs to be added around some of all the global objects. OpenTTD/src/music/fluidsynth.cpp Lines 91 to 97 in 3d4736c
|
I had the same crash happen to me just now. Haven't tested yet how often it occurs. |
@nielsmh Did you make any further progress with this? Seems like it could be an easy fix... |
Might even be fixed by the changed made in #7983, since this is most likely caused by a race condition. |
Has this been seen recently? Think we can probably close it now? |
Closed as probably fixed/no longer reproducible |
Version of OpenTTD
master (3d4736c)
Expected result
No crash on quit
Actual result
Steps to reproduce
It's kind of tricky to reproduce, but I can reproduce this crash with following these steps, done quickly, using OpenMSX:
crash.log

crash.sav.gz
The text was updated successfully, but these errors were encountered: