<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>481662</bug_id>
          
          <creation_ts>2024-02-22 09:01:53 +0000</creation_ts>
          <short_desc>Plasmashell often crashes when an external monitor is connected</short_desc>
          <delta_ts>2024-05-28 07:01:04 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>plasmashell</product>
          <component>general</component>
          <version>5.27.10</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>449981</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi, multiscreen</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Eny Tarunaditya">tarun.aditya</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>kde</cc>
    
    <cc>kdebugtracking</cc>
    
    <cc>nate</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2290970</commentid>
    <comment_count>0</comment_count>
    <who name="Eny Tarunaditya">tarun.aditya</who>
    <bug_when>2024-02-22 09:01:53 +0000</bug_when>
    <thetext>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&apos;t show any problem.
I should add that I&apos;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&lt;QObjectData, QScopedPointerDeleter&lt;QObjectData&gt; &gt;::operator-&gt;() const (this=0x149) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:118
#5  qGetPtrHelper&lt;QScopedPointer&lt;QObjectData, QScopedPointerDeleter&lt;QObjectData&gt; &gt; const&gt;(QScopedPointer&lt;QObjectData, QScopedPointerDeleter&lt;QObjectData&gt; &gt; const&amp;) (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=&lt;optimized out&gt;) at items/qquickitem.cpp:6075
#10 0x00007f4af225ee8b in QQuickItemPrivate::setEffectiveVisibleRecur(bool) (this=0x557c96840780, newEffectiveVisible=&lt;optimized out&gt;) at items/qquickitem.cpp:6080
#11 0x00007f4af225ee8b in QQuickItemPrivate::setEffectiveVisibleRecur(bool) (this=0x557c9686d3e0, newEffectiveVisible=&lt;optimized out&gt;) at items/qquickitem.cpp:6080
#12 0x00007f4af225ee8b in QQuickItemPrivate::setEffectiveVisibleRecur(bool) (this=0x557c9686a440, newEffectiveVisible=&lt;optimized out&gt;) at items/qquickitem.cpp:6080
#13 0x00007f4af225ee8b in QQuickItemPrivate::setEffectiveVisibleRecur(bool) (this=0x557c949b9740, newEffectiveVisible=&lt;optimized out&gt;) at items/qquickitem.cpp:6080
#14 0x00007f4af225ee8b in QQuickItemPrivate::setEffectiveVisibleRecur(bool) (this=0x557c96748640, newEffectiveVisible=&lt;optimized out&gt;) at items/qquickitem.cpp:6080
#15 0x00007f4af225ee8b in QQuickItemPrivate::setEffectiveVisibleRecur(bool) (this=0x557c95f45b80, newEffectiveVisible=&lt;optimized out&gt;) at items/qquickitem.cpp:6080
#16 0x00007f4af225ee8b in QQuickItemPrivate::setEffectiveVisibleRecur(bool) (this=0x557c96706250, newEffectiveVisible=&lt;optimized out&gt;) at items/qquickitem.cpp:6080
#17 0x00007f4af225ee8b in QQuickItemPrivate::setEffectiveVisibleRecur(bool) (this=this@entry=0x557c94969110, newEffectiveVisible=&lt;optimized out&gt;) at items/qquickitem.cpp:6080
#18 0x00007f4af225efb7 in QQuickItemPrivate::setVisible(bool) (this=0x557c94969110, visible=&lt;optimized out&gt;) 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&lt;QQmlPropertyData::WriteFlag&gt;) const (flags=..., value=&lt;optimized out&gt;, target=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at ../../include/QtQml/5.15.3/QtQml/private/../../../../../src/qml/qml/qqmlpropertydata_p.h:379
#24 QQmlPropertyPrivate::write(QObject*, QQmlPropertyData const&amp;, QVariant const&amp;, QQmlContextData*, QFlags&lt;QQmlPropertyData::WriteFlag&gt;) (object=object@entry=0x557c94970ac0, property=..., value=..., context=&lt;optimized out&gt;, flags=..., flags@entry=...) at qml/qqmlproperty.cpp:1292
#25 0x00007f4af1bad651 in QV4::QObjectWrapper::setProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData*, QV4::Value const&amp;) (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&amp;) (value=..., revisionMode=QV4::QObjectWrapper::IgnoreRevision, name=&lt;optimized out&gt;, object=0x557c94970ac0, qmlContext=&lt;optimized out&gt;, engine=0x557c947e92a0) at jsruntime/qv4qobjectwrapper.cpp:435
#27 QV4::QObjectWrapper::setQmlProperty(QV4::ExecutionEngine*, QQmlContextData*, QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, QV4::Value const&amp;) (engine=0x557c947e92a0, qmlContext=&lt;optimized out&gt;, object=0x557c94970ac0, name=&lt;optimized out&gt;, revisionMode=QV4::QObjectWrapper::IgnoreRevision, value=...) at jsruntime/qv4qobjectwrapper.cpp:418
#28 0x00007f4af1bae065 in QV4::QObjectWrapper::virtualPut(QV4::Managed*, QV4::PropertyKey, QV4::Value const&amp;, QV4::Value*) (m=0x7f4ad43c0588, id=..., value=..., receiver=0x7f4ad43c0588) at jsruntime/qv4qobjectwrapper.cpp:722
#29 0x00007f4af1b35857 in QV4::Object::put(QV4::StringOrSymbol*, QV4::Value const&amp;, 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&amp;, QV4::Value const&amp;) (l=&lt;optimized out&gt;, engine=0x557c947e92a0, object=&lt;optimized out&gt;, 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 &quot;/\370&quot;) 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=&lt;optimized out&gt;, argv=argv@entry=0x7f4ad43c0500, argc=&lt;optimized out&gt;, context=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, a=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, 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=&lt;optimized out&gt;, c=&lt;optimized out&gt;, _id=&lt;optimized out&gt;, a=&lt;optimized out&gt;) at qml/qqmlvmemetaobject.cpp:880
#40 0x00007f4af04c7c3c in QMetaProperty::write(QObject*, QVariant const&amp;) const () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007f4af04f042e in QObject::setProperty(char const*, QVariant const&amp;) () 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&lt;QEventLoop::ProcessEventsFlag&gt;) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#55 0x00007f4af04b875b in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () 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=&lt;optimized out&gt;, fini=&lt;optimized out&gt;, rtld_fini=&lt;optimized out&gt;, 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2291101</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-02-22 17:22:50 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 449981 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>