[gimp] Bug 795123 - plug-in crash starts neverending loop.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 795123 - plug-in crash starts neverending loop.
- Date: Tue, 10 Apr 2018 12:21:10 +0000 (UTC)
commit 4bc982b84abdf95e00f994b0bcf07aaa3f9cd760
Author: Jehan <jehan girinstud io>
Date: Tue Apr 10 14:16:33 2018 +0200
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 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libgimp/gimp.c b/libgimp/gimp.c
index 75ec23c..1c61ae6 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]