$ gdb glmark2
GNU gdb (GDB) 7.6.1-ubuntu
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/glmark2...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/glmark2
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct null not valid
Program received signal SIGABRT, Aborted.
0xb7fdd424 in __kernel_vsyscall ()
(gdb) bt
#0 0xb7fdd424 in __kernel_vsyscall ()
#1 0xb7ae4aff in __GI_raise (sig=sig@entry=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#2 0xb7ae8083 in __GI_abort () at abort.c:90
#3 0xb7d17605 in __gnu_cxx::__verbose_terminate_handler() ()
from /usr/lib/i386-linux-gnu/libstdc++.so.6
#4 0xb7d15273 in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#5 0xb7d152af in std::terminate() ()
from /usr/lib/i386-linux-gnu/libstdc++.so.6
#6 0xb7d1550e in __cxa_throw () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#7 0xb7d6d362 in std::__throw_logic_error(char const*) ()
from /usr/lib/i386-linux-gnu/libstdc++.so.6
#8 0xb7d7a25a in char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) ()
from /usr/lib/i386-linux-gnu/libstdc++.so.6
#9 0xb7d7a850 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) ()
from /usr/lib/i386-linux-gnu/libstdc++.so.6
#10 0x0811da3e in ?? ()
#11 0x0811de9c in ?? ()
#12 0x0804d12b in ?? ()
#13 0xb7acf905 in __libc_start_main (main=0x804cd30, argc=1,
ubp_av=0xbffff464, init=0x8128d40, fini=0x8128db0,
rtld_fini=0xb7fed5f0 <_dl_fini>, stack_end=0xbffff45c) at libc-start.c:260
#14 0x0804eb91 in ?? ()