Very big font size -> Segment Fault
GIMP version: 2.10.0
Operating System: Debian 9 Mate
Package: flatpak
Description of the bug
Created a text, change it font to Arial, put mouse cursor above size value, move down wheel a lot: CRASH.
Reproduction
GIMP recovered the file and font size was > 5000px. I move wheel again... and it crashed again. But I tried to do it again from scratch and I couldn't reproduce it.
I think the problem is with very big font sizes. It seems that GIMP can't handle it... and dies.
Additional information
GNU Image Manipulation Program version 2.10.0
git-describe: GIMP_2_10_0
C compiler:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-unknown-linux/6.2.0/lto-wrapper
Target: x86_64-unknown-linux
Configured with: ../../../../../../work-shared/gcc-6.2.0-r0/gcc-6.2.0/configure --build=x86_64-linux --host=x86_64-unknown-linux --target=x86_64-unknown-linux --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot=/srv/sdkbuilder/work/build/x86_64/freedesktop-sdk-base-1-6/build/x86_64/tmp-glibc/sysroots/qemux86-64 --with-gnu-ld --enable-shared --enable-languages=c,c++ --enable-threads=posix --enable-multilib --enable-c99 --enable-long-long --enable-symvers=gnu --enable-libstdcxx-pch --program-prefix=x86_64-unknown-linux- --without-local-prefix --enable-lto --enable-libssp --enable-libitm --disable-bootstrap --disable-libmudflap --with-system-zlib --with-linker-hash-style=gnu --enable-linker-build-id --with-ppl=no --with-cloog=no --enable-checking=release --enable-cheaders=c_global --without-isl --with-sysroot=/ --with-build-sysroot=/srv/sdkbuilder/work/build/x86_64/freedesktop-sdk-base-1-6/build/x86_64/tmp-glibc/sysroots/qemux86-64 --with-gxx-include-dir=/usr/include/c++/6.2.0 --without-long-double-128 --enable-nls --enable-initfini-array --enable-__cxa_atexit
Thread model: posix
gcc version 6.2.0 (GCC)
using GEGL version 0.4.0 (compiled against version 0.4.0)
using GLib version 2.56.1 (compiled against version 2.56.1)
using GdkPixbuf version 2.36.9 (compiled against version 2.36.9)
using GTK+ version 2.24.32 (compiled against version 2.24.32)
using Pango version 1.40.12 (compiled against version 1.40.12)
using Fontconfig version 2.13.0 (compiled against version 2.13.0)
using Cairo version 1.15.10 (compiled against version 1.15.10)
> fatal error: Segmentation fault
Stack trace:
/app/lib/libgimpbase-2.0.so.0(gimp_stack_trace_print+0x9b)[0x7fdc536537fb]
gimp-2.10[0x4966b3]
gimp-2.10[0x496c46]
gimp-2.10[0x497337]
/lib/libpthread.so.0[0x3154211800]
/app/lib/babl-0.1/cairo.so(+0x9a8)[0x7fdc4a2fb9a8]
/app/lib/libbabl-0.1.so.0(+0x6ce3)[0x7fdc511c9ce3]
/app/lib/libbabl-0.1.so.0(babl_process+0x16)[0x7fdc511cb036]
/app/lib/libgegl-0.4.so.0(+0x39b3b)[0x7fdc51e5cb3b]
/app/lib/libgegl-0.4.so.0(+0x3c2cd)[0x7fdc51e5f2cd]
/app/lib/libgegl-0.4.so.0(+0x3d7ec)[0x7fdc51e607ec]
/app/lib/libgegl-0.4.so.0(gegl_buffer_copy+0x123)[0x7fdc51e61c63]
gimp-2.10[0x7d6657]
/lib/libgobject-2.0.so.0(g_closure_invoke+0x145)[0x7fdc50422475]
/lib/libgobject-2.0.so.0(+0x21c72)[0x7fdc50434c72]
/lib/libgobject-2.0.so.0(g_signal_emit_valist+0xe48)[0x7fdc5043d738]
/lib/libgobject-2.0.so.0(g_signal_emit+0x8f)[0x7fdc5043db1f]
/lib/libgobject-2.0.so.0(+0x13346)[0x7fdc50426346]
/lib/libgobject-2.0.so.0(g_object_thaw_notify+0x7b)[0x7fdc5042904b]
gimp-2.10[0x52cb98]
gimp-2.10(gimp_text_tool_apply+0x263)[0x52e1e3]
/lib/libglib-2.0.so.0(g_main_context_dispatch+0x15a)[0x7fdc5014696a]
/lib/libglib-2.0.so.0(+0x4bd28)[0x7fdc50146d28]
/lib/libglib-2.0.so.0(g_main_loop_run+0xc2)[0x7fdc50147052]
gimp-2.10(app_run+0x2f5)[0x496125]
gimp-2.10(main+0x2e0)[0x495a40]
/lib/libc.so.6(__libc_start_main+0xf1)[0x3153a20291]
gimp-2.10(_start+0x2a)[0x495c0a]
Edited by lillolollo