Powered by
Movable Type 5.2.9

 January 2013 Archives

2013, January 18 (Fri)

Programmierung mysterious crash in program_options

gdb backtrace looked something like this:

#0 0x00007ffff76a02e2 in __cxxabiv1::__vmi_class_type_info::__do_upcast
(__cxxabiv1::__class_type_info const*, void const*,
__cxxabiv1::__class_type_info::__upcast_result&) const () from /usr/lib64/libstdc++.so.6
#1 0x00007ffff769d4c5 in __cxxabiv1::__class_type_info::__do_upcast
(__cxxabiv1::__class_type_info const*, void**) const () from /usr/lib64/libstdc++.so.6
#2 0x00007ffff769e135 in get_adjusted_ptr(std::type_info const*, std::type_info const*, void**)
() from /usr/lib64/libstdc++.so.6
#3 0x00007ffff769e93c in __gxx_personality_v0 () from /usr/lib64/libstdc++.so.6
#4 0x00007ffff71dcfb3 in _Unwind_RaiseException () from /lib64/libgcc_s.so.1
#5 0x00007ffff769efc1 in __cxa_throw () from /usr/lib64/libstdc++.so.6
#6 0x00007ffff79a6ecb in void boost::throw_exception<boost::program_options::unknown_option>
(boost::program_options::unknown_option const&) () from ../boost_1_52_0/boost11/lib/
libboost_program_options.so.1.52.0
...
#10 0x00000000004098e4 in boost::program_options::parse_command_line (argc=2, argv=
0x7fffffffdaa8, desc=..., style=0, ext=...) at ./boost_includes/boost/program_options/detail/
parsers.hpp:125
#11 0x0000000000408e92 in main (argc=2, argv=0x7fffffffdaa8) at main.cpp:11

note to self: don’t forget to upgrade binutils/gold/ld