Gimp crash reordering layers
Environment/Versions
- GIMP version:
- Package:
- Operating System:
Description of the bug
I open a new image (anything) and add a new layer. If in the Layer dialog I drag the new layer to reorder it then Gimp 2.99 crashes. Happens with more layers and any chnage to the stack. If I use Layer > Stack > Lower layer etc it all works as expected.
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Add a new layer to an image
- In the Layer dialog click on the new layer and drag to reorder the stack
…
Expected result: new layer goes to desired position
Actual result: Gimp crashes
Additional information
If you have a backtrace for a crash or a warning, paste it here.
GNU Image Manipulation Program version 2.99.16
git-describe: GIMP_2_99_16
Build: org.gimp.GIMP.flatpak.dev rev 0 for linux
# C compiler #
Using built-in specs.
COLLECT_GCC=/usr/bin/cc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-unknown-linux-gnu/13.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-bootstrapper-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 --with-tune=generic
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 13.2.0 (GCC)
# Libraries #
using babl version 0.1.106 (compiled against version 0.1.106)
using GEGL version 0.4.46 (compiled against version 0.4.46)
using GLib version 2.78.1 (compiled against version 2.78.0)
using GdkPixbuf version 2.42.10 (compiled against version 2.42.10)
using GTK+ version 3.24.38 (compiled against version 3.24.38)
using Pango version 1.51.0 (compiled against version 1.51.0)
using Fontconfig version 2.14.2 (compiled against version 2.14.2)
using Cairo version 1.17.8 (compiled against version 1.17.8)
# Flatpak info #
[Application]
name=org.gimp.GIMP
runtime=runtime/org.gnome.Platform/x86_64/45
[Instance]
instance-id=1601768634
instance-path=/home/jim/.var/app/org.gimp.GIMP
app-path=/home/jim/.local/share/flatpak/app/org.gimp.GIMP/x86_64/beta/57355c0b47cabff3d855442458a02016d648d56fb832065efaf7489c97e300a3/files
app-commit=57355c0b47cabff3d855442458a02016d648d56fb832065efaf7489c97e300a3
runtime-path=/home/jim/.local/share/flatpak/runtime/org.gnome.Platform/x86_64/45/1d2947259cdada54ac757fb46f076d40b60451b0395d050cea45c23e7a80d997/files
runtime-commit=1d2947259cdada54ac757fb46f076d40b60451b0395d050cea45c23e7a80d997
runtime-extensions=org.gnome.Platform.Locale=66a2c417f15974d3154233ad9ac67f8ba7993d2a7634216a7996a505f69b4911;org.freedesktop.Platform.GL.default=dcbdd21fd79e177017339995f82e192ccf329b1b1a1a0588d6fd31b9a0f0e132;org.gtk.Gtk3theme.Yaru=4b1e043544efb4a6d0278a3a2deaede9f6ff61034589bdb380054121aa098952;org.freedesktop.Platform.VAAPI.Intel=6197e42f4e5eeb2aa3836522b5cba3b8ff0f3232591d79299d98839e98d92db1;org.freedesktop.Platform.openh264=bf24f23f3ba385f6e8c9215ed94d979db99814b0b614504a23a6d0751dc5f063;org.freedesktop.Platform.GL.default=508ed21fd9fe5411af27929f028fa4f39886b24103275371f0ec39fed7ff394b
branch=beta
arch=x86_64
flatpak-version=1.14.4
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+0x4be)[0x7f9eb34d749e]
gimp-2.99(+0x2cfc9e)[0x561b64b81c9e]
gimp-2.99(+0x2d02cc)[0x561b64b822cc]
gimp-2.99(+0x2d2f2e)[0x561b64b84f2e]
/usr/lib/x86_64-linux-gnu/libc.so.6(+0x3ee80)[0x7f9eb1920e80]
/usr/lib/x86_64-linux-gnu/libwayland-client.so.0(wl_proxy_get_user_data+0xc)[0x7f9eb0ebd3b9]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x73966)[0x7f9eb1d64966]
/usr/lib/x86_64-linux-gnu/libffi.so.8(+0x9056)[0x7f9eb1570056]
/usr/lib/x86_64-linux-gnu/libffi.so.8(+0x7b5d)[0x7f9eb156eb5d]
/usr/lib/x86_64-linux-gnu/libffi.so.8(ffi_call+0x123)[0x7f9eb156f313]
/usr/lib/x86_64-linux-gnu/libwayland-client.so.0(+0xbd5b)[0x7f9eb0ebfd5b]
/usr/lib/x86_64-linux-gnu/libwayland-client.so.0(+0x8c1c)[0x7f9eb0ebcc1c]
/usr/lib/x86_64-linux-gnu/libwayland-client.so.0(+0x8f02)[0x7f9eb0ebcf02]
/usr/lib/x86_64-linux-gnu/libwayland-client.so.0(wl_display_dispatch_queue_pending+0x35)[0x7f9eb0ebd1d8]
/usr/lib/x86_64-linux-gnu/libwayland-client.so.0(wl_display_dispatch_pending+0x26)[0x7f9eb0ebd240]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x7a730)[0x7f9eb1d6b730]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(gdk_display_get_event+0x47)[0x7f9eb1d2f1a7]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x7a3fe)[0x7f9eb1d6b3fe]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x5ed47)[0x7f9eb2eadd47]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x60e57)[0x7f9eb2eafe57]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x33)[0x7f9eb2eb0513]
/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0(g_application_run+0x17d)[0x7f9eb2c25b1d]
gimp-2.99(app_run+0x1bb)[0x561b64b817ab]
gimp-2.99(main+0x3b7)[0x561b649b2cd7]
/usr/lib/x86_64-linux-gnu/libc.so.6(+0x2808a)[0x7f9eb190a08a]
/usr/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b)[0x7f9eb190a14b]
gimp-2.99(_start+0x25)[0x561b649b2e65]
Edited by Michael Schumacher