Other shared library constructors can invoke open()/close() before SDL2-compat's constructor runs to load SDL3 and populate the SDL3 function table. This causes SDL_AtomicLock()/SDL_AtomicUnlock() to jump to 0. See #1707
e5a5fa2
7979e7b