Bug 482887 - plasmashell crashes in KAStatsFavoritesModel::Private::Private
Summary: plasmashell crashes in KAStatsFavoritesModel::Private::Private
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 6.0.1
Platform: Manjaro Linux
: VHI crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
: 484458 484614 484792 484930 485331 485471 485519 486980 487908 488316 488417 489381 489559 490138 491086 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-03-08 15:26 UTC by medin
Modified: 2024-09-05 19:54 UTC (History)
20 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.1.3
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description medin 2024-03-08 15:26:23 UTC
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'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007914a7fc5ae6 in KAStatsFavoritesModel::Private::Private(KAStatsFavoritesModel*, QString const&)::{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()->reload();                                                                                                                                                  
[Current thread is 1 (Thread 0x7914cac979c0 (LWP 7061))]
(gdb) bt
#0  0x00007914a7fc5ae6 in KAStatsFavoritesModel::Private::Private(KAStatsFavoritesModel*, QString const&)::{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<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KAStatsFavoritesModel::Private::Private(KAStatsFavoritesModel*, QString const&)::{lambda()#1}>::call(KAStatsFavoritesModel::Private::Private(KAStatsFavoritesModel*, QString const&)::{lambda()#1}&, void**) (arg=<optimized out>, f=...) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:137
#2  QtPrivate::Functor<KAStatsFavoritesModel::Private::Private(KAStatsFavoritesModel*, QString const&)::{lambda()#1}, 0>::call<QtPrivate::List<>, void>(KAStatsFavoritesModel::Private::Private(KAStatsFavoritesModel*, QString const&)::{lambda()#1}&, void*, void**) (arg=<optimized out>, f=...) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:339
#3  QtPrivate::QCallableObject<KAStatsFavoritesModel::Private::Private(KAStatsFavoritesModel*, QString const&)::{lambda()#1}, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=<optimized out>, this_=0x645ecbdaed90, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:522
#4  0x00007914cfd90ca9 in QtPrivate::QSlotObjectBase::call (a=0x7ffebea1a098, r=0x645ecbd23690, this=0x645ecbdaed90, this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobjectdefs_impl.h:433
#5  doActivate<false> (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=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobjectdefs_impl.h:433
#7  doActivate<false> (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=<optimized out>, _t1=<optimized out>) 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=<optimized out>, 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=<optimized out>)
    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=<optimized out>) 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=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-6.0.1/shell/main.cpp:214
(gdb)
Comment 1 Nicolas Fella 2024-03-08 23:40:23 UTC
Possibly caused by https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3982
Comment 2 Nicolas Fella 2024-03-27 22:56:04 UTC
*** Bug 484458 has been marked as a duplicate of this bug. ***
Comment 3 Nicolas Fella 2024-03-27 22:56:34 UTC
*** Bug 484614 has been marked as a duplicate of this bug. ***
Comment 4 Fushan Wen 2024-03-28 16:40:24 UTC
Git commit 2942dcf06c9661cf61a0255eeaa750c34b43e62d by Fushan Wen.
Committed on 28/03/2024 at 16:12.
Pushed by fusionfuture into branch 'master'.

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
Comment 5 Fushan Wen 2024-03-28 17:04:06 UTC
Git commit 9b6a8aaf7968c4ac82613f114ee6c1223a2d03b8 by Fushan Wen.
Committed on 28/03/2024 at 16:42.
Pushed by fusionfuture into branch 'Plasma/6.0'.

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
Comment 6 Nate Graham 2024-04-11 17:50:38 UTC
*** Bug 485331 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2024-04-13 14:19:08 UTC
*** Bug 485471 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2024-06-10 20:47:06 UTC
*** Bug 488316 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2024-06-12 18:39:09 UTC
*** Bug 488417 has been marked as a duplicate of this bug. ***
Comment 10 Nate Graham 2024-06-12 18:40:18 UTC
Unfortunately we're continuing to get bug reports about this (with the same backtrace) from people using Plasma 6.0.5; re-opening.
Comment 11 postix 2024-06-21 12:52:33 UTC
*** Bug 485519 has been marked as a duplicate of this bug. ***
Comment 12 postix 2024-06-21 12:52:43 UTC
*** Bug 484792 has been marked as a duplicate of this bug. ***
Comment 13 postix 2024-06-21 12:52:53 UTC
*** Bug 484930 has been marked as a duplicate of this bug. ***
Comment 14 postix 2024-06-21 12:53:01 UTC
*** Bug 486980 has been marked as a duplicate of this bug. ***
Comment 15 postix 2024-06-21 12:53:13 UTC
*** Bug 487908 has been marked as a duplicate of this bug. ***
Comment 16 duha.bugs 2024-06-28 18:40:47 UTC
*** Bug 489381 has been marked as a duplicate of this bug. ***
Comment 17 TraceyC 2024-07-01 18:07:00 UTC
*** Bug 489559 has been marked as a duplicate of this bug. ***
Comment 18 Akseli Lahtinen 2024-07-08 13:27:02 UTC
I am unable to repro this so far, but some things that may cause this happen:

