gimp-2.99 crash when inputting text in on-cavas text tool dialog
Environment/Versions
- GIMP version: 2.99
- Package: self-built on archlinux
- Operating System: Linux (ArchLinux latest)
Description of the bug
Change fcitx5 (a wayland input method v2 support IME) engine (my keybind set for input method toggle as usual as many windows IME does) in a gimp textbox's option tooltip input entry and then gimp crashed. See below screen capture log for details:
Reproduction
Is the bug reproducible? yes
Reproduction steps: Do as what upon video shown.
Expected result: no crash
Actual result: crash as loged as below:
Click to expand the crash log
GNU Image Manipulation Program version 2.99.16
git-describe: GIMP_2_99_16
Build: unknown rev 0 for linux
# C compiler #
Using built-in specs.
COLLECT_GCC=/usr/bin/cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --enable-languages=ada,c,c++,d,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-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 13.2.1 20230801 (GCC)
# Libraries #
using babl version 0.1.106 (compiled against version 0.1.106)
using GEGL version 0.4.46 (compiled against version 0.4.46)
using GLib version 2.78.0 (compiled against version 2.76.4)
using GdkPixbuf version 2.42.10 (compiled against version 2.42.10)
using GTK+ version 3.24.38 (compiled against version 3.24.38)
using Pango version 1.50.14 (compiled against version 1.50.14)
using Fontconfig version 2.14.2 (compiled against version 2.14.2)
using Cairo version 1.18.0 (compiled against version 1.17.8)
fatal error: Segmentation fault
Stack trace:
# Stack traces obtained from PID 835609 - Thread 835609 #
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 835629]
[New LWP 835630]
[New LWP 835631]
[New LWP 835633]
[New LWP 835634]
[New LWP 835635]
[New LWP 835636]
[New LWP 835637]
[New LWP 835638]
[New LWP 835639]
[New LWP 835641]
[New LWP 835642]
[New LWP 835643]
[New LWP 835644]
[New LWP 835645]
[New LWP 835646]
[New LWP 835647]
[New LWP 835648]
[New LWP 835649]
[New LWP 835650]
[New LWP 835737]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x00007fe470ead4bc in read () from /usr/lib/libc.so.6
Id Target Id Frame
* 1 Thread 0x7fe46ea23e40 (LWP 835609) "gimp-2.99" 0x00007fe470ead4bc in read () from /usr/lib/libc.so.6
2 Thread 0x7fe46c3ff6c0 (LWP 835629) "pool-spawner" 0x00007fe470eb868d in syscall () from /usr/lib/libc.so.6
3 Thread 0x7fe46bbfe6c0 (LWP 835630) "gmain" 0x00007fe470eacebf in poll () from /usr/lib/libc.so.6
4 Thread 0x7fe46b3fd6c0 (LWP 835631) "gdbus" 0x00007fe470eacebf in poll () from /usr/lib/libc.so.6
5 Thread 0x7fe46a9c86c0 (LWP 835633) "worker" 0x00007fe470eb868d in syscall () from /usr/lib/libc.so.6
6 Thread 0x7fe46a1c76c0 (LWP 835634) "worker" 0x00007fe470eb868d in syscall () from /usr/lib/libc.so.6
7 Thread 0x7fe4699c66c0 (LWP 835635) "worker" 0x00007fe470eb868d in syscall () from /usr/lib/libc.so.6
8 Thread 0x7fe4691c56c0 (LWP 835636) "worker" 0x00007fe470eb868d in syscall () from /usr/lib/libc.so.6
9 Thread 0x7fe4689c46c0 (LWP 835637) "worker" 0x00007fe470eb868d in syscall () from /usr/lib/libc.so.6
10 Thread 0x7fe44bfff6c0 (LWP 835638) "worker" 0x00007fe470eb868d in syscall () from /usr/lib/libc.so.6
11 Thread 0x7fe443fff6c0 (LWP 835639) "worker" 0x00007fe470eb868d in syscall () from /usr/lib/libc.so.6
12 Thread 0x7fe44affd6c0 (LWP 835641) "dconf worker" 0x00007fe470eacebf in poll () from /usr/lib/libc.so.6
13 Thread 0x7fe431dff6c0 (LWP 835642) "async" 0x00007fe470eb868d in syscall () from /usr/lib/libc.so.6
14 Thread 0x7fe4314fa6c0 (LWP 835643) "gimp-2.99" 0x00007fe470eb868d in syscall () from /usr/lib/libc.so.6
15 Thread 0x7fe4312f96c0 (LWP 835644) "gimp-2.99" 0x00007fe470eb868d in syscall () from /usr/lib/libc.so.6
16 Thread 0x7fe4310f86c0 (LWP 835645) "gimp-2.99" 0x00007fe470eb868d in syscall () from /usr/lib/libc.so.6
17 Thread 0x7fe430ef76c0 (LWP 835646) "gimp-2.99" 0x00007fe470eb868d in syscall () from /usr/lib/libc.so.6
18 Thread 0x7fe430cf66c0 (LWP 835647) "gimp-2.99" 0x00007fe470eb868d in syscall () from /usr/lib/libc.so.6
19 Thread 0x7fe430af56c0 (LWP 835648) "gimp-2.99" 0x00007fe470eb868d in syscall () from /usr/lib/libc.so.6
20 Thread 0x7fe4308f46c0 (LWP 835649) "gimp-2.99" 0x00007fe470eb868d in syscall () from /usr/lib/libc.so.6
21 Thread 0x7fe4306f36c0 (LWP 835650) "gimp-2.99" 0x00007fe470eb868d in syscall () from /usr/lib/libc.so.6
22 Thread 0x7fe44b7fe6c0 (LWP 835737) "swap writer" 0x00007fe470eb868d in syscall () from /usr/lib/libc.so.6
#0 0x00007fe470ead4bc in read () at /usr/lib/libc.so.6
#1 0x00007fe47290bb30 in gimp_stack_trace_print () at /usr/lib/libgimpbase-3.0.so.0
#2 0x0000559cdc42e74a in ()
#3 0x0000559cdc42ea0e in ()
#4 0x0000559cdc42ea71 in ()
#5 0x00007fe470de8710 in <signal handler called> () at /usr/lib/libc.so.6
#6 0x00007fe471a83a49 in () at /usr/lib/libgdk-3.so.0
#7 0x00007fe471a83de1 in () at /usr/lib/libgdk-3.so.0
#8 0x00007fe4709d84f6 in () at /usr/lib/libffi.so.8
#9 0x00007fe4709d4f5e in () at /usr/lib/libffi.so.8
#10 0x00007fe4709d7b73 in ffi_call () at /usr/lib/libffi.so.8
#11 0x00007fe470795645 in () at /usr/lib/libwayland-client.so.0
#12 0x00007fe470795e73 in () at /usr/lib/libwayland-client.so.0
#13 0x00007fe47079613c in wl_display_dispatch_queue_pending () at /usr/lib/libwayland-client.so.0
#14 0x00007fe471a71809 in () at /usr/lib/libgdk-3.so.0
#15 0x00007fe471a3dfb9 in gdk_display_get_event () at /usr/lib/libgdk-3.so.0
#16 0x00007fe471a78838 in () at /usr/lib/libgdk-3.so.0
#17 0x00007fe47230df19 in () at /usr/lib/libglib-2.0.so.0
#18 0x00007fe47236c2b7 in () at /usr/lib/libglib-2.0.so.0
#19 0x00007fe47230c112 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#20 0x00007fe472094af6 in g_application_run () at /usr/lib/libgio-2.0.so.0
#21 0x0000559cdc432a1c in app_run ()
#22 0x0000559cdc2545bd in main ()
[Inferior 1 (process 835609) detached]
Edited by Martin Fikar