Application: kwin_x11 (5.27.1) Qt Version: 5.15.8 Frameworks Version: 5.103.0 Operating System: Linux 5.19.0-32-generic x86_64 Windowing System: X11 Distribution: KDE neon 5.27 DrKonqi: 5.27.1 [KCrashBackend] -- Information about the crash: This morning I noticed that desktop icons were missing (probably caused by multiple KWin and Plasma restarts yesterday). I pressed Meta+S – shortcut for "Show Desktop Grid" effect and then a KWin crash was reported. I am using a laptop in clamshell mode with external monitor. Laptop resolution is 1920x1080, the resolution of the external monitor is 2560x1440. The crash does not seem to be reproducible. -- Backtrace: Application: KWin (kwin_x11), signal: Segmentation fault [KCrash Handler] #4 KWin::OutputMode::size (this=0x3f800000) at ./src/core/output.cpp:50 #5 0x00007fa3f5fc3e52 in KWin::Output::modeSize (this=this@entry=0x7fa3e80091d0) at ./src/core/output.cpp:194 #6 0x00007fa3f5fc4071 in KWin::Output::pixelSize (this=this@entry=0x7fa3e80091d0) at ./src/core/output.cpp:199 #7 0x00007fa3f5fc40bf in KWin::Output::geometry (this=0x7fa3e80091d0) at ./src/core/output.cpp:174 #8 0x00007fa3f60eb0a4 in KWin::Window::isOnOutput (this=0x561e02859e40, output=<optimized out>) at ./src/window.cpp:428 #9 0x00007fa3f6090d7c in KWin::DesktopBackgroundItem::updateWindow (this=this@entry=0x561e02769740) at ./src/scripting/desktopbackgrounditem.cpp:112 #10 0x00007fa3f6091126 in KWin::DesktopBackgroundItem::setDesktop (desktop=<optimized out>, this=0x561e02769740) at ./src/scripting/desktopbackgrounditem.cpp:66 #11 KWin::DesktopBackgroundItem::setDesktop (desktop=<optimized out>, this=0x561e02769740) at ./src/scripting/desktopbackgrounditem.cpp:62 #12 KWin::DesktopBackgroundItem::qt_static_metacall (_o=_o@entry=0x561e02769740, _c=_c@entry=QMetaObject::WriteProperty, _id=_id@entry=3, _a=_a@entry=0x7ffdb6383fb0) at ./obj-x86_64-linux-gnu/src/kwin_autogen/include/moc_desktopbackgrounditem.cpp:148 #13 0x00007fa3f60913e3 in KWin::DesktopBackgroundItem::qt_metacall (this=0x561e02769740, _c=QMetaObject::WriteProperty, _id=3, _a=0x7ffdb6383fb0) at ./obj-x86_64-linux-gnu/src/kwin_autogen/include/moc_desktopbackgrounditem.cpp:197 #14 0x00007fa3f54f430e in QQmlPropertyData::writeProperty (flags=..., value=0x7ffdb6383f68, 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=0x561e02662330, result=..., isUndefined=<optimized out>, flags=...) at qml/qqmlbinding.cpp:742 #16 0x00007fa3f54f5b07 in QQmlNonbindingBinding::doUpdate (this=0x561e02662330, watcher=..., flags=..., scope=...) at qml/qqmlbinding.cpp:258 #17 0x00007fa3f54f3664 in QQmlBinding::update (this=0x561e02662330, flags=...) at qml/qqmlbinding.cpp:194 #18 0x00007fa3f54d0165 in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=0x0) at qml/qqmlnotifier.cpp:104 #19 0x00007fa3f46f3c5b in doActivate<false> (sender=0x561e0255cec0, signal_index=27, argv=0x0) at kernel/qobject.cpp:3815 #20 0x00007fa3f46f40d4 in QtPrivate::QSlotObjectBase::call (a=0x7ffdb6385ba0, r=0x561e0255cec0, this=0x561e0254c0a0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #21 doActivate<false> (sender=0x561e0148acf0, signal_index=7, argv=0x7ffdb6385ba0) at kernel/qobject.cpp:3923 #22 0x00007fa3f46ed177 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fa3f63cdc00 <KWin::VirtualDesktopManager::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7ffdb6385ba0) at kernel/qobject.cpp:3983 #23 0x00007fa3f5f93963 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 0x00007fa3f60d7bf8 in KWin::VirtualDesktopManager::setCurrent (this=0x561e0148acf0, newDesktop=0x561e016123a0) at ./src/virtualdesktops.h:62 #25 0x00007fa3f5fb4c8e in KWin::Workspace::activateWindow (this=0x561e0141a5c0, window=0x561e014e0eb0, force=<optimized out>) at ./src/activation.cpp:294 #26 0x00007fa3f60b2743 in KWin::WorkspaceWrapper::qt_metacall (this=this@entry=0x561e025f6f50, _c=_c@entry=QMetaObject::WriteProperty, _id=2, _a=_a@entry=0x7ffdb6385d30) at ./obj-x86_64-linux-gnu/src/kwin_autogen/include/moc_workspace_wrapper.cpp:1047 #27 0x00007fa3f60b2895 in KWin::DeclarativeScriptWorkspaceWrapper::qt_metacall (this=0x561e025f6f50, _c=QMetaObject::WriteProperty, _id=<optimized out>, _a=0x7ffdb6385d30) at ./obj-x86_64-linux-gnu/src/kwin_autogen/include/moc_workspace_wrapper.cpp:1423 #28 0x00007fa3f548b46e in QQmlPropertyData::writeProperty (flags=..., value=<optimized out>, target=<optimized out>, this=<optimized out>) at ../../include/QtQml/5.15.8/QtQml/private/../../../../../src/qml/qml/qqmlpropertydata_p.h:395 #29 QQmlPropertyPrivate::write (object=object@entry=0x561e025f6f50, property=..., value=..., context=<optimized out>, flags=..., flags@entry=...) at qml/qqmlproperty.cpp:1443 #30 0x00007fa3f53ade72 in QV4::QObjectWrapper::setProperty (engine=0x561e024ca790, object=0x561e025f6f50, property=0x561e01517928, value=...) at jsruntime/qv4qobjectwrapper.cpp:565 #31 0x00007fa3f53ae412 in QV4::QObjectWrapper::setQmlProperty (value=..., revisionMode=QV4::QObjectWrapper::IgnoreRevision, name=<optimized out>, object=0x561e025f6f50, qmlContext=0x0, engine=0x561e024ca790) at jsruntime/qv4qobjectwrapper.cpp:435 #32 QV4::QObjectWrapper::setQmlProperty (engine=engine@entry=0x561e024ca790, qmlContext=qmlContext@entry=0x561e029b45e0, object=object@entry=0x561e025f6f50, name=<optimized out>, revisionMode=revisionMode@entry=QV4::QObjectWrapper::IgnoreRevision, value=...) at jsruntime/qv4qobjectwrapper.cpp:418 #33 0x00007fa3f54fd63c in QV4::QQmlTypeWrapper::virtualPut (m=<optimized out>, id=..., value=..., receiver=<optimized out>) at qml/qqmltypewrapper.cpp:347 #34 0x00007fa3f5335677 in QV4::Object::put (receiver=0x7fa35d5c0598, v=..., name=0x7fa35d5c05a0, this=0x7fa35d5c0598) at ../../include/QtQml/5.15.8/QtQml/private/../../../../../src/qml/jsruntime/qv4string_p.h:280 #35 QV4::Lookup::setterFallback (l=<optimized out>, engine=0x561e024ca790, object=..., value=...) at jsruntime/qv4lookup.cpp:546 #36 0x00007fa3913f2692 in ?? () #37 0x0000000000000000 in ?? () [Inferior 1 (process 268737) detached] Reported using DrKonqi
Looks like when we got to KWin::Window::isOnOutput(), the output was null so we tried to get its properties and crashed.
*** Bug 467965 has been marked as a duplicate of this bug. ***
This bug is a crash report that is over a year old without any activity, as our software is always changing, the information in this ticket is unlikely to still be useful. If this issue is still reproducible in a newer version of kwin (5.27.5 or 6.0) please reopen this ticket with a bumped version number or it will be closed in 30 days.
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!