Crashing after creating gradient
Environment/Versions
- GIMP version:
- Package:
- Operating System:
Description of the bug
GIMP crashed after creating a custom gradient and then switching to another opened file
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Open an existing file (fileA)
- Open another existing file (fileB)
- While in fileB, press Ctrl+G to view Gradient window
- Create a new gradient
- Created a new gradient with a 5-color blend
- Renamed the new gradient in the gradient window
- Click on fileA
…
Expected result: Switch to fileA with new gradient created
Actual result: GIMP crashes
Additional information
GNU Image Manipulation Program version 2.99.14
git-describe: GIMP_2_99_14
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/12.1.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
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 12.1.0 (GCC)
# Libraries #
using babl version 0.1.98 (compiled against version 0.1.98)
using GEGL version 0.4.40 (compiled against version 0.4.40)
using GLib version 2.74.1 (compiled against version 2.74.0)
using GdkPixbuf version 2.42.9 (compiled against version 2.42.9)
using GTK+ version 3.24.34 (compiled against version 3.24.34)
using Pango version 1.50.11 (compiled against version 1.50.11)
using Fontconfig version 2.14.0 (compiled against version 2.14.0)
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/43
[Instance]
instance-id=2455914267
instance-path=/home/chris/.var/app/org.gimp.GIMP
app-path=/home/chris/.local/share/flatpak/app/org.gimp.GIMP/x86_64/beta/16289170615bc0673e0dbee8a3472e4d191c2f93e90fe87262fda6f2a3097681/files
app-commit=16289170615bc0673e0dbee8a3472e4d191c2f93e90fe87262fda6f2a3097681
runtime-path=/home/chris/.local/share/flatpak/runtime/org.gnome.Platform/x86_64/43/c01cb33cf898efab6b025c9a64480c6dc201ced293de7f49cd126a93659d3d3f/files
runtime-commit=c01cb33cf898efab6b025c9a64480c6dc201ced293de7f49cd126a93659d3d3f
runtime-extensions=org.gnome.Platform.Locale=a34b5bb703ff03fc3619b40c06b92d00e9511c6a289de4b277717b1d21156f49;org.freedesktop.Platform.GL.default=a3b2d7eb081e95c99dd2beafc30dfbe4fd5faef80660048543f1fee188108ab6;org.gtk.Gtk3theme.Yaru=4b1e043544efb4a6d0278a3a2deaede9f6ff61034589bdb380054121aa098952;org.freedesktop.Platform.VAAPI.Intel=1592229303937f77eaf7908941c9b59ae06f8ba0ebe4e2469986e241276fbbe9;org.freedesktop.Platform.openh264=435b1135f46af01c742f7680e92a2ca2b63ef7f5cb6b75030caff3cdd80481a9;org.freedesktop.Platform.GL.default=72e97388da174b6feda564f6c6472de36d424297578d6eaa0ced553219030f71
branch=beta
arch=x86_64
flatpak-version=1.6.5
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+0x427)[0x7f501dc465d7]
gimp-2.99(+0x106414)[0x556d0bdc5414]
gimp-2.99(+0x10683c)[0x556d0bdc583c]
gimp-2.99(+0x10976e)[0x556d0bdc876e]
/usr/lib/x86_64-linux-gnu/libc.so.6(+0x3f0c0)[0x7f501c0dd0c0]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_type_check_instance_cast+0x21)[0x7f501d33c451]
gimp-2.99(+0x238dc6)[0x556d0bef7dc6]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x172)[0x7f501d3164f2]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x2c1e8)[0x7f501d32b1e8]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xf95)[0x7f501d332155]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x93)[0x7f501d332323]
gimp-2.99(+0x28aca0)[0x556d0bf49ca0]
gimp-2.99(+0x4ed63b)[0x556d0c1ac63b]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x172)[0x7f501d3164f2]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x2c1e8)[0x7f501d32b1e8]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xf95)[0x7f501d332155]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x93)[0x7f501d332323]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x23df07)[0x7f501cbd7f07]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0xa6bd7)[0x7f501ca40bd7]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x1770a)[0x7f501d31670a]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x39e)[0x7f501d33155e]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x93)[0x7f501d332323]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x36ce34)[0x7f501cd06e34]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x212510)[0x7f501cbac510]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_main_do_event+0x6e6)[0x7f501cbae086]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x42861)[0x7f501c8cf861]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x9ee9e)[0x7f501c92be9e]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x191)[0x7f501d5e4681]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x5bbd8)[0x7f501d5e4bd8]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x33)[0x7f501d5e4c73]
/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0(g_application_run+0x1ed)[0x7f501d45cbad]
gimp-2.99(app_run+0x1c7)[0x556d0bdc4d87]
gimp-2.99(main+0x3a7)[0x556d0bdc2327]
/usr/lib/x86_64-linux-gnu/libc.so.6(+0x2954a)[0x7f501c0c754a]
/usr/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b)[0x7f501c0c760b]
gimp-2.99(_start+0x25)[0x556d0bdc2485]