GIMP-CRITICAL: gimp_text_tool_apply: assertion 'text_tool->text != NULL' failed
GIMP version: GNU Image Manipulation Program version 2.10.8
Operating System: Linux Mint 19 Cinnamon (Linux Kernel: 4.15.0-45-generic)
Package: flatpak
Description of the bug
From the menu (Filters>Light and Shadow>Drop Shadow...) I gave some text a drop shadow. This turned the text into a sudo-image. Then using the Text Tool click on that same text box. It asks if I want to edit the text or make a new layer. I chose cancel. The text box is still selected, so when I attempt to move any border of that box GIMP throws up the error.
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Give some text a drop shadow
- Using Text Tool, click on that same text box
- Window pops up asking to [Make new layer] [Cancel] or [Edit] the text. Click [Cancel]
- The text box is still selected, resize any edge.
- Error is thrown
…
Expected result: resize box
Actual result: error popped
Additional information
GNU Image Manipulation Program version 2.10.8
git-describe: GIMP_2_10_8
C compiler:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-unknown-linux/6.4.0/lto-wrapper
Target: x86_64-unknown-linux
Configured with: ../../../../../../work-shared/gcc-6.4.0-r0/gcc-6.4.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/buildbot/worker/build-x86_64-4/org.freedesktop.BaseSdk__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/buildbot/worker/build-x86_64-4/org.freedesktop.BaseSdk__1.6/build/x86_64/tmp-glibc/sysroots/qemux86-64 --with-gxx-include-dir=/usr/include/c++/6.4.0 --without-long-double-128 --enable-nls --enable-initfini-array --enable-__cxa_atexit
Thread model: posix
gcc version 6.4.0 (GCC)
using GEGL version 0.4.12 (compiled against version 0.4.12)
using GLib version 2.56.2 (compiled against version 2.56.2)
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.14 (compiled against version 1.40.14)
using Fontconfig version 2.13.0 (compiled against version 2.13.0)
using Cairo version 1.15.10 (compiled against version 1.15.10)
GIMP-CRITICAL: gimp_text_tool_apply: assertion 'text_tool->text != NULL' failed
Stack trace:
/app/lib/libgimpbase-2.0.so.0(gimp_stack_trace_print+0x277) [0x7fa6d9babc77]
gimp-2.10(gui_message+0x2c9) [0x4a2789]
gimp-2.10(gimp_show_message+0xd0) [0x72a960]
gimp-2.10() [0x499197]
/lib/libglib-2.0.so.0(g_logv+0x1e4) [0x7fa6d66657c4]
/lib/libglib-2.0.so.0(g_log+0x8f) [0x7fa6d66659cf]
gimp-2.10() [0x532451]
/lib/libgobject-2.0.so.0(g_closure_invoke+0x145) [0x7fa6d69395f5]
/lib/libgobject-2.0.so.0(+0x21ee2) [0x7fa6d694bee2]
/lib/libgobject-2.0.so.0(g_signal_emit_valist+0xe48) [0x7fa6d69549b8]
/lib/libgobject-2.0.so.0(g_signal_emit+0x8f) [0x7fa6d6954d9f]
gimp-2.10() [0x59bf4e]
gimp-2.10() [0x5318a9]
gimp-2.10(gimp_tool_button_release+0x18f) [0x53b2ff]
gimp-2.10() [0x57c91f]
gimp-2.10(gimp_display_shell_canvas_tool_events+0x63) [0x57cd83]
/lib/libgtk-x11-2.0.so.0(+0x12ec4c) [0x7fa6dae0cc4c]
/lib/libgobject-2.0.so.0(g_closure_invoke+0x145) [0x7fa6d69395f5]
/lib/libgobject-2.0.so.0(+0x21ee2) [0x7fa6d694bee2]
/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8e7) [0x7fa6d6954457]
/lib/libgobject-2.0.so.0(g_signal_emit+0x8f) [0x7fa6d6954d9f]
/lib/libgtk-x11-2.0.so.0(+0x24747c) [0x7fa6daf2547c]
/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0xc4) [0x7fa6dae0af14]
/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x2cb) [0x7fa6dae0b2cb]
/lib/libgdk-x11-2.0.so.0(+0x59c4c) [0x7fa6daa83c4c]
/lib/libglib-2.0.so.0(g_main_context_dispatch+0x2a7) [0x7fa6d665eae7]
/lib/libglib-2.0.so.0(+0x4bd58) [0x7fa6d665ed58]
/lib/libglib-2.0.so.0(g_main_loop_run+0xc2) [0x7fa6d665f082]
gimp-2.10(app_run+0x32a) [0x498dda]
gimp-2.10(main+0x2e0) [0x4986b0]
/lib/libc.so.6(__libc_start_main+0xf1) [0x35a1c20291]
gimp-2.10(_start+0x2a) [0x49887a]