Bug 515256 - Multiple crashes in maliit-keyboard
Summary: Multiple crashes in maliit-keyboard
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: input (other bugs)
Version First Reported In: 6.5.5
Platform: Solus Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL: https://github.com/maliit/keyboard/is...
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-29 11:41 UTC by TraceyC
Modified: 2026-01-29 12:10 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description TraceyC 2026-01-29 11:41:08 UTC
SUMMARY
After opening the crash reporter, I noticed multiple crash reports for maliit-keyboard

STEPS TO REPRODUCE
This is crashing in the background. I haven't used the virtual keyboard at any time recently, certainly not for the latest crash report


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
Operating System: Solus 4.8
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.1
Kernel Version: 6.17.8-324.current (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ Ultra 7 258V
Memory: 32 GiB of RAM (30.9 GiB usable)
Graphics Processor: Intel® Graphics


ADDITIONAL INFORMATION


           PID: 5924 (maliit-keyboard)
           UID: 1000 (tracey)
           GID: 1000 (tracey)
        Signal: 6 (ABRT)
     Timestamp: Wed 2026-01-28 10:01:45 CST (19h ago)
  Command Line: /usr/bin/maliit-keyboard
    Executable: /usr/bin/maliit-keyboard
 Control Group: /user.slice/user-1000.slice/user@1000.service/session.slice/plasma-kwin_wayland.service
          Unit: user@1000.service
     User Unit: plasma-kwin_wayland.service
         Slice: user-1000.slice
     Owner UID: 1000 (tracey)
       Boot ID: 04c62d1410404a8a894d547e87bee4df
    Machine ID: ad6059b5df253cf22323d397513a8861
      Hostname: tracey-solus-aura
       Storage: /var/lib/systemd/coredump/core.maliit-keyboard.1000.04c62d1410404a8a894d547e87bee4df.5924.1769616105000000.zst (present)
  Size on Disk: 5.2M
       Message: Process 5924 (maliit-keyboard) of user 1000 dumped core.
                
                Stack trace of thread 5924:
                #0  0x00007f498eaa977b __pthread_kill_implementation (libc.so.6 + 0xa977b)
                #1  0x00007f498ea47646 __GI_raise (libc.so.6 + 0x47646)
                #2  0x00007f498ea29286 __GI_abort (libc.so.6 + 0x29286)
                #3  0x00007f498eeaac57 n/a (libstdc++.so.6 + 0xaac57)
                #4  0x00007f498eec1c8a n/a (libstdc++.so.6 + 0xc1c8a)
                #5  0x00007f498eeaa691 _ZSt9terminatev (libstdc++.so.6 + 0xaa691)
                #6  0x00007f498eec1f58 __cxa_throw (libstdc++.so.6 + 0xc1f58)
                #7  0x00007f498f42af8d _Z9qBadAllocv (libQt5Core.so.5 + 0x22af8d)
                #8  0x00007f498f6e63da _ZN7QStringC2EiN2Qt14InitializationE (libQt5Core.so.5 + 0x4e63da)
                #9  0x00007f498f4ee4d3 _ZN7QString15fromUtf8_helperEPKci (libQt5Core.so.5 + 0x2ee4d3)
                #10 0x00007f4990ffbb0f _ZN6Maliit7Wayland18InputMethodContext44zwp_input_method_context_v1_surrounding_textERK7QStringjj (libmaliit-plugins.so.2 + 0xa8b0f)
                #11 0x00007f4990fffe73 _ZN9QtWayland27zwp_input_method_context_v123handle_surrounding_textEPvP27zwp_input_method_context_v1PKcjj (libmaliit-plugins.so.2 + 0xace73)
                #12 0x00007f499084d052 ffi_call_unix64 (libffi.so.8 + 0x9052)
                #13 0x00007f499084bc01 ffi_call_int (libffi.so.8 + 0x7c01)
                #14 0x00007f499084c2dd ffi_call (libffi.so.8 + 0x82dd)
                #15 0x00007f49908681b8 wl_closure_invoke (libwayland-client.so.0 + 0xb1b8)
                #16 0x00007f499086642f dispatch_event (libwayland-client.so.0 + 0x942f)
                #17 0x00007f499086591b dispatch_queue (libwayland-client.so.0 + 0x891b)
                #18 0x00007f498adc33b3 n/a (libQt5WaylandClient.so.5 + 0xf83b3)
                #19 0x00007f498f6acd23 _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x4acd23)
                #20 0x00007f498f67808b _ZN23QCoreApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Core.so.5 + 0x47808b)
                #21 0x00007f498f677c65 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x477c65)
                #22 0x00007f498f6793c6 _ZN16QCoreApplication9sendEventEP7QObjectP6QEvent (libQt5Core.so.5 + 0x4793c6)
                #23 0x00007f498f6e3c76 _ZN16QCoreApplication16sendPostedEventsEP7QObjecti (libQt5Core.so.5 + 0x4e3c76)
                #24 0x00007f49902dfb9e g_main_dispatch (libglib-2.0.so.0 + 0x80b9e)
                #25 0x00007f49902e0c08 g_main_context_dispatch_unlocked (libglib-2.0.so.0 + 0x81c08)
                #26 0x00007f49902e0cf8 g_main_context_iteration (libglib-2.0.so.0 + 0x81cf8)
                #27 0x00007f498f6e31dc _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x4e31dc)
                #28 0x00007f498f673216 _ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x473216)
                #29 0x00007f498f678374 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x478374)
                #30 0x0000557430ead39c n/a (/usr/bin/maliit-keyboard + 0x1939c)
                #31 0x00007f498ea2b529 __libc_start_call_main (libc.so.6 + 0x2b529)
                #32 0x00007f498ea2b5da __libc_start_main_impl (libc.so.6 + 0x2b5da)
                #33 0x0000557430eac7a5 n/a (/usr/bin/maliit-keyboard + 0x187a5)
Comment 1 TraceyC 2026-01-29 11:41:14 UTC
[Current thread is 1 (Thread 0x7f498fe88d40 (LWP 5924))]
(gdb) bt
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=6, no_tid=0) at pthread_kill.c:44
#1  __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89
#2  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at pthread_kill.c:100
#3  0x00007f498ea47646 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4  0x00007f498ea29286 in __GI_abort () at abort.c:77
#5  0x00007f498eeaac57 in __gnu_cxx::__verbose_terminate_handler () at ../../../../libstdc++-v3/libsupc++/vterminate.cc:95
#6  0x00007f498eec1c8a in __cxxabiv1::__terminate () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:48
#7  0x00007f498eeaa691 in std::terminate () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:58
#8  0x00007f498eec1f58 in __cxa_throw () at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:98
#9  0x00007f498f42af8d in qBadAlloc () at global/qglobal.cpp:3372
#10 0x00007f498f6e63da in QString::QString (this=0x7fff20f45440, size=1717661298) at text/qstring.cpp:2168
#11 QUtf8::convertToUnicode (chars=0x557449cbb3c8 "", len=1717661298) at codecs/qutfcodec.cpp:483
#12 0x00007f498f4ee4d3 in QString::fromUtf8_helper (str=0x1724 <error: Cannot access memory at address 0x1724>, size=6)
    at text/qstring.cpp:5598
