| Summary: | kwin_core crash when Java application creates popup | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | John Gregorski <jfgorski> |
| Component: | core | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | crash | CC: | nate, sitter, strong.drum0546 |
| Priority: | NOR | ||
| Version First Reported In: | 6.0.1 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Button which creates popup window which crashes kwin | ||
|
Description
John Gregorski
2024-03-11 17:03:47 UTC
Interestingly this crash does *not* happen on my laptop also running Arch Linux with Plasma 6.0.1. This crash happened on my desktop computer with 3 monitors. Both are running JRE 11. More details from one of the core dump files. See end of this comment for stack trace.
$ coredumpctl debug
PID: 43368 (kwin_x11)
UID: 1000 (...)
GID: 1000 (...)
Signal: 11 (SEGV)
Timestamp: Mon 2024-03-11 11:11:40 PDT (8h ago)
Command Line: /usr/bin/kwin_x11 --replace
Executable: /usr/bin/kwin_x11
Control Group: /user.slice/user-1000.slice/user@1000.service/session.slice/plasma-kwin_x11.service
Unit: user@1000.service
User Unit: plasma-kwin_x11.service
Slice: user-1000.slice
Owner UID: 1000 (...)
Boot ID: 30e2661df8714b19ac6329370a270baf
Machine ID: 46a9da6614144c20accc36ef53b6d08a
Hostname: ...
Storage: /var/lib/systemd/coredump/core.kwin_x11.1000.30e2661df8714b19ac6329370a270baf.43368.1710180700000000.zst (present)
Size on Disk: 5.7M
Message: Process 43368 (kwin_x11) of user 1000 dumped core.
Stack trace of thread 43368:
#0 0x00007a95fbb90479 _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x390479)
#1 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#2 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#3 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#4 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#5 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#6 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#7 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#8 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#9 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#10 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#11 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#12 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#13 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#14 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#15 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#16 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#17 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#18 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#19 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#20 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#21 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#22 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#23 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#24 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#25 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#26 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#27 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#28 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#29 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#30 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#31 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#32 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#33 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#34 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#35 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#36 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#37 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#38 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#39 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#40 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#41 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#42 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#43 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#44 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#45 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#46 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#47 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#48 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#49 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#50 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#51 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#52 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#53 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#54 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#55 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#56 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#57 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#58 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#59 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#60 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#61 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#62 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
#63 0x00007a95fbb904cd _ZN4KWin9X11Window9findModalEb (libkwin.so.6 + 0x3904cd)
Stack trace of thread 43385:
#0 0x00007a95f9d190bf __poll (libc.so.6 + 0xfb0bf)
#1 0x00007a95f7f6c2f6 n/a (libglib-2.0.so.0 + 0xb82f6)
#2 0x00007a95f7f0c162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
#3 0x00007a95f91739c4 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3739c4)
#4 0x00007a95f8f43d6e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x143d6e)
#5 0x00007a95f902106f _ZN7QThread4execEv (libQt6Core.so.6 + 0x22106f)
#6 0x00007a95fa6139df n/a (libQt6DBus.so.6 + 0x299df)
#7 0x00007a95f90a0bd3 n/a (libQt6Core.so.6 + 0x2a0bd3)
#8 0x00007a95f9ca955a n/a (libc.so.6 + 0x8b55a)
#9 0x00007a95f9d26a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 43387:
#0 0x00007a95f9ca5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007a95f9ca8a65 pthread_cond_timedwait (libc.so.6 + 0x8aa65)
#2 0x00007a95f90a3ba4 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2a3ba4)
#3 0x00007a95f90a64aa n/a (libQt6Core.so.6 + 0x2a64aa)
#4 0x00007a95f90a0bd3 n/a (libQt6Core.so.6 + 0x2a0bd3)
#5 0x00007a95f9ca955a n/a (libc.so.6 + 0x8b55a)
#6 0x00007a95f9d26a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 43388:
#0 0x00007a95f9ca5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007a95f9ca8a65 pthread_cond_timedwait (libc.so.6 + 0x8aa65)
#2 0x00007a95f90a3ba4 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2a3ba4)
#3 0x00007a95f90a64aa n/a (libQt6Core.so.6 + 0x2a64aa)
#4 0x00007a95f90a0bd3 n/a (libQt6Core.so.6 + 0x2a0bd3)
#5 0x00007a95f9ca955a n/a (libc.so.6 + 0x8b55a)
#6 0x00007a95f9d26a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 43389:
#0 0x00007a95f9ca5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007a95f9ca8a65 pthread_cond_timedwait (libc.so.6 + 0x8aa65)
#2 0x00007a95f90a3ba4 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2a3ba4)
#3 0x00007a95f90a64aa n/a (libQt6Core.so.6 + 0x2a64aa)
#4 0x00007a95f90a0bd3 n/a (libQt6Core.so.6 + 0x2a0bd3)
#5 0x00007a95f9ca955a n/a (libc.so.6 + 0x8b55a)
#6 0x00007a95f9d26a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 43386:
#0 0x00007a95f9d190bf __poll (libc.so.6 + 0xfb0bf)
#1 0x00007a95fc00220b n/a (libxcb.so.1 + 0xd20b)
#2 0x00007a95fc003f3d xcb_wait_for_event (libxcb.so.1 + 0xef3d)
#3 0x00007a95f3d66f4e n/a (libQt6XcbQpa.so.6 + 0x4bf4e)
#4 0x00007a95f90a0bd3 n/a (libQt6Core.so.6 + 0x2a0bd3)
#5 0x00007a95f9ca955a n/a (libc.so.6 + 0x8b55a)
#6 0x00007a95f9d26a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 43390:
#0 0x00007a95f9ca5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007a95f9ca8a65 pthread_cond_timedwait (libc.so.6 + 0x8aa65)
#2 0x00007a95f90a3ba4 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2a3ba4)
#3 0x00007a95f90a64aa n/a (libQt6Core.so.6 + 0x2a64aa)
#4 0x00007a95f90a0bd3 n/a (libQt6Core.so.6 + 0x2a0bd3)
#5 0x00007a95f9ca955a n/a (libc.so.6 + 0x8b55a)
#6 0x00007a95f9d26a3c n/a (libc.so.6 + 0x108a3c)
ELF object binary architecture: AMD x86-64
Core was generated by `/usr/bin/kwin_x11 --replace'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007a95fbb90479 in KWin::X11Window::findModal (this=0x651e34bea620, allow_itself=true) at /usr/include/qt6/QtCore/qarraydatapointer.h:114
114 const T *data() const noexcept { return ptr; }
[Current thread is 1 (Thread 0x7a95f3dbda00 (LWP 43368))]
Stack trace with gdb bt command is huge and never stops printing:
...
#7462 0x00007a95fbb904cd in KWin::X11Window::findModal (this=0x651e34062960, allow_itself=true) at /usr/src/debug/kwin/kwin-6.0.1/src/x11window.cpp:3500
#7463 0x00007a95fbb904cd in KWin::X11Window::findModal (this=0x651e33f92f20, allow_itself=true) at /usr/src/debug/kwin/kwin-6.0.1/src/x11window.cpp:3500
#7464 0x00007a95fbb904cd in KWin::X11Window::findModal (this=0x651e357c01b0, allow_itself=true) at /usr/src/debug/kwin/kwin-6.0.1/src/x11window.cpp:3500
#7465 0x00007a95fbb904cd in KWin::X11Window::findModal (this=0x651e3579d920, allow_itself=true) at /usr/src/debug/kwin/kwin-6.0.1/src/x11window.cpp:3500
#7466 0x00007a95fbb904cd in KWin::X11Window::findModal (this=0x651e35654270, allow_itself=true) at /usr/src/debug/kwin/kwin-6.0.1/src/x11window.cpp:3500
...
(gdb) f 0
#0 0x00007a95fbb90479 in KWin::X11Window::findModal (this=0x651e34bea620, allow_itself=true) at /usr/include/qt6/QtCore/qarraydatapointer.h:114
114 const T *data() const noexcept { return ptr; }
(gdb) f 1
#1 0x00007a95fbb904cd in KWin::X11Window::findModal (this=0x651e34bc5a90, allow_itself=true) at /usr/src/debug/kwin/kwin-6.0.1/src/x11window.cpp:3500
3500 if (Window *ret = (*it)->findModal(true)) {
> 2. Click any button that results in a popup window
Please go into more detail on which button would cause this.
Also the relevant code changed a bit in 6.1, there's a good chance it is fixed already.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! > Please go into more detail on which button would cause this. It happens intermittently on various buttons, not one button specifically. I think it's not so much the button as the popup window created after pressing the button. > Also the relevant code changed a bit in 6.1, there's a good chance it is fixed already. I'm now on 6.1.5 and the problem is still happening, and actually has gotten worse (occurring more frequently). Please go into more detail on which buttons would cause this. Example button is this "confirm and send" in attached screenshot. Clicking it creates a popup window at which point kwin crashes and restarts with all the application's windows moved around to different desktops. Created attachment 173804 [details]
Button which creates popup window which crashes kwin
There should be a crash report I submitted when this bug happened in the last 30 minutes. Hopefully it helps. Kwin went into a restart loop until my computer crashed. Also, this was not a problem on KDE 5. Not sure if something changed in kwin or in Java to trigger this bug. I run into it multiple times a day, and sometimes kwin restarts successfully, other times it restarts repeatedly until it bricks my computer so that I have to restart. Please let me know if you need any other information. The causes of this crash when I use the troublesome Java application are a couple functions in kwin which sometimes infinitely recurse: findModal() allMainWindows() The places where these are called in the crashes were: https://invent.kde.org/plasma/kwin/-/blob/Plasma/6.2/src/tabbox/tabbox.cpp?ref_type=heads#L191 https://invent.kde.org/plasma/kwin/-/blob/Plasma/6.2/src/x11window.cpp?ref_type=heads#L1014 https://invent.kde.org/plasma/kwin/-/blob/Plasma/6.2/src/activation.cpp?ref_type=heads#L387 I tried compiling kwin (v6.2.80) and avoiding the above call points, and the crashes stopped. Somehow the Java application is triggering these infinite recursions. The backtraces are: ... 261661 0x0000774e71ce6fc3 in KWin::Window::findModal (this=<optimized out>) at kde/src/kwin/src/window.cpp:2271 #261662 0x0000774e71ce6fc3 in KWin::Window::findModal (this=<optimized out>) at kde/src/kwin/src/window.cpp:2271 #261663 0x0000774e71ce6fc3 in KWin::Window::findModal (this=<optimized out>) at kde/src/kwin/src/window.cpp:2271 #261664 0x0000774e71ce6fc3 in KWin::Window::findModal (this=this@entry=0x640e88391a50) at kde/src/kwin/src/window.cpp:2271 #261665 0x0000774e71eeb40c in KWin::TabBox::TabBoxHandlerImpl::clientToAddToList (this=0x640e87a19790, client=0x640e88391a50) at kde/src/kwin/src/tabbox/tabbox.cpp:191 #261666 0x0000774e71ee82f0 in KWin::TabBox::ClientModel::createFocusChainClientList (this=this@entry=0x640e87950280, start=start@entry=0x640e87b0bd50) at kde/src/kwin/src/tabbox/clientmodel.cpp:158 #261667 0x0000774e71ee8983 in KWin::TabBox::ClientModel::createClientList (this=0x640e87950280, partialReset=<optimized out>) at kde/src/kwin/src/tabbox/clientmodel.cpp:213 #261668 0x0000774e71ef3bd7 in KWin::TabBox::TabBoxHandler::createModel (this=0x640e87a19790, partialReset=partialReset@entry=true) at kde/src/kwin/src/tabbox/tabboxhandler.cpp:130 #261669 0x0000774e71eebb36 in KWin::TabBox::TabBox::reset (this=0x640e8788aa10, partial_reset=true) at kde/src/kwin/src/tabbox/tabbox.cpp:425 #261670 0x0000774e71d04fe1 in KWin::Workspace::updateTabbox (this=<optimized out>) at kde/src/kwin/src/workspace.cpp:2018 #261671 0x0000774e71d15f00 in KWin::Workspace::addX11Window (this=<optimized out>, window=<optimized out>) at kde/src/kwin/src/workspace.cpp:739 #261672 0x0000774e71d1605b in KWin::Workspace::createX11Window (this=this@entry=0x640e877249c0, windowId=111151773, is_mapped=is_mapped@entry=false) at kde/src/kwin/src/workspace.cpp:685 #261673 0x0000774e71d3b74e in KWin::Workspace::workspaceEvent (this=0x640e877249c0, e=0x774e5005fe50) at kde/src/kwin/src/events.cpp:215 #261674 0x0000774e6e942a3f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long long*) () at /usr/lib/libQt6Core.so.6 #261675 0x0000774e5d98f8d3 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6 #261676 0x0000774e5d997c32 in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6 #261677 0x0000774e5d9b1abf in ??? () at /usr/lib/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6 #261678 0x0000774e6d6bd559 in ??? () at /usr/lib/libglib-2.0.so.0 #261679 0x0000774e6d720157 in ??? () at /usr/lib/libglib-2.0.so.0 #261680 0x0000774e6d6bca55 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #261681 0x0000774e6eba985d in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6 #261682 0x0000774e6e950106 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6 #261683 0x0000774e6e94a27d in QCoreApplication::exec() () at /usr/lib/libQt6Core.so.6 #261684 0x0000640e5f25825e in main (argc=<optimized out>, argv=0x7fff9e6d4e38) at kde/src/kwin/src/main_x11.cpp:467 ... 261692 0x0000768acdae7083 in KWin::Window::findModal (this=<optimized out>) at kde/src/kwin/src/window.cpp:2271 #261693 0x0000768acdae7083 in KWin::Window::findModal (this=<optimized out>) at kde/src/kwin/src/window.cpp:2271 #261694 0x0000768acdae7083 in KWin::Window::findModal (this=<optimized out>) at kde/src/kwin/src/window.cpp:2271 #261695 0x0000768acdae7083 in KWin::Window::findModal (this=this@entry=0x5c8c41e8d760) at kde/src/kwin/src/window.cpp:2271 #261696 0x0000768acd8afd8b in KWin::Workspace::takeActivity (this=0x5c8c416a8bc0, window=0x5c8c41e8d760, flags=...) at kde/src/kwin/src/activation.cpp:385 #261697 0x0000768acd8b0050 in KWin::Workspace::requestFocus (this=<optimized out>, window=<optimized out>, force=<optimized out>) at /usr/include/qt6/QtCore/qflags.h:74 #261698 0x0000768acdb04062 in KWin::Workspace::delayFocus (this=0x5c8c416a8bc0) at kde/src/kwin/src/workspace.cpp:1512 #261699 0x0000768aca7b2229 in ??? () at /usr/lib/libQt6Core.so.6 #261700 0x0000768aca7bb685 in QTimer::timerEvent(QTimerEvent*) () at /usr/lib/libQt6Core.so.6 #261701 0x0000768aca7a3439 in QObject::event(QEvent*) () at /usr/lib/libQt6Core.so.6 #261702 0x0000768acb6fe31a in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt6Widgets.so.6 #261703 0x0000768aca7585a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt6Core.so.6 #261704 0x0000768aca8d5d1f in QTimerInfoList::activateTimers() () at /usr/lib/libQt6Core.so.6 #261705 0x0000768aca9c2389 in ??? () at /usr/lib/libQt6Core.so.6 #261706 0x0000768ac930d559 in ??? () at /usr/lib/libglib-2.0.so.0 #261707 0x0000768ac9370157 in ??? () at /usr/lib/libglib-2.0.so.0 #261708 0x0000768ac930ca55 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #261709 0x0000768aca9bf71d in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6 #261710 0x0000768aca764566 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6 #261711 0x0000768aca759a2f in QCoreApplication::exec() () at /usr/lib/libQt6Core.so.6 #261712 0x00005c8c1e42525e in main (argc=<optimized out>, argv=0x7fff20a94248) at kde/src/kwin/src/main_x11.cpp:467 ... #52345 0x00007a3a2ad64270 in KWin::Window::allMainWindows() const () at /usr/lib/libkwin.so.6 #52346 0x00007a3a2ad64270 in KWin::Window::allMainWindows() const () at /usr/lib/libkwin.so.6 #52347 0x00007a3a2ad64270 in KWin::Window::allMainWindows() const () at /usr/lib/libkwin.so.6 #52348 0x00007a3a2ad64270 in KWin::Window::allMainWindows() const () at /usr/lib/libkwin.so.6 #52349 0x00007a3a2ad64270 in KWin::Window::allMainWindows() const () at /usr/lib/libkwin.so.6 #52350 0x00007a3a2adc9a99 in KWin::X11Window::manage(unsigned int, bool) () at /usr/lib/libkwin.so.6 #52351 0x00007a3a2ad81c36 in KWin::Workspace::createX11Window(unsigned int, bool) () at /usr/lib/libkwin.so.6 #52352 0x00007a3a2adb707e in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /usr/lib/libkwin.so.6 #52353 0x00007a3a28142a3f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long long*) () at /usr/lib/libQt6Core.so.6 #52354 0x00007a3a16d8f8d3 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6 #52355 0x00007a3a16d97c32 in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6 #52356 0x00007a3a16db1abf in ??? () at /usr/lib/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6 #52357 0x00007a3a26f0d559 in ??? () at /usr/lib/libglib-2.0.so.0 #52358 0x00007a3a26f70157 in ??? () at /usr/lib/libglib-2.0.so.0 #52359 0x00007a3a26f0ca55 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #52360 0x00007a3a283a985d in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6 #52361 0x00007a3a28150106 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6 #52362 0x00007a3a2814a27d in QCoreApplication::exec() () at /usr/lib/libQt6Core.so.6 #52363 0x00005af2b0106f6b in ??? () #52364 0x00007a3a27a34e08 in ??? () at /usr/lib/libc.so.6 #52365 0x00007a3a27a34ecc in __libc_start_main () at /usr/lib/libc.so.6 #52366 0x00005af2b010ada5 in ??? () Until a couple of months back, I too used to see KWin crashing sometimes after a notification. That has gotten A LOT better though, at least for me. Did you get a chance to re-test this with the new version 6.3.4 or devel? Yes, I upgraded to KDE Plasma 6.3.4 maybe a couple months ago and the problem was still present. So I still had to apply the code changes to the kwin source and run it that way. The modified built version is 6.3.80. Note I have not tried the kwin from my system's (Arch Linux) package manager since then, so I do not know if it has improved since my initial upgrade to 6.3.4. |