https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82366
--- Comment #5 from spamdrop at fodvo dot org --- Taking Johnathan's recommendation on Sept 29, I rebuilt the entire app, all libaries etc using -D_GLIBCXX_USE_CXX11_ABI=0 Carefully isolating the libs and LD_LIBRARY_PATH. Using ABI=0, the program runs fine. When I repeat the exact same steps without the ABI=0 define, the program throws the std::bad_cast error.