#13 0x00007f4990ffbb0f in QString::fromUtf8 (str=0x557449cbb3c8 "", size=1717661298) at /usr/include/QtCore/qstring.h:706
#14 Maliit::Wayland::InputMethodContext::zwp_input_method_context_v1_surrounding_text
    (this=0x557449f75b20, text=<optimized out>, cursor=1717661298, anchor=1819064003)
    at /home/build/YPKG/root/maliit-framework/build/framework-2.3.0/connection/waylandinputmethodconnection.cpp:600
#15 0x00007f4990fffe73 in QtWayland::zwp_input_method_context_v1::handle_surrounding_text
    (data=0x557449f75b20, object=<optimized out>, text=0x7f4974006d1c "", cursor=1717661298, anchor=1819064003)
    at /home/build/YPKG/root/maliit-framework/build/framework-2.3.0/solusBuildDir/qwayland-input-method-unstable-v1.cpp:207
#16 0x00007f499084d052 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#17 0x00007f499084bc01 in ffi_call_int
    (cif=cif@entry=0x7fff20f45690, fn=fn@entry=0x7f4990fffe10 <QtWayland::zwp_input_method_context_v1::handle_surrounding_text(void*, zwp_input_method_context_v1*, char const*, unsigned int, unsigned int)>, rvalue=<optimized out>, 
    rvalue@entry=0x0, avalue=<optimized out>, closure=closure@entry=0x0) at ../src/x86/ffi64.c:673
