Bug 507673

Summary: kwin crashed in KWin::Window::isOnActivity after minimizing Brave
Product: [Plasma] kwin Reporter: NitramO <m.benjenec>
Component: generic-crashAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: kdedev, nate
Priority: NOR Keywords: drkonqi
Version First Reported In: 6.4.3   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=507613
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/226667/events/e67d80d6e1964567b64fd9f8065aadb8/
Attachments: New crash information added by DrKonqi

Description NitramO 2025-07-30 20:58:29 UTC
Application: kwin_wayland (6.4.3)

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.1
Frameworks Version: 6.16.0
Operating System: Linux 6.14.0-24-generic x86_64
Windowing System: Wayland
Distribution: KDE neon User Edition
DrKonqi: 6.4.3 [CoredumpBackend]

-- Information about the crash:
It crashed while I was using my computer again... I just reopened the minimized Brave Browser window...

The reporter is unsure if this crash is reproducible.

-- Backtrace (Reduced):
#6  0x000055df3bfa2930 in ??? ()
#7  0x00007a93e8045427 in KWin::Window::isOnActivity (this=0x55df380dfb40, activity=...) at /usr/src/kwin-4:6.4.3-0zneon+24.04+noble+release+build48/src/window.h:2100
#8  KWin::Window::isOnCurrentActivity (this=0x55df380dfb40) at /usr/src/kwin-4:6.4.3-0zneon+24.04+noble+release+build48/src/window.cpp:3250
#9  KWin::Window::isOnCurrentActivity (this=0x55df380dfb40) at /usr/src/kwin-4:6.4.3-0zneon+24.04+noble+release+build48/src/window.cpp:3244
#10 0x00007a93e820968d in KWin::TabBox::TabBoxHandlerImpl::checkActivity (this=0x55df37622d00, client=0x55df380dfb40) at /usr/src/kwin-4:6.4.3-0zneon+24.04+noble+release+build48/src/tabbox/tabbox.cpp:106
#11 KWin::TabBox::TabBoxHandlerImpl::clientToAddToList (this=0x55df37622d00, client=0x55df380dfb40) at /usr/src/kwin-4:6.4.3-0zneon+24.04+noble+release+build48/src/tabbox/tabbox.cpp:164
#12 0x00007a93e820f0df in KWin::TabBox::ClientModel::createFocusChainClientList (this=0x55df3763e110, start=<optimized out>) at /usr/src/kwin-4:6.4.3-0zneon+24.04+noble+release+build48/src/tabbox/clientmodel.cpp:158
#13 KWin::TabBox::ClientModel::createClientList (this=0x55df3763e110, partialReset=true) at /usr/src/kwin-4:6.4.3-0zneon+24.04+noble+release+build48/src/tabbox/clientmodel.cpp:213
#14 KWin::TabBox::TabBoxHandler::createModel (this=0x55df37622d00, partialReset=true) at /usr/src/kwin-4:6.4.3-0zneon+24.04+noble+release+build48/src/tabbox/tabboxhandler.cpp:474
#15 KWin::TabBox::TabBox::reset (this=0x55df36b1edf0, partial_reset=true) at /usr/src/kwin-4:6.4.3-0zneon+24.04+noble+release+build48/src/tabbox/tabbox.cpp:400
#16 0x00007a93e805150b in KWin::Workspace::addWaylandWindow (this=0x55df36c13010, window=<optimized out>) at /usr/src/kwin-4:6.4.3-0zneon+24.04+noble+release+build48/src/workspace.cpp:786
#17 0x00007a93e567cce9 in QtPrivate::QSlotObjectBase::call (a=0x7ffc7dda25e0, r=<optimized out>, this=0x55df379491b0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qobjectdefs_impl.h:461
#18 doActivate<false> (sender=0x55df368925a0, signal_index=3, argv=0x7ffc7dda25e0) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qobject.cpp:4146
[...]
#20 KWin::WaylandServer::windowAdded (this=<optimized out>, _t1=<optimized out>) at /usr/src/kwin-4:6.4.3-0zneon+24.04+noble+release+build48/obj-x86_64-linux-gnu/src/kwin_autogen/include/moc_wayland_server.cpp:149
#21 0x00007a93e567cce9 in QtPrivate::QSlotObjectBase::call (a=0x7ffc7dda2688, r=<optimized out>, this=0x55df38e1bc10, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qobjectdefs_impl.h:461
#22 doActivate<false> (sender=0x55df3c24a980, signal_index=61, argv=0x7ffc7dda2688) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qobject.cpp:4146


Reported using DrKonqi
Comment 1 NitramO 2025-07-30 20:58:30 UTC
Created attachment 183663 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 TraceyC 2025-07-30 21:06:54 UTC
Searchable backtrace


Thread 1 (Thread 0x7a93d459bd80 (LWP 347736)):
[KCrash Handler]
#6  0x000055df3bfa2930 in ??? ()
#7  0x00007a93e8045427 in KWin::Window::isOnActivity (this=0x55df380dfb40, activity=...) at /usr/src/kwin-4:6.4.3-0zneon+24.04+noble+release+build48/src/window.h:2100
#8  KWin::Window::isOnCurrentActivity (this=0x55df380dfb40) at /usr/src/kwin-4:6.4.3-0zneon+24.04+noble+release+build48/src/window.cpp:3250
#9  KWin::Window::isOnCurrentActivity (this=0x55df380dfb40) at /usr/src/kwin-4:6.4.3-0zneon+24.04+noble+release+build48/src/window.cpp:3244
#10 0x00007a93e820968d in KWin::TabBox::TabBoxHandlerImpl::checkActivity (this=0x55df37622d00, client=0x55df380dfb40) at /usr/src/kwin-4:6.4.3-0zneon+24.04+noble+release+build48/src/tabbox/tabbox.cpp:106
#11 KWin::TabBox::TabBoxHandlerImpl::clientToAddToList (this=0x55df37622d00, client=0x55df380dfb40) at /usr/src/kwin-4:6.4.3-0zneon+24.04+noble+release+build48/src/tabbox/tabbox.cpp:164
#12 0x00007a93e820f0df in KWin::TabBox::ClientModel::createFocusChainClientList (this=0x55df3763e110, start=<optimized out>) at /usr/src/kwin-4:6.4.3-0zneon+24.04+noble+release+build48/src/tabbox/clientmodel.cpp:158
#13 KWin::TabBox::ClientModel::createClientList (this=0x55df3763e110, partialReset=true) at /usr/src/kwin-4:6.4.3-0zneon+24.04+noble+release+build48/src/tabbox/clientmodel.cpp:213
#14 KWin::TabBox::TabBoxHandler::createModel (this=0x55df37622d00, partialReset=true) at /usr/src/kwin-4:6.4.3-0zneon+24.04+noble+release+build48/src/tabbox/tabboxhandler.cpp:474
#15 KWin::TabBox::TabBox::reset (this=0x55df36b1edf0, partial_reset=true) at /usr/src/kwin-4:6.4.3-0zneon+24.04+noble+release+build48/src/tabbox/tabbox.cpp:400
#16 0x00007a93e805150b in KWin::Workspace::addWaylandWindow (this=0x55df36c13010, window=<optimized out>) at /usr/src/kwin-4:6.4.3-0zneon+24.04+noble+release+build48/src/workspace.cpp:786
#17 0x00007a93e567cce9 in QtPrivate::QSlotObjectBase::call (a=0x7ffc7dda25e0, r=<optimized out>, this=0x55df379491b0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qobjectdefs_impl.h:461
#18 doActivate<false> (sender=0x55df368925a0, signal_index=3, argv=0x7ffc7dda25e0) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qobject.cpp:4146
#19 0x00007a93e802aad1 in QMetaObject::activate<void, KWin::Window*> (sender=<optimized out>, mo=<optimized out>, local_signal_index=0, ret=0x0, sender=<optimized out>, mo=<optimized out>, local_signal_index=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs.h:306
#20 KWin::WaylandServer::windowAdded (this=<optimized out>, _t1=<optimized out>) at /usr/src/kwin-4:6.4.3-0zneon+24.04+noble+release+build48/obj-x86_64-linux-gnu/src/kwin_autogen/include/moc_wayland_server.cpp:149
#21 0x00007a93e567cce9 in QtPrivate::QSlotObjectBase::call (a=0x7ffc7dda2688, r=<optimized out>, this=0x55df38e1bc10, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qobjectdefs_impl.h:461
#22 doActivate<false> (sender=0x55df3c24a980, signal_index=61, argv=0x7ffc7dda2688) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qobject.cpp:4146
#23 0x00007a93e567cce9 in QtPrivate::QSlotObjectBase::call (a=0x7ffc7dda2758, r=<optimized out>, this=0x55df385fa900, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qobjectdefs_impl.h:461
#24 doActivate<false> (sender=0x55df369810c0, signal_index=26, argv=0x7ffc7dda2758) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qobject.cpp:4146
#25 0x00007a93e81b8a3f in KWin::SurfaceInterfacePrivate::applyState (this=0x55df394c44f0, next=<optimized out>) at /usr/src/kwin-4:6.4.3-0zneon+24.04+noble+release+build48/src/wayland/surface.cpp:805
#26 0x00007a93e81e52a4 in KWin::Transaction::apply (this=0x55df3b657720) at /usr/src/kwin-4:6.4.3-0zneon+24.04+noble+release+build48/src/wayland/transaction.cpp:169
#27 0x00007a93e567cce9 in QtPrivate::QSlotObjectBase::call (a=0x7ffc7dda2ea0, r=<optimized out>, this=0x55df3b2922d0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qobjectdefs_impl.h:461
#28 doActivate<false> (sender=0x55df39b19590, signal_index=3, argv=0x7ffc7dda2ea0) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qobject.cpp:4146
#29 0x00007a93e572fb23 in QMetaObject::activate<void, QSocketDescriptor, QSocketNotifier::Type, QSocketNotifier::QPrivateSignal> (ret=0x0, local_signal_index=0, mo=<optimized out>, sender=0x55df39b19590) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qobjectdefs.h:306
#30 QSocketNotifier::activated (this=this@entry=0x55df39b19590, _t1=..., _t2=<optimized out>, _t3=...) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/obj-x86_64-linux-gnu/src/corelib/Core_autogen/include/moc_qsocketnotifier.cpp:161
#31 0x00007a93e572fcc0 in QSocketNotifier::event (this=0x55df39b19590, e=<optimized out>) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qsocketnotifier.cpp:327
#32 0x00007a93e6a3e21d in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55df39b19590, e=0x7ffc7dda2ff0) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/widgets/kernel/qapplication.cpp:3303
#33 0x00007a93e56b6340 in QCoreApplication::notifyInternal2 (receiver=0x55df39b19590, event=0x7ffc7dda2ff0) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qcoreapplication.cpp:1106
#34 0x00007a93e55965cc in QEventDispatcherUNIXPrivate::activateSocketNotifiers (this=this@entry=0x55df368b0b70) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qeventdispatcher_unix.cpp:254
#35 0x00007a93e55970d4 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=..., flags@entry=...) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/kernel/qeventdispatcher_unix.cpp:470
#36 0x00007a93e6174952 in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/gui/platform/unix/qunixeventdispatcher.cpp:27
#37 0x00007a93e56c0b6b in QEventLoop::exec (this=0x7ffc7dda31d0, flags=...) at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/global/qflags.h:77
#38 0x00007a93e56b96ef in QCoreApplication::exec () at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/corelib/global/qflags.h:77
#39 0x00007a93e5cde8fd in QGuiApplication::exec () at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/gui/kernel/qguiapplication.cpp:1986
#40 0x00007a93e6a3a4f9 in QApplication::exec () at /usr/src/qt6-base-6.9.1-0zneon+24.04+noble+release+build117/src/widgets/kernel/qapplication.cpp:2570
#41 0x000055df05c77548 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/kwin-4:6.4.3-0zneon+24.04+noble+release+build48/src/main_wayland.cpp:635
Comment 3 Nate Graham 2025-09-23 18:06:47 UTC
There have been a lot of changes around the internal Activities code for Plasma 6.5 that may have fixed this. Please re-test with the Plasma 6.5 final release, or else the 6.5 beta 2. Thanks a lot!
Comment 4 Bug Janitor Service 2025-10-08 03:47:01 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2025-10-23 03:47:28 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.