Bug#1020682: GIMP - segfaults using Text tool on large XCF/JPG image; gimp unstable thereafter; corrupting the gimp config?
Michael Murphy
michael at cluck.org.uk
Sun Sep 25 10:07:01 BST 2022
Package: gimp
Version: 2.10.32-1+b1
GIMP segfaults using Text tool on a large image (5421px * 7016px). Image
format seems to be irrelevant. Segfaults with both RGB 8-bit XCF and JPG.
Crash occurs when resizing the Text window, or just when typing text
into the Text window.
Repeatable on two separate machines, one machine had a completely fresh
Debian install including GIMP
After the segfault crash, GIMP is left unstable and now crashes when
Text tool is used on any image, large or small.
At a guess, something in the GIMP configuration file(s) has been
corrupted by the segfault.
<!-- Copy-paste this whole debug data to report to developers -->
```
GNU Image Manipulation Program version 2.10.32
git-describe: GIMP_2_10_32
Build: unknown rev 0 for linux
# C compiler #
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/12/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian
12.1.0-8' --with-bugurl=file:///usr/share/doc/gcc-12/README.Bugs
--enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr
--with-gcc-major-version-only --program-suffix=-12
--program-prefix=x86_64-linux-gnu- --enable-shared
--enable-linker-build-id --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --libdir=/usr/lib
--enable-nls --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new
--enable-gnu-unique-object --disable-vtable-verify --enable-plugin
--enable-default-pie --with-system-zlib
--enable-libphobos-checking=release --with-target-system-zlib=auto
--enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet
--with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32
--enable-multilib --with-tune=generic
--enable-offload-targets=nvptx-none=/build/gcc-12-WXbu70/gcc-12-12.1.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-12-WXbu70/gcc-12-12.1.0/debian/tmp-gcn/usr
--enable-offload-defaulted --without-cuda-driver
--enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.1.0 (Debian 12.1.0-8)
# Libraries #
using babl version 0.1.96 (compiled against version 0.1.92)
using GEGL version 0.4.38 (compiled against version 0.4.38)
using GLib version 2.73.3 (compiled against version 2.72.3)
using GdkPixbuf version 2.42.9 (compiled against version 2.42.9)
using GTK+ version 2.24.33 (compiled against version 2.24.33)
using Pango version 1.50.9 (compiled against version 1.50.9)
using Fontconfig version 2.13.1 (compiled against version 2.13.1)
using Cairo version 1.16.0 (compiled against version 1.16.0)
```
> fatal error: Segmentation fault
Stack trace:
```
/usr/lib/x86_64-linux-gnu/libgimpbase-2.0.so.0(gimp_stack_trace_print+0x3e8)[0x7ff464ad6638]
gimp-2.10(+0xdcd1f)[0x56476f936d1f]
gimp-2.10(+0xdd0f8)[0x56476f9370f8]
gimp-2.10(+0xdd749)[0x56476f937749]
/lib/x86_64-linux-gnu/libc.so.6(+0x3daf0)[0x7ff46383daf0]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x25103)[0x7ff463d09103]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x1b6d8)[0x7ff463cff6d8]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x1bf5a)[0x7ff463cfff5a]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_new_with_properties+0x194)[0x7ff463d013f4]
gimp-2.10(gimp_image_undo_push+0x1a7)[0x56476fcb4787]
gimp-2.10(gimp_image_undo_push_text_layer+0x104)[0x56476fcb7344]
gimp-2.10(gimp_text_tool_apply+0x103)[0x56476f9e6e93]
gimp-2.10(+0x18d3b6)[0x56476f9e73b6]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x160)[0x7ff463cfa500]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x29b36)[0x7ff463d0db36]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xf35)[0x7ff463d146b5]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x8f)[0x7ff463d1487f]
gimp-2.10(+0x20d86a)[0x56476fa6786a]
gimp-2.10(+0x18c269)[0x56476f9e6269]
gimp-2.10(gimp_tool_button_release+0x191)[0x56476f9f07d1]
gimp-2.10(+0x1e8cc4)[0x56476fa42cc4]
gimp-2.10(gimp_display_shell_canvas_tool_events+0x79)[0x56476fa43139]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x1391ab)[0x7ff4647391ab]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x160)[0x7ff463cfa500]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x29b36)[0x7ff463d0db36]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x76d)[0x7ff463d13eed]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x8f)[0x7ff463d1487f]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x258fe4)[0x7ff464858fe4]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_propagate_event+0xa4)[0x7ff4647377d4]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_main_do_event+0x36b)[0x7ff464737c4b]
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0(+0x5fafc)[0x7ff464b9bafc]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x299)[0x7ff463c02729]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x549b8)[0x7ff463c029b8]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x6f)[0x7ff463c02c6f]
gimp-2.10(app_run+0x351)[0x56476f9364e1]
gimp-2.10(main+0x35f)[0x56476f935ddf]
/lib/x86_64-linux-gnu/libc.so.6(+0x2920a)[0x7ff46382920a]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x7c)[0x7ff4638292bc]
gimp-2.10(_start+0x21)[0x56476f935f61]
```
-------------- next part --------------
An embedded message was scrubbed...
From: Michael Murphy <michael at cluck.org.uk>
Subject: segfault using Text tool on large XCF/JPG image; gimp unstable thereafter; corrupting the gimp config?
Date: Sun, 25 Sep 2022 09:59:41 +0100
Size: 8525
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20220925/0f8624ea/attachment.eml>
More information about the pkg-gnome-maintainers
mailing list