terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct NULL not valid
Program received signal SIGABRT, Aborted.
[Switching to Thread -1225311344 (LWP 7741)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb79b0875 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb79b2201 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb7bd46e0 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/libstdc++.so.6
#4 0xb7bd1f65 in ?? () from /usr/lib/libstdc++.so.6
#5 0xb7bd1fa2 in std::terminate () from /usr/lib/libstdc++.so.6
#6 0xb7bd20ca in __cxa_throw () from /usr/lib/libstdc++.so.6
#7 0xb7b67d3f in std::__throw_logic_error () from /usr/lib/libstdc++.so.6
#8 0xb7badc2f in ?? () from /usr/lib/libstdc++.so.6
#9 0xb7badd77 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string () from /usr/lib/libstdc++.so.6
#10 0xb5a8b496 in SDL_GLout::CheckGLExt (this=0xb5a9cbc0, name=@0xb6f73220) at SDL_GLout.cpp:86
#11 0xb5a8ba97 in SDL_GLout::_Init (this=0xb5a9cbc0) at SDL_GLout.cpp:212
#12 0xb5a8e0dc in SDL_GLout::OpenGLThreadLoop (ptr=0xb5a9cbc0) at SDL_GLout.cpp:278
#13 0xb7ad546b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0xb7a596de in clone () from /lib/tls/i686/cmov/libc.so.6