[kwin] [Bug 480925] Crash in KeyboardInterface::sendKey

2024-05-21 Thread Ryan Rix
https://bugs.kde.org/show_bug.cgi?id=480925

--- Comment #9 from Ryan Rix  ---
I'm sorry, I should have added that as an attachment or filtered the output.

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

[kwin] [Bug 480925] Crash in KeyboardInterface::sendKey

2024-05-21 Thread Ryan Rix
https://bugs.kde.org/show_bug.cgi?id=480925

--- Comment #8 from Ryan Rix  ---
This crash has been happening to me multiple times a day some days for about
three months now. does anyone have any advice to root-cause and debug this? I
am prepared to patch and compile kwayland and kwin_wayland at least from
source, and can decently printf debug, but don't really know much about how
wayland works to really have a conceptual understanding of what is happening on
this codepath.

But it happens most regularly when i press ctrl-backspace, which i do in both
of my primary applications emacs and firefox, as a muscle memory. It happened
while I was drafting this comment.

[rrix@virtuous-cassette:~]$ sudo coredumpctl list | grep kwin_wayland 
[sudo] password for rrix: 
Mon 2024-04-15 20:09:01 PDT5657 1000 1000 SIGSEGV missing 
/nix/store/8hwpp6dgndnihkg2gbwkvqllv3hjsg8y-kwin-5.27.10/bin/.kwin_wayland-wrapped
   -
Mon 2024-04-15 22:31:34 PDT  393757 1000 1000 SIGSEGV missing 
/nix/store/8hwpp6dgndnihkg2gbwkvqllv3hjsg8y-kwin-5.27.10/bin/.kwin_wayland-wrapped
   -
Tue 2024-04-16 09:42:25 PDT  410080 1000 1000 SIGSEGV missing 
/nix/store/8hwpp6dgndnihkg2gbwkvqllv3hjsg8y-kwin-5.27.10/bin/.kwin_wayland-wrapped
   -
Fri 2024-04-19 17:57:46 PDT  461114 1000 1000 SIGSEGV missing 
/nix/store/8hwpp6dgndnihkg2gbwkvqllv3hjsg8y-kwin-5.27.10/bin/.kwin_wayland-wrapped
   -
Mon 2024-04-22 17:06:28 PDT5764 1000 1000 SIGSEGV missing 
/nix/store/8hwpp6dgndnihkg2gbwkvqllv3hjsg8y-kwin-5.27.10/bin/.kwin_wayland-wrapped
   -
Tue 2024-04-23 09:57:43 PDT  185495 1000 1000 SIGSEGV missing 
/nix/store/8hwpp6dgndnihkg2gbwkvqllv3hjsg8y-kwin-5.27.10/bin/.kwin_wayland-wrapped
   -
Sat 2024-04-27 11:35:21 PDT  273848 1000 1000 SIGSEGV missing 
/nix/store/8hwpp6dgndnihkg2gbwkvqllv3hjsg8y-kwin-5.27.10/bin/.kwin_wayland-wrapped
   -
Tue 2024-04-30 14:52:11 PDT5924 1000 1000 SIGSEGV missing 
/nix/store/8hwpp6dgndnihkg2gbwkvqllv3hjsg8y-kwin-5.27.10/bin/.kwin_wayland-wrapped
   -
Mon 2024-05-06 13:22:22 PDT5623 1000 1000 SIGSEGV present 
/nix/store/8hwpp6dgndnihkg2gbwkvqllv3hjsg8y-kwin-5.27.10/bin/.kwin_wayland-wrapped
   15.3M
Mon 2024-05-06 20:06:06 PDT  211479 1000 1000 SIGSEGV present 
/nix/store/8hwpp6dgndnihkg2gbwkvqllv3hjsg8y-kwin-5.27.10/bin/.kwin_wayland-wrapped
   16.5M
Tue 2024-05-07 22:25:10 PDT  283556 1000 1000 SIGSEGV present 
/nix/store/8hwpp6dgndnihkg2gbwkvqllv3hjsg8y-kwin-5.27.10/bin/.kwin_wayland-wrapped
   16.7M
