https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82366
spamdrop at fodvo dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Version|7.1.0 |7.2.0 --- Comment #6 from spamdrop at fodvo dot org --- I downloaded gcc 7.2.0 and built using the same process. Without the ABI flag, it too throws the bad_cast exception. I may download older versions to test. Question, is there anything more I can provide to help diagnose this problem? I can get full coredumps and can jump to any level. The where stack trace is below. (gdb) where #0 0x00007f9544086495 in raise () from /lib64/libc.so.6 #1 0x00007f9544087c75 in abort () from /lib64/libc.so.6 #2 0x00007f954a97579d in __gnu_cxx::__verbose_terminate_handler() () from /dvl/odb/apps/dev/dal/ogg_12.3/libicuuc.so.56 #3 0x00007f954a974e66 in __cxxabiv1::__terminate(void (*)()) () from /dvl/odb/apps/dev/dal/ogg_12.3/libicuuc.so.56 #4 0x00007f954a974eb1 in std::terminate() () from /dvl/odb/apps/dev/dal/ogg_12.3/libicuuc.so.56 #5 0x00007f954a974fb8 in __cxa_throw () from /dvl/odb/apps/dev/dal/ogg_12.3/libicuuc.so.56 #6 0x00007f954d6e55f2 in std::__throw_bad_cast() () from /dvl/odb/apps/dev/dal/ogg_12.3/libgglog.so #7 0x00007f9543b89487 in std::use_facet<std::__cxx11::collate<char> > (__loc=...) at /dvl/odb5/build/gcc-7.2/gcc-7.2.0.obj/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/locale_classes.tcc:137 #8 0x00007f95414321bf in std::__cxx11::regex_traits<char>::transform<char*> (this=0x246cb30, __first=0x2e869d0 "", __last=0x2e869d1 "!>D\225\177") at /dvl/odb/tools/gcc-7.2.0/include/c++/7.2.0/bits/regex.h:233 #9 0x00007f954142fea0 in std::__cxx11::regex_traits<char>::transform_primary<char const*> (this=0x246cb30, __first=0x7fff19050e88 "", __last=0x7fff19050e89 "V\350\002") at /dvl/odb/tools/gcc-7.2.0/include/c++/7.2.0/bits/regex.h:266 #10 0x00007f954142b7ef in std::__detail::_BracketMatcher<std::__cxx11::regex_traits<char>, false, false>::_M_apply(char, std::integral_constant<bool, false>) const::{lambda()#1}::operator()() const (__closure=0x7fff19050e80) at /dvl/odb/tools/gcc-7.2.0/include/c++/7.2.0/bits/regex_compiler.tcc:626 #11 0x00007f954142b970 in std::__detail::_BracketMatcher<std::__cxx11::regex_traits<char>, false, false>::_M_apply ( this=0x7fff19050fa0, __ch=0 '\000') at /dvl/odb/tools/gcc-7.2.0/include/c++/7.2.0/bits/regex_compiler.tcc:634 #12 0x00007f9541427225 in std::__detail::_BracketMatcher<std::__cxx11::regex_traits<char>, false, false>::_M_make_cache ( this=0x7fff19050fa0) at /dvl/odb/tools/gcc-7.2.0/include/c++/7.2.0/bits/regex_compiler.h:556 #13 0x00007f954142364a in std::__detail::_BracketMatcher<std::__cxx11::regex_traits<char>, false, false>::_M_ready ( this=0x7fff19050fa0) at /dvl/odb/tools/gcc-7.2.0/include/c++/7.2.0/bits/regex_compiler.h:525 #14 0x00007f954142421a in std::__detail::_Compiler<std::__cxx11::regex_traits<char> >::_M_insert_bracket_matcher<false, false> ( this=0x7fff19051560, __neg=false) at /dvl/odb/tools/gcc-7.2.0/include/c++/7.2.0/bits/regex_compiler.tcc:444 #15 0x00007f9541420d29 in std::__detail::_Compiler<std::__cxx11::regex_traits<char> >::_M_bracket_expression ( this=0x7fff19051560) at /dvl/odb/tools/gcc-7.2.0/include/c++/7.2.0/bits/regex_compiler.tcc:363 #16 0x00007f954141c878 in std::__detail::_Compiler<std::__cxx11::regex_traits<char> >::_M_atom (this=0x7fff19051560) at /dvl/odb/tools/gcc-7.2.0/include/c++/7.2.0/bits/regex_compiler.tcc:349 #17 0x00007f9541419a8f in std::__detail::_Compiler<std::__cxx11::regex_traits<char> >::_M_term (this=0x7fff19051560) at /dvl/odb/tools/gcc-7.2.0/include/c++/7.2.0/bits/regex_compiler.tcc:139 #18 0x00007f95414176eb in std::__detail::_Compiler<std::__cxx11::regex_traits<char> >::_M_alternative (this=0x7fff19051560) at /dvl/odb/tools/gcc-7.2.0/include/c++/7.2.0/bits/regex_compiler.tcc:121 #19 0x00007f954141770e in std::__detail::_Compiler<std::__cxx11::regex_traits<char> >::_M_alternative (this=0x7fff19051560) at /dvl/odb/tools/gcc-7.2.0/include/c++/7.2.0/bits/regex_compiler.tcc:124 #20 0x00007f954141770e in std::__detail::_Compiler<std::__cxx11::regex_traits<char> >::_M_alternative (this=0x7fff19051560) at /dvl/odb/tools/gcc-7.2.0/include/c++/7.2.0/bits/regex_compiler.tcc:124 #21 0x00007f9541415c37 in std::__detail::_Compiler<std::__cxx11::regex_traits<char> >::_M_disjunction (this=0x7fff19051560) at /dvl/odb/tools/gcc-7.2.0/include/c++/7.2.0/bits/regex_compiler.tcc:97 #22 0x00007f9541414dd6 in std::__detail::_Compiler<std::__cxx11::regex_traits<char> >::_Compiler (this=0x7fff19051560, __b=0x7f954143a7fa "\\$\\{[a-zA-Z_]+[a-zA-Z0-9_]*}", __e=0x7f954143a816 "", __loc=..., __flags=(unknown: 16)) at /dvl/odb/tools/gcc-7.2.0/include/c++/7.2.0/bits/regex_compiler.tcc:82 #23 0x00007f9541413dcd in std::__detail::__compile_nfa<char const*, std::__cxx11::regex_traits<char> > ( __first=0x7f954143a7fa "\\$\\{[a-zA-Z_]+[a-zA-Z0-9_]*}", __last=0x7f954143a816 "", __loc=..., __flags=(unknown: 16)) at /dvl/odb/tools/gcc-7.2.0/include/c++/7.2.0/bits/regex_compiler.h:203 #24 0x00007f9541412d8d in std::__cxx11::basic_regex<char, std::__cxx11::regex_traits<char> >::basic_regex<char const*> ( this=0x7fff19051820, __first=0x7f954143a7fa "\\$\\{[a-zA-Z_]+[a-zA-Z0-9_]*}", __last=0x7f954143a816 "", __loc=..., __f=(unknown: 16)) at /dvl/odb/tools/gcc-7.2.0/include/c++/7.2.0/bits/regex.h:769 #25 0x00007f9541411cc2 in std::__cxx11::basic_regex<char, std::__cxx11::regex_traits<char> >::basic_regex<char const*> ( this=0x7fff19051820, __first=0x7f954143a7fa "\\$\\{[a-zA-Z_]+[a-zA-Z0-9_]*}", __last=0x7f954143a816 "", __f=(unknown: 16)) at /dvl/odb/tools/gcc-7.2.0/include/c++/7.2.0/bits/regex.h:512 #26 0x00007f9541410b92 in std::__cxx11::basic_regex<char, std::__cxx11::regex_traits<char> >::basic_regex (this=0x7fff19051820, __p=0x7f954143a7fa "\\$\\{[a-zA-Z_]+[a-zA-Z0-9_]*}", __f=(unknown: 16)) at /dvl/odb/tools/gcc-7.2.0/include/c++/7.2.0/bits/regex.h:445 #27 0x00007f954140db14 in DecomposeEnvVar (input=...) at NWA_Config.cpp:1054 #28 0x00007f954140d31c in Config::Check4IncludeElement (this=0x2e5a170, node=0x2ec2410) at NWA_Config.cpp:912 #29 0x00007f954140d1dd in Config::HandleIncludes (this=0x2e5a170, node=0x2ec2410) at NWA_Config.cpp:874 #30 0x00007f954140d22c in Config::HandleIncludes (this=0x2e5a170, node=0x2e877e0) at NWA_Config.cpp:891 #31 0x00007f954140ab44 in Config::Parse (this=0x2e5a170) at NWA_Config.cpp:393 #32 0x00007f95414080c3 in InstallConfig () at config.cpp:26 #33 0x00007f95414001c8 in CallStart () at ggpost.cpp:168 #34 0x00007f95414004fc in MyUserCPPExit (exit_call_type=1, exit_call_result=0x1e36380 <exit_result>, exit_params=0x1e363c0 <exit_params>) at ggpost.cpp:278 #35 0x00007f95414092fc in CUSEREXIT () from /dvl/odb/apps/dev/dal/ogg_12.3/libggpost.so #36 0x00000000005b89ba in call_user_exit_routine(short) () #37 0x000000000061668a in ?? () #38 0x0000000000710111 in ggs::gglib::MultiThreading::MainThread::ExecMain() () #39 0x000000000070f82c in ggs::gglib::MultiThreading::Thread::RunThread(ggs::gglib::MultiThreading::Thread::ThreadArgs*) () ---Type <return> to continue, or q <return> to quit--- #40 0x0000000000710085 in ggs::gglib::MultiThreading::MainThread::Run(int, char**) () #41 0x00000000006173eb in main () ldd of the binary libggpost.so is [odbd@evdla176 ogg_12.3]$ ldd libggpost.so linux-vdso.so.1 => (0x00007ffddc5a0000) libProcessStats.so => ./lib/libProcessStats.so (0x00007fd58d6c8000) libDB.so => ./lib/libDB.so (0x00007fd58d4a6000) libNWAtiny.so => ./lib/libNWAtiny.so (0x00007fd58d291000) libmqapi.so => ./lib/libmqapi.so (0x00007fd58d088000) libmqic.so => /opt/mqm/lib64/libmqic.so (0x00007fd58cf84000) libmqmcs.so => /opt/mqm/lib64/libmqmcs.so (0x00007fd58cb58000) libstdc++.so.6 => /dvl/odb/tools/gcc-7.2.0/lib64/libstdc++.so.6 (0x00007fd58c7c1000) libm.so.6 => /lib64/libm.so.6 (0x00007fd58c528000) libgcc_s.so.1 => /dvl/odb/tools/gcc-7.2.0/lib64/libgcc_s.so.1 (0x00007fd58c312000) libc.so.6 => /lib64/libc.so.6 (0x00007fd58bf7e000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fd58bd60000) libmqe.so => /opt/mqm/lib64/libmqe.so (0x00007fd58b52c000) libdl.so.2 => /lib64/libdl.so.2 (0x00007fd58b327000) /lib64/ld-linux-x86-64.so.2 (0x00007fd58dc30000) librt.so.1 => /lib64/librt.so.1 (0x00007fd58b11f000)