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

            Bug ID: 529173
           Summary: KWin Wayland crashes with SIGSEGV in
                    InputRedirection::syncTabletWithMouse()
    Classification: Plasma
           Product: kwin
      Version First 6.8.3
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: generic-crash
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

# KWin Wayland crashes with SIGSEGV in InputRedirection::syncTabletWithMouse()

## Description

KWin Wayland crashed with a segmentation fault (SIGSEGV) while processing
pointer motion events through the LibInput backend.

The crash occurred in `KWin::InputRedirection::syncTabletWithMouse()`, called
from `KWin::PointerInputRedirection::processMotion()`.

This appears to be related to KWin's input event handling and tablet/mouse
synchronization.

## Crash Details

- Process: `kwin_wayland`
- Signal: 11 (SIGSEGV)
- Crash timestamp: 2026-11-20 19:53:44 CST
- Session: KDE Plasma Wayland
- Distribution: Arch Linux
- Input backend: LibInput

## Steps to Reproduce

The exact steps required to reproduce this crash are currently unknown.

The crash was recorded in the systemd coredump journal during a KDE Plasma
Wayland session.

Further investigation is needed to determine whether a particular pointer,
touchpad, tablet, or input event sequence triggers the issue.

## Actual Result

The `kwin_wayland` process terminated unexpectedly with SIGSEGV.

The affected KWin session crashed.

## Expected Result

KWin should handle pointer motion and tablet/mouse synchronization events
without crashing.

## Backtrace

The relevant part of the backtrace is:

```text
#0  libc.so.6
#1  raise
#2  KCrash::defaultCrashHandler(int)
#3  libc.so.6
#4  KWin::InputRedirection::syncTabletWithMouse()
    (libkwin.so.6 + 0x2c8704)
#5  KWin::PointerInputRedirection::processMotion(...)
    (libkwin.so.6 + 0x37b235)
#6  libQt6Core.so.6
#7  KWin::InputDevice::pointerMotion(...)
    (libkwin.so.6 + 0x1d5ac9)
#8  KWin::LibInput::Connection::processEvents()
    (libkwin.so.6 + 0x578475)
#9  KWin::InputRedirection::addInputBackend(...)
#10 KWin::InputRedirection::setupInputBackends()
#11 KWin::InputRedirection::InputRedirection(...)
#12 KWin::InputRedirection::create(...)
#13 KWin::Application::createInput()
#14 kwin_wayland
#15 KWin::Application::start()
```

## Additional Information

The complete systemd coredump journal output is available as an attachment.

Other threads were waiting in Mesa Intel graphics and NVIDIA EGL driver
routines when the crash occurred. However, the crashing thread's backtrace
points directly to KWin's input handling code, and no graphics-driver root
cause has been established.

I would appreciate help identifying the cause of the crash and whether this is
related to tablet/mouse synchronization or LibInput event processing.

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

Reply via email to