#18 0x00007f499084c2dd in ffi_call
    (cif=0x7fff20f45690, fn=0x7f4990fffe10 <QtWayland::zwp_input_method_context_v1::handle_surrounding_text(void*, zwp_input_method_context_v1*, char const*, unsigned int, unsigned int)>, rvalue=0x0, avalue=<optimized out>) at ../src/x86/ffi64.c:710
#19 0x00007f49908681b8 in wl_closure_invoke
    (closure=0x7f4974006c40, flags=<optimized out>, target=0x0, opcode=0, data=<optimized out>) at ../src/connection.c:1241
#20 0x00007f499086642f in dispatch_event (display=<optimized out>, queue=<optimized out>) at ../src/wayland-client.c:1707
#21 0x00007f499086591b in dispatch_queue (display=0x5574499daeb0, queue=<optimized out>) at ../src/wayland-client.c:1853
#22 wl_display_dispatch_queue_pending (display=0x5574499daeb0, queue=0x5574499dafa8) at ../src/wayland-client.c:2190
#23 0x00007f498adc33b3 in QtWaylandClient::EventThread::dispatchQueuePending (this=0x5574499f8d40) at qwaylanddisplay.cpp:255
#24 QtWaylandClient::EventThread::readAndDispatchEvents (this=0x5574499f8d40) at qwaylanddisplay.cpp:142
#25 0x00007f498f6acd23 in QObject::event (this=0x5574499d90b0, e=0x7f497c0015d0) at kernel/qobject.cpp:1347
#26 0x00007f498f67808b in QCoreApplicationPrivate::notify_helper (receiver=0x5574499d90b0, event=0x7f497c0015d0)
    at kernel/qcoreapplication.cpp:1225
#27 0x00007f498f677c65 in QCoreApplication::notifyInternal2 (receiver=0x5574499d90b0, event=0x7f497c0015d0)
    at kernel/qcoreapplication.cpp:1064
#28 0x00007f498f6793c6 in QCoreApplication::sendEvent (event=0x7f497c0015d0, receiver=<optimized out>)
    at kernel/qcoreapplication.cpp:1462
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5574499cb450) at kernel/qcoreapplication.cpp:1821
#30 0x00007f498f6e3c76 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1680
#31 postEventSourceDispatch (s=0x557449a73ab0) at kernel/qeventdispatcher_glib.cpp:277
#32 0x00007f49902dfb9e in g_main_dispatch (context=0x7f4984000f20) at ../glib/gmain.c:3565
#33 0x00007f49902e0c08 in g_main_context_dispatch_unlocked (context=0x7f4984000f20) at ../glib/gmain.c:4425
#34 g_main_context_iterate_unlocked
    (context=context@entry=0x7f4984000f20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at ../glib/gmain.c:4490
#35 0x00007f49902e0cf8 in g_main_context_iteration (context=0x7f4984000f20, may_block=1) at ../glib/gmain.c:4556
#36 0x00007f498f6e31dc in QEventDispatcherGlib::processEvents (this=0x557449a74350, flags=...)
    at kernel/qeventdispatcher_glib.cpp:423
#37 0x00007f498f673216 in QEventLoop::processEvents (this=0x7fff20f45eb8, flags=...) at kernel/qeventloop.cpp:142
#38 QEventLoop::exec (this=0x7fff20f45eb8, flags=...) at kernel/qeventloop.cpp:235
#39 0x00007f498f678374 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1375
#40 0x0000557430ead39c in main (argc=1, argv=<optimized out>)
    at /home/build/YPKG/root/maliit-keyboard/build/keyboard-2.3.1/src/keyboard/keyboard.cpp:40
Comment 2 TraceyC 2026-01-29 11:44:49 UTC
The backtrace shares similarities with https://bugs.kde.org/show_bug.cgi?id=514891 where that reporter also reports frequent crashes
Comment 3 TraceyC 2026-01-29 12:10:39 UTC
Looks like this has been reported upstream

https://github.com/maliit/keyboard/issues/256