summaryrefslogtreecommitdiffstats
path: root/src/inkscape.cpp
diff options
context:
space:
mode:
authorPatrick Storz <eduard.braun2@gmx.de>2019-06-07 21:07:27 +0000
committerPatrick Storz <eduard.braun2@gmx.de>2019-06-07 22:28:14 +0000
commit3583a480aabbef40602483b1a651f724509135c7 (patch)
tree22c3f69bb3c57f73617fc0adbc5381bcf66a2585 /src/inkscape.cpp
parentRemove _argv0 from Inkscape::Application (diff)
downloadinkscape-3583a480aabbef40602483b1a651f724509135c7.tar.gz
inkscape-3583a480aabbef40602483b1a651f724509135c7.zip
Flush crash message to ensure it's actually printed and update link
Diffstat (limited to 'src/inkscape.cpp')
-rw-r--r--src/inkscape.cpp4
1 files changed, 3 insertions, 1 deletions
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 */
}