Tue 2024-05-07 22:26:29 PDT  631249 1000 1000 SIGSEGV present 
/nix/store/pphwrqfrkbngq394cpxv1pi98i1a54ys-kwin-5.27.11/bin/.kwin_wayland-wrapped
9.4M
Tue 2024-05-07 22:32:00 PDT  634884 1000 1000 SIGSEGV present 
/nix/store/pphwrqfrkbngq394cpxv1pi98i1a54ys-kwin-5.27.11/bin/.kwin_wayland-wrapped
8.3M
Tue 2024-05-14 19:31:29 PDT  639991 1000 1000 SIGSEGV present 
/nix/store/pphwrqfrkbngq394cpxv1pi98i1a54ys-kwin-5.27.11/bin/.kwin_wayland-wrapped
   20.3M
Tue 2024-05-14 19:32:23 PDT 1765630 1000 1000 SIGSEGV present 
/nix/store/pphwrqfrkbngq394cpxv1pi98i1a54ys-kwin-5.27.11/bin/.kwin_wayland-wrapped
7.8M
Fri 2024-05-17 18:02:07 PDT5670 1000 1000 SIGSEGV present 
/nix/store/pphwrqfrkbngq394cpxv1pi98i1a54ys-kwin-5.27.11/bin/.kwin_wayland-wrapped
   15.0M
Sun 2024-05-19 21:32:47 PDT5714 1000 1000 SIGSEGV present 
/nix/store/pphwrqfrkbngq394cpxv1pi98i1a54ys-kwin-5.27.11/bin/.kwin_wayland-wrapped
   13.8M
Sun 2024-05-19 23:11:33 PDT   27291 1000 1000 SIGSEGV present 
/nix/store/pphwrqfrkbngq394cpxv1pi98i1a54ys-kwin-5.27.11/bin/.kwin_wayland-wrapped
   14.1M
Sun 2024-05-19 23:41:46 PDT   42049 1000 1000 SIGSEGV present 
/nix/store/pphwrqfrkbngq394cpxv1pi98i1a54ys-kwin-5.27.11/bin/.kwin_wayland-wrapped
   12.5M
Mon 2024-05-20 00:18:35 PDT   47675 1000 1000 SIGSEGV present 
/nix/store/pphwrqfrkbngq394cpxv1pi98i1a54ys-kwin-5.27.11/bin/.kwin_wayland-wrapped
9.4M
Mon 2024-05-20 11:08:22 PDT   53705 1000 1000 SIGSEGV present 
/nix/store/pphwrqfrkbngq394cpxv1pi98i1a54ys-kwin-5.27.11/bin/.kwin_wayland-wrapped
   11.9M
Mon 2024-05-20 11:17:08 PDT   60377 1000 1000 SIGSEGV present 
/nix/store/pphwrqfrkbngq394cpxv1pi98i1a54ys-kwin-5.27.11/bin/.kwin_wayland-wrapped
   13.5M
Mon 2024-05-20 11:54:00 PDT   64847 1000 1000 SIGSEGV present 
/nix/store/pphwrqfrkbngq394cpxv1pi98i1a54ys-kwin-5.27.11/bin/.kwin_wayland-wrapped
   16.0M
Mon 2024-05-20 11:56:54 PDT   82622 1000 1000 SIGSEGV present 
/nix/store/pphwrqfrkbngq394cpxv1pi98i1a54ys-kwin-5.27.11/bin/.kwin_wayland-wrapped
9.9M
Mon 2024-05-20 12:25:42 PDT   86677 1000 1000 SIGSEGV present 

[kwin] [Bug 480925] Crash in KeyboardInterface::sendKey

2024-05-20 Thread Ryan Rix
https://bugs.kde.org/show_bug.cgi?id=480925

Ryan Rix  changed:

   What|Removed |Added

 CC||r...@n.rix.si

--- Comment #7 from Ryan Rix  ---
I've been experiencing this crash for a while as well on an AMD running NixOS
resulting in the same backtrace which BK lists in the journalctl output:

