--- a/src/inkscape.cpp +++ b/src/inkscape.cpp @@ -19,7 +19,6 @@ #include #include -#include #include #include #include @@ -531,17 +530,17 @@ Application::crash_handler (int /*signum*/) try { auto builder = UI::create_builder("dialog-crash.glade"); UI::get_widget(builder, "message").set_label(b); - UI::get_object(builder, "stacktrace")->set_text("
\n" + boost::stacktrace::to_string(boost::stacktrace::stacktrace()) + "
\n
System info\n" + debug_info() + "\n
"); + UI::get_object(builder, "stacktrace")->set_text("
\nNo stacktrace available.
\n
System info\n" + debug_info() + "\n
"); Gtk::MessageDialog &m = UI::get_widget(builder, "crash_dialog"); sp_transientize(m.Gtk::Widget::gobj()); UI::dialog_run(m); } catch (const Glib::Error &ex) { g_message("Glade file loading failed for crash handler... Anyway, error was: %s", b); - std::cerr << boost::stacktrace::stacktrace(); + std::cerr << "No stacktrace available." << std::endl; } } else { g_message( "Error: %s", b ); - std::cerr << boost::stacktrace::stacktrace(); + std::cerr << "No stacktrace available." << std::endl; } g_free (b); --- a/CMakeScripts/DefineDependsandFlags.cmake +++ b/CMakeScripts/DefineDependsandFlags.cmake @@ -311,7 +311,7 @@ else() list(APPEND INKSCAPE_LIBS "-lbacktrace") add_definitions("-DBOOST_STACKTRACE_USE_BACKTRACE") else() # fall back to stacktrace_basic - find_package(Boost 1.19.0 REQUIRED COMPONENTS stacktrace_basic) + find_package(Boost 1.19.0 REQUIRED COMPONENTS) list(APPEND INKSCAPE_CXX_FLAGS "-D_GNU_SOURCE") endif() endif()