Bug 515253 - Fedora 43 KDE gives error : maliit-keyboard quit unexpectedly
Summary: Fedora 43 KDE gives error : maliit-keyboard quit unexpectedly
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: input (other bugs)
Version First Reported In: 6.5.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL: https://github.com/maliit/keyboard/is...
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-29 11:09 UTC by Tristan Theroux
Modified: 2026-01-29 12:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
maliit crash analysis (20.19 KB, text/plain)
2026-01-29 11:09 UTC, Tristan Theroux
Details
maliit crash full detail (7.30 KB, text/plain)
2026-01-29 11:09 UTC, Tristan Theroux
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tristan Theroux 2026-01-29 11:09:32 UTC
Created attachment 189023 [details]
maliit crash analysis

SUMMARY maliit-keyboard crashes with SIGSEGV in libQt5Core.so.5 when handling surrounding text on Wayland.

DESCRIPTION The application crashes consistently during Wayland input method events. While the logs show some initial issues with QSoundEffect and QSGContext (missing depth/stencil buffers), the actual segmentation fault occurs during a UTF-8 conversion call when the keyboard requests context from the active text field.

OBSERVED RESULT The virtual keyboard disappears/crashes. Journal logs show:

Plaintext
maliit-keyboard[47481]: QSoundEffect(pulseaudio): Error decoding source ...
maliit-keyboard[47481]: QSGContext::initialize: depth buffer support missing
ABRT/Coredump reveals a SIGSEGV at: #0 0x00007f4d0ca78670 _ZN5QUtf816convertToUnicodeEP5QCharPKci (libQt5Core.so.5)

EXPECTED RESULT The keyboard should handle surrounding text context without a memory access violation, even if audio or specific GL buffers are unavailable.

RELEVANT BACKTRACE PORTION

Plaintext
#0  0x00007f4d0ca78670 _ZN5QUtf816convertToUnicodeEP5QCharPKci (libQt5Core.so.5)
#1  0x00007f4d0ca78a38 _ZN5QUtf816convertToUnicodeEPKci (libQt5Core.so.5)
#2  0x00007f4d0c8e0aa9 _ZN7QString15fromUtf8_helperEPKci (libQt5Core.so.5)
#3  0x00007f4d0e4bb62b _ZN6Maliit7Wayland18InputMethodContext44zwp_input_method_context_v1_surrounding_textERK7QStringjj (libmaliit-plugins.so.2)
SOFTWARE/OS VERSIONS

OS: Fedora 43 KDE Workstation

KDE Plasma Version: 6.2.5

KDE Frameworks Version: 6.22.0

Qt Version: 6.10.1 (Note: Crash occurs in legacy libQt5Core symbols used by Maliit)
Comment 1 Tristan Theroux 2026-01-29 11:09:51 UTC
Created attachment 189024 [details]
maliit crash full detail
Comment 2 Tristan Theroux 2026-01-29 11:22:00 UTC
                Stack trace of thread 2060:
                #0  0x00007f4d0ca78670 _ZN5QUtf816convertToUnicodeEP5QCharPKci (libQt5Core.so.5 + 0x278670)
                #1  0x00007f4d0ca78a38 _ZN5QUtf816convertToUnicodeEPKci (libQt5Core.so.5 + 0x278a38)
                #2  0x00007f4d0c8e0aa9 _ZN7QString15fromUtf8_helperEPKci (libQt5Core.so.5 + 0xe0aa9)
                #3  0x00007f4d0e4bb62b _ZN6Maliit7Wayland18InputMethodContext44zwp_input_method_context_v1_surrounding_textERK7QStringjj (libmaliit-plugins.so.2 + 0x4f62b)
                #4  0x00007f4d0e4b84ba _ZN9QtWayland27zwp_input_method_context_v123handle_surrounding_textEPvP27zwp_input_method_context_v1PKcjj (libmaliit-plugins.so.2 + 0x4c4ba)
                #5  0x00007f4d0d48d056 ffi_call_unix64 (libffi.so.8 + 0x8056)
                #6  0x00007f4d0d488d16 ffi_call_int.lto_priv.0 (libffi.so.8 + 0x3d16)
                #7  0x00007f4d0d48b7ae ffi_call (libffi.so.8 + 0x67ae)
                #8  0x00007f4d0dc9cfeb wl_closure_invoke.constprop.0 (libwayland-client.so.0 + 0x1feb)
                #9  0x00007f4d0dc9de49 dispatch_event (libwayland-client.so.0 + 0x2e49)
                #10 0x00007f4d0dc9e243 wl_display_dispatch_queue_pending (libwayland-client.so.0 + 0x3243)
                #11 0x00007f4cfa0c5afe _ZN15QtWaylandClient15QWaylandDisplay13flushRequestsEv (libQt5WaylandClient.so.5 + 0x19afe)
                #12 0x00007f4d0ca4ccb4 _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x24ccb4)
                #13 0x00007f4d0ca1f778 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x21f778)
                #14 0x00007f4d0ca22ca8 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5 + 0x222ca8)
                #15 0x00007f4d0ca754cf _ZL23postEventSourceDispatchP8_GSourcePFiPvES1_ (libQt5Core.so.5 + 0x2754cf)
                #16 0x00007f4d0dceb2a3 g_main_context_dispatch_unlocked.lto_priv.0 (libglib-2.0.so.0 + 0x412a3)
                #17 0x00007f4d0dcf41f8 g_main_context_iterate_unlocked.isra.0 (libglib-2.0.so.0 + 0x4a1f8)
                #18 0x00007f4d0dcf43a3 g_main_context_iteration (libglib-2.0.so.0 + 0x4a3a3)
                #19 0x00007f4d0ca74f67 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x274f67)
                #20 0x00007f4d0ca1e0e2 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x21e0e2)
                #21 0x00007f4d0ca264c4 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2264c4)
                #22 0x0000560babb57e0d main (/usr/bin/maliit-keyboard + 0x6e0d)
                #23 0x00007f4d0c2105b5 n/a (/usr/lib64/libc.so.6 (deleted) + 0x35b5)
                #24 0x00007f4d0c210668 n/a (/usr/lib64/libc.so.6 (deleted) + 0x3668)
                #25 0x0000560babb580e5 _start (/usr/bin/maliit-keyboard + 0x70e5)
Comment 3 TraceyC 2026-01-29 11:45:17 UTC
The backtrace is similar but not exactly like bug 514891
Comment 4 TraceyC 2026-01-29 12:13:08 UTC
I discovered that this will need to be fixed by the maliit folks. There's an upstream bug report for this backtrace here:
https://github.com/maliit/keyboard/issues/256