FS#76429 - [gimp] crashes while deleting text from text field.

Attached to Project: Arch Linux
Opened by Antoni Przybylik (ANTONI) - Saturday, 05 November 2022, 11:24 GMT
Last edited by Toolybird (Toolybird) - Monday, 05 December 2022, 20:55 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Package version: gimp-2.10.32-2
Glibc version: glibc-2.36-6

Description:

Gimp crashes when you insert new text field, write something in it, and then hit backspace a couple of times to remove all the text. I tried it three times and it always ended with crash, so, probably, this is it.

Steps to reproduce:

In description.

Bug report:

<!-- 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-pc-linux-gnu/12.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.2.0 (GCC)

# Libraries #
using babl version 0.1.96 (compiled against version 0.1.96)
using GEGL version 0.4.38 (compiled against version 0.4.38)
using GLib version 2.74.0 (compiled against version 2.74.0)
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.10 (compiled against version 1.50.10)
using Fontconfig version 2.14.0 (compiled against version 2.14.0)
using Cairo version 1.17.6 (compiled against version 1.17.6)

```
> fatal error: Naruszenie ochrony pamięci

Stack trace:
```

# Stack traces obtained from PID 222926 - Thread 222926 #


This GDB supports auto-downloading debuginfo from the following URLs:
https://debuginfod.archlinux.org
Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[New LWP 222935]
[New LWP 222936]
[New LWP 222937]
[New LWP 222943]
[New LWP 222945]
[New LWP 222953]
[New LWP 223300]
[New LWP 223943]
[New LWP 223995]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x00007f17694bac77 in ?? () from /usr/lib/libc.so.6
Id Target Id Frame
* 1 Thread 0x7f176853ed00 (LWP 222926) "gimp" 0x00007f17694bac77 in ?? () from /usr/lib/libc.so.6
2 Thread 0x7f17678a46c0 (LWP 222935) "worker" 0x00007f176952859d in syscall () from /usr/lib/libc.so.6
3 Thread 0x7f17670a36c0 (LWP 222936) "worker" 0x00007f176952859d in syscall () from /usr/lib/libc.so.6
4 Thread 0x7f17668a26c0 (LWP 222937) "worker" 0x00007f176952859d in syscall () from /usr/lib/libc.so.6
5 Thread 0x7f1765f516c0 (LWP 222943) "gmain" 0x00007f1769522e5f in poll () from /usr/lib/libc.so.6
6 Thread 0x7f17657506c0 (LWP 222945) "gdbus" 0x00007f1769522e5f in poll () from /usr/lib/libc.so.6
7 Thread 0x7f174b3ff6c0 (LWP 222953) "async" 0x00007f176952859d in syscall () from /usr/lib/libc.so.6
8 Thread 0x7f174a3fd6c0 (LWP 223300) "threaded-ml" 0x00007f1769522e5f in poll () from /usr/lib/libc.so.6
9 Thread 0x7f173adfe6c0 (LWP 223943) "pool-gimp" 0x00007f176952859d in syscall () from /usr/lib/libc.so.6
10 Thread 0x7f1707ffe6c0 (LWP 223995) "swap writer" 0x00007f176952859d in syscall () from /usr/lib/libc.so.6

