From 4bc982b84abdf95e00f994b0bcf07aaa3f9cd760 Mon Sep 17 00:00:00 2001 From: Jehan Date: Tue, 10 Apr 2018 14:16:33 +0200 Subject: [PATCH] Bug 795123 - plug-in crash starts neverending loop. Since commit 9c8a8ae576, we don't run gimp_quit(), which properly quits the plug-in executable, to make sure that GIMP gets the information that it crashed. Instead quit with `exit (EXIT_FAILURE)`. --- libgimp/gimp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libgimp/gimp.c b/libgimp/gimp.c index 75ec23cad4..1c61ae643c 100644 --- a/libgimp/gimp.c +++ b/libgimp/gimp.c @@ -2001,6 +2001,7 @@ gimp_fatal_func (const gchar *log_domain, * We want the plug-in to continue its normal crash course, otherwise * we won't get the "Plug-in crashed" error in GIMP. */ + exit (EXIT_FAILURE); } #ifdef G_OS_WIN32 @@ -2094,6 +2095,7 @@ gimp_plugin_sigfatal_handler (gint sig_num) * We want the plug-in to continue its normal crash course, otherwise * we won't get the "Plug-in crashed" error in GIMP. */ + exit (EXIT_FAILURE); } #endif