Bug 481662 - Plasmashell often crashes when an external monitor is connected
Summary: Plasmashell often crashes when an external monitor is connected
Status: RESOLVED DUPLICATE of bug 449981
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.27.10
Platform: unspecified Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi, multiscreen
Depends on:
Blocks:
 
Reported: 2024-02-22 09:01 UTC by Eny Tarunaditya
Modified: 2024-02-22 17:22 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eny Tarunaditya 2024-02-22 09:01:53 UTC
Application: plasmashell (5.27.10)

Qt Version: 5.15.3
Frameworks Version: 5.104.0
Operating System: Linux 6.5.0-15-generic x86_64
Windowing System: X11
Distribution: Ubuntu 22.04.3 LTS
DrKonqi: 5.27.10 [KCrashBackend]

-- Information about the crash:
When I connect an external monitor to my laptop, plasmashell almost always crashes.
Disconnecting from an external monitor doesn't show any problem.
I should add that I'm using Ubuntu 22.04 with `kubuntu-backports-extra` ppa

The crash can be reproduced sometimes.

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

[KCrash Handler]
#4  0x00007f4af227d275 in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::operator->() const (this=0x149) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:118
#5  qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > const>(QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > const&) (ptr=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1143
#6  QQuickWindow::d_func() const (this=0x141) at items/qquickwindow.h:79
#7  QQuickWindow::mouseGrabberItem() const (this=0x141) at items/qquickwindow.cpp:1733
#8  0x00007f4af227faef in QQuickWindowPrivate::removeGrabber(QQuickItem*, bool, bool) (this=0x557c967a1da0, grabber=grabber@entry=0x557c96840ab0, mouse=mouse@entry=true, touch=touch@entry=true) at items/qquickwindow.cpp:1002
#9  0x00007f4af225ee56 in QQuickItemPrivate::setEffectiveVisibleRecur(bool) (this=0x557c96837c70, newEffectiveVisible=<optimized out>) at items/qquickitem.cpp:6075
#10 0x00007f4af225ee8b in QQuickItemPrivate::setEffectiveVisibleRecur(bool) (this=0x557c96840780, newEffectiveVisible=<optimized out>) at items/qquickitem.cpp:6080
#11 0x00007f4af225ee8b in QQuickItemPrivate::setEffectiveVisibleRecur(bool) (this=0x557c9686d3e0, newEffectiveVisible=<optimized out>) at items/qquickitem.cpp:6080
#12 0x00007f4af225ee8b in QQuickItemPrivate::setEffectiveVisibleRecur(bool) (this=0x557c9686a440, newEffectiveVisible=<optimized out>) at items/qquickitem.cpp:6080
#13 0x00007f4af225ee8b in QQuickItemPrivate::setEffectiveVisibleRecur(bool) (this=0x557c949b9740, newEffectiveVisible=<optimized out>) at items/qquickitem.cpp:6080
#14 0x00007f4af225ee8b in QQuickItemPrivate::setEffectiveVisibleRecur(bool) (this=0x557c96748640, newEffectiveVisible=<optimized out>) at items/qquickitem.cpp:6080
#15 0x00007f4af225ee8b in QQuickItemPrivate::setEffectiveVisibleRecur(bool) (this=0x557c95f45b80, newEffectiveVisible=<optimized out>) at items/qquickitem.cpp:6080
#16 0x00007f4af225ee8b in QQuickItemPrivate::setEffectiveVisibleRecur(bool) (this=0x557c96706250, newEffectiveVisible=<optimized out>) at items/qquickitem.cpp:6080
#17 0x00007f4af225ee8b in QQuickItemPrivate::setEffectiveVisibleRecur(bool) (this=this@entry=0x557c94969110, newEffectiveVisible=<optimized out>) at items/qquickitem.cpp:6080
#18 0x00007f4af225efb7 in QQuickItemPrivate::setVisible(bool) (this=0x557c94969110, visible=<optimized out>) at items/qquickitem.cpp:5983
#19 0x00007f4af226c653 in QQuickItem::qt_metacall(QMetaObject::Call, int, void**) (this=0x557c94970ac0, _c=QMetaObject::WriteProperty, _id=11, _a=0x7fff6f299900) at .moc/moc_qquickitem.cpp:1048
#20 0x00007f4af2ba406a in PlasmaQuick::AppletQuickItem::qt_metacall(QMetaObject::Call, int, void**) () at /lib/x86_64-linux-gnu/libKF5PlasmaQuick.so.5
#21 0x00007f4ae0328aea in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/scriptengines/plasma_appletscript_declarative.so
#22 0x00007f4ae033655a in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/scriptengines/plasma_appletscript_declarative.so
#23 0x00007f4af1c89e5f in QQmlPropertyData::writeProperty(QObject*, void*, QFlags<QQmlPropertyData::WriteFlag>) const (flags=..., value=<optimized out>, target=<optimized out>, this=<optimized out>) at ../../include/QtQml/5.15.3/QtQml/private/../../../../../src/qml/qml/qqmlpropertydata_p.h:379
#24 QQmlPropertyPrivate::write(QObject*, QQmlPropertyData const&, QVariant const&, QQmlContextData*, QFlags<QQmlPropertyData::WriteFlag>) (object=object@entry=0x557c94970ac0, property=..., value=..., context=<optimized out>, flags=..., flags@entry=...) at qml/qqmlproperty.cpp:1292
#25 0x00007f4af1bad651 in QV4::QObjectWrapper::setProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData*, QV4::Value const&) (engine=0x557c947e92a0, object=0x557c94970ac0, property=0x7f4a7c0a2f98, value=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:120
#26 0x00007f4af1badec2 in QV4::QObjectWrapper::setQmlProperty(QV4::ExecutionEngine*, QQmlContextData*, QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, QV4::Value const&) (value=..., revisionMode=QV4::QObjectWrapper::IgnoreRevision, name=<optimized out>, object=0x557c94970ac0, qmlContext=<optimized out>, engine=0x557c947e92a0) at jsruntime/qv4qobjectwrapper.cpp:435
#27 QV4::QObjectWrapper::setQmlProperty(QV4::ExecutionEngine*, QQmlContextData*, QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, QV4::Value const&) (engine=0x557c947e92a0, qmlContext=<optimized out>, object=0x557c94970ac0, name=<optimized out>, revisionMode=QV4::QObjectWrapper::IgnoreRevision, value=...) at jsruntime/qv4qobjectwrapper.cpp:418
#28 0x00007f4af1bae065 in QV4::QObjectWrapper::virtualPut(QV4::Managed*, QV4::PropertyKey, QV4::Value const&, QV4::Value*) (m=0x7f4ad43c0588, id=..., value=..., receiver=0x7f4ad43c0588) at jsruntime/qv4qobjectwrapper.cpp:722
#29 0x00007f4af1b35857 in QV4::Object::put(QV4::StringOrSymbol*, QV4::Value const&, QV4::Value*) (receiver=0x7f4ad43c0588, v=..., name=0x7f4ad43c0590, this=0x7f4ad43c0588) at ../../include/QtQml/5.15.3/QtQml/private/../../../../../src/qml/jsruntime/qv4string_p.h:280
#30 QV4::Lookup::setterFallback(QV4::Lookup*, QV4::ExecutionEngine*, QV4::Value&, QV4::Value const&) (l=<optimized out>, engine=0x557c947e92a0, object=<optimized out>, value=...) at jsruntime/qv4lookup.cpp:497
#31 0x00007f4af1bc8202 in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) (frame=0x7fff6f299d40, engine=0x557c947e92a0, code=0x7f4a78840a00 "/\370") at jsruntime/qv4vme_moth.cpp:656
#32 0x00007f4af1bcc5af in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) (frame=frame@entry=0x7fff6f299d40, engine=engine@entry=0x557c947e92a0) at jsruntime/qv4vme_moth.cpp:466
#33 0x00007f4af1b5e72e in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) (this=this@entry=0x557c95b59210, thisObject=<optimized out>, argv=argv@entry=0x7f4ad43c0500, argc=<optimized out>, context=<optimized out>) at jsruntime/qv4function.cpp:69
#34 0x00007f4af1ce9905 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) (this=this@entry=0x557c95f8c710, callData=callData@entry=0x7f4ad43c04d0, isUndefined=isUndefined@entry=0x0) at qml/qqmljavascriptexpression.cpp:212
#35 0x00007f4af1c9abeb in QQmlBoundSignalExpression::evaluate(void**) (this=<optimized out>, a=<optimized out>) at ../../include/QtQml/5.15.3/QtQml/private/../../../../../src/qml/jsruntime/qv4jscall_p.h:95
#36 0x00007f4af1c9bde8 in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) (e=0x557c9ee9c2c0, a=0x0) at ../../include/QtQml/5.15.3/QtQml/private/../../../../../src/qml/qml/qqmlboundsignalexpressionpointer_p.h:69
#37 0x00007f4af1cce725 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) (endpoint=<optimized out>, a=0x0) at qml/qqmlnotifier.cpp:104
#38 0x00007f4af04f12fc in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007f4af1c76420 in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) (this=0x557c9561f480, o=<optimized out>, c=<optimized out>, _id=<optimized out>, a=<optimized out>) at qml/qqmlvmemetaobject.cpp:880
#40 0x00007f4af04c7c3c in QMetaProperty::write(QObject*, QVariant const&) const () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007f4af04f042e in QObject::setProperty(char const*, QVariant const&) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#42 0x00007f4af2bb176d in  () at /lib/x86_64-linux-gnu/libKF5PlasmaQuick.so.5
#43 0x0000557c932a4b46 in  ()
#44 0x00007f4af04f1793 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#45 0x00007f4af04f57fe in QTimer::timeout(QTimer::QPrivateSignal) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#46 0x00007f4af04e733f in QObject::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#47 0x00007f4af136c713 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#48 0x00007f4af04b9e3a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#49 0x00007f4af05123eb in QTimerInfoList::activateTimers() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#50 0x00007f4af0512d34 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#51 0x00007f4aef0f2d3b in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007f4aef148258 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007f4aef0f03e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007f4af05130b8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#55 0x00007f4af04b875b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#56 0x00007f4af04c0cf4 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#57 0x0000557c93276a6b in  ()
#58 0x00007f4aefa29d90 in __libc_start_call_main (main=main@entry=0x557c93275b50, argc=argc@entry=1, argv=argv@entry=0x7fff6f29c4b8) at ../sysdeps/nptl/libc_start_call_main.h:58
#59 0x00007f4aefa29e40 in __libc_start_main_impl (main=0x557c93275b50, argc=1, argv=0x7fff6f29c4b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff6f29c4a8) at ../csu/libc-start.c:392
#60 0x0000557c93276b95 in  ()
[Inferior 1 (process 2201658) detached]

The reporter indicates this bug may be a duplicate of or related to bug 478322, bug 479409, bug 478990.

Reported using DrKonqi
Comment 1 Nate Graham 2024-02-22 17:22:50 UTC

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