Thread 10 (Thread 0x7f1707ffe6c0 (LWP 223995) "swap writer"):
#0 0x00007f176952859d in syscall () at /usr/lib/libc.so.6
#1 0x00007f17697d8b15 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x00007f1769d649ca in () at /usr/lib/libgegl-0.4.so.0
#3 0x00007f17697b5c55 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007f17694ae74d in () at /usr/lib/libc.so.6
#5 0x00007f1769530700 in () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7f173adfe6c0 (LWP 223943) "pool-gimp"):
#0 0x00007f176952859d in syscall () at /usr/lib/libc.so.6
#1 0x00007f17697d9097 in g_cond_wait_until () at /usr/lib/libglib-2.0.so.0
#2 0x00007f1769756883 in () at /usr/lib/libglib-2.0.so.0
#3 0x00007f1769756a27 in g_async_queue_timeout_pop () at /usr/lib/libglib-2.0.so.0
#4 0x00007f17697bb356 in () at /usr/lib/libglib-2.0.so.0
#5 0x00007f17697b5c55 in () at /usr/lib/libglib-2.0.so.0
#6 0x00007f17694ae74d in () at /usr/lib/libc.so.6
#7 0x00007f1769530700 in () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7f174a3fd6c0 (LWP 223300) "threaded-ml"):
#0 0x00007f1769522e5f in poll () at /usr/lib/libc.so.6
#1 0x00007f174895f8c7 in () at /usr/lib/libpulse.so.0
#2 0x00007f174894946c in pa_mainloop_poll () at /usr/lib/libpulse.so.0
#3 0x00007f174895342c in pa_mainloop_iterate () at /usr/lib/libpulse.so.0
#4 0x00007f17489534e1 in pa_mainloop_run () at /usr/lib/libpulse.so.0
#5 0x00007f1748963c02 in () at /usr/lib/libpulse.so.0
#6 0x00007f17488ffc47 in () at /usr/lib/pulseaudio/libpulsecommon-16.1.so
#7 0x00007f17694ae74d in () at /usr/lib/libc.so.6
#8 0x00007f1769530700 in () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f174b3ff6c0 (LWP 222953) "async"):
#0 0x00007f176952859d in syscall () at /usr/lib/libc.so.6
#1 0x00007f17697d8b15 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x000055f59b652df9 in ()
#3 0x00007f17697b5c55 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007f17694ae74d in () at /usr/lib/libc.so.6
#5 0x00007f1769530700 in () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f17657506c0 (LWP 222945) "gdbus"):
#0 0x00007f1769522e5f in poll () at /usr/lib/libc.so.6
#1 0x00007f17697dee2f in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f1769787d7f in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3 0x00007f1769a1623c in () at /usr/lib/libgio-2.0.so.0
#4 0x00007f17697b5c55 in () at /usr/lib/libglib-2.0.so.0
#5 0x00007f17694ae74d in () at /usr/lib/libc.so.6
#6 0x00007f1769530700 in () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f1765f516c0 (LWP 222943) "gmain"):
#0 0x00007f1769522e5f in poll () at /usr/lib/libc.so.6
#1 0x00007f17697dee2f in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f17697870d2 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3 0x00007f1769787122 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007f17697b5c55 in () at /usr/lib/libglib-2.0.so.0
#5 0x00007f17694ae74d in () at /usr/lib/libc.so.6
#6 0x00007f1769530700 in () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f17668a26c0 (LWP 222937) "worker"):
#0 0x00007f176952859d in syscall () at /usr/lib/libc.so.6
#1 0x00007f17697d8b15 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x00007f1769d22204 in () at /usr/lib/libgegl-0.4.so.0
#3 0x00007f17697b5c55 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007f17694ae74d in () at /usr/lib/libc.so.6
#5 0x00007f1769530700 in () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f17670a36c0 (LWP 222936) "worker"):
#0 0x00007f176952859d in syscall () at /usr/lib/libc.so.6
#1 0x00007f17697d8b15 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x00007f1769d22204 in () at /usr/lib/libgegl-0.4.so.0
#3 0x00007f17697b5c55 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007f17694ae74d in () at /usr/lib/libc.so.6
#5 0x00007f1769530700 in () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f17678a46c0 (LWP 222935) "worker"):
#0 0x00007f176952859d in syscall () at /usr/lib/libc.so.6
#1 0x00007f17697d8b15 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x00007f1769d22204 in () at /usr/lib/libgegl-0.4.so.0
#3 0x00007f17697b5c55 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007f17694ae74d in () at /usr/lib/libc.so.6
#5 0x00007f1769530700 in () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f176853ed00 (LWP 222926) "gimp"):
#0 0x00007f17694bac77 in () at /usr/lib/libc.so.6
#1 0x00007f17694bdac0 in () at /usr/lib/libc.so.6
#2 0x00007f17694be47d in malloc () at /usr/lib/libc.so.6
#3 0x00007f176949a771 in _IO_file_doallocate () at /usr/lib/libc.so.6
#4 0x00007f17694a8420 in _IO_doallocbuf () at /usr/lib/libc.so.6
#5 0x00007f17694a77a8 in _IO_file_overflow () at /usr/lib/libc.so.6
#6 0x00007f17694a694e in _IO_file_xsputn () at /usr/lib/libc.so.6
#7 0x00007f1769481783 in () at /usr/lib/libc.so.6
#8 0x00007f17697d9c99 in g_fprintf () at /usr/lib/libglib-2.0.so.0
#9 0x00007f176a67582c in gimp_stack_trace_print () at /usr/lib/libgimpbase-2.0.so.0
#10 0x000055f59b32e7e7 in ()
#11 0x000055f59b32e8ae in ()
#12 0x000055f59b32e912 in ()
#13 0x00007f1769460a00 in <signal handler called> () at /usr/lib/libc.so.6
#14 0x00007f1769890a5f in () at /usr/lib/libgobject-2.0.so.0
#15 0x00007f1769893da1 in () at /usr/lib/libgobject-2.0.so.0
#16 0x00007f17698945f2 in () at /usr/lib/libgobject-2.0.so.0
#17 0x00007f1769895d55 in g_object_new_with_properties () at /usr/lib/libgobject-2.0.so.0
#18 0x000055f59b6d4d14 in gimp_image_undo_push ()
#19 0x000055f59b6d98d6 in gimp_image_undo_push_text_layer ()
#20 0x000055f59b3e9325 in gimp_text_tool_apply ()
#21 0x000055f59b3ea3fd in ()
#22 0x00007f176978881b in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#23 0x00007f17697deec9 in () at /usr/lib/libglib-2.0.so.0
#24 0x00007f1769787d7f in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#25 0x000055f59b333e92 in app_run ()
#26 0x000055f59b3294ba in main ()
[Inferior 1 (process 222926) detached]

```
This task depends upon

Closed by  Toolybird (Toolybird)
Monday, 05 December 2022, 20:55 GMT
Reason for closing:  No response
Comment by Toolybird (Toolybird) - Saturday, 05 November 2022, 22:01 GMT
> Debuginfod has been disabled

There have been numerous reports about Gimp crashing related to text. Unfortunately none of them are easily reproducible. If you can reliably reproduce, please enable debug symbols then post a proper backtrace i.e.

$ DEBUGINFOD_URLS="https://debuginfod.archlinux.org/" coredumpctl gdb

Loading...