- The activity you're using has to have "Tracking file and app use" 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()->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.
Comment 19 Akseli Lahtinen 2024-07-08 13:29:32 UTC
To add, it could have something to do with having a desktop file for flatpak and distro installed package that have both same name.
Comment 20 Bug Janitor Service 2024-07-09 13:00:32 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4510
Comment 21 Akseli Lahtinen 2024-07-10 08:33:53 UTC
Git commit 29e38fdfecaeb77d77f0c71aa66d7cc4c3f54b2c by Akseli Lahtinen.
Committed on 10/07/2024 at 08:33.
Pushed by akselmo into branch 'master'.

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
Comment 22 Akseli Lahtinen 2024-07-10 09:13:02 UTC
Git commit 65c5bc469d53dc70921b10b8c4527536883a8bb0 by Akseli Lahtinen.
Committed on 10/07/2024 at 08:47.
Pushed by akselmo into branch 'Plasma/6.1'.

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 <akselmo@akselmo.dev>

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

https://invent.kde.org/plasma/plasma-workspace/-/commit/65c5bc469d53dc70921b10b8c4527536883a8bb0
Comment 23 Akseli Lahtinen 2024-07-12 12:25:54 UTC
*** Bug 490138 has been marked as a duplicate of this bug. ***
Comment 24 postix 2024-07-26 12:20:52 UTC
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&)::{lambda()#1}::operator()() const (__closure=0x555ea8fb8970) at /usr/src/debug/plasma-workspace-6.1.3/applets/kicker/plugin/kastatsfavoritesmodel.cpp:196
#6  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KAStatsFavoritesModel::Private::Private(KAStatsFavoritesModel*, QString const&)::{lambda()#1}>::call(KAStatsFavoritesModel::Private::Private(KAStatsFavoritesModel*, QString const&)::{lambda()#1}&, void**) (arg=<optimized out>, f=...) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:137
#7  QtPrivate::FunctorCallable<KAStatsFavoritesModel::Private::Private(KAStatsFavoritesModel*, QString const&)::{lambda()#1}>::call<QtPrivate::List<>, void>(KAStatsFavoritesModel::Private::Private(KAStatsFavoritesModel*, QString const&)::{lambda()#1}&, void*, void**) (arg=<optimized out>, f=...) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:345
#8  QtPrivate::QCallableObject<KAStatsFavoritesModel::Private::Private(KAStatsFavoritesModel*, QString const&)::{lambda()#1}, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=<optimized out>, this_=0x555ea8fb8960, r=<optimized out>, a=<optimized out>, ret=<optimized out>) 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=<optimized out>, 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=<optimized out>, event=<optimized out>) 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=<optimized out>) 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=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-6.1.3/shell/main.cpp:188
```
Comment 26 Nate Graham 2024-07-29 17:49:07 UTC
*** Bug 490624 has been marked as a duplicate of this bug. ***
Comment 27 duha.bugs 2024-07-31 20:38:07 UTC
*** Bug 491086 has been marked as a duplicate of this bug. ***
Comment 28 Nate Graham 2024-09-01 00:06:21 UTC
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.
Comment 29 Harald Sitter 2024-09-01 00:23:26 UTC
I dont see that. All the .4 crashes are amd driver reset crashes that somehow merged into that issue.
Comment 30 Michael Hamilton 2024-09-01 07:20:43 UTC
I'm on 6.1.4 using Nvidia and I'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 <signal handler called> () 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<(__gnu_cxx::_Lock_policy)2>::_M_add_ref_copy (this=0x4545454545454545) at /usr/include/c++/13/bits/shared_ptr_base.h:152
#7  std::__shared_count<(__gnu_cxx::_Lock_policy)2>::operator= (__r=<optimized out>, this=0x5597f058cd40) at /usr/include/c++/13/bits/shared_ptr_base.h:1088
#8  std::__shared_ptr<AbstractEntry, (__gnu_cxx::_Lock_policy)2>::operator= (this=0x5597f058cd38) at /usr/include/c++/13/bits/shared_ptr_base.h:1523
#9  std::shared_ptr<AbstractEntry>::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=<optimized out>, clientId=<optimized out>, this=<optimized out>, parent=<optimized out>, clientId=<optimized out>)
    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&) () 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<QString, QVariant> const&) () 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&) () 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<QString, QVariant> const&) () 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=<optimized out>) 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 <RET> 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<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6
#50 0x00007fe2443993db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6
#51 0x00007fe244392bb6 in QCoreApplication::exec() () at /lib64/libQt6Core.so.6
#52 0x00005597d9337b8f in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-6.1.4/shell/main.cpp:188
Comment 31 Justin Zobel 2024-09-02 05:54:50 UTC
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.
Comment 32 Michael Hamilton 2024-09-02 07:41:29 UTC
(In reply to Justin Zobel from comment #31)
> 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.

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.
Comment 33 Justin Zobel 2024-09-02 11:46:36 UTC
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.
Comment 34 Harald Sitter 2024-09-02 11:58:38 UTC
Looks useful enough. It's a different trace though. Best file a new bug report. Thanks.
Comment 35 Michael Hamilton 2024-09-02 19:49:14 UTC
(In reply to Justin Zobel from comment #33)
> 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.

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).
Comment 36 Michael Hamilton 2024-09-02 20:06:33 UTC
(In reply to Harald Sitter from comment #34)
> Looks useful enough. It's a different trace though. Best file a new bug
> report. Thanks.

https://bugs.kde.org/show_bug.cgi?id=492560
Comment 37 Akseli Lahtinen 2024-09-04 13:22:29 UTC
*** Bug 492560 has been marked as a duplicate of this bug. ***