Crashes when dragging layers between two image files.
Environment/Versions
Fedora 36 Gimp Beta 2.99.10
GNU Image Manipulation Program version 2.99.10
git-describe: GIMP_2_99_10
Build: org.gimp.GIMP.flatpak.dev rev 0 for linux
# C compiler #
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-unknown-linux-gnu/11.2.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --enable-deterministic-archives --enable-shared --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu lt_cv_sys_lib_dlsearch_path_spec=/usr/lib/x86_64-linux-gnu --target=x86_64-unknown-linux-gnu --disable-multilib --enable-multiarch --disable-bootstrap --with-build-sysroot=/cross-installation --enable-languages=c,c++,fortran,objc,obj-c++ --enable-default-pie --enable-default-ssp --with-isl --disable-libssp --enable-linker-build-id --disable-libstdcxx-filesystem-ts --enable-cet host_configargs=lt_cv_sys_lib_dlsearch_path_spec=/usr/lib/x86_64-linux-gnu target_configargs=lt_cv_sys_lib_dlsearch_path_spec=/usr/lib/x86_64-linux-gnu
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 11.2.0 (GCC)
# Libraries #
using babl version 0.1.92 (compiled against version 0.1.92)
using GEGL version 0.4.36 (compiled against version 0.4.36)
using GLib version 2.72.3 (compiled against version 2.72.0)
using GdkPixbuf version 2.42.8 (compiled against version 2.42.8)
using GTK+ version 3.24.34 (compiled against version 3.24.33)
using Pango version 1.50.8 (compiled against version 1.50.6)
using Fontconfig version 2.13.1 (compiled against version 2.13.1)
using Cairo version 1.17.6 (compiled against version 1.17.6)
# Flatpak info #
[Application]
name=org.gimp.GIMP
runtime=runtime/org.gnome.Platform/x86_64/42
[Instance]
instance-id=892223872
instance-path=/home/nimbin/.var/app/org.gimp.GIMP
app-path=/var/lib/flatpak/app/org.gimp.GIMP/x86_64/beta/2ba0fec478bd18c8b39686495dcad594b97a4edeb908fa23985d05629f169969/files
app-commit=2ba0fec478bd18c8b39686495dcad594b97a4edeb908fa23985d05629f169969
runtime-path=/var/lib/flatpak/runtime/org.gnome.Platform/x86_64/42/472b0f1f1b9d70b8e146872471c025bd1f8f04159ac48f36c0d56fbbc47f0a2e/files
runtime-commit=472b0f1f1b9d70b8e146872471c025bd1f8f04159ac48f36c0d56fbbc47f0a2e
runtime-extensions=org.gnome.Platform.Locale=0410f7cba8fd2070a5ea777efbbf549599df4b9740defae0ae9a89e11b35ec06;org.freedesktop.Platform.GL.default=c8f81b502d8a867a532896330988485f68e94a2cbb4c26ae98b1b2811b566f7e;org.gtk.Gtk3theme.Adwaita-dark=7c055bbc0667524f34ca715abd67473480de93a176797a8fe4b7f7a71c4e3324;org.freedesktop.Platform.VAAPI.Intel=220a09d5db7ea43c8dad1d3f6ab564832ebaf3201650ba03820d2848215894b3;org.freedesktop.Platform.openh264=73f998362a6fc0d57e0c7e83e928d32b0ec14d10d0d94291033976bdcecc6b6b
branch=beta
arch=x86_64
flatpak-version=1.12.7
session-bus-proxy=true
system-bus-proxy=true
[Context]
shared=network;ipc;
sockets=x11;wayland;fallback-x11;
devices=dri;
filesystems=xdg-config/GIMP;xdg-config/gtk-3.0;/tmp;xdg-run/gvfsd;host;xdg-run/gvfs;
[Session Bus Policy]
org.kde.kwin.Screenshot=talk
org.gtk.vfs.*=talk
org.gnome.Shell.Screenshot=talk
org.freedesktop.FileManager1=talk
[Environment]
ALSA_CONFIG_PATH=/usr/share/alsa/alsa-flatpak.conf
GI_TYPELIB_PATH=/app/lib/girepository-1.0
GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0:/usr/lib/extensions/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/gstreamer-1.0
XDG_DATA_DIRS=/app/share:/usr/share:/usr/share/runtime/share:/run/host/user-share:/run/host/share
ALSA_CONFIG_DIR=/usr/share/alsa
__EGL_EXTERNAL_PLATFORM_CONFIG_DIRS=/etc/egl/egl_external_platform.d:/usr/lib/x86_64-linux-gnu/GL/egl/egl_external_platform.d:/usr/share/egl/egl_external_platform.d
fatal error: Segmentation fault
Stack trace:
/app/lib/libgimpbase-3.0.so.0(gimp_stack_trace_print+0x417)[0x7fda09b2d4f7]
gimp-2.99(+0x101c44)[0x55a5df73dc44]
gimp-2.99(+0x10206c)[0x55a5df73e06c]
gimp-2.99(+0x1026ce)[0x55a5df73e6ce]
/usr/lib/x86_64-linux-gnu/libpthread.so.0(+0x12e60)[0x7fda093ade60]
/usr/lib/x86_64-linux-gnu/libwayland-client.so.0(wl_proxy_get_user_data+0x4)[0x7fda085eab84]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x6e1bd)[0x7fda09c0e1bd]
/usr/lib/x86_64-linux-gnu/libffi.so.7(+0x6fe5)[0x7fda07df0fe5]
/usr/lib/x86_64-linux-gnu/libffi.so.7(+0x63f6)[0x7fda07df03f6]
/usr/lib/x86_64-linux-gnu/libwayland-client.so.0(+0xad42)[0x7fda085ecd42]
/usr/lib/x86_64-linux-gnu/libwayland-client.so.0(+0x6e9a)[0x7fda085e8e9a]
/usr/lib/x86_64-linux-gnu/libwayland-client.so.0(wl_display_dispatch_queue_pending+0x7c)[0x7fda085ea85c]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x78c14)[0x7fda09c18c14]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(gdk_display_get_event+0x47)[0x7fda09bdcf17]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x788af)[0x7fda09c188af]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x19b)[0x7fda0901ecdb]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x5a1e8)[0x7fda0901f1e8]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x83)[0x7fda0901f503]
gimp-2.99(app_run+0x2e7)[0x55a5df73d3c7]
gimp-2.99(main+0x399)[0x55a5df73cd19]
/usr/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7fda08ba4b80]
gimp-2.99(_start+0x2e)[0x55a5df73ce9e]
Description of the bug
I'm working on a fairly large image with 130 some layers and have a similar image that is sorta identical. Rather than do double work the plan is to make most of the changes in one file and then drag the similar layers from one file to the other. In this case 111 layers. Upon doing so Gimp crashes.
Reproduction
Is the bug reproducible? Always.
Reproduction steps:
- Have 111 some layers that you wish to drag from one open xfl file to another.
- Select all layers and drag.
- Before even reaching the other file in the top bar Gimp crashes with a fatal error.
…
Expected result: All layers would be dragged and appear in the other xcf image file.
Actual result: Gimp crashed when selecting all layers and then started dragging.
Additional information
If you have a backtrace for a crash or a warning, paste it here.