[gimp] app, macOS: Remove crash handling conflict
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app, macOS: Remove crash handling conflict
- Date: Sat, 25 Jun 2022 19:18:51 +0000 (UTC)
commit 877520896f30c0acb019124c8c8976b34fee8e14
Author: Lukas Oberhuber <lukaso gmail com>
Date: Sun Jun 19 23:53:44 2022 +0100
app, macOS: Remove crash handling conflict
app/signals.c | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/app/signals.c b/app/signals.c
index 92fd266d81..5772aeeb49 100644
--- a/app/signals.c
+++ b/app/signals.c
@@ -107,10 +107,17 @@ gimp_init_signal_handlers (gchar **backtrace_file)
gimp_signal_private (SIGTERM, gimp_sigfatal_handler, 0);
/* these are handled by gimp_fatal_error() */
+ /*
+ * MacOS has it's own crash handlers which end up fighting the
+ * these Gimp supplied handlers and leading to very hard to
+ * deal with hangs (just get a spin dump)
+ */
+#ifndef PLATFORM_OSX
gimp_signal_private (SIGABRT, gimp_sigfatal_handler, 0);
gimp_signal_private (SIGBUS, gimp_sigfatal_handler, 0);
gimp_signal_private (SIGSEGV, gimp_sigfatal_handler, 0);
gimp_signal_private (SIGFPE, gimp_sigfatal_handler, 0);
+#endif
/* Ignore SIGPIPE because plug_in.c handles broken pipes */
gimp_signal_private (SIGPIPE, SIG_IGN, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]