Bug 460081 - Crash in KWin::Workspace::takeActivity() when clicking on tooltip for window decoration Close button
Summary: Crash in KWin::Workspace::takeActivity() when clicking on tooltip for window ...
Status: RESOLVED DUPLICATE of bug 459860
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.25.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-07 06:48 UTC by auxsvr
Modified: 2022-10-10 18:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description auxsvr 2022-10-07 06:48:37 UTC
SUMMARY
Unfortunately, the backtrace is useless. Kwin crashes if I click on the "Close" tooltip of the window decoration.

STEPS TO REPRODUCE
1. Move pointer on the close button of the window decoration.
2. Try to click on the "Close" tooltip.

OBSERVED RESULT
Kwin crashes and takes all desktop applications with it.

EXPECTED RESULT
Kwin does not crash.

SOFTWARE/OS VERSIONS
Linux: openSUSE Tumbleweed 20211220
Kernel: 5.14.21 
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION
This is on Wayland with 2 monitors.
Comment 1 Vlad Zahorodnii 2022-10-07 08:48:20 UTC
Can you reproduce the crash reliably? As is, this bug report is not actionable without knowing where kwin crashes or at least having some reproducer. If it happens randomly, let's wait for another bug report.
Comment 2 auxsvr 2022-10-08 07:39:09 UTC
This is 100% reproducible. The backtrace looks similar to the one in https://bugs.kde.org/show_bug.cgi?id=459860:

>#0  0x00007f363bd21de6 in KWin::Workspace::takeActivity(KWin::Window*, QFlags<KWin::Workspace::ActivityFlag>) ?(this=0x5636d25e5460, window=0x5636d2961220, flags=...)
>    at /usr/src/debug/kwin5-5.25.5-1.2.x86_64/src/activation.cpp:355
>#1  0x00007f363be5a8bf in KWin::Workspace::delayFocus() (this=0x5636d25e5460) at /usr/src/debug/kwin5-5.25.5-1.2.x86_64/src/workspace.cpp:1343
>#2  0x00007f363aa6405d in  () at /lib64/libQt5Core.so.5
>#3  0x00007f363aa67e9a in QTimer::timeout(QTimer::QPrivateSignal) () at /lib64/libQt5Core.so.5
>#4  0x00007f363aa587ed in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
>#5  0x00007f3639f4a3fe in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
>#6  0x00007f363aa2d178 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
>#7  0x00007f363aa83c01 in QTimerInfoList::activateTimers() () at /lib64/libQt5Core.so.5
>#8  0x00007f363aa821e0 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
>#9  0x00005636d058781d in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at qunixeventdispatcher.cpp:63
>#10 0x00007f363aa2bbeb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
>#11 0x00007f363aa33d56 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
>#12 0x00005636d04b39a0 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kwin5-5.25.5-1.2.x86_64/src/main_wayland.cpp:642
Comment 3 Vlad Zahorodnii 2022-10-10 10:57:34 UTC

*** This bug has been marked as a duplicate of bug 459860 ***
Comment 4 Nate Graham 2022-10-10 18:26:09 UTC

*** This bug has been marked as a duplicate of bug 459860 ***