Bug 466631

Summary: Switching between different display configurations crashes plasmashell
Product: [Plasma] plasmashell Reporter: ashton.ackles
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde, nate
Priority: NOR Keywords: drkonqi
Version: 5.27.1   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description ashton.ackles 2023-03-01 01:12:46 UTC
Application: plasmashell (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: Wayland
Distribution: KDE neon 5.27
DrKonqi: 5.27.1 [KCrashBackend]

-- Information about the crash:
I've tried switching between display configurations using the built in "For only this specific display arrangement" in the display configuration by powering off one of my monitors and it will sometimes crash the plasmashell. It seems like changing the latency in the compositor causes it to crash a lot less.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fd58125b0bf in QQuickItemPrivate::addToDirtyList() () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007fd58125fc9e in QQuickItemPrivate::dirty(QQuickItemPrivate::DirtyType) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007fd58126185a in QQuickItemPrivate::setEffectiveVisibleRecur(bool) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007fd5812618cb in QQuickItemPrivate::setEffectiveVisibleRecur(bool) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007fd5812618cb in QQuickItemPrivate::setEffectiveVisibleRecur(bool) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007fd5812618cb in QQuickItemPrivate::setEffectiveVisibleRecur(bool) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007fd5812618cb in QQuickItemPrivate::setEffectiveVisibleRecur(bool) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#11 0x00007fd5812618cb in QQuickItemPrivate::setEffectiveVisibleRecur(bool) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#12 0x00007fd5812618cb in QQuickItemPrivate::setEffectiveVisibleRecur(bool) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#13 0x00007fd5812618cb in QQuickItemPrivate::setEffectiveVisibleRecur(bool) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#14 0x00007fd5812618cb in QQuickItemPrivate::setEffectiveVisibleRecur(bool) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#15 0x00007fd5812619f7 in QQuickItemPrivate::setVisible(bool) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#16 0x00007fd58126f6f3 in QQuickItem::qt_metacall(QMetaObject::Call, int, void**) () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#17 0x00007fd581bdb06a in PlasmaQuick::AppletQuickItem::qt_metacall(QMetaObject::Call, int, void**) () at /lib/x86_64-linux-gnu/libKF5PlasmaQuick.so.5
#18 0x00007fd5611baada in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/scriptengines/plasma_appletscript_declarative.so
#19 0x00007fd5611c84ea in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/scriptengines/plasma_appletscript_declarative.so
#20 0x00007fd580c8af87 in QQmlPropertyPrivate::write(QObject*, QQmlPropertyData const&, QVariant const&, QQmlContextData*, QFlags<QQmlPropertyData::WriteFlag>) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#21 0x00007fd580bade72 in QV4::QObjectWrapper::setProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData*, QV4::Value const&) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#22 0x00007fd580bae412 in QV4::QObjectWrapper::setQmlProperty(QV4::ExecutionEngine*, QQmlContextData*, QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, QV4::Value const&) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#23 0x00007fd580bae5b5 in QV4::QObjectWrapper::virtualPut(QV4::Managed*, QV4::PropertyKey, QV4::Value const&, QV4::Value*) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#24 0x00007fd580b35677 in QV4::Lookup::setterFallback(QV4::Lookup*, QV4::ExecutionEngine*, QV4::Value&, QV4::Value const&) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#25 0x00007fd580bc87f2 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#26 0x00007fd580bccb9f in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#27 0x00007fd580b5eaee in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#28 0x00007fd580ceb3a5 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#29 0x00007fd580c9bf3b in QQmlBoundSignalExpression::evaluate(void**) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#30 0x00007fd580c9d678 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#31 0x00007fd580cd0165 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#32 0x00007fd57f4f3c5b in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007fd580c770e4 in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#34 0x00007fd57f4ca14c in QMetaProperty::write(QObject*, QVariant const&) const () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007fd57f4f2d5e in QObject::setProperty(char const*, QVariant const&) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007fd581be878d in  () at /lib/x86_64-linux-gnu/libKF5PlasmaQuick.so.5
#37 0x0000563dbba81066 in  ()
#38 0x00007fd57f4f40d4 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007fd57f4f815e in QTimer::timeout(QTimer::QPrivateSignal) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007fd57f4e99ff in QObject::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007fd58036c793 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#42 0x00007fd57f4bc07a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#43 0x00007fd57f514e0b in QTimerInfoList::activateTimers() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#44 0x00007fd57f51570c in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#45 0x00007fd57e0f2d3b in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007fd57e1476c8 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007fd57e0f03e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007fd57f515ad8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#49 0x00007fd57f4ba99b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#50 0x00007fd57f4c2f34 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#51 0x0000563dbba53a8b in  ()
#52 0x00007fd57ea29d90 in __libc_start_call_main (main=main@entry=0x563dbba52b70, argc=argc@entry=2, argv=argv@entry=0x7fff4ca30e98) at ../sysdeps/nptl/libc_start_call_main.h:58
#53 0x00007fd57ea29e40 in __libc_start_main_impl (main=0x563dbba52b70, argc=2, argv=0x7fff4ca30e98, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff4ca30e88) at ../csu/libc-start.c:392
#54 0x0000563dbba53bb5 in  ()
[Inferior 1 (process 9040) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2023-03-01 20:29:29 UTC
Backtace is the same as in Bug 466629; let's focus on that one.

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