<?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>482887</bug_id>
          
          <creation_ts>2024-03-08 15:26:23 +0000</creation_ts>
          <short_desc>plasmashell crashes in KAStatsFavoritesModel::Private::Private</short_desc>
          <delta_ts>2024-09-05 19:54:54 +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>generic-crash</component>
          <version>6.0.1</version>
          <rep_platform>Manjaro</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.kde.org/show_bug.cgi?id=487385</see_also>
    
    <see_also>https://bugs.kde.org/show_bug.cgi?id=490624</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>qt6</keywords>
          <priority>VHI</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="medin">med.medin.2014</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>akselmo</cc>
    
    <cc>bugseforuns</cc>
    
    <cc>crap-dennis</cc>
    
    <cc>dashonwwIII</cc>
    
    <cc>dcalvino</cc>
    
    <cc>eliteamdgaming</cc>
    
    <cc>justin</cc>
    
    <cc>kde.smashthebugs</cc>
    
    <cc>kde.webservice</cc>
    
    <cc>michael</cc>
    
    <cc>nate</cc>
    
    <cc>nicolas.fella</cc>
    
    <cc>notmart</cc>
    
    <cc>plasma-bugs-null</cc>
    
    <cc>pollux66</cc>
    
    <cc>postix</cc>
    
    <cc>qydwhotmail</cc>
    
    <cc>sam</cc>
    
    <cc>sitter</cc>
    
    <cc>waynenail</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/plasma-workspace/-/commit/65c5bc469d53dc70921b10b8c4527536883a8bb0</cf_commitlink>
          <cf_versionfixedin>6.1.3</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2297238</commentid>
    <comment_count>0</comment_count>
    <who name="medin">med.medin.2014</who>
    <bug_when>2024-03-08 15:26:23 +0000</bug_when>
    <thetext>Operating System: Manjaro Linux 
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.9-1-MANJARO (64-bit)
Graphics Platform: Wayland



