Crash after deleting floating layer
Environment/Versions
- GIMP version: 2.10.14
- Package: Installer from gimp.org
- Operating System: macOS 11.2.2 (20D80)
Description of the bug
Reproduction
Happened only once.
Reproduction steps:
- Use rectangular select tool to copy a region
- Create new layer
- Paste.
- There are now 3 layers i.) Floating select ii.) new layer iii.) original layer
- Delete floating select layer
Expected result:
Stable operation.
Actual result:
Segmentation fault.
Additional information
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 0x000000010f0d7bb5 gimp_stack_trace_print + 1509
1 gimp 0x000000010e181356 gimp_eek + 374
2 gimp 0x000000010e1811db gimp_fatal_error + 27
3 gimp 0x000000010e181e9d gimp_sigfatal_handler + 45
4 libsystem_platform.dylib 0x00007fff203d9d7d _sigtramp + 29
5 ??? 0x0000000000000000 0x0 + 0
6 libgobject-2.0.0.dylib 0x000000010fafa5bb g_object_ref + 27
7 gimp 0x000000010e315b3f gimp_dnd_get_viewable_icon + 111
8 gimp 0x000000010e3154e8 gimp_dnd_data_drag_begin + 216
9 libgobject-2.0.0.dylib 0x000000010faf4f1c g_closure_invoke + 204
10 libgobject-2.0.0.dylib 0x000000010fb0be47 signal_emit_unlocked_R + 2007
11 libgobject-2.0.0.dylib 0x000000010fb0cce0 g_signal_emit_valist + 2240
12 libgobject-2.0.0.dylib 0x000000010fb0d693 g_signal_emit_by_name + 419
13 libgtk-quartz-2.0.0.dylib 0x000000010ed592ea gtk_drag_begin_internal + 714
14 libgtk-quartz-2.0.0.dylib 0x000000010ed596e6 gtk_drag_source_event_cb + 166
15 libgtk-quartz-2.0.0.dylib 0x000000010ec01494 _gtk_marshal_BOOLEAN__BOXED + 100
16 libgobject-2.0.0.dylib 0x000000010faf4f1c g_closure_invoke + 204
17 libgobject-2.0.0.dylib 0x000000010fb0bd23 signal_emit_unlocked_R + 1715
18 libgobject-2.0.0.dylib 0x000000010fb0cf57 g_signal_emit_valist + 2871
19 libgobject-2.0.0.dylib 0x000000010fb0d4d2 g_signal_emit + 130
20 libgtk-quartz-2.0.0.dylib 0x000000010ed3c118 gtk_widget_event_internal + 600
21 libgtk-quartz-2.0.0.dylib 0x000000010ebfef42 gtk_propagate_event + 322
22 libgtk-quartz-2.0.0.dylib 0x000000010ebfeb37 gtk_main_do_event + 1255
23 libgdk-quartz-2.0.0.dylib 0x000000010efa57b4 gdk_event_dispatch + 84
24 libglib-2.0.0.dylib 0x000000010fb992a6 g_main_context_dispatch + 326
25 libglib-2.0.0.dylib 0x000000010fb99632 g_main_context_iterate + 514
26 libglib-2.0.0.dylib 0x000000010fb9998f g_main_loop_run + 239
27 gimp 0x000000010e180990 app_run + 1056
28 gimp 0x000000010e183767 main + 1271
29 libdyld.dylib 0x00007fff203b0621 start + 1
30 ??? 0x0000000000000001 0x0 + 1