https://bugs.kde.org/show_bug.cgi?id=517286

            Bug ID: 517286
           Summary: Service crash: /usr/bin/plasma-keyboard has
                    encountered a fatal error and was closed.
    Classification: Plasma
           Product: Plasma Keyboard
      Version First unspecified
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Created attachment 190474
  --> https://bugs.kde.org/attachment.cgi?id=190474&action=edit
Bug notifications

plasma-keyboard crashes intermittently during normal desktop usage.

Service Crash
/usr/bin/plasma-keyboard has encountered a fatal error and was closed.

>From the crash log the segmentation fault occurs inside
QtVirtualKeyboard::HunspellInputMethod::reselect.

The system continues working normally after the crash.

STEPS TO REPRODUCE

The issue is intermittent and not easily reproducible on demand, but it has
been observed during the following workflow:

1) Start a Wayland KDE Plasma session.
2) Open Kate.
3) Work normally and switch between windows using Alt+Tab.
4) Occasionally a system notification appears reporting that
/usr/bin/plasma-keyboard crashed.

The crash does not happen every time.

EXPECTED RESULT
plasma-keyboard should not crash during normal desktop usage.

SOFTWARE / OS VERSIONS
Linux/KDE Plasma: Fedora KDE Plasma
Session: Wayland
KDE Plasma Version: 6.6.1
Package: plasma-keyboard 6.6.1-1.fc43
Hardware: Lenovo ThinkPad (no touchscreen)

ADDITIONAL INFORMATION
The system is running on a laptop without a touchscreen, yet plasma-keyboard is
running as a background service.

QT_IM_MODULE is not set in the environment.

The crash log indicates a segmentation fault (Signal 11) occurring inside the
Qt Virtual Keyboard Hunspell input method.

Relevant stack trace excerpt:

                Stack trace of thread 19440:
                #0  0x00007f453a77f595
_ZN17QtVirtualKeyboard19HunspellInputMethod8reselectEiRK6QFlagsIN27QVirtualKeyboardInputEngine12ReselectFlagEE
(libQt6HunspellInputMethod.so.6 + 0xd595)
                #1  0x00007f4572ec39d6
_ZN35QVirtualKeyboardInputContextPrivate6updateE6QFlagsIN2Qt16InputMethodQueryEE
(libQt6VirtualKeyboard.so.6 + 0x2d9d6)
                #2  0x00007f4572eb9b1b
_ZN17QtVirtualKeyboard20PlatformInputContext6updateE6QFlagsIN2Qt16InputMethodQueryEE
(libQt6VirtualKeyboard.so.6 + 0x23b1b)
                #3  0x00007f4571108f96
_ZN12QInputMethod6updateE6QFlagsIN2Qt16InputMethodQueryEE (libQt6Gui.so.6 +
0x108f96)
                #4  0x000055af2e7591e6
_ZN9QtPrivate15QCallableObjectIZN17InputListenerItemC4EvEUlvE0_NS_4ListIJEEEvE4implEiPNS_15QSlotObjectBaseEP7QObjectPPvPb
(/usr/bin/plasma-keyboard + 0x81e6)
                #5  0x00007f457096929a _Z10doActivateILb0EEvP7QObjectiPPv
(libQt6Core.so.6 + 0x16929a)
                #6  0x00007f457096929a _Z10doActivateILb0EEvP7QObjectiPPv
(libQt6Core.so.6 + 0x16929a)
                #7  0x000055af2e759f7a
_ZThn16_N18InputMethodContext44zwp_input_method_context_v1_surrounding_textERK7QStringjj
(/usr/bin/plasma-keyboard + 0x8f7a)
                #8  0x000055af2e75703c
