https://bugs.kde.org/show_bug.cgi?id=529060
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #9 from [email protected] --- Same crash on Fedora 45 (kwin-6.8.3-1.fc45, Qt 6.11.2, KF 6.32.0), ThinkPad with TrackPoint + Synaptics touchpad + USB mouse, no tablet. Crashed on the first two logins after upgrading from F44 (kwin 6.8.2 never crashed). Symbolized backtrace (kwin-debuginfo 6.8.3-1.fc45) confirms this == nullptr: #5 KWin::InputRedirection::syncTabletWithMouse (this=0x0) at src/input.cpp:3383 return m_syncTabletWithMouse; #6 KWin::PointerInputRedirection::processMotion (...) at src/pointer_input.cpp:252 if (input()->syncTabletWithMouse()) { Cause: InputRedirection is created through KWIN_SINGLETON_FACTORY, which assigns s_self only after the constructor returns. But the constructor calls setupInputBackends() -> addInputBackend() -> inputBackend->initialize(), and LibInput::Connection::processEvents() dispatches queued pointer motion synchronously from there. So processMotion() runs while input() is still nullptr. Any pointer motion queued in libinput at that moment crashes kwin. Possible fixes: set s_self at the start of the constructor, move setupInputBackends() out of the constructor (call it after create()), or null-check input() in processMotion(). -- You are receiving this mail because: You are watching all bug changes.