Thread 1 (Thread 0x7fa17dac1380 (LWP 147914)):
#0  0x7fa185601d60 in KWaylandServer::ClientConnection::client() const ()
from /nix/store/pphwrqfrkbngq394cpxv1pi98i1a54ys-kwin-5.27.11/lib/libkwin.so.5
#1  0x7fa185614b24 in
KWaylandServer::KeyboardInterfacePrivate::keyboardsForClient(KWaylandServer::ClientConnection*)
const () from
/nix/store/pphwrqfrkbngq394cpxv1pi98i1a54ys-kwin-5.27.11/lib/libkwin.so.5
#2  0x7fa185614f79 in KWaylandServer::KeyboardInterface::sendKey(unsigned
int, KWaylandServer::KeyboardKeyState, KWaylandServer::ClientConnection*) ()
from /nix/store/pphwrqfrkbngq394cpxv1pi98i1a54ys-kwin-5.27.11/lib/libkwin.so.5
#3  0x7fa185407401 in KWin::KeyboardInputRedirection::processKey(unsigned
int, KWin::InputRedirection::KeyboardKeyState, std::chrono::duration >, KWin::InputDevice*) () from
/nix/store/pphwrqfrkbngq394cpxv1pi98i1a54ys-kwin-5.27.11/lib/libkwin.so.5
#4  0x7fa183973c35 in void doActivate(QObject*, int, void**) () from
/nix/store/h8jsqbn5bpci7v8gaxy7hrp2xc0s804v-qtbase-5.15.12/lib/libQt5Core.so.5
#5  0x7fa185322bfc in KWin::InputDevice::keyChanged(unsigned int,
KWin::InputRedirection::KeyboardKeyState, std::chrono::duration >, KWin::InputDevice*) () from
/nix/store/pphwrqfrkbngq394cpxv1pi98i1a54ys-kwin-5.27.11/lib/libkwin.so.5
#6  0x7fa1855c3405 in KWin::LibInput::Connection::processEvents() () from
/nix/store/pphwrqfrkbngq394cpxv1pi98i1a54ys-kwin-5.27.11/lib/libkwin.so.5
#7  0x7fa1839684c0 in QObject::event(QEvent*) () from
/nix/store/h8jsqbn5bpci7v8gaxy7hrp2xc0s804v-qtbase-5.15.12/lib/libQt5Core.so.5
#8  0x7fa18273e04e in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from
/nix/store/h8jsqbn5bpci7v8gaxy7hrp2xc0s804v-qtbase-5.15.12/lib/libQt5Widgets.so.5
#9  0x7fa18393c978 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from
/nix/store/h8jsqbn5bpci7v8gaxy7hrp2xc0s804v-qtbase-5.15.12/lib/libQt5Core.so.5
#10 0x7fa18393f9b1 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from
/nix/store/h8jsqbn5bpci7v8gaxy7hrp2xc0s804v-qtbase-5.15.12/lib/libQt5Core.so.5
#11 0x7fa183991ae0 in
QEventDispatcherUNIX::processEvents(QFlags) ()
from
/nix/store/h8jsqbn5bpci7v8gaxy7hrp2xc0s804v-qtbase-5.15.12/lib/libQt5Core.so.5
#12 0x0056a96d in
QUnixEventDispatcherQPA::processEvents(QFlags)
()
#13 0x7fa18393b373 in
QEventLoop::exec(QFlags) () from
/nix/store/h8jsqbn5bpci7v8gaxy7hrp2xc0s804v-qtbase-5.15.12/lib/libQt5Core.so.5
#14 0x7fa183943876 in QCoreApplication::exec() () from
/nix/store/h8jsqbn5bpci7v8gaxy7hrp2xc0s804v-qtbase-5.15.12/lib/libQt5Core.so.5
#15 0x0044e897 in main ()

I use the Bismuth tiling plugin but otherwise have a straightforward plasma
configuration. it mostly happens when I am hitting an Emacs keybinding with a
Ctrl modifier, but sometimes happens at random. 

Operating System: NixOS 23.11
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.12
Kernel Version: 6.1.90 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7640U w/ Radeon 760M Graphics
Memory: 60.7 GiB of RAM
Graphics Processor: AMD Radeon Graphics

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

[kwin] [Bug 480925] Crash in KeyboardInterface::sendKey

2024-04-16 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=480925

David Edmundson  changed:

   What|Removed |Added

 CC||k...@davidedmundson.co.uk
Summary|Kwin_wayland crashes|Crash in
   |semi-randomly   |KeyboardInterface::sendKey

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