Subject: silvertree: gdb/c++ problem
To: None <current-users@NetBSD.org>
From: Thomas Klausner <wiz@NetBSD.org>
List: current-users
Date: 10/29/2007 16:22:41
Hi!
wip/silvertree dumps core on NetBSD-4.99.34/20071019. I wanted to
track down the cause and started it in the debugger:
...
added party at 74,58
chunk size of 786720 read, but only 506 bytes in input
terminate called after throwing an instance of 'graphics::parse3ds_error'
Program received signal SIGABRT, Aborted.
0x00007f7ffc530d4a in kill () from /usr/lib/libc.so.12
(gdb) bt
#0 0x00007f7ffc530d4a in kill () from /usr/lib/libc.so.12
#1 0x00007f7ffc5d66b9 in abort () from /usr/lib/libc.so.12
#2 0x00007f7ffcac0bed in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/libstdc++.so.6
#3 0x00007f7ffcac5003 in __cxxabiv1::__terminate () from /usr/lib/libstdc++.so.6
#4 0x00007f7ffcac5043 in std::terminate () from /usr/lib/libstdc++.so.6
#5 0x00007f7ffcac4faa in __cxa_throw () from /usr/lib/libstdc++.so.6
#6 0x0000000000433dd0 in std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::_M_erase ()
#7 0x00000000004368c6 in std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::_M_erase ()
#8 0x0000000000430cd8 in std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::_M_erase ()
#9 0x00000000004debaa in std::_Rb_tree<int, std::pair<int const, std::string>, std::_Select1st<std::pair<int const, std::string> >, std::less<int>, std::allocator<std::pair<int const, std::string> > >::insert_unique ()
#10 0x0000000000470e25 in boost::detail::shared_count::~shared_count ()
#11 0x0000000000407af2 in ?? ()
#12 0x0000000000406acf in ?? ()
#13 0x0000000000000001 in ?? ()
#14 0x00007f7fffffe780 in ?? ()
#15 0x0000000000000000 in ?? ()
(gdb) The program is running. Exit anyway? (y or n) y
After that, it hangs. I can't CTRL-Z or kill -9 the silvertreerpg
process. "ps -auxwww" says:
wiz 21420 0.0 2.1 2744 21548 ttyp3 I+ 4:16PM 0:00.21 gdb silvertreerpg
wiz 24580 0.0 3.3 3644 34872 ttyp3 DXEl 4:16PM 0:00.67 /usr/pkg/bin/silvertreerpg
I can kill -9 the gdb process.
Should I send a PR?
Thomas