<?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>442463</bug_id>
          
          <creation_ts>2021-09-15 07:31:30 +0000</creation_ts>
          <short_desc>plasma crashes on startup in DBusMenuImporter::menu() while loading an SNI</short_desc>
          <delta_ts>2022-01-23 22:41:23 +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>System Tray widget</component>
          <version>5.22.5</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="astraeamonkey">manager</reporter>
          <assigned_to name="Konrad Materka">materka</assigned_to>
          <cc>ahiemstra</cc>
    
    <cc>boris</cc>
    
    <cc>materka</cc>
    
    <cc>nate</cc>
    
    <cc>notmart</cc>
    
    <cc>plasma-bugs-null</cc>
    
    <cc>qydwhotmail</cc>
    
    <cc>s.ruecker</cc>
    
    <cc>sgies1963</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/plasma-workspace/commit/c3a28eb6b088c37dbe45f332e26773f474cc99a3</cf_commitlink>
          <cf_versionfixedin>5.24.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2061106</commentid>
    <comment_count>0</comment_count>
    <who name="astraeamonkey">manager</who>
    <bug_when>2021-09-15 07:31:30 +0000</bug_when>
    <thetext>Application: plasmashell (5.22.5)

Qt Version: 5.15.2
Frameworks Version: 5.85.0
Operating System: Linux 5.14.1-1-default x86_64
Windowing System: X11
Drkonqi Version: 5.22.5
Distribution: &quot;openSUSE Tumbleweed&quot;

-- Information about the crash:
- What I was doing when the application crashed:
Startup computer, with user auto login. On KDE initiation, plasma crashed and reloaded with bugzilla report request.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7fb8f2691980 (LWP 1873))]
[KCrash Handler]
#6  0x00007fb897e60834 in DBusMenuImporter::menu (this=0x0) at /usr/src/debug/plasma5-workspace-5.22.5-1.1.x86_64/libdbusmenuqt/dbusmenuimporter.cpp:333
#7  0x00007fb897e50506 in operator() (menu=0x55e6fbbc9600, __closure=0x55e6fbdd0fb0) at /usr/src/debug/plasma5-workspace-5.22.5-1.1.x86_64/dataengines/statusnotifieritem/statusnotifieritemsource.cpp:388
#8  QtPrivate::FunctorCall&lt;QtPrivate::IndexesList&lt;0&gt;, QtPrivate::List&lt;QMenu*&gt;, void, StatusNotifierItemSource::refreshCallback(QDBusPendingCallWatcher*)::&lt;lambda(QMenu*)&gt; &gt;::call (arg=&lt;optimized out&gt;, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#9  QtPrivate::Functor&lt;StatusNotifierItemSource::refreshCallback(QDBusPendingCallWatcher*)::&lt;lambda(QMenu*)&gt;, 1&gt;::call&lt;QtPrivate::List&lt;QMenu*&gt;, void&gt; (arg=&lt;optimized out&gt;, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#10 QtPrivate::QFunctorSlotObject&lt;StatusNotifierItemSource::refreshCallback(QDBusPendingCallWatcher*)::&lt;lambda(QMenu*)&gt;, 1, QtPrivate::List&lt;QMenu*&gt;, void&gt;::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=&lt;optimized out&gt;, this_=0x55e6fbdd0fa0, r=&lt;optimized out&gt;, a=&lt;optimized out&gt;, ret=&lt;optimized out&gt;) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#11 0x00007fb8f520e033 in QtPrivate::QSlotObjectBase::call (a=0x7ffebdfba3d0, r=0x55e6fb4e0110, this=0x55e6fbdd0fa0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#12 doActivate&lt;false&gt; (sender=0x55e6fbe5a7b0, signal_index=3, argv=0x7ffebdfba3d0) at kernel/qobject.cpp:3886
#13 0x00007fb8f52074ff in QMetaObject::activate (sender=sender@entry=0x55e6fbe5a7b0, m=&lt;optimized out&gt;, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffebdfba3d0) at kernel/qobject.cpp:3946
#14 0x00007fb897e63a72 in DBusMenuImporter::menuUpdated (_t1=0x55e6fbbc9600, this=&lt;optimized out&gt;) at /usr/src/debug/plasma5-workspace-5.22.5-1.1.x86_64/build/libdbusmenuqt/dbusmenuqt_autogen/include/moc_dbusmenuimporter.cpp:212
#15 DBusMenuImporter::slotGetLayoutFinished (this=&lt;optimized out&gt;, watcher=&lt;optimized out&gt;) at /usr/src/debug/plasma5-workspace-5.22.5-1.1.x86_64/libdbusmenuqt/dbusmenuimporter.cpp:461
#16 0x00007fb8f520e033 in QtPrivate::QSlotObjectBase::call (a=0x7ffebdfba510, r=0x55e6fbe5a7b0, this=0x55e6fbe217f0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#17 doActivate&lt;false&gt; (sender=0x55e6fbe62460, signal_index=3, argv=0x7ffebdfba510) at kernel/qobject.cpp:3886
#18 0x00007fb8f52074ff in QMetaObject::activate (sender=&lt;optimized out&gt;, m=m@entry=0x7fb8f5c755c0 &lt;QDBusPendingCallWatcher::staticMetaObject&gt;, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffebdfba510) at kernel/qobject.cpp:3946
#19 0x00007fb8f5c55fff in QDBusPendingCallWatcher::finished (this=&lt;optimized out&gt;, _t1=&lt;optimized out&gt;) at .moc/moc_qdbuspendingcall.cpp:158
#20 0x00007fb8f5203fde in QObject::event (this=0x55e6fbe62460, e=0x55e6fb94b720) at kernel/qobject.cpp:1314
#21 0x00007fb8f5f6ba7f in QApplicationPrivate::notify_helper (this=&lt;optimized out&gt;, receiver=0x55e6fbe62460, e=0x55e6fb94b720) at kernel/qapplication.cpp:3632
#22 0x00007fb8f51d79ea in QCoreApplication::notifyInternal2 (receiver=0x55e6fbe62460, event=0x55e6fb94b720) at kernel/qcoreapplication.cpp:1064
#23 0x00007fb8f51daa37 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55e6f8b85100) at kernel/qcoreapplication.cpp:1821
#24 0x00007fb8f522f843 in postEventSourceDispatch (s=0x55e6f8c5c360) at kernel/qeventdispatcher_glib.cpp:277
#25 0x00007fb8f34ec80f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#26 0x00007fb8f34ecb98 in ?? () from /lib64/libglib-2.0.so.0
#27 0x00007fb8f34ecc4f in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#28 0x00007fb8f522eec4 in QEventDispatcherGlib::processEvents (this=0x55e6f8c681f0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#29 0x00007fb8f51d63eb in QEventLoop::exec (this=this@entry=0x7ffebdfba900, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#30 0x00007fb8f51de6d0 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#31 0x00007fb8f562419c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#32 0x00007fb8f5f6b9f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#33 0x000055e6f7b63479 in main (argc=&lt;optimized out&gt;, argv=0x7ffebdfbaaf0) at /usr/src/debug/plasma5-workspace-5.22.5-1.1.x86_64/shell/main.cpp:254
[Inferior 1 (process 1873) detached]

Possible duplicates by query: bug 442147, bug 441527, bug 440841, bug 440840, bug 440665.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2079038</commentid>
    <comment_count>1</comment_count>
    <who name="Nicolas Fella">nicolas.fella</who>
    <bug_when>2021-11-20 13:23:42 +0000</bug_when>
    <thetext>*** Bug 441527 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2083957</commentid>
    <comment_count>2</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-12-08 21:09:42 +0000</bug_when>
    <thetext>*** Bug 446671 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2085174</commentid>
    <comment_count>3</comment_count>
    <who name="Nicolas Fella">nicolas.fella</who>
    <bug_when>2021-12-14 01:05:55 +0000</bug_when>
    <thetext>*** Bug 446808 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2097326</commentid>
    <comment_count>4</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2022-01-23 21:59:17 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1397</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2097342</commentid>
    <comment_count>5</comment_count>
    <who name="Konrad Materka">materka</who>
    <bug_when>2022-01-23 22:37:32 +0000</bug_when>
    <thetext>Git commit 645eba990332b0d614a32a4bcae7fb7f1d049e8f by Konrad Materka.
Committed on 23/01/2022 at 22:23.
Pushed by ngraham into branch &apos;master&apos;.

applets/systemtray: Do not delay menuImporter deletion
FIXED-IN: 5.24.0

M  +1    -1    applets/systemtray/statusnotifieritemsource.cpp
M  +1    -1    dataengines/statusnotifieritem/statusnotifieritemsource.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/645eba990332b0d614a32a4bcae7fb7f1d049e8f</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2097345</commentid>
    <comment_count>6</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-01-23 22:41:23 +0000</bug_when>
    <thetext>Git commit c3a28eb6b088c37dbe45f332e26773f474cc99a3 by Nate Graham, on behalf of Konrad Materka.
Committed on 23/01/2022 at 22:41.
Pushed by ngraham into branch &apos;Plasma/5.24&apos;.

applets/systemtray: Do not delay menuImporter deletion
FIXED-IN: 5.24.0


(cherry picked from commit 645eba990332b0d614a32a4bcae7fb7f1d049e8f)

M  +1    -1    applets/systemtray/statusnotifieritemsource.cpp
M  +1    -1    dataengines/statusnotifieritem/statusnotifieritemsource.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/c3a28eb6b088c37dbe45f332e26773f474cc99a3</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>