FS#75980 - [gimp][glib2] text layer crashes due to glib2-2.74

Attached to Project: Arch Linux
Opened by Andrew (xSapling_) - Friday, 23 September 2022, 09:09 GMT
Last edited by Christian Hesse (eworm) - Monday, 26 September 2022, 15:19 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Christian Hesse (eworm)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:
GIMP crashes whenever I try to type text into a text box. Updated GIMP via pacman and error persists.

Bug Info:
<!-- 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.1.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++ --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-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-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror --with-build-config=bootstrap-lto --enable-link-serialization=1
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.1.0 (GCC)

# Libraries #
using babl version 0.1.96 (compiled against version 0.1.90)
using GEGL version 0.4.38 (compiled against version 0.4.36)
using GLib version 2.74.0 (compiled against version 2.72.2)
using GdkPixbuf version 2.42.9 (compiled against version 2.42.8)
using GTK+ version 2.24.33 (compiled against version 2.24.33)
using Pango version 1.50.10 (compiled against version 1.50.7)
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: Segmentation fault

Stack trace:
```

# Stack traces obtained from PID 64953 - Thread 64953 #

[New LWP 64954]
[New LWP 64955]
[New LWP 64956]
[New LWP 64957]
[New LWP 64958]
[New LWP 64959]
[New LWP 64960]
[New LWP 64961]
[New LWP 64962]
[New LWP 64963]
[New LWP 64964]
[New LWP 64965]
[New LWP 64966]
[New LWP 64970]
[New LWP 64971]
[New LWP 65012]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x00007fe5eb26edec in read () from /usr/lib/libc.so.6
Id Target Id Frame
* 1 Thread 0x7fe5ea2e3d00 (LWP 64953) "gimp-2.10" 0x00007fe5eb26edec in read () from /usr/lib/libc.so.6
2 Thread 0x7fe5e968f6c0 (LWP 64954) "worker" 0x00007fe5eb27859d in syscall () from /usr/lib/libc.so.6
3 Thread 0x7fe5e8e8e6c0 (LWP 64955) "worker" 0x00007fe5eb27859d in syscall () from /usr/lib/libc.so.6
4 Thread 0x7fe5e868d6c0 (LWP 64956) "worker" 0x00007fe5eb27859d in syscall () from /usr/lib/libc.so.6
5 Thread 0x7fe5dffff6c0 (LWP 64957) "worker" 0x00007fe5eb27859d in syscall () from /usr/lib/libc.so.6
6 Thread 0x7fe5e7e8c6c0 (LWP 64958) "worker" 0x00007fe5eb27859d in syscall () from /usr/lib/libc.so.6
7 Thread 0x7fe5e768b6c0 (LWP 64959) "worker" 0x00007fe5eb27859d in syscall () from /usr/lib/libc.so.6
8 Thread 0x7fe5e6e8a6c0 (LWP 64960) "worker" 0x00007fe5eb27859d in syscall () from /usr/lib/libc.so.6
9 Thread 0x7fe5e66896c0 (LWP 64961) "worker" 0x00007fe5eb27859d in syscall () from /usr/lib/libc.so.6
10 Thread 0x7fe5e5e886c0 (LWP 64962) "worker" 0x00007fe5eb27859d in syscall () from /usr/lib/libc.so.6
11 Thread 0x7fe5e56876c0 (LWP 64963) "worker" 0x00007fe5eb27859d in syscall () from /usr/lib/libc.so.6
12 Thread 0x7fe5e4e866c0 (LWP 64964) "worker" 0x00007fe5eb27859d in syscall () from /usr/lib/libc.so.6
13 Thread 0x7fe5df6706c0 (LWP 64965) "gmain" 0x00007fe5eb272e5f in poll () from /usr/lib/libc.so.6
14 Thread 0x7fe5dee6f6c0 (LWP 64966) "gdbus" 0x00007fe5eb272e5f in poll () from /usr/lib/libc.so.6
15 Thread 0x7fe5cd1ff6c0 (LWP 64970) "async" 0x00007fe5eb27859d in syscall () from /usr/lib/libc.so.6
16 Thread 0x7fe5cc9fe6c0 (LWP 64971) "pool-gimp-2.10" 0x00007fe5eb27859d in syscall () from /usr/lib/libc.so.6
17 Thread 0x7fe5b77fe6c0 (LWP 65012) "swap writer" 0x00007fe5eb27859d in syscall () from /usr/lib/libc.so.6

Thread 17 (Thread 0x7fe5b77fe6c0 (LWP 65012) "swap writer"):
#0 0x00007fe5eb27859d in syscall () at /usr/lib/libc.so.6
#1 0x00007fe5eb528b15 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x00007fe5ebaa99ca in () at /usr/lib/libgegl-0.4.so.0
#3 0x00007fe5eb505c55 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007fe5eb1fe74d in () at /usr/lib/libc.so.6
#5 0x00007fe5eb280700 in () at /usr/lib/libc.so.6

Thread 16 (Thread 0x7fe5cc9fe6c0 (LWP 64971) "pool-gimp-2.10"):
#0 0x00007fe5eb27859d in syscall () at /usr/lib/libc.so.6
#1 0x00007fe5eb529097 in g_cond_wait_until () at /usr/lib/libglib-2.0.so.0
#2 0x00007fe5eb4a6883 in () at /usr/lib/libglib-2.0.so.0
#3 0x00007fe5eb4a6a27 in g_async_queue_timeout_pop () at /usr/lib/libglib-2.0.so.0
#4 0x00007fe5eb50b356 in () at /usr/lib/libglib-2.0.so.0
#5 0x00007fe5eb505c55 in () at /usr/lib/libglib-2.0.so.0
#6 0x00007fe5eb1fe74d in () at /usr/lib/libc.so.6
#7 0x00007fe5eb280700 in () at /usr/lib/libc.so.6

Thread 15 (Thread 0x7fe5cd1ff6c0 (LWP 64970) "async"):
#0 0x00007fe5eb27859d in syscall () at /usr/lib/libc.so.6
#1 0x00007fe5eb528b15 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x0000561946fbbd29 in ()
#3 0x00007fe5eb505c55 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007fe5eb1fe74d in () at /usr/lib/libc.so.6
#5 0x00007fe5eb280700 in () at /usr/lib/libc.so.6

Thread 14 (Thread 0x7fe5dee6f6c0 (LWP 64966) "gdbus"):
#0 0x00007fe5eb272e5f in poll () at /usr/lib/libc.so.6
#1 0x00007fe5eb52ee2f in () at /usr/lib/libglib-2.0.so.0
#2 0x00007fe5eb4d7d7f in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3 0x00007fe5eb76623c in () at /usr/lib/libgio-2.0.so.0
#4 0x00007fe5eb505c55 in () at /usr/lib/libglib-2.0.so.0
#5 0x00007fe5eb1fe74d in () at /usr/lib/libc.so.6
#6 0x00007fe5eb280700 in () at /usr/lib/libc.so.6

Thread 13 (Thread 0x7fe5df6706c0 (LWP 64965) "gmain"):
#0 0x00007fe5eb272e5f in poll () at /usr/lib/libc.so.6
#1 0x00007fe5eb52ee2f in () at /usr/lib/libglib-2.0.so.0
#2 0x00007fe5eb4d70d2 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3 0x00007fe5eb4d7122 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007fe5eb505c55 in () at /usr/lib/libglib-2.0.so.0
#5 0x00007fe5eb1fe74d in () at /usr/lib/libc.so.6
#6 0x00007fe5eb280700 in () at /usr/lib/libc.so.6

Thread 12 (Thread 0x7fe5e4e866c0 (LWP 64964) "worker"):
#0 0x00007fe5eb27859d in syscall () at /usr/lib/libc.so.6
#1 0x00007fe5eb528b15 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x00007fe5eba67204 in () at /usr/lib/libgegl-0.4.so.0
#3 0x00007fe5eb505c55 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007fe5eb1fe74d in () at /usr/lib/libc.so.6
#5 0x00007fe5eb280700 in () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7fe5e56876c0 (LWP 64963) "worker"):
#0 0x00007fe5eb27859d in syscall () at /usr/lib/libc.so.6
#1 0x00007fe5eb528b15 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x00007fe5eba67204 in () at /usr/lib/libgegl-0.4.so.0
#3 0x00007fe5eb505c55 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007fe5eb1fe74d in () at /usr/lib/libc.so.6
#5 0x00007fe5eb280700 in () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7fe5e5e886c0 (LWP 64962) "worker"):
#0 0x00007fe5eb27859d in syscall () at /usr/lib/libc.so.6
#1 0x00007fe5eb528b15 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x00007fe5eba67204 in () at /usr/lib/libgegl-0.4.so.0
#3 0x00007fe5eb505c55 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007fe5eb1fe74d in () at /usr/lib/libc.so.6
#5 0x00007fe5eb280700 in () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7fe5e66896c0 (LWP 64961) "worker"):
#0 0x00007fe5eb27859d in syscall () at /usr/lib/libc.so.6
#1 0x00007fe5eb528b15 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x00007fe5eba67204 in () at /usr/lib/libgegl-0.4.so.0
#3 0x00007fe5eb505c55 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007fe5eb1fe74d in () at /usr/lib/libc.so.6
#5 0x00007fe5eb280700 in () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7fe5e6e8a6c0 (LWP 64960) "worker"):
#0 0x00007fe5eb27859d in syscall () at /usr/lib/libc.so.6
#1 0x00007fe5eb528b15 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x00007fe5eba67204 in () at /usr/lib/libgegl-0.4.so.0
#3 0x00007fe5eb505c55 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007fe5eb1fe74d in () at /usr/lib/libc.so.6
#5 0x00007fe5eb280700 in () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7fe5e768b6c0 (LWP 64959) "worker"):
#0 0x00007fe5eb27859d in syscall () at /usr/lib/libc.so.6
#1 0x00007fe5eb528b15 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x00007fe5eba67204 in () at /usr/lib/libgegl-0.4.so.0
#3 0x00007fe5eb505c55 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007fe5eb1fe74d in () at /usr/lib/libc.so.6
#5 0x00007fe5eb280700 in () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7fe5e7e8c6c0 (LWP 64958) "worker"):
#0 0x00007fe5eb27859d in syscall () at /usr/lib/libc.so.6
#1 0x00007fe5eb528b15 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x00007fe5eba67204 in () at /usr/lib/libgegl-0.4.so.0
#3 0x00007fe5eb505c55 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007fe5eb1fe74d in () at /usr/lib/libc.so.6
#5 0x00007fe5eb280700 in () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fe5dffff6c0 (LWP 64957) "worker"):
#0 0x00007fe5eb27859d in syscall () at /usr/lib/libc.so.6
#1 0x00007fe5eb528b15 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x00007fe5eba67204 in () at /usr/lib/libgegl-0.4.so.0
#3 0x00007fe5eb505c55 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007fe5eb1fe74d in () at /usr/lib/libc.so.6
#5 0x00007fe5eb280700 in () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fe5e868d6c0 (LWP 64956) "worker"):
#0 0x00007fe5eb27859d in syscall () at /usr/lib/libc.so.6
#1 0x00007fe5eb528b15 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x00007fe5eba67204 in () at /usr/lib/libgegl-0.4.so.0
#3 0x00007fe5eb505c55 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007fe5eb1fe74d in () at /usr/lib/libc.so.6
#5 0x00007fe5eb280700 in () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fe5e8e8e6c0 (LWP 64955) "worker"):
#0 0x00007fe5eb27859d in syscall () at /usr/lib/libc.so.6
#1 0x00007fe5eb528b15 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x00007fe5eba67204 in () at /usr/lib/libgegl-0.4.so.0
#3 0x00007fe5eb505c55 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007fe5eb1fe74d in () at /usr/lib/libc.so.6
#5 0x00007fe5eb280700 in () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fe5e968f6c0 (LWP 64954) "worker"):
#0 0x00007fe5eb27859d in syscall () at /usr/lib/libc.so.6
#1 0x00007fe5eb528b15 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x00007fe5eba67204 in () at /usr/lib/libgegl-0.4.so.0
#3 0x00007fe5eb505c55 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007fe5eb1fe74d in () at /usr/lib/libc.so.6
#5 0x00007fe5eb280700 in () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fe5ea2e3d00 (LWP 64953) "gimp-2.10"):
#0 0x00007fe5eb26edec in read () at /usr/lib/libc.so.6
#1 0x00007fe5ec4807c7 in gimp_stack_trace_print () at /usr/lib/libgimpbase-2.0.so.0
#2 0x0000561946c977e7 in ()
#3 0x0000561946c978ae in ()
#4 0x0000561946c97912 in ()
#5 0x00007fe5eb1b0a00 in <signal handler called> () at /usr/lib/libc.so.6
#6 0x00007fe5eb5e0a5f in () at /usr/lib/libgobject-2.0.so.0
#7 0x00007fe5eb5e3da1 in () at /usr/lib/libgobject-2.0.so.0
#8 0x00007fe5eb5e45f2 in () at /usr/lib/libgobject-2.0.so.0
#9 0x00007fe5eb5e5d55 in g_object_new_with_properties () at /usr/lib/libgobject-2.0.so.0
#10 0x000056194703db9f in gimp_image_undo_push ()
#11 0x0000561947042746 in gimp_image_undo_push_text_layer ()
#12 0x0000561946d52245 in gimp_text_tool_apply ()
#13 0x0000561946d5376e in ()
#14 0x0000561946d5392a in ()
#15 0x00007fe5eb5d4210 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#16 0x00007fe5eb601e78 in () at /usr/lib/libgobject-2.0.so.0
#17 0x00007fe5eb5f1f25 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#18 0x00007fe5eb5f21b4 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#19 0x00007fe5eb5d4210 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#20 0x00007fe5eb601e78 in () at /usr/lib/libgobject-2.0.so.0
#21 0x00007fe5eb5f1f25 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#22 0x00007fe5eb5f23d4 in g_signal_emit_by_name () at /usr/lib/libgobject-2.0.so.0
#23 0x00007fe5eb5d4210 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#24 0x00007fe5eb601e78 in () at /usr/lib/libgobject-2.0.so.0
#25 0x00007fe5eb5f1f25 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#26 0x00007fe5eb5f23d4 in g_signal_emit_by_name () at /usr/lib/libgobject-2.0.so.0
#27 0x00007fe5ec11b692 in () at /usr/lib/libgtk-x11-2.0.so.0
#28 0x00007fe5ec11bc9d in () at /usr/lib/libgtk-x11-2.0.so.0
#29 0x0000561946d57783 in gimp_text_tool_editor_key_press ()
#30 0x00005619471226a8 in ()
#31 0x0000561946da1c31 in gimp_display_shell_canvas_tool_events ()
#32 0x00007fe5ec1360a8 in () at /usr/lib/libgtk-x11-2.0.so.0
#33 0x00007fe5eb5d4210 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#34 0x00007fe5eb601e78 in () at /usr/lib/libgobject-2.0.so.0
#35 0x00007fe5eb5f1930 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#36 0x00007fe5eb5f21b4 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#37 0x00007fe5ec25b275 in () at /usr/lib/libgtk-x11-2.0.so.0
#38 0x00007fe5ec26fc6a in gtk_window_propagate_key_event () at /usr/lib/libgtk-x11-2.0.so.0
#39 0x0000561946ed63a6 in ()
#40 0x00007fe5ec1360a8 in () at /usr/lib/libgtk-x11-2.0.so.0
#41 0x00007fe5eb5d4210 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#42 0x00007fe5eb601fa7 in () at /usr/lib/libgobject-2.0.so.0
#43 0x00007fe5eb5f1930 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#44 0x00007fe5eb5f21b4 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#45 0x00007fe5ec25b275 in () at /usr/lib/libgtk-x11-2.0.so.0
#46 0x00007fe5ec13477e in gtk_propagate_event () at /usr/lib/libgtk-x11-2.0.so.0
#47 0x00007fe5ec134b4b in gtk_main_do_event () at /usr/lib/libgtk-x11-2.0.so.0
#48 0x00007fe5ebfa33be in () at /usr/lib/libgdk-x11-2.0.so.0
#49 0x00007fe5eb4d881b in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#50 0x00007fe5eb52eec9 in () at /usr/lib/libglib-2.0.so.0
#51 0x00007fe5eb4d7d7f in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#52 0x0000561946c9ce92 in app_run ()
#53 0x0000561946c924ba in main ()
[Inferior 1 (process 64953) detached]

```

