Crash when deleting Script-Fu created image
Environment/Versions
- GIMP version:2.99.14
- Package: flatpak
- Operating System: Linux
Description of the bug
Crash when deleting an image created with Script-Fu
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Start Gimp
- Run (gimp-image-new 64 64 RGB) in the script-fu console
- Delete the image in the images dockable, right-click, delete, should crash at that point.
Additional information
Option to delete an image is disabled for UI created images.
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 --with-tune=generic --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 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.6 (compiled against version 2.74.4)
using GdkPixbuf version 2.42.10 (compiled against version 2.42.10)
using GTK+ version 3.24.37 (compiled against version 3.24.36)
using Pango version 1.50.14 (compiled against version 1.50.12)
using Fontconfig version 2.14.1 (compiled against version 2.14.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/43
[Instance]
instance-id=743346084
instance-path=/home/mark/.var/app/org.gimp.GIMP
app-path=/var/lib/flatpak/app/org.gimp.GIMP/x86_64/beta/3c84bbac181fab9a0170406a061b516a402c0f8ded49837f8263749fe0313865/files
app-commit=3c84bbac181fab9a0170406a061b516a402c0f8ded49837f8263749fe0313865
runtime-path=/var/lib/flatpak/runtime/org.gnome.Platform/x86_64/43/7b401f1224aa517e8abcf40c3c99e9a9a669ac8b7568674ba5de32e5a7b6ecc7/files
runtime-commit=7b401f1224aa517e8abcf40c3c99e9a9a669ac8b7568674ba5de32e5a7b6ecc7
runtime-extensions=org.gnome.Platform.Locale=917d8cf043a98b5f45707fffc2962eb22bf600197a3b07f5b989e1266c55dc87;org.freedesktop.Platform.GL.default=1bbf632d2739210cb50bddcd1844c0ad33926068790b048546e9e8b983ba307a;org.gtk.Gtk3theme.Mint-Y-Aqua=9c336849990dc1eacfa7b29db414bdc30e7b919040ac5f38826bc7747904e30d;org.gtk.Gtk3theme.Mint-Y-Dark-Grey=fc7d5050e1f828ace529d570ea20e044cdb54f3152b3a8e1b04aecdd40f72e33;org.freedesktop.Platform.VAAPI.Intel=601730e8e63a0687a10b388f5180f41ac1b3ed5a958f4b72b7aa61c334a54f18;org.freedesktop.Platform.openh264=bf24f23f3ba385f6e8c9215ed94d979db99814b0b614504a23a6d0751dc5f063;org.freedesktop.Platform.GL.default=87220a5fe19b979e65651eb6eb25719701392e1702f41d81980046a62ff527b3
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+0x427)[0x7f9a7871e5d7]
gimp-2.99(+0x106404)[0x55b1f798f404]
gimp-2.99(+0x10682c)[0x55b1f798f82c]
gimp-2.99(+0x10976e)[0x55b1f799276e]
/usr/lib/x86_64-linux-gnu/libc.so.6(+0x3f0c0)[0x7f9a76a3f0c0]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_type_check_instance+0x1d)[0x7f9a7851aafd]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_handlers_disconnect_matched+0x2c)[0x7f9a7850e8ac]
gimp-2.99(+0x25aaa5)[0x55b1f7ae3aa5]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x172)[0x7f9a784f44f2]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x2c1e8)[0x7f9a785091e8]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xf95)[0x7f9a78510195]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x93)[0x7f9a78510363]
gimp-2.99(+0x28ad80)[0x55b1f7b13d80]
gimp-2.99(gimp_display_shell_events+0x109)[0x55b1f7db4489]
gimp-2.99(gimp_display_shell_canvas_tool_events+0xb1)[0x55b1f7db4631]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0xa6afe)[0x7f9a774a6afe]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x172)[0x7f9a784f44f2]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x2c1e8)[0x7f9a785091e8]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x8c6)[0x7f9a7850fac6]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x93)[0x7f9a78510363]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x36d994)[0x7f9a7776d994]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x212d70)[0x7f9a77612d70]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_main_do_event+0x6e6)[0x7f9a776148e6]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x42bc1)[0x7f9a77334bc1]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x9fd2e)[0x7f9a77391d2e]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x191)[0x7f9a7801b681]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x5bbd8)[0x7f9a7801bbd8]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x33)[0x7f9a7801bc73]
/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0(g_application_run+0x1ed)[0x7f9a77ebfd1d]
gimp-2.99(app_run+0x1c7)[0x55b1f798ed77]
gimp-2.99(main+0x3a7)[0x55b1f798c317]
/usr/lib/x86_64-linux-gnu/libc.so.6(+0x2954a)[0x7f9a76a2954a]
/usr/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b)[0x7f9a76a2960b]
gimp-2.99(_start+0x25)[0x55b1f798c475]
Edited by Michael Schumacher