Closed vanfanel closed 7 months ago
Can you test this pull to see if it fixes your issue?
Actually, this has to go in anyways, as the check is in SDL3, but was missed in the SDL2 version. Please reopen this if it didn't fix the problem.
Can you test this pull to see if it fixes your issue?
Yes, that fixes it, no more segfaults in quit. Thanks!
Hi,
Every SDL2 program segfaults on quit on Wayland (built without XWayland support, latest stable MESA 24.0.1, latest stable wlroots 0.17.1, simple wlroots-based compositors labwc/sway/cage).
It happens since exactly this commit:
https://github.com/libsdl-org/SDL/commit/271df2fdd8f611bde4b36ed82e8289e8ff2506b6
Still happens on current GIT code.
GDB backtrace (it's from DoomRetro, but any SDL2 game I have tried does the same, including SDLPop, CrispyDoom, Scummvm...):