Crashes While Trying to Separate Foreground from Background
GIMP version:
Note: bug reporters are expected to have verified the bug still exists either in the last stable version of GIMP or on updated development code (master branch).
Operating System: [macOS]
Package: [Installer from gimp.org]
Trying to separate an image from its background using the Foreground Selection tool. Selecting the foreground works fine, but when it comes to refining the selection and actually separating it from the background, GIMP crashes when toggling the "Preview" button.
Please describe your issue with details. Add screenshot or other files if needed.
Reproduction
Is the bug reproducible? [Always]
Reproduction steps:
- Paste Image into GIMP
- Use Foreground Selection Tool to select the foreground for separation
- Press Enter/Return to roughly separate foreground
- Mark the distinct colors in the foreground for finer separation by painting over them
- Press "Toggle Preview" in the new text box to verify result
…
Expected result: Separation of foreground and background for use in later projects
Actual result: GIMP crashes and restarts
Additional information
If you have a backtrace for a crash or a warning, paste it here.
GNU Image Manipulation Program version 2.10.14
git-describe: Unknown, shouldn't happen
C compiler:
Configured with: --prefix=/Applications/Xcode-10.app/Contents/Developer/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1
Apple LLVM version 10.0.0 (clang-1000.11.45.2)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: /Applications/Xcode-10.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
using babl version 0.1.72 (compiled against version 0.1.72)
using GEGL version 0.4.18 (compiled against version 0.4.18)
using GLib version 2.62.4 (compiled against version 2.62.4)
using GdkPixbuf version 2.40.0 (compiled against version 2.40.0)
using GTK+ version 2.24.32 (compiled against version 2.24.32)
using Pango version 1.44.7 (compiled against version 1.44.7)
using Fontconfig version 2.13.1 (compiled against version 2.13.1)
using Cairo version 1.16.0 (compiled against version 1.16.0)
fatal error: Segmentation fault: 11
Stack trace:
0 libgimpbase-2.0.0.dylib 0x000000010f942bb5 gimp_stack_trace_print + 1509
1 gimp 0x000000010e9de356 gimp_eek + 374
2 gimp 0x000000010e9de1db gimp_fatal_error + 27
3 gimp 0x000000010e9dee9d gimp_sigfatal_handler + 45
4 libsystem_platform.dylib 0x00007fff705185fd _sigtramp + 29
5 gegl-common.dylib 0x0000000113cc28b0 color_compare + 0
6 libgegl-0.4.0.dylib 0x000000010ff9f77a gegl_operation_composer_process + 394
7 libgegl-0.4.0.dylib 0x000000010ffa4ce7 gegl_operation_process + 455
8 libgegl-0.4.0.dylib 0x000000010ffa89fb gegl_graph_process + 283
9 libgegl-0.4.0.dylib 0x000000010ffa7cb7 gegl_eval_manager_apply + 423
10 libgegl-0.4.0.dylib 0x000000010ff90019 gegl_node_blit_buffer + 249
11 libgegl-0.4.0.dylib 0x000000010ff9045b gegl_node_blit + 907
12 libgegl-0.4.0.dylib 0x000000010ffa92bd gegl_processor_work + 573
13 gimp 0x000000010ed0ee08 gimp_drawable_foreground_extract + 936
14 gimp 0x000000010ea5d7d4 gimp_foreground_select_tool_preview + 212
15 libgobject-2.0.0.dylib 0x0000000110432f1c g_closure_invoke + 204
16 libgobject-2.0.0.dylib 0x0000000110449e47 signal_emit_unlocked_R + 2007
17 libgobject-2.0.0.dylib 0x000000011044ace0 g_signal_emit_valist + 2240
18 libgobject-2.0.0.dylib 0x000000011044b4d2 g_signal_emit + 130
19 libgtk-quartz-2.0.0.dylib 0x000000010f534a45 gtk_toggle_button_clicked + 21
20 libgobject-2.0.0.dylib 0x0000000110432f1c g_closure_invoke + 204
21 libgobject-2.0.0.dylib 0x0000000110449ae5 signal_emit_unlocked_R + 1141
22 libgobject-2.0.0.dylib 0x000000011044ace0 g_signal_emit_valist + 2240
23 libgobject-2.0.0.dylib 0x000000011044b4d2 g_signal_emit + 130
24 libgtk-quartz-2.0.0.dylib 0x000000010f534a16 gtk_toggle_button_released + 54
25 libgobject-2.0.0.dylib 0x0000000110432f1c g_closure_invoke + 204
26 libgobject-2.0.0.dylib 0x0000000110449ae5 signal_emit_unlocked_R + 1141
27 libgobject-2.0.0.dylib 0x000000011044ace0 g_signal_emit_valist + 2240
28 libgobject-2.0.0.dylib 0x000000011044b4d2 g_signal_emit + 130
29 libgtk-quartz-2.0.0.dylib 0x000000010f3a06af gtk_button_button_release + 15
30 libgtk-quartz-2.0.0.dylib 0x000000010f45d494 _gtk_marshal_BOOLEAN__BOXED + 100
31 libgobject-2.0.0.dylib 0x0000000110432f1c g_closure_invoke + 204
32 libgobject-2.0.0.dylib 0x0000000110449f87 signal_emit_unlocked_R + 2327
33 libgobject-2.0.0.dylib 0x000000011044af57 g_signal_emit_valist + 2871
34 libgobject-2.0.0.dylib 0x000000011044b4d2 g_signal_emit + 130
35 libgtk-quartz-2.0.0.dylib 0x000000010f598118 gtk_widget_event_internal + 600
36 libgtk-quartz-2.0.0.dylib 0x000000010f45af42 gtk_propagate_event + 322
37 libgtk-quartz-2.0.0.dylib 0x000000010f45ab37 gtk_main_do_event + 1255
38 libgdk-quartz-2.0.0.dylib 0x000000010f8047b4 gdk_event_dispatch + 84
39 libglib-2.0.0.dylib 0x00000001104d72a6 g_main_context_dispatch + 326
40 libglib-2.0.0.dylib 0x00000001104d7632 g_main_context_iterate + 514
41 libglib-2.0.0.dylib 0x00000001104d798f g_main_loop_run + 239
42 gimp 0x000000010e9dd990 app_run + 1056
43 gimp 0x000000010e9e0767 main + 1271
44 libdyld.dylib 0x00007fff7031fcc9 start + 1