Additional info:
* gimp 2.10.32-1

Steps to reproduce:
- Create a text box
- Type in the text box
This task depends upon

Closed by  Christian Hesse (eworm)
Monday, 26 September 2022, 15:19 GMT
Reason for closing:  Fixed
Additional comments about closing:  glib2 2.74.0-2
Comment by Toolybird (Toolybird) - Friday, 23 September 2022, 22:58 GMT
So this is caused by glib2 2.74.0-1 upgrade and is being tracked by upstream here [1].

Dupe  FS#75985 

[1] https://gitlab.gnome.org/GNOME/gimp/-/issues/8576
Comment by Aurelius Rasmus (cornibus) - Saturday, 24 September 2022, 05:50 GMT
This literally exact same thing happened to my GIMP as well :(
It started yesterday when I try to put text on an image. I hope it'll be fixed soon.
Comment by ringo de kroon (ringo32) - Saturday, 24 September 2022, 22:26 GMT
i have the same, also saving to BMP is a way different bug but it does not save wel if you want to make a bootsplash logo for unified kerneln, transperancy is gone too but is offtopic i gues.. but the crashes as letter box also does here.
Comment by Johannes Kamprad (killajoe) - Saturday, 24 September 2022, 23:23 GMT
exactly the same for me.
downgrading glib2 helps ..
glib2 (2.74.0-1 => 2.72.3-3)
Comment by Toolybird (Toolybird) - Saturday, 24 September 2022, 23:40 GMT
Please, no more "me too" posts, they're just noise. The cause is clear and we simply have no choice but to wait for a fix from upstream.

The glib2 Pkg Maintainer has been looped into this ticket, just in case something is needed at that end.

You can "vote" or add yourself to the notifications list without spamming this ticket. New information is of course welcome. Thank you.
Comment by Christian Hesse (eworm) - Sunday, 25 September 2022, 20:30 GMT Comment by Christian Hesse (eworm) - Sunday, 25 September 2022, 20:47 GMT
This should be fixed in glib2 2.74.0-2. Anybody wants to confirm?
Comment by ringo de kroon (ringo32) - Sunday, 25 September 2022, 21:29 GMT
text box does work here as it should
Comment by slack3r (slack3r) - Monday, 26 September 2022, 14:12 GMT
Same here:

<!-- 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.1.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++ --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-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-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror --with-build-config=bootstrap-lto --enable-link-serialization=1
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.1.0 (GCC)

# Libraries #
using babl version 0.1.96 (compiled against version 0.1.90)
using GEGL version 0.4.38 (compiled against version 0.4.36)
using GLib version 2.74.0 (compiled against version 2.72.2)
using GdkPixbuf version 2.42.9 (compiled against version 2.42.8)
using GTK+ version 2.24.33 (compiled against version 2.24.33)
using Pango version 1.50.10 (compiled against version 1.50.7)
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: Segmentation fault

Stack trace:
```

# Stack traces obtained from PID 7537 - Thread 7537 #


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 7538]
[New LWP 7539]
[New LWP 7540]
[New LWP 7541]
[New LWP 7542]
[New LWP 7544]
[New LWP 7587]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x00007ff45818cdec in read () from /usr/lib/libc.so.6
Id Target Id Frame
* 1 Thread 0x7ff456c2ad00 (LWP 7537) "gimp" 0x00007ff45818cdec in read () from /usr/lib/libc.so.6
2 Thread 0x7ff4564e76c0 (LWP 7538) "worker" 0x00007ff45819659d in syscall () from /usr/lib/libc.so.6
3 Thread 0x7ff455ce66c0 (LWP 7539) "worker" 0x00007ff45819659d in syscall () from /usr/lib/libc.so.6
4 Thread 0x7ff4554e56c0 (LWP 7540) "worker" 0x00007ff45819659d in syscall () from /usr/lib/libc.so.6
5 Thread 0x7ff454ca96c0 (LWP 7541) "gmain" 0x00007ff458190e5f in poll () from /usr/lib/libc.so.6
6 Thread 0x7ff447e7b6c0 (LWP 7542) "gdbus" 0x00007ff458190e5f in poll () from /usr/lib/libc.so.6
7 Thread 0x7ff42cfff6c0 (LWP 7544) "async" 0x00007ff45819659d in syscall () from /usr/lib/libc.so.6
8 Thread 0x7ff4267fc6c0 (LWP 7587) "swap writer" 0x00007ff45819659d in syscall () from /usr/lib/libc.so.6

Thread 8 (Thread 0x7ff4267fc6c0 (LWP 7587) "swap writer"):
#0 0x00007ff45819659d in syscall () at /usr/lib/libc.so.6
#1 0x00007ff458446b15 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x00007ff4589d29ca in () at /usr/lib/libgegl-0.4.so.0
#3 0x00007ff458423c55 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007ff45811c74d in () at /usr/lib/libc.so.6
#5 0x00007ff45819e700 in () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7ff42cfff6c0 (LWP 7544) "async"):
#0 0x00007ff45819659d in syscall () at /usr/lib/libc.so.6
#1 0x00007ff458446b15 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x00005621d8d6dd29 in ()
#3 0x00007ff458423c55 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007ff45811c74d in () at /usr/lib/libc.so.6
#5 0x00007ff45819e700 in () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7ff447e7b6c0 (LWP 7542) "gdbus"):
#0 0x00007ff458190e5f in poll () at /usr/lib/libc.so.6
#1 0x00007ff45844ce2f in () at /usr/lib/libglib-2.0.so.0
#2 0x00007ff4583f5d7f in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3 0x00007ff45868423c in () at /usr/lib/libgio-2.0.so.0
#4 0x00007ff458423c55 in () at /usr/lib/libglib-2.0.so.0
#5 0x00007ff45811c74d in () at /usr/lib/libc.so.6
#6 0x00007ff45819e700 in () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7ff454ca96c0 (LWP 7541) "gmain"):
#0 0x00007ff458190e5f in poll () at /usr/lib/libc.so.6
#1 0x00007ff45844ce2f in () at /usr/lib/libglib-2.0.so.0
#2 0x00007ff4583f50d2 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3 0x00007ff4583f5122 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007ff458423c55 in () at /usr/lib/libglib-2.0.so.0
#5 0x00007ff45811c74d in () at /usr/lib/libc.so.6
#6 0x00007ff45819e700 in () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7ff4554e56c0 (LWP 7540) "worker"):
#0 0x00007ff45819659d in syscall () at /usr/lib/libc.so.6
#1 0x00007ff458446b15 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x00007ff458990204 in () at /usr/lib/libgegl-0.4.so.0
#3 0x00007ff458423c55 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007ff45811c74d in () at /usr/lib/libc.so.6
#5 0x00007ff45819e700 in () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7ff455ce66c0 (LWP 7539) "worker"):
#0 0x00007ff45819659d in syscall () at /usr/lib/libc.so.6
#1 0x00007ff458446b15 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x00007ff458990204 in () at /usr/lib/libgegl-0.4.so.0
#3 0x00007ff458423c55 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007ff45811c74d in () at /usr/lib/libc.so.6
#5 0x00007ff45819e700 in () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7ff4564e76c0 (LWP 7538) "worker"):
#0 0x00007ff45819659d in syscall () at /usr/lib/libc.so.6
#1 0x00007ff458446b15 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x00007ff458990204 in () at /usr/lib/libgegl-0.4.so.0
#3 0x00007ff458423c55 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007ff45811c74d in () at /usr/lib/libc.so.6
#5 0x00007ff45819e700 in () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7ff456c2ad00 (LWP 7537) "gimp"):
#0 0x00007ff45818cdec in read () at /usr/lib/libc.so.6
#1 0x00007ff4592e47c7 in gimp_stack_trace_print () at /usr/lib/libgimpbase-2.0.so.0
#2 0x00005621d8a497e7 in ()
#3 0x00005621d8a498ae in ()
#4 0x00005621d8a49912 in ()
#5 0x00007ff4580cea00 in <signal handler called> () at /usr/lib/libc.so.6
#6 0x00007ff4584fea5f in () at /usr/lib/libgobject-2.0.so.0
#7 0x00007ff458501da1 in () at /usr/lib/libgobject-2.0.so.0
#8 0x00007ff4585025f2 in () at /usr/lib/libgobject-2.0.so.0
#9 0x00007ff458503d55 in g_object_new_with_properties () at /usr/lib/libgobject-2.0.so.0
#10 0x00005621d8defb9f in gimp_image_undo_push ()
#11 0x00005621d8df4746 in gimp_image_undo_push_text_layer ()
#12 0x00005621d8b04245 in gimp_text_tool_apply ()
#13 0x00005621d8b0576e in ()
#14 0x00005621d8b0592a in ()
#15 0x00007ff4584f2210 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#16 0x00007ff45851fe78 in () at /usr/lib/libgobject-2.0.so.0
#17 0x00007ff45850ff25 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#18 0x00007ff4585101b4 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#19 0x00007ff4584f2210 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#20 0x00007ff45851fe78 in () at /usr/lib/libgobject-2.0.so.0
#21 0x00007ff45850ff25 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#22 0x00007ff4585103d4 in g_signal_emit_by_name () at /usr/lib/libgobject-2.0.so.0
#23 0x00007ff4584f2210 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#24 0x00007ff45851fe78 in () at /usr/lib/libgobject-2.0.so.0
#25 0x00007ff45850ff25 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#26 0x00007ff4585103d4 in g_signal_emit_by_name () at /usr/lib/libgobject-2.0.so.0
#27 0x00007ff458f1b692 in () at /usr/lib/libgtk-x11-2.0.so.0
#28 0x00007ff458f1bc9d in () at /usr/lib/libgtk-x11-2.0.so.0
#29 0x00005621d8b09783 in gimp_text_tool_editor_key_press ()
#30 0x00005621d8ed46a8 in ()
#31 0x00005621d8b53c31 in gimp_display_shell_canvas_tool_events ()
#32 0x00007ff458f360a8 in () at /usr/lib/libgtk-x11-2.0.so.0
#33 0x00007ff4584f2210 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#34 0x00007ff45851fe78 in () at /usr/lib/libgobject-2.0.so.0
#35 0x00007ff45850f930 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#36 0x00007ff4585101b4 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#37 0x00007ff45905b275 in () at /usr/lib/libgtk-x11-2.0.so.0
#38 0x00007ff45906fc6a in gtk_window_propagate_key_event () at /usr/lib/libgtk-x11-2.0.so.0
#39 0x00005621d8c883a6 in ()
#40 0x00007ff458f360a8 in () at /usr/lib/libgtk-x11-2.0.so.0
#41 0x00007ff4584f2210 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#42 0x00007ff45851ffa7 in () at /usr/lib/libgobject-2.0.so.0
#43 0x00007ff45850f930 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#44 0x00007ff4585101b4 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#45 0x00007ff45905b275 in () at /usr/lib/libgtk-x11-2.0.so.0
#46 0x00007ff458f3477e in gtk_propagate_event () at /usr/lib/libgtk-x11-2.0.so.0
#47 0x00007ff458f34b4b in gtk_main_do_event () at /usr/lib/libgtk-x11-2.0.so.0
#48 0x00007ff4593ad3be in () at /usr/lib/libgdk-x11-2.0.so.0
#49 0x00007ff4583f681b in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#50 0x00007ff45844cec9 in () at /usr/lib/libglib-2.0.so.0
#51 0x00007ff4583f5d7f in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#52 0x00005621d8a4ee92 in app_run ()
#53 0x00005621d8a444ba in main ()
[Inferior 1 (process 7537) detached]

```
Comment by Johannes Kamprad (killajoe) - Monday, 26 September 2022, 14:28 GMT
> Comment by Christian Hesse (eworm) - Sunday, 25 September 2022, 20:47 GMT
> This should be fixed in glib2 2.74.0-2. Anybody wants to confirm?

i can confirm: the issue with crash when adding text in the textbox is solved with glib2 2.74.0-2
Comment by slack3r (slack3r) - Monday, 26 September 2022, 15:16 GMT
Fixed with glib2-2.74.0-2

Thanks

Loading...