Closed Sanaki closed 2 years ago
I did not get a sound crash issue on my "upstream" version but it would crash on an earlier revision of it. They probably didn't merge some of the sound-related changes that i've done purposely to avoid potential crashes like this one. In addition to that, the game will also refuse to work on a Master System with an FM sound unit plugged in. This was not documented anywhere else, making me wonder if this also happens on real hardware as well.
See my changes upstream here : https://github.com/gameblabla/sms_sdl/commit/ca69b71907337c96674d78254a782c0c6088304b
'merged latest updates from upstream'
Confirmed fixed. Thanks!
Haven't managed to reproduce the issue with a small selection of other games, but since it appears sound-based from the backtrace, I assume there are others that would trigger it as well.
RetroArch version libretro/RetroArch@cda66d09c3 SMS Plus GX version 3f1ffede55bcfe0168caa484a00bf041ab591abf
Full gdb backtrace
```gdb Thread 1 "retroarch" received signal SIGSEGV, Segmentation fault. 0x00007fffe5e24818 in SN76489_Update () from /home/ccrowley/src/libretro-super/libretro-smsplus/smsplus_libretro.so (gdb) thread apply all bt Thread 11 (Thread 0x7fffdbfff700 (LWP 9955) "retroarch"): #0 0x00007ffff46d8065 in futex_abstimed_wait_cancelable (private=