(gdb) bt
#0 0x000000000044922e in THSpriteSheet::_makeAltBitmap(THSpriteSheet::sprite_t*) ()
#1 0x0000000000449010 in THSpriteSheet::drawSprite(THRenderTarget*, unsigned int, int, int, unsigned long) ()
#2 0x0000000000458e72 in THAnimationManager::drawFrame(THRenderTarget*, unsigned int, THLayers_t const&, int, int, unsigned long) const ()
#3 0x00000000004596e0 in THAnimation::draw(THRenderTarget*, int, int) ()
#4 0x000000000043862f in int l_anim_draw<THAnimation>(lua_State*) ()
#5 0x00007f88bcf99218 in lj_BC_FUNCC () from /lib64/libluajit-5.1.so.2
#6 0x000000000043d553 in l_mainloop(lua_State*) ()
#7 0x00007f88bcf99218 in lj_BC_FUNCC () from /lib64/libluajit-5.1.so.2
#8 0x000000000044f186 in CorsixTH_lua_main(lua_State*) ()
#9 0x00007f88bcf99218 in lj_BC_FUNCC () from /lib64/libluajit-5.1.so.2
#10 0x00007f88bcfddb00 in lua_pcall () from /lib64/libluajit-5.1.so.2
#11 0x000000000042c593 in main ()