0xa7e6de31 in SDL_SetPalette () from /usr/lib/libSDL-1.2.so.0 (gdb) bt #0 0xa7e6de31 in SDL_SetPalette () from /usr/lib/libSDL-1.2.so.0 #1 0xa7e6e1ab in SDL_SetColors () from /usr/lib/libSDL-1.2.so.0 #2 0x0804b2be in Application::SetPalette (this=0x806b0c8, pal=0x80b8ac0) at src/Application.cpp:199 #3 0x0804bfb4 in Application::InitVideo (this=0x806b0c8) at src/Application.cpp:227 #4 0x0804c0b1 in Application::UpdateVideoMode (this=0x806b0c8, w=800, h=600) at src/Application.cpp:245 #5 0x08056f1c in OptionsMenuState::doResolution (this=0x80ccc28) at src/OptionsMenu.cpp:103 #6 0x080585a2 in boost::_mfi::mf0::operator() (this=0x80de520, p=0x80ccc28) at /usr/include/boost/bind/mem_fn_template.hpp:45