# gdb /tmp/mnrt
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux"...Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) r -qws
Starting program: /tmp/mnrt -qws
arg 0 '-sh'
arg 1 '-c'
arg 2 'mnmde'
arg 3 '(null)'
Detaching after fork from child process 1698.
terminate called after throwing an instance of 'std::bad_alloc'
what(): St9bad_alloc
Program received signal SIGABRT, Aborted.
0xb77bfb2e in raise () from /lib/libc.so.6
(gdb) bt
#0 0xb77bfb2e in raise () from /lib/libc.so.6
#1 0xb77c0ffb in abort () from /lib/libc.so.6
#2 0xbffc4a70 in ?? ()
#3 0xb7fb5833 in _dl_cache_libcmp () from /lib/ld-linux.so.2
#4 0xb7ef7c97 in __gxx_personality_v0 () from /usr/lib/libstdc++.so.6
#5 0xb7ef7cc1 in std::terminate () from /usr/lib/libstdc++.so.6
#6 0xb7ef7de2 in __cxa_throw () from /usr/lib/libstdc++.so.6
#7 0xb7ef8189 in operator new () from /usr/lib/libstdc++.so.6
#8 0xb7ef8234 in operator new[] () from /usr/lib/libstdc++.so.6
#9 0xb7d44afb in QString::setLength () from /opt/QtPalmtop/lib/libqte-mt.so.3
#10 0xb7d481bf in QString::QString () from /opt/QtPalmtop/lib/libqte-mt.so.3
#11 0xb7d484da in QString::arg () from /opt/QtPalmtop/lib/libqte-mt.so.3
#12 0x080c68b8 in MnRT::showEmu220 (this=0x8122758) at mnrt.cpp:114
#13 0x080c723b in MnRT::showContents (this=0x8122758) at mnrt.cpp:79
#14 0x080c7412 in MnRT (this=0x8122758, parent=0x0, name=0x80e43a8 "mnrt", f=8208)
at mnrt.cpp:60
#15 0x080c79de in main (argc=1, argv=0xbffc4e14) at main.cpp:37
(gdb)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
QServerSocket: failed to bind or listen to the socket
Detaching after fork from child process 2919.
terminate called after throwing an instance of 'std::bad_alloc'
what(): St9bad_alloc
Program received signal SIGABRT, Aborted.
0xb7777b2e in raise () from /lib/libc.so.6
(gdb) bt
#0 0xb7777b2e in raise () from /lib/libc.so.6
#1 0xb7778ffb in abort () from /lib/libc.so.6
#2 0xbf97ce50 in ?? ()
#3 0xb7f6d833 in _dl_cache_libcmp () from /lib/ld-linux.so.2
#4 0xb7eafc97 in __gxx_personality_v0 () from /usr/lib/libstdc++.so.6
#5 0xb7eafcc1 in std::terminate () from /usr/lib/libstdc++.so.6
#6 0xb7eafde2 in __cxa_throw () from /usr/lib/libstdc++.so.6
#7 0xb7eb0189 in operator new () from /usr/lib/libstdc++.so.6
#8 0xb7eb0234 in operator new[] () from /usr/lib/libstdc++.so.6
#9 0xb7cfcafb in QString::setLength () from /opt/QtPalmtop/lib/libqte-mt.so.3
#10 0xb7d001bf in QString::QString () from /opt/QtPalmtop/lib/libqte-mt.so.3
#11 0xb7d004da in QString::arg () from /opt/QtPalmtop/lib/libqte-mt.so.3
#12 0x080c54b8 in QValueListPrivate<QString>::findIndex ()
#13 0x080c5e5f in QValueListPrivate<QString>::findIndex ()
#14 0x080c60fc in QValueListPrivate<QString>::findIndex ()
#15 0x080c66ca in QValueListPrivate<QString>::findIndex ()
#16 0xb7764f23 in __libc_start_main () from /lib/libc.so.6
#17 0xb7f71314 in _dl_cache_libcmp () from /lib/ld-linux.so.2
#18 0xbf97d220 in ?? ()
(gdb) q
The program is running. Exit anyway? (y or n) y
# export MALLOC_CHECK_=0
# mnrt -qws
QServerSocket: failed to bind or listen to the socket
terminate called after throwing an instance of 'std::bad_alloc'
what(): St9bad_alloc
Aborted (core dumped)