gdb backtrace copy & paste:
Thread 2 (Thread 0x7ffff2fec700 (LWP 3523)):
#0 0x00007ffff635cfd0 in sem_wait ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007ffff73196ee in SDL_SemWait ()
from /home/me/Games/AmnesiaAMFP/lib64/libSDL2-2.0.so.0
#2 0x00007ffff7319895 in SDL_SemWaitTimeout ()
from /home/me/Games/AmnesiaAMFP/lib64/libSDL2-2.0.so.0
#3 0x00007ffff72bc535 in ?? ()
from /home/me/Games/AmnesiaAMFP/lib64/libSDL2-2.0.so.0
#4 0x00007ffff72bbb3d in ?? ()
from /home/me/Games/AmnesiaAMFP/lib64/libSDL2-2.0.so.0
#5 0x00007ffff7319659 in ?? ()
from /home/me/Games/AmnesiaAMFP/lib64/libSDL2-2.0.so.0
#6 0x00007ffff6356e9a in start_thread ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#7 0x00007ffff566dccd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#8 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7ffff7fc5740 (LWP 3520)):
#0 0x00007ffff4646ba2 in XGetICValues ()
from /usr/lib/x86_64-linux-gnu/libX11.so.6
#1 0x00007ffff7315e38 in ?? ()
from /home/me/Games/AmnesiaAMFP/lib64/libSDL2-2.0.so.0
#2 0x00007ffff72fa531 in SDL_CreateWindow ()
from /home/me/Games/AmnesiaAMFP/lib64/libSDL2-2.0.so.0
#3 0x00007ffff72faa98 in SDL_VideoInit ()
from /home/me/Games/AmnesiaAMFP/lib64/libSDL2-2.0.so.0
#4 0x00007ffff726288f in SDL_InitSubSystem ()
from /home/me/Games/AmnesiaAMFP/lib64/libSDL2-2.0.so.0
#5 0x00007ffff7262924 in SDL_Init ()
from /home/me/Games/AmnesiaAMFP/lib64/libSDL2-2.0.so.0
#6 0x0000000000a6f04d in hpl::cSDLEngineSetup::cSDLEngineSetup(unsigned int)
()
#7 0x000000000092cd5b in hpl::CreateHPLEngine(hpl::eHplAPI, unsigned int, hpl::cEngineInitVars*) ()
#8 0x0000000000916d3c in cLuxBase::InitEngine() ()
#9 0x000000000091a962 in cLuxBase::Init(std::string const&) ()
#10 0x000000000080e0a0 in hplMain(std::string const&) ()
#11 0x0000000000a6db97 in main ()