_ZN9QtWayland27zwp_input_method_context_v123handle_surrounding_textEPvP27zwp_input_method_context_v1PKcjj
(/usr/bin/plasma-keyboard + 0x603c)
                #9  0x00007f45722a8056 ffi_call_unix64 (libffi.so.8 + 0x8056)
                #10 0x00007f45722a3d16 ffi_call_int.lto_priv.0 (libffi.so.8 +
0x3d16)
                #11 0x00007f45722a67ae ffi_call (libffi.so.8 + 0x67ae)
                #12 0x00007f4572e88feb wl_closure_invoke.constprop.0
(libwayland-client.so.0 + 0x1feb)
                #13 0x00007f4572e89e49 dispatch_event (libwayland-client.so.0 +
0x2e49)
                #14 0x00007f4572e8a243 wl_display_dispatch_queue_pending
(libwayland-client.so.0 + 0x3243)
                #15 0x00007f4572c24d62
_ZN15QtWaylandClient11EventThread21readAndDispatchEventsEv
(libQt6WaylandClient.so.6 + 0x21d62)
                #16 0x00007f457095acdc _ZN7QObject5eventEP6QEvent
(libQt6Core.so.6 + 0x15acdc)
                #17 0x00007f45708fdb28
_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 +
0xfdb28)
                #18 0x00007f4570901719
_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData
(libQt6Core.so.6 + 0x101719)
                #19 0x00007f4570c215af
_ZL23postEventSourceDispatchP8_GSourcePFiPvES1_ (libQt6Core.so.6 + 0x4215af)
                #20 0x00007f456fceb323
g_main_context_dispatch_unlocked.lto_priv.0 (libglib-2.0.so.0 + 0x41323)
                #21 0x00007f456fcf4278 g_main_context_iterate_unlocked.isra.0
(libglib-2.0.so.0 + 0x4a278)
                #22 0x00007f456fcf4423 g_main_context_iteration
(libglib-2.0.so.0 + 0x4a423)
                #23 0x00007f4570c20ded
_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
(libQt6Core.so.6 + 0x420ded)
                #24 0x00007f457090ab23
_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 +
0x10ab23)
                #25 0x00007f45709063e9 _ZN16QCoreApplication4execEv
(libQt6Core.so.6 + 0x1063e9)
                #26 0x000055af2e75440c main (/usr/bin/plasma-keyboard + 0x340c)
                #27 0x00007f45702105b5 __libc_start_call_main (libc.so.6 +
0x35b5)
                #28 0x00007f4570210668 __libc_start_main@@GLIBC_2.34 (libc.so.6
+ 0x3668)
                #29 0x000055af2e754885 _start (/usr/bin/plasma-keyboard +
0x3885)


Crash overview:
           PID: 19440 (plasma-keyboard)
           UID: 1000 (ivana)
           GID: 1000 (ivana)
        Signal: 11 (SEGV)
     Timestamp: Sun 2026-03-08 10:52:25 CET (10s ago)
  Command Line: /usr/bin/plasma-keyboard
    Executable: /usr/bin/plasma-keyboard
 Control Group:
/user.slice/user-1000.slice/[email protected]/session.slice/plasma-kwin_wayland.service
          Unit: [email protected]
     User Unit: plasma-kwin_wayland.service
         Slice: user-1000.slice
     Owner UID: 1000 (ivana)
       Boot ID: 72550790bde140d08225f3931a6f0199
    Machine ID: 91d9ef5521764435b58f15af9ba1b892
      Hostname: krimi
       Storage:
/var/lib/systemd/coredump/core.plasma-keyboard.1000.72550790bde140d08225f3931a6f0199.19440.1772963545000000.zst
(present)
  Size on Disk: 8.2M
       Package: plasma-keyboard/6.6.1-1.fc43
      build-id: ceafc791880aaac8885490a4c5aa1578189bb5bc
       Message: Process 19440 (plasma-keyboard) of user 1000 dumped core.

                Module /usr/bin/plasma-keyboard from rpm
plasma-keyboard-6.6.1-1.fc43.x86_64
...

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to