From 3583a480aabbef40602483b1a651f724509135c7 Mon Sep 17 00:00:00 2001 From: Patrick Storz Date: Fri, 7 Jun 2019 23:07:27 +0200 Subject: Flush crash message to ensure it's actually printed and update link --- src/inkscape.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/inkscape.cpp') diff --git a/src/inkscape.cpp b/src/inkscape.cpp index 984bccf6d..6924fdd0e 100644 --- a/src/inkscape.cpp +++ b/src/inkscape.cpp @@ -744,7 +744,7 @@ Application::crash_handler (int /*signum*/) Inkscape::Preferences::unload(false); fprintf (stderr, "Emergency save completed. Inkscape will close now.\n"); - fprintf (stderr, "If you can reproduce this crash, please file a bug at www.inkscape.org\n"); + fprintf (stderr, "If you can reproduce this crash, please file a bug at https://inkscape.org/report\n"); fprintf (stderr, "with a detailed description of the steps leading to the crash, so we can fix it.\n"); /* Show nice dialog box */ @@ -810,6 +810,8 @@ Application::crash_handler (int /*signum*/) tracker.clear(); Logger::shutdown(); + fflush(stderr); // make sure buffers are empty before crashing (otherwise output might be suppressed) + /* on exit, allow restored signal handler to take over and crash us */ } -- cgit v1.2.3