https://bugs.kde.org/show_bug.cgi?id=467965

            Bug ID: 467965
           Summary: KWin crashes intermittently when switching to a window
                    on a different virtual desktop
    Classification: Plasma
           Product: kwin
           Version: 5.27.3
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: rybak....@gmail.com
  Target Milestone: ---

Application: kwin_x11 (5.27.3)

Qt Version: 5.15.8
Frameworks Version: 5.104.0
Operating System: Linux 5.19.0-35-generic x86_64
Windowing System: X11
Distribution: KDE neon 5.27
DrKonqi: 5.27.3 [KCrashBackend]

-- Information about the crash:
1. Clicked on Chromium icon in Application launcher 
2. While Chromium is still opening switched to a Firefox window on a different
virtual desktop by pressing "Meta+1" - shortcut "Activate Task Manager Entry
1".
3. Once I was ready to use Chromium for what I opened it for, I clicked on its
button in the Task Manager widget
4. KWin crashed and restarted itself.

Notes:
- This isn't the first time KWin crashes in this way.
- I have a bunch of window rules for opening them on specific virtual desktops.
There is one for Firefox, but none for Chromium.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault

[KCrash Handler]
#4  KWin::OutputMode::size (this=0x7) at ./src/core/output.cpp:50
#5  0x00007ff3f7bc4122 in KWin::Output::modeSize
(this=this@entry=0x55f5759eefa0) at ./src/core/output.cpp:194
#6  0x00007ff3f7bc4341 in KWin::Output::pixelSize
(this=this@entry=0x55f5759eefa0) at ./src/core/output.cpp:199
#7  0x00007ff3f7bc438f in KWin::Output::geometry (this=0x55f5759eefa0) at
./src/core/output.cpp:174
#8  0x00007ff3f7ced7d4 in KWin::Window::isOnOutput (this=0x55f576b26e20,
output=<optimized out>) at ./src/window.cpp:428
#9  0x00007ff3f7c8f72c in KWin::DesktopBackgroundItem::updateWindow
(this=this@entry=0x55f576cd67d0) at
./src/scripting/desktopbackgrounditem.cpp:112
#10 0x00007ff3f7c8fad6 in KWin::DesktopBackgroundItem::setDesktop
(desktop=<optimized out>, this=0x55f576cd67d0) at
./src/scripting/desktopbackgrounditem.cpp:66
#11 KWin::DesktopBackgroundItem::setDesktop (desktop=<optimized out>,
this=0x55f576cd67d0) at ./src/scripting/desktopbackgrounditem.cpp:62
#12 KWin::DesktopBackgroundItem::qt_static_metacall
(_o=_o@entry=0x55f576cd67d0, _c=_c@entry=QMetaObject::WriteProperty,
_id=_id@entry=3, _a=_a@entry=0x7ffe838ea7e0) at
./obj-x86_64-linux-gnu/src/kwin_autogen/include/moc_desktopbackgrounditem.cpp:148
#13 0x00007ff3f7c8fd93 in KWin::DesktopBackgroundItem::qt_metacall
(this=0x55f576cd67d0, _c=QMetaObject::WriteProperty, _id=3, _a=0x7ffe838ea7e0)
at
./obj-x86_64-linux-gnu/src/kwin_autogen/include/moc_desktopbackgrounditem.cpp:197
#14 0x00007ff3f70f430e in QQmlPropertyData::writeProperty (flags=...,
value=0x7ffe838ea798, target=<optimized out>, this=<optimized out>) at
../../include/QtQml/5.15.8/QtQml/private/../../../../../src/qml/qml/qqmlpropertydata_p.h:393
#15 QObjectPointerBinding::write (this=0x55f576d8fdc0, result=...,
isUndefined=<optimized out>, flags=...) at qml/qqmlbinding.cpp:742
#16 0x00007ff3f70f5b07 in QQmlNonbindingBinding::doUpdate (this=0x55f576d8fdc0,
watcher=..., flags=..., scope=...) at qml/qqmlbinding.cpp:258
#17 0x00007ff3f70f3664 in QQmlBinding::update (this=0x55f576d8fdc0, flags=...)
at qml/qqmlbinding.cpp:194
#18 0x00007ff3f70d0165 in QQmlNotifier::emitNotify (endpoint=<optimized out>,
a=0x0) at qml/qqmlnotifier.cpp:104
#19 0x00007ff3f62f3c5b in doActivate<false> (sender=0x55f576db9810,
signal_index=27, argv=0x0) at kernel/qobject.cpp:3815
#20 0x00007ff3f62f40d4 in QtPrivate::QSlotObjectBase::call (a=0x7ffe838ec3d0,
r=0x55f576db9810, this=0x55f576db9d40) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#21 doActivate<false> (sender=0x55f575c33c30, signal_index=7,
argv=0x7ffe838ec3d0) at kernel/qobject.cpp:3923
#22 0x00007ff3f62ed177 in QMetaObject::activate (sender=<optimized out>,
m=m@entry=0x7ff3f7fcfbc0 <KWin::VirtualDesktopManager::staticMetaObject>,
local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7ffe838ec3d0)
at kernel/qobject.cpp:3983
#23 0x00007ff3f7b93ad3 in KWin::VirtualDesktopManager::currentChanged
(this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at
./obj-x86_64-linux-gnu/src/kwin_autogen/EWIEGA46WW/moc_virtualdesktops.cpp:622
#24 0x00007ff3f7cd8148 in KWin::VirtualDesktopManager::setCurrent
(this=0x55f575c33c30, newDesktop=0x55f575d55620) at ./src/virtualdesktops.h:62
#25 0x00007ff3f7bb4f0e in KWin::Workspace::activateWindow (this=0x55f575c0ca10,
window=0x55f575cd8c00, force=<optimized out>) at ./src/activation.cpp:294
#26 0x00007ff3f6d29bb4 in NETRootInfo::event(xcb_generic_event_t*,
QFlags<NET::Property>*, QFlags<NET::Property2>*) () from
/lib/x86_64-linux-gnu/libKF5WindowSystem.so.5
#27 0x00007ff3f7c61528 in KWin::RootInfoFilter::event (this=<optimized out>,
event=<optimized out>) at ./src/rootinfo_filter.cpp:26
#28 0x00007ff3f7c49304 in KWin::Application::dispatchEvent (this=<optimized
out>, event=0x7ff3e0031500) at ./src/main.cpp:483
#29 0x00007ff3f62b9447 in QAbstractEventDispatcher::filterNativeEvent
(this=<optimized out>, eventType=..., message=message@entry=0x7ff3e0031500,
result=result@entry=0x7ffe838ec638) at kernel/qabstracteventdispatcher.cpp:495
#30 0x00007ff3f0ef4575 in QXcbConnection::handleXcbEvent
(this=this@entry=0x55f575872de0, event=event@entry=0x7ff3e0031500) at
./src/plugins/platforms/xcb/qxcbconnection.cpp:579
#31 0x00007ff3f0ef5cb6 in QXcbConnection::processXcbEvents
(this=0x55f575872de0, flags=...) at
./src/plugins/platforms/xcb/qxcbconnection.cpp:1063
#32 0x00007ff3f0f1cde7 in xcbSourceDispatch (source=<optimized out>) at
./src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:103
#33 0x00007ff3f3a51d3b in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007ff3f3aa66c8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007ff3f3a4f3e3 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007ff3f6315ad8 in QEventDispatcherGlib::processEvents
(this=0x55f5759ad4d0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#37 0x00007ff3f62ba99b in QEventLoop::exec (this=this@entry=0x7ffe838ec8c0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#38 0x00007ff3f62c2f34 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#39 0x00007ff3f67364d0 in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1870
#40 0x00007ff3f576c709 in QApplication::exec () at kernel/qapplication.cpp:2832
#41 0x000055f5752b4c17 in main (argc=<optimized out>, argv=<optimized out>) at
./src/main_x11.cpp:447
[Inferior 1 (process 293195) detached]

Reported using DrKonqi

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

Reply via email to