Core was generated by `/usr/bin/plasmashell --no-respawn&apos;.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007914a7fc5ae6 in KAStatsFavoritesModel::Private::Private(KAStatsFavoritesModel*, QString const&amp;)::{lambda()#1}::operator()() const (__closure=0x645ecbdaeda0)
    at /usr/src/debug/plasma-workspace/plasma-workspace-6.0.1/applets/kicker/plugin/kastatsfavoritesmodel.cpp:189
Downloading source file /usr/src/debug/plasma-workspace/plasma-workspace-6.0.1/applets/kicker/plugin/kastatsfavoritesmodel.cpp
189                     it.value()-&gt;reload();                                                                                                                                                  
[Current thread is 1 (Thread 0x7914cac979c0 (LWP 7061))]
(gdb) bt
#0  0x00007914a7fc5ae6 in KAStatsFavoritesModel::Private::Private(KAStatsFavoritesModel*, QString const&amp;)::{lambda()#1}::operator()() const (__closure=0x645ecbdaeda0)
    at /usr/src/debug/plasma-workspace/plasma-workspace-6.0.1/applets/kicker/plugin/kastatsfavoritesmodel.cpp:189
#1  QtPrivate::FunctorCall&lt;QtPrivate::IndexesList&lt;&gt;, QtPrivate::List&lt;&gt;, void, KAStatsFavoritesModel::Private::Private(KAStatsFavoritesModel*, QString const&amp;)::{lambda()#1}&gt;::call(KAStatsFavoritesModel::Private::Private(KAStatsFavoritesModel*, QString const&amp;)::{lambda()#1}&amp;, void**) (arg=&lt;optimized out&gt;, f=...) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:137
#2  QtPrivate::Functor&lt;KAStatsFavoritesModel::Private::Private(KAStatsFavoritesModel*, QString const&amp;)::{lambda()#1}, 0&gt;::call&lt;QtPrivate::List&lt;&gt;, void&gt;(KAStatsFavoritesModel::Private::Private(KAStatsFavoritesModel*, QString const&amp;)::{lambda()#1}&amp;, void*, void**) (arg=&lt;optimized out&gt;, f=...) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:339
#3  QtPrivate::QCallableObject&lt;KAStatsFavoritesModel::Private::Private(KAStatsFavoritesModel*, QString const&amp;)::{lambda()#1}, QtPrivate::List&lt;&gt;, void&gt;::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=&lt;optimized out&gt;, this_=0x645ecbdaed90, r=&lt;optimized out&gt;, a=&lt;optimized out&gt;, ret=&lt;optimized out&gt;) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:522
#4  0x00007914cfd90ca9 in QtPrivate::QSlotObjectBase::call (a=0x7ffebea1a098, r=0x645ecbd23690, this=0x645ecbdaed90, this=&lt;optimized out&gt;, r=&lt;optimized out&gt;, a=&lt;optimized out&gt;)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobjectdefs_impl.h:433
#5  doActivate&lt;false&gt; (sender=0x645ecb18c620, signal_index=3, argv=0x7ffebea1a098) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobject.cpp:4039
#6  0x00007914cfd90ca9 in QtPrivate::QSlotObjectBase::call (a=0x7ffebea1a1d0, r=0x645ecb18c620, this=0x645ecb29af50, this=&lt;optimized out&gt;, r=&lt;optimized out&gt;, a=&lt;optimized out&gt;)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobjectdefs_impl.h:433
#7  doActivate&lt;false&gt; (sender=0x645ecb1e6430, signal_index=4, argv=0x7ffebea1a1d0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobject.cpp:4039
#8  0x00007914d0b9282a in KDirWatch::created (this=&lt;optimized out&gt;, _t1=&lt;optimized out&gt;) at /usr/src/debug/kcoreaddons/build/src/lib/KF6CoreAddons_autogen/include/moc_kdirwatch.cpp:240
#9  0x00007914cfd7c2c7 in QObject::event (this=0x645ecb1e6430, e=0x7914bc0066a0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobject.cpp:1437
#10 0x00007914d1af438b in QApplicationPrivate::notify_helper (this=&lt;optimized out&gt;, receiver=0x645ecb1e6430, e=0x7914bc0066a0)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qapplication.cpp:3296
#11 0x00007914cfd39818 in QCoreApplication::notifyInternal2 (receiver=0x645ecb1e6430, event=event@entry=0x7914bc0066a0)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1121
#12 0x00007914cfd39b9b in QCoreApplication::sendEvent (event=0x7914bc0066a0, receiver=&lt;optimized out&gt;)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1539
#13 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x645ecad94ba0)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1901
#14 0x00007914cff758a4 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1760
#15 postEventSourceDispatch (s=0x645ecadc2cf0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventdispatcher_glib.cpp:243
#16 0x00007914ce895f69 in g_main_dispatch (context=0x7914c4000ef0) at ../glib/glib/gmain.c:3476
#17 0x00007914ce8f43a7 in g_main_context_dispatch_unlocked (context=0x7914c4000ef0) at ../glib/glib/gmain.c:4284
#18 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7914c4000ef0, block=block@entry=1, dispatch=dispatch@entry=1, self=&lt;optimized out&gt;) at ../glib/glib/gmain.c:4349
#19 0x00007914ce894162 in g_main_context_iteration (context=0x7914c4000ef0, may_block=1) at ../glib/glib/gmain.c:4414
#20 0x00007914cff739c4 in QEventDispatcherGlib::processEvents (this=0x645ecadd83e0, flags=...)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventdispatcher_glib.cpp:393
#21 0x00007914cfd43d6e in QEventLoop::processEvents (flags=..., this=0x7ffebea1a650) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:100
#22 QEventLoop::exec (this=0x7ffebea1a650, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:182
#23 0x00007914cfd3c2b8 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/global/qflags.h:74
#24 0x00007914d1af0f0a in QApplication::exec () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qapplication.cpp:2574
#25 0x0000645ec9f77486 in main (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at /usr/src/debug/plasma-workspace/plasma-workspace-6.0.1/shell/main.cpp:214
(gdb)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2297561</commentid>
    <comment_count>1</comment_count>
    <who name="Nicolas Fella">nicolas.fella</who>
    <bug_when>2024-03-08 23:40:23 +0000</bug_when>
    <thetext>Possibly caused by https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3982</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2306308</commentid>
    <comment_count>2</comment_count>
    <who name="Nicolas Fella">nicolas.fella</who>
    <bug_when>2024-03-27 22:56:04 +0000</bug_when>
    <thetext>*** Bug 484458 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2306311</commentid>
    <comment_count>3</comment_count>
    <who name="Nicolas Fella">nicolas.fella</who>
    <bug_when>2024-03-27 22:56:34 +0000</bug_when>
    <thetext>*** Bug 484614 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2306561</commentid>
    <comment_count>4</comment_count>
    <who name="Fushan Wen">qydwhotmail</who>
    <bug_when>2024-03-28 16:40:24 +0000</bug_when>
    <thetext>Git commit 2942dcf06c9661cf61a0255eeaa750c34b43e62d by Fushan Wen.
Committed on 28/03/2024 at 16:12.
Pushed by fusionfuture into branch &apos;master&apos;.

applets/kicker: avoid calling reload() recursively

KSycoca::ensureCacheValid might emit databaseChanged signal again, which
will cause a crash

SENTRY: PLASMA-WORKSPACE-5HC
SENTRY: PLASMA-WORKSPACE-6P5
SENTRY: PLASMA-WORKSPACE-2KD

M  +0    -1    applets/kicker/plugin/appentry.h
M  +17   -12   applets/kicker/plugin/kastatsfavoritesmodel.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/2942dcf06c9661cf61a0255eeaa750c34b43e62d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2306565</commentid>
    <comment_count>5</comment_count>
    <who name="Fushan Wen">qydwhotmail</who>
    <bug_when>2024-03-28 17:04:06 +0000</bug_when>
    <thetext>Git commit 9b6a8aaf7968c4ac82613f114ee6c1223a2d03b8 by Fushan Wen.
Committed on 28/03/2024 at 16:42.
Pushed by fusionfuture into branch &apos;Plasma/6.0&apos;.

applets/kicker: avoid calling reload() recursively

KSycoca::ensureCacheValid might emit databaseChanged signal again, which
will cause a crash

SENTRY: PLASMA-WORKSPACE-5HC
SENTRY: PLASMA-WORKSPACE-6P5
SENTRY: PLASMA-WORKSPACE-2KD


(cherry picked from commit 2942dcf06c9661cf61a0255eeaa750c34b43e62d)

M  +0    -1    applets/kicker/plugin/appentry.h
M  +17   -12   applets/kicker/plugin/kastatsfavoritesmodel.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/9b6a8aaf7968c4ac82613f114ee6c1223a2d03b8</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2310641</commentid>
    <comment_count>6</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-04-11 17:50:38 +0000</bug_when>
    <thetext>*** Bug 485331 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2311297</commentid>
    <comment_count>7</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-04-13 14:19:08 +0000</bug_when>
    <thetext>*** Bug 485471 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2326377</commentid>
    <comment_count>8</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-06-10 20:47:06 +0000</bug_when>
    <thetext>*** Bug 488316 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2327200</commentid>
    <comment_count>9</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-06-12 18:39:09 +0000</bug_when>
    <thetext>*** Bug 488417 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2327201</commentid>
    <comment_count>10</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-06-12 18:40:18 +0000</bug_when>
    <thetext>Unfortunately we&apos;re continuing to get bug reports about this (with the same backtrace) from people using Plasma 6.0.5; re-opening.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2330214</commentid>
    <comment_count>11</comment_count>
    <who name="postix">postix</who>
    <bug_when>2024-06-21 12:52:33 +0000</bug_when>
    <thetext>*** Bug 485519 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2330216</commentid>
    <comment_count>12</comment_count>
    <who name="postix">postix</who>
    <bug_when>2024-06-21 12:52:43 +0000</bug_when>
    <thetext>*** Bug 484792 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2330218</commentid>
    <comment_count>13</comment_count>
    <who name="postix">postix</who>
    <bug_when>2024-06-21 12:52:53 +0000</bug_when>
    <thetext>*** Bug 484930 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2330220</commentid>
    <comment_count>14</comment_count>
    <who name="postix">postix</who>
    <bug_when>2024-06-21 12:53:01 +0000</bug_when>
    <thetext>*** Bug 486980 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2330222</commentid>
    <comment_count>15</comment_count>
    <who name="postix">postix</who>
    <bug_when>2024-06-21 12:53:13 +0000</bug_when>
    <thetext>*** Bug 487908 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2333156</commentid>
    <comment_count>16</comment_count>
    <who name="">duha.bugs</who>
    <bug_when>2024-06-28 18:40:47 +0000</bug_when>
    <thetext>*** Bug 489381 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2333886</commentid>
    <comment_count>17</comment_count>
    <who name="TraceyC">kdedev</who>
    <bug_when>2024-07-01 18:07:00 +0000</bug_when>
    <thetext>*** Bug 489559 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2335735</commentid>
    <comment_count>18</comment_count>
    <who name="Akseli Lahtinen">akselmo</who>
    <bug_when>2024-07-08 13:27:02 +0000</bug_when>
    <thetext>I am unable to repro this so far, but some things that may cause this happen:

- The activity you&apos;re using has to have &quot;Tracking file and app use&quot; checkbox on
- Same app installed as distro package and flatpak, then modifying one of them (removing, installing)

In KAStatsFavoritesModel::Private for some reason the iterator can report it.value() that is null, which then causes it.value()-&gt;reload() to segfault.

One possible solution is to add a simple guard like `if (it.value())  {...}`, but I am not sure if that is the exact solution.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2335737</commentid>
    <comment_count>19</comment_count>
    <who name="Akseli Lahtinen">akselmo</who>
    <bug_when>2024-07-08 13:29:32 +0000</bug_when>
    <thetext>To add, it could have something to do with having a desktop file for flatpak and distro installed package that have both same name.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2335978</commentid>
    <comment_count>20</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2024-07-09 13:00:32 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4510</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2336170</commentid>
    <comment_count>21</comment_count>
    <who name="Akseli Lahtinen">akselmo</who>
    <bug_when>2024-07-10 08:33:53 +0000</bug_when>
    <thetext>Git commit 29e38fdfecaeb77d77f0c71aa66d7cc4c3f54b2c by Akseli Lahtinen.
Committed on 10/07/2024 at 08:33.
Pushed by akselmo into branch &apos;master&apos;.

kastatsfavoritesmodel.cpp: prefer .value() over operator[]

- In `removeResult`, use `resource` directly so we are not comparing to a possible `nullptr` which can cause crashing
- Prefer `.value` over `operator[]` to avoid leaving behind `nullptr` entries when reading items

M  +7    -6    applets/kicker/plugin/kastatsfavoritesmodel.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/29e38fdfecaeb77d77f0c71aa66d7cc4c3f54b2c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2336185</commentid>
    <comment_count>22</comment_count>
    <who name="Akseli Lahtinen">akselmo</who>
    <bug_when>2024-07-10 09:13:02 +0000</bug_when>
    <thetext>Git commit 65c5bc469d53dc70921b10b8c4527536883a8bb0 by Akseli Lahtinen.
Committed on 10/07/2024 at 08:47.
Pushed by akselmo into branch &apos;Plasma/6.1&apos;.

kastatsfavoritesmodel.cpp: prefer .value() over operator[]

- In `removeResult`, use `resource` directly so we are not comparing to a possible `nullptr` which can cause crashing
- Prefer `.value` over `operator[]` to avoid leaving behind `nullptr` entries when reading items


(cherry picked from commit 29e38fdfecaeb77d77f0c71aa66d7cc4c3f54b2c)

050c8cc6 kastatsfavoritesmodel.cpp: make sure it.value exists before trying to reload
faf522c7 Compare value-id directly to resource in removeResult
81ad3a75 Use .value instead of operator[]
737178d2 Remove guards
f0bce1fc Add a comment about the entry value

Co-authored-by: Akseli Lahtinen &lt;akselmo@akselmo.dev&gt;

M  +7    -6    applets/kicker/plugin/kastatsfavoritesmodel.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/65c5bc469d53dc70921b10b8c4527536883a8bb0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2336886</commentid>
    <comment_count>23</comment_count>
    <who name="Akseli Lahtinen">akselmo</who>
    <bug_when>2024-07-12 12:25:54 +0000</bug_when>
    <thetext>*** Bug 490138 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2340299</commentid>
    <comment_count>24</comment_count>
    <who name="postix">postix</who>
    <bug_when>2024-07-26 12:20:52 +0000</bug_when>
    <thetext>I am on 6.1.3 and just got the crash again on

Operating System: openSUSE Tumbleweed 20240724
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2

when installing a package in Konsole with `zypper install $xyz`.


```
#5  0x00007f73bd4d1ccf in KAStatsFavoritesModel::Private::Private(KAStatsFavoritesModel*, QString const&amp;)::{lambda()#1}::operator()() const (__closure=0x555ea8fb8970) at /usr/src/debug/plasma-workspace-6.1.3/applets/kicker/plugin/kastatsfavoritesmodel.cpp:196
#6  QtPrivate::FunctorCall&lt;QtPrivate::IndexesList&lt;&gt;, QtPrivate::List&lt;&gt;, void, KAStatsFavoritesModel::Private::Private(KAStatsFavoritesModel*, QString const&amp;)::{lambda()#1}&gt;::call(KAStatsFavoritesModel::Private::Private(KAStatsFavoritesModel*, QString const&amp;)::{lambda()#1}&amp;, void**) (arg=&lt;optimized out&gt;, f=...) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:137
#7  QtPrivate::FunctorCallable&lt;KAStatsFavoritesModel::Private::Private(KAStatsFavoritesModel*, QString const&amp;)::{lambda()#1}&gt;::call&lt;QtPrivate::List&lt;&gt;, void&gt;(KAStatsFavoritesModel::Private::Private(KAStatsFavoritesModel*, QString const&amp;)::{lambda()#1}&amp;, void*, void**) (arg=&lt;optimized out&gt;, f=...) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:345
#8  QtPrivate::QCallableObject&lt;KAStatsFavoritesModel::Private::Private(KAStatsFavoritesModel*, QString const&amp;)::{lambda()#1}, QtPrivate::List&lt;&gt;, void&gt;::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=&lt;optimized out&gt;, this_=0x555ea8fb8960, r=&lt;optimized out&gt;, a=&lt;optimized out&gt;, ret=&lt;optimized out&gt;) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:555
#9  0x00007f74223d1e1b in QObject::event (this=0x555ea91182d0, e=0x555eac43bc60) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobject.cpp:1452
#10 0x00007f74245c2f6e in QApplicationPrivate::notify_helper (this=&lt;optimized out&gt;, receiver=0x555ea91182d0, e=0x555eac43bc60) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qapplication.cpp:3287
#11 0x00007f742238ec30 in QCoreApplication::notifyInternal2 (receiver=0x555ea91182d0, event=0x555eac43bc60) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcoreapplication.cpp:1142
#12 0x00007f742238ec69 in QCoreApplication::sendEvent (receiver=&lt;optimized out&gt;, event=&lt;optimized out&gt;) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcoreapplication.cpp:1583
#13 0x00007f742238ef90 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x555ea71db680) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcoreapplication.cpp:1940
#14 0x00007f74225c2fe3 in postEventSourceDispatch (s=0x555ea720d770) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qeventdispatcher_glib.cpp:244
#15 0x00007f7421034760 in g_main_dispatch (context=0x7f7418000f00) at ../glib/gmain.c:3344
#16 g_main_context_dispatch_unlocked (context=context@entry=0x7f7418000f00) at ../glib/gmain.c:4152
#17 0x00007f74210363a8 in g_main_context_iterate_unlocked (context=context@entry=0x7f7418000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=&lt;optimized out&gt;) at ../glib/gmain.c:4217
#18 0x00007f7421036a5c in g_main_context_iteration (context=0x7f7418000f00, may_block=1) at ../glib/gmain.c:4282
#19 0x00007f74225c1adc in QEventDispatcherGlib::processEvents (this=0x555ea72234b0, flags=...) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#20 0x00007f74223993db in QEventLoop::exec (this=0x7fff76188010, flags=...) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/global/qflags.h:34
#21 0x00007f7422392bb6 in QCoreApplication::exec () at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/global/qflags.h:74
#22 0x00007f7422be7e2c in QGuiApplication::exec () at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/gui/kernel/qguiapplication.cpp:1926
#23 0x00007f74245bfff5 in QApplication::exec () at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qapplication.cpp:2555
#24 0x0000555ea02ddb8f in main (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at /usr/src/debug/plasma-workspace-6.1.3/shell/main.cpp:188
```</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2340406</commentid>
    <comment_count>25</comment_count>
    <who name="Harald Sitter">sitter</who>
    <bug_when>2024-07-26 21:30:04 +0000</bug_when>
    <thetext>Fixed by https://invent.kde.org/plasma/plasma-workspace/-/commit/fa57f929efb6307103e7d74bcb3c3737decb8a2c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2341077</commentid>
    <comment_count>26</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-07-29 17:49:07 +0000</bug_when>
    <thetext>*** Bug 490624 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2341920</commentid>
    <comment_count>27</comment_count>
    <who name="">duha.bugs</who>
    <bug_when>2024-07-31 20:38:07 +0000</bug_when>
    <thetext>*** Bug 491086 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2350466</commentid>
    <comment_count>28</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-09-01 00:06:21 +0000</bug_when>
    <thetext>This was supposed to be fixed in Plasma 6.1.4, but https://crash-reports.kde.org/organizations/kde/issues/23450/ hows that we still have crashes in 6.1.3 and 6.1.4. Re-opening.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2350468</commentid>
    <comment_count>29</comment_count>
    <who name="Harald Sitter">sitter</who>
    <bug_when>2024-09-01 00:23:26 +0000</bug_when>
    <thetext>I dont see that. All the .4 crashes are amd driver reset crashes that somehow merged into that issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2350512</commentid>
    <comment_count>30</comment_count>
    <who name="Michael Hamilton">michael</who>
    <bug_when>2024-09-01 07:20:43 +0000</bug_when>
    <thetext>I&apos;m on 6.1.4 using Nvidia and I&apos;m still seeing something similar as recently as yesterday.

Operating System: openSUSE Tumbleweed 20240829
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.9.9-1-default (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 5600 6-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1650 SUPER/PCIe/SSE2
Manufacturer: ASUS

#0  0x00007fe243a94c5c in __pthread_kill_implementation () at /lib64/libc.so.6
#1  0x00007fe243a411c6 in raise () at /lib64/libc.so.6
#2  0x00007fe246f36c54 in KCrash::defaultCrashHandler(int) () at /lib64/libKF6Crash.so.6
#3  0x00007fe243a41290 in &lt;signal handler called&gt; () at /lib64/libc.so.6
#4  __gnu_cxx::__atomic_add (__val=1, __mem=0x454545454545454d) at /usr/include/c++/13/ext/atomicity.h:71
#5  __gnu_cxx::__atomic_add_dispatch (__val=1, __mem=0x454545454545454d) at /usr/include/c++/13/ext/atomicity.h:111
#6  std::_Sp_counted_base&lt;(__gnu_cxx::_Lock_policy)2&gt;::_M_add_ref_copy (this=0x4545454545454545) at /usr/include/c++/13/bits/shared_ptr_base.h:152
#7  std::__shared_count&lt;(__gnu_cxx::_Lock_policy)2&gt;::operator= (__r=&lt;optimized out&gt;, this=0x5597f058cd40) at /usr/include/c++/13/bits/shared_ptr_base.h:1088
#8  std::__shared_ptr&lt;AbstractEntry, (__gnu_cxx::_Lock_policy)2&gt;::operator= (this=0x5597f058cd38) at /usr/include/c++/13/bits/shared_ptr_base.h:1523
#9  std::shared_ptr&lt;AbstractEntry&gt;::operator= (this=0x5597f058cd38) at /usr/include/c++/13/bits/shared_ptr.h:414
#10 KAStatsFavoritesModel::Private::addResult (this=this@entry=0x5597eff2b000, _resource=..., index=21, index@entry=-1, notifyModel=notifyModel@entry=false, mimeType=...)
    at /usr/src/debug/plasma-workspace-6.1.4/applets/kicker/plugin/kastatsfavoritesmodel.cpp:353
#11 0x00007fe1ea9ba3b0 in KAStatsFavoritesModel::Private::Private
    (this=0x5597eff2b000, parent=&lt;optimized out&gt;, clientId=&lt;optimized out&gt;, this=&lt;optimized out&gt;, parent=&lt;optimized out&gt;, clientId=&lt;optimized out&gt;)
    at /usr/src/debug/plasma-workspace-6.1.4/applets/kicker/plugin/kastatsfavoritesmodel.cpp:237
#12 0x00007fe1ea9bb455 in KAStatsFavoritesModel::initForClient (this=0x5597f0458f40, clientId=...)
    at /usr/src/debug/plasma-workspace-6.1.4/applets/kicker/plugin/kastatsfavoritesmodel.cpp:550
#13 0x00007fe1ea99f0f0 in KAStatsFavoritesModel::qt_metacall (this=0x5597f0458f40, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0x7fffd9a79f28)
    at /usr/src/debug/plasma-workspace-6.1.4/build/applets/kicker/kickerplugin_autogen/7RBZBFH7CH/moc_kastatsfavoritesmodel.cpp:325
#14 0x00007fe24571da93 in ??? () at /lib64/libQt6Qml.so.6
#15 0x00007fe2456084fb in ??? () at /lib64/libQt6Qml.so.6
#16 0x00007fe24560b271 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () at /lib64/libQt6Qml.so.6
#17 0x00007fe24565291f in ??? () at /lib64/libQt6Qml.so.6
#18 0x00007fe24565860a in ??? () at /lib64/libQt6Qml.so.6
#19 0x00007fe2455c33ae in ??? () at /lib64/libQt6Qml.so.6
#20 0x00007fe2455c8d6d in QV4::Function::call(QObject*, void**, QMetaType const*, int, QV4::ExecutionContext*) () at /lib64/libQt6Qml.so.6
#21 0x00007fe2456ebbf5 in QQmlJavaScriptExpression::evaluate(void**, QMetaType const*, int) () at /lib64/libQt6Qml.so.6
#22 0x00007fe24569b02b in QQmlBoundSignalExpression::evaluate(void**) () at /lib64/libQt6Qml.so.6
#23 0x00007fe24569f05b in ??? () at /lib64/libQt6Qml.so.6
#24 0x00007fe245709b28 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /lib64/libQt6Qml.so.6
#25 0x00007fe2443e79d8 in ??? () at /lib64/libQt6Core.so.6
#26 0x00007fe245713f26 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&amp;) () at /lib64/libQt6Qml.so.6
#27 0x00007fe2456ae5c9 in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) () at /lib64/libQt6Qml.so.6
#28 0x00007fe2456ae8cc in QQmlComponentPrivate::completeCreate() () at /lib64/libQt6Qml.so.6
#29 0x00007fe24705b713 in PlasmaQuick::SharedQmlEngine::completeInitialization(QHash&lt;QString, QVariant&gt; const&amp;) () at /lib64/libPlasmaQuick.so.6
#30 0x00007fe24703ffd4 in PlasmaQuick::AppletQuickItem::itemForApplet(Plasma::Applet*) () at /lib64/libPlasmaQuick.so.6
#31 0x00007fe24706c9e9 in ??? () at /lib64/libPlasmaQuick.so.6
#32 0x00007fe245713a74 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&amp;) () at /lib64/libQt6Qml.so.6
#33 0x00007fe2456ae5c9 in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) () at /lib64/libQt6Qml.so.6
#34 0x00007fe2456ae8cc in QQmlComponentPrivate::completeCreate() () at /lib64/libQt6Qml.so.6
#35 0x00007fe24705b713 in PlasmaQuick::SharedQmlEngine::completeInitialization(QHash&lt;QString, QVariant&gt; const&amp;) () at /lib64/libPlasmaQuick.so.6
#36 0x00007fe24703ffd4 in PlasmaQuick::AppletQuickItem::itemForApplet(Plasma::Applet*) () at /lib64/libPlasmaQuick.so.6
#37 0x00007fe24705489c in ??? () at /lib64/libPlasmaQuick.so.6
#38 0x00005597d93762af in ShellCorona::createWaitingPanels (this=&lt;optimized out&gt;) at /usr/src/debug/plasma-workspace-6.1.4/shell/shellcorona.cpp:1544
#39 0x00007fe2443e7f90 in ??? () at /lib64/libQt6Core.so.6
#40 0x00007fe2443ec65a in QTimer::timeout(QTimer::QPrivateSignal) () at /lib64/libQt6Core.so.6
#41 0x00007fe2443d1dd6 in QObject::event(QEvent*) () at /lib64/libQt6Core.so.6
#42 0x00007fe2465c2f6e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt6Widgets.so.6
#43 0x00007fe24438ec30 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt6Core.so.6
#44 0x00007fe2444eca5a in QTimerInfoList::activateTimers() () at /lib64/libQt6Core.so.6
--Type &lt;RET&gt; for more, q to quit, c to continue without paging--c
#45 0x00007fe2445c2e3c in ??? () at /lib64/libQt6Core.so.6
#46 0x00007fe243033fb8 in ??? () at /lib64/libglib-2.0.so.0
#47 0x00007fe243035d38 in ??? () at /lib64/libglib-2.0.so.0
#48 0x00007fe2430363ec in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#49 0x00007fe2445c1adc in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /lib64/libQt6Core.so.6
#50 0x00007fe2443993db in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /lib64/libQt6Core.so.6
#51 0x00007fe244392bb6 in QCoreApplication::exec() () at /lib64/libQt6Core.so.6
#52 0x00005597d9337b8f in main (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at /usr/src/debug/plasma-workspace-6.1.4/shell/main.cpp:188</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2350718</commentid>
    <comment_count>31</comment_count>
    <who name="Justin Zobel">justin</who>
    <bug_when>2024-09-02 05:54:50 +0000</bug_when>
    <thetext>Michael thanks for the added report, it is however missing debug symbols, please see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl for info on how to ensure the symbols are installed, thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2350743</commentid>
    <comment_count>32</comment_count>
    <who name="Michael Hamilton">michael</who>
    <bug_when>2024-09-02 07:41:29 +0000</bug_when>
    <thetext>(In reply to Justin Zobel from comment #31)
&gt; Michael thanks for the added report, it is however missing debug symbols,
&gt; please see
&gt; https://community.kde.org/Guidelines_and_HOWTOs/Debugging/
&gt; How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl
&gt; for info on how to ensure the symbols are installed, thanks.

I got this dump as result of following the coredumpctl instructions and answering use debuginfod in the affirmative.  I noted the line numbers such as  

at /usr/src/debug/plasma-workspace/plasma-workspace-6.0.1/applets/kicker/plugin/kastatsfavoritesmodel.cpp:189

and figured this was what you needed.   I am on OpenSUSE TW, so I inferred from the instructions, that using debuginfod was the right way to go.  Happy to try something else.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2350793</commentid>
    <comment_count>33</comment_count>
    <who name="Justin Zobel">justin</who>
    <bug_when>2024-09-02 11:46:36 +0000</bug_when>
    <thetext>Interesting as it should download all required debug symbols, might be worth bringing up with Fedora if they are missing symbols in their debuginfod server.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2350799</commentid>
    <comment_count>34</comment_count>
    <who name="Harald Sitter">sitter</who>
    <bug_when>2024-09-02 11:58:38 +0000</bug_when>
    <thetext>Looks useful enough. It&apos;s a different trace though. Best file a new bug report. Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2350926</commentid>
    <comment_count>35</comment_count>
    <who name="Michael Hamilton">michael</who>
    <bug_when>2024-09-02 19:49:14 +0000</bug_when>
    <thetext>(In reply to Justin Zobel from comment #33)
&gt; Interesting as it should download all required debug symbols, might be worth
&gt; bringing up with Fedora if they are missing symbols in their debuginfod
&gt; server.

It was Tumbleweed.  I suspect the missing symbols may be because TW has rolled on and debuginfod can no longer find matching downloads for the obsolete packages (total guess however).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2350930</commentid>
    <comment_count>36</comment_count>
    <who name="Michael Hamilton">michael</who>
    <bug_when>2024-09-02 20:06:33 +0000</bug_when>
    <thetext>(In reply to Harald Sitter from comment #34)
&gt; Looks useful enough. It&apos;s a different trace though. Best file a new bug
&gt; report. Thanks.

https://bugs.kde.org/show_bug.cgi?id=492560</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2351439</commentid>
    <comment_count>37</comment_count>
    <who name="Akseli Lahtinen">akselmo</who>
    <bug_when>2024-09-04 13:22:29 +0000</bug_when>
    <thetext>*** Bug 492560 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>