Adjusting the Y coordinates of a drop shadow will crash GIMP
GIMP version: 2.10.14
Operating System: Manjaro Linux
Package: [Arch Extra Repo, GIMP ver 2.10.14-1]
Description of the bug
GIMP will crash when adjusting the Y coordinates of a drop shadow separately from the X coordinate, especially on tiny images.
Reproduction
Is the bug reproducible? Always / Randomly (It can take around 10 seconds to crash)
Reproduction steps:
- Create a new image with size of 32 by 32 px (it can be larger as well, I've gotten it to crash with 128 but it took longer) and in the advanced settings, set it to fill the background with transparency
- Add a Drop Shadow under Filters>Light and Shadow>Drop Shadow
- Unlink the X and Y coordinates by clicking the chain, and slide the Y coordinate slider around until it crashes. It shouldn't take more than 15 seconds.
- Profit
Expected result: Moves the preview of the drop shadow
Actual result: Crashes GIMP
Additional information
If you have a backtrace for a crash or a warning, paste it here.
Here's what it gave me when it crashed
GNU Image Manipulation Program version 2.10.14
git-describe: GIMP_2_10_12-511-ga4f55d6c7e
C compiler:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --enable-shared --enable-threads=posix --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp --enable-cet=auto gdc_include_dir=/usr/include/dlang/gdc
Thread model: posix
gcc version 9.2.0 (GCC)
using babl version 0.1.72 (compiled against version 0.1.72)
using GEGL version 0.4.18 (compiled against version 0.4.18)
using GLib version 2.62.2 (compiled against version 2.62.2)
using GdkPixbuf version 2.40.0 (compiled against version 2.40.0)
using GTK+ version 2.24.32 (compiled against version 2.24.32)
using Pango version 1.44.7 (compiled against version 1.44.7)
using Fontconfig version 2.13.1 (compiled against version 2.13.91)
using Cairo version 1.17.3 (compiled against version 1.17.3)
fatal error: Segmentation fault
Stack trace:
/usr/lib/libgimpbase-2.0.so.0(gimp_stack_trace_print+0x3b9)[0x7fdd304433e9]
gimp-2.10(+0xcb4c0)[0x55ee2ac934c0]
gimp-2.10(+0xcb918)[0x55ee2ac93918]
gimp-2.10(+0xcbfab)[0x55ee2ac93fab]
/usr/lib/libpthread.so.0(+0x14930)[0x7fdd2ee7a930]
/usr/lib/libgegl-0.4.so.0(gegl_buffer_cl_cache_flush2+0x60)[0x7fdd2f5ebf00]
/usr/lib/libgegl-0.4.so.0(+0x44a6f)[0x7fdd2f5fda6f]
/usr/lib/libgegl-0.4.so.0(+0x4720a)[0x7fdd2f60020a]
/usr/lib/libgegl-0.4.so.0(+0x4562c)[0x7fdd2f5fe62c]
/usr/lib/libgegl-0.4.so.0(+0x578bc)[0x7fdd2f6108bc]
/usr/lib/libgegl-0.4.so.0(+0x6bd84)[0x7fdd2f624d84]
/usr/lib/libgegl-0.4.so.0(+0x5a922)[0x7fdd2f613922]
/usr/lib/libgegl-0.4.so.0(+0x60717)[0x7fdd2f619717]
/usr/lib/libgegl-0.4.so.0(gegl_buffer_copy+0x1b3)[0x7fdd2f619903]
/usr/lib/gegl-0.4/gegl-core.so(+0x7b78)[0x7fdd2bcbeb78]
/usr/lib/libgegl-0.4.so.0(+0x2f940)[0x7fdd2f5e8940]
/usr/lib/libgegl-0.4.so.0(+0x785ff)[0x7fdd2f6315ff]
/usr/lib/libgegl-0.4.so.0(+0x7882c)[0x7fdd2f63182c]
/usr/lib/libglib-2.0.so.0(+0x48c11)[0x7fdd2f016c11]
/usr/lib/libpthread.so.0(+0x94cf)[0x7fdd2ee6f4cf]
/usr/lib/libc.so.6(clone+0x43)[0x7fdd2ed9c2d3]
if I missed something, let me know. I'm new to reporting bugs
Edited by Walter Broemeling