Fatal crash when adding blur effect to selection
Environment/Versions
- GIMP version:
- Package:
- Operating System:
Description of the bug
Was adding some blur effect to some text stroke and suddenly Gimp crashed. The entire Gimp file was around 8-900mb in size due to the many layers and the overall size of the canvas.
Reproduction
Is the bug reproducible? So far only once.
Reproduction steps:
- Work on a big picture so the entire Gimp file is around 8-900mb.
- Add text.
- Then select text and create path from selection after growing it with 3px.
- Then add blur effect to the selection and Gimp might crash.
…
Expected result: Not crashing.
Actual result: Crashing.
Additional information
If you have a backtrace for a crash or a warning, paste it here.
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=1081733463
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: Floating point exception
Stack trace:
/app/lib/libgimpbase-3.0.so.0(gimp_stack_trace_print+0x417)[0x7f3546a784f7]
gimp-2.99(+0x101c44)[0x560ee7a3fc44]
gimp-2.99(+0x10206c)[0x560ee7a4006c]
gimp-2.99(+0x1026ce)[0x560ee7a406ce]
/usr/lib/x86_64-linux-gnu/libpthread.so.0(+0x12e60)[0x7f35462f8e60]
/app/lib/gegl-0.4/gegl-common-cxx.so(+0x8d04)[0x7f3518cd6d04]
/app/lib/gegl-0.4/gegl-common-cxx.so(+0x9468)[0x7f3518cd7468]
/app/lib/libgegl-0.4.so.0(+0x860ff)[0x7f35465770ff]
/app/lib/libgegl-0.4.so.0(+0x2c86e)[0x7f354651d86e]
/app/lib/libgegl-0.4.so.0(+0x2c75b)[0x7f354651d75b]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x86319)[0x7f3545f96319]
/usr/lib/x86_64-linux-gnu/libpthread.so.0(+0x83ba)[0x7f35462ee3ba]
/usr/lib/x86_64-linux-gnu/libc.so.6(clone+0x43)[0x7f3545bcf7a3]
+0x1f0)[0x7f354657e410]
/app/lib/libgegl-0.4.so.0(gegl_graph_process+0x14e)[0x7f35465808ae]
/app/lib/libgegl-0.4.so.0(gegl_eval_manager_apply+0x10d)[0x7f354657f92d]
/app/lib/libgegl-0.4.so.0(gegl_node_blit_buffer+0x5e)[0x7f3546565d3e]
gimp-2.99(gimp_tile_handler_validate_validate+0x101)[0x560ee7eb18b1]
gimp-2.99(+0x4db121)[0x560ee7e19121]
gimp-2.99(+0x4db1db)[0x560ee7e191db]
gimp-2.99(+0x4db225)[0x560ee7e19225]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x19b)[0x7f3545f69cdb]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x5a1e8)[0x7f3545f6a1e8]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x83)[0x7f3545f6a503]
gimp-2.99(app_run+0x2e7)[0x560ee7a3f3c7]
gimp-2.99(main+0x399)[0x560ee7a3ed19]
/usr/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f3545aefb80]
gimp-2.99(_start+0x2e)[0x560ee7a3ee9e]