Bug 508868 - Discover stuck in a crash-restart-crash loop (since 6.4.4?)
Summary: Discover stuck in a crash-restart-crash loop (since 6.4.4?)
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: Flatpak Backend (other bugs)
Version First Reported In: 6.4.4
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 510618 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-08-28 18:34 UTC by Jens
Modified: 2025-11-01 00:31 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.5
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens 2025-08-28 18:34:59 UTC
SUMMARY: After updating, discover gets stuck in a crash-restart-crash loop. The desktop is unusable due to the constantly shifting window focus because Discover restarts and instantly crashes again.

STEPS TO REPRODUCE
1. Start update
2. Wait
3. Crash-restart-crash loop

This is KDE Neon as of today with all updates applied (I checked using "pkcon update" in the console, which seems to still work). I'd be happy to trace this further if I knew were to start looking (log files?), any help appreciated.

This has never happened before August 27. Maybe it was introduced in a recent update, probably within the last week (we did not install any updates between August 22 and August 27).

This has now happened three times yesterday and today, so it seems it's not a random bug.
Comment 1 TraceyC 2025-08-28 20:18:53 UTC
As the message at the top of the summary says, if something crashed, we need a backtrace of it so we can figure out what's going on. Can you please attach a backtrace of the crash using the coredumpctl command-line program, as detailed in https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl ?

Thanks.
Comment 2 Jens 2025-08-29 08:53:39 UTC
This bug report was not so much about the crash (I'll investigate anyway though), but about the loop.

If an app crashes upon startup, there should be some deescalation strategy so that it doesn't get stuck in a crash loop and make the machine unusable. Ideally, the deescalation strategy could involve a "safe mode" startup of some kind.

In the case of discover, the crash may be related to one or more package sources (just guessing) so Discover could detect it crashed (twice or 3x) and then offer to disable some or all package sources on the next start, or return to the default packages sources (temporarily). In any case, it should not restart-crash-restart-crash forever - regardless of the actual crash reason.
Comment 3 TraceyC 2025-08-29 16:10:27 UTC
I understand your point about avoiding the crash loop. The developers will need the backtrace to investigate how to do that, as well as investigate the crash itself. Thanks for investigating.
Comment 4 Jens 2025-08-31 18:46:02 UTC
Here you are, I hope this helps.

$ sudo coredumpctl gdb 80343
           PID: 80343 (plasma-discover)
           UID: 1000 (anna)
           GID: 1000 (anna)
        Signal: 11 (SEGV)
     Timestamp: Sun 2025-08-31 17:56:40 CEST (2h 46min ago)
  Command Line: /usr/bin/plasma-discover --headless-update
    Executable: /usr/bin/plasma-discover
 Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-org.kde.discover.notifier@autostart.service
          Unit: user@1000.service
     User Unit: app-org.kde.discover.notifier@autostart.service
         Slice: user-1000.slice
     Owner UID: 1000 (anna)
       Boot ID: 91d7fe80ca50497a91087e53f0d89c12
    Machine ID: 1d0ca30e39544b5cade443a5141183fb
      Hostname: anna-desktop
       Storage: /var/lib/systemd/coredump/core.plasma-discover.1000.91d7fe80ca50497a91087e53f0d89c12.80343.1756655800000000.zst (present)
  Size on Disk: 77.8M
       Message: Process 80343 (plasma-discover) of user 1000 dumped core.
                
                Module libarchive.so.13 from deb libarchive-3.7.2-2ubuntu0.5.amd64
                Module libgomp.so.1 from deb gcc-14-14.2.0-4ubuntu2~24.04.amd64
                Module libzstd.so.1 from deb libzstd-1.5.5+dfsg2-2build1.1.amd64
                Module libsystemd.so.0 from deb systemd-255.4-1ubuntu8.10.amd64
                Module libudev.so.1 from deb systemd-255.4-1ubuntu8.10.amd64
                Module libgcc_s.so.1 from deb gcc-14-14.2.0-4ubuntu2~24.04.amd64
                Module libstdc++.so.6 from deb gcc-14-14.2.0-4ubuntu2~24.04.amd64

(...)

Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/plasma-discover --headless-update'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __pthread_kill_implementation (no_tid=0, signo=11, threadid=<optimized out>)
    at ./nptl/pthread_kill.c:44

warning: 44     ./nptl/pthread_kill.c: No such file or directory
[Current thread is 1 (Thread 0x71e1a4d6b240 (LWP 80343))]
(gdb) bt
#0  __pthread_kill_implementation (no_tid=0, signo=11, threadid=<optimized out>)
    at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=11, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=11) at ./nptl/pthread_kill.c:89
#3  0x000071e1aac4527e in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#4  0x000071e1add14468 in KCrash::defaultCrashHandler(int) ()
   from /lib/x86_64-linux-gnu/libKF6Crash.so.6
#5  <signal handler called>
#6  0x000071e1ac378520 in ?? () from /lib/x86_64-linux-gnu/libQt6DBus.so.6
#7  0x000071e1ab714a74 in ?? () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#8  0x000071e1ab716128 in ?? () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#9  0x000071e1ade1b25f in SourcesModel::addSourcesBackend(AbstractSourcesBackend*) ()
   from /usr/lib/x86_64-linux-gnu/plasma-discover/libDiscoverCommon.so
#10 0x000071e1946ff0d9 in ?? () from /usr/lib/x86_64-linux-gnu/qt6/plugins/discover/flatpak-backend.so
#11 0x000071e1946ff323 in ?? () from /usr/lib/x86_64-linux-gnu/qt6/plugins/discover/flatpak-backend.so
#12 0x000071e1ade25ae5 in DiscoverBackendsFactory::backendForFile(QString const&, QString const&) const
    () from /usr/lib/x86_64-linux-gnu/plasma-discover/libDiscoverCommon.so
#13 0x000071e1ade25bd3 in DiscoverBackendsFactory::backend(QString const&) const ()
   from /usr/lib/x86_64-linux-gnu/plasma-discover/libDiscoverCommon.so
#14 0x000071e1ade2863e in DiscoverBackendsFactory::allBackends() const ()
   from /usr/lib/x86_64-linux-gnu/plasma-discover/libDiscoverCommon.so
#15 0x000071e1addfd02e in ResourcesModel::registerAllBackends() ()
   from /usr/lib/x86_64-linux-gnu/plasma-discover/libDiscoverCommon.so
#16 0x000071e1addfd320 in ResourcesModel::init(bool) ()
   from /usr/lib/x86_64-linux-gnu/plasma-discover/libDiscoverCommon.so
#17 0x000071e1addfd377 in ResourcesModel::global() ()
   from /usr/lib/x86_64-linux-gnu/plasma-discover/libDiscoverCommon.so
#18 0x00005a21e2312b65 in ?? ()
#19 0x000071e1ab87cce9 in ?? () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#20 0x000071e1ab87cce9 in ?? () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#21 0x000071e1ab70116a in QAbstractItemModel::rowsRemoved(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#22 0x000071e1ab6fa3d5 in QAbstractItemModel::endRemoveRows() ()
   from /lib/x86_64-linux-gnu/libQt6Core.so.6
#23 0x000071e1added24d in TransactionModel::removeTransaction(Transaction*) ()
   from /usr/lib/x86_64-linux-gnu/plasma-discover/libDiscoverCommon.so
#24 0x000071e1addf2256 in Transaction::~Transaction() ()
   from /usr/lib/x86_64-linux-gnu/plasma-discover/libDiscoverCommon.so
#25 0x000071e1942312b4 in ?? () from /usr/lib/x86_64-linux-gnu/qt6/plugins/discover/snap-backend.so
#26 0x000071e1ab8049bb in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#27 0x000071e1ab809f38 in QObject::~QObject() () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#28 0x000071e1942231f3 in ?? () from /usr/lib/x86_64-linux-gnu/qt6/plugins/discover/snap-backend.so
#29 0x000071e1ab8049bb in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#30 0x000071e1ab809f38 in QObject::~QObject() () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#31 0x000071e194231115 in ?? () from /usr/lib/x86_64-linux-gnu/qt6/plugins/discover/snap-backend.so
#32 0x000071e1addf9e06 in ResourcesModel::~ResourcesModel() ()
   from /usr/lib/x86_64-linux-gnu/plasma-discover/libDiscoverCommon.so
#33 0x000071e1addf9ef5 in ResourcesModel::~ResourcesModel() ()
   from /usr/lib/x86_64-linux-gnu/plasma-discover/libDiscoverCommon.so
#34 0x000071e1ab80ad7c in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#35 0x000071e1ada3e21d in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /lib/x86_64-linux-gnu/libQt6Widgets.so.6
#36 0x000071e1ab8b6340 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /lib/x86_64-linux-gnu/libQt6Core.so.6
#37 0x000071e1ab8b66db in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
   from /lib/x86_64-linux-gnu/libQt6Core.so.6
#38 0x000071e1ab8b970c in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#39 0x00005a21e2311b32 in ?? ()
#40 0x000071e1aac2a1ca in __libc_start_call_main (main=main@entry=0x5a21e230f870, argc=argc@entry=2, 
    argv=argv@entry=0x7ffeb44c79b8) at ../sysdeps/nptl/libc_start_call_main.h:58
#41 0x000071e1aac2a28b in __libc_start_main_impl (main=0x5a21e230f870, argc=2, argv=0x7ffeb44c79b8, 
    init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffeb44c79a8)
    at ../csu/libc-start.c:360
Comment 5 Jens 2025-09-06 14:12:04 UTC
Update:
After running "sudo pkcon update" in a console window, and some packaages were updated (not Discover though), there was no change in this behaviour.
But after running "sudo flatpak update" in a console window, and then re-running Discover, it crashed normally (with the option of reporting the backtrace, which albeit failed), and *then* when restarting Discover it actually continued working.

So while this is not fixed yet and may reappear, at least I am able to install updates again.
Comment 6 TraceyC 2025-09-11 12:38:43 UTC
This is may be related to either bug 508311 or bug 506223. Unfortunately, since the backtrace is missing debug symbols, I can't say for sure. This backtrace has calls that aren't in those other bug reports.
I'll mark this as resolved for now, since it can no longer be reproduced.

If you do experience the crash again, please provide a new backtrace with debug symbols, and set this back to REPORTED. Thanks!
Comment 7 Jens 2025-10-09 18:00:26 UTC
Please advise on how to install the needed backtrace packages specifically for this bug on KDE Neon.  I have read the generic instructions but they don't work for me - drkonqi never finishes and consumes >1.5GB of /tmp space (which fills up the disk), the ddeb service causes conflicts with Qt and the -dbg.deb packages don't seem to exist.

Which debug packages do we need and where do I get them?

Thank you πŸ™‚
Comment 8 TraceyC 2025-10-09 19:14:09 UTC
(In reply to Jens from comment #7)
> Please advise on how to install the needed backtrace packages specifically
> for this bug on KDE Neon.  I have read the generic instructions but they
> don't work for me - drkonqi never finishes and consumes >1.5GB of /tmp space

First, you'll need to find a way to make more space in /tmp before you'll be successful in getting a backtrace. 5G should be plenty I recommend reaching out to your distro for support doing this.

After you've done that, take another look at the link from my previous reply
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl

There's a section on "Install debugging packages", with a section for Neon. 

> KDE neon
> Neon has the debug symbols in its regular repository. 

If you need help installing the debug packages, please reach out on the Neon forums. 

After you have the debug symbols, it's time to get the backtrace. You may not need to create the crash again. If there's an existing coredump, you can get a backtrace of that, using the information on the page linked above.


Thanks.
Comment 9 Jens 2025-10-10 15:39:36 UTC
Is this better? 

Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/plasma-discover --headless-update'.
Program terminated with signal SIGSEGV, Segmentation fault.
Download failed: Das Argument ist ungΓΌltig.  Continuing without source file ./nptl/./nptl/pthread_kill.c.
#0  __pthread_kill_implementation (no_tid=0, signo=11, threadid=<optimized out>) at ./nptl/pthread_kill.c:44

warning: 44     ./nptl/pthread_kill.c: Datei oder Verzeichnis nicht gefunden
[Current thread is 1 (Thread 0x790065bc3240 (LWP 10775))]
(gdb) bt
#0  __pthread_kill_implementation (no_tid=0, signo=11, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=11, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=11) at ./nptl/pthread_kill.c:89
#3  0x000079006ba4527e in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#4  0x000079006eae5468 in KCrash::defaultCrashHandler (sig=11)
    at /usr/src/kf6-kcrash-6.18.0-0zneon+24.04+noble+release+build24/src/kcrash.cpp:605
#5  <signal handler called>
#6  0x000079006b473eb0 in vtable for QQmlPrivate::QQmlElement<QQuickScrollBar> () from /lib/x86_64-linux-gnu/libQt6QuickTemplates2.so.6
#7  0x000079006c7221e4 in operator()<QConcatenateTablesProxyModelPrivate::ModelInfo, QConcatenateTablesProxyModelPrivate::ModelInfo> (
    __closure=<synthetischer Zeiger>, a=..., b=...)
    at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/itemmodels/qconcatenatetablesproxymodel.cpp:815
#8  __gnu_cxx::__ops::_Iter_comp_iter<QConcatenateTablesProxyModelPrivate::calculatedColumnCount() const::<lambda(const auto:39&, const auto:40&)> >::operator()<QList<QConcatenateTablesProxyModelPrivate::ModelInfo>::const_iterator, QList<QConcatenateTablesProxyModelPrivate::ModelInfo>::const_iterator> (__it2=..., __it1=..., this=<synthetischer Zeiger>) at /usr/include/c++/13/bits/predefined_ops.h:158
#9  std::__min_element<QList<QConcatenateTablesProxyModelPrivate::ModelInfo>::const_iterator, __gnu_cxx::__ops::_Iter_comp_iter<QConcatenateTablesProxyModelPrivate::calculatedColumnCount() const::<lambda(const auto:39&, const auto:40&)> > > (__comp=..., __last=..., __first=...)
    at /usr/include/c++/13/bits/stl_algo.h:5651
#10 std::min_element<QList<QConcatenateTablesProxyModelPrivate::ModelInfo>::const_iterator, QConcatenateTablesProxyModelPrivate::calculatedColumnCount() const::<lambda(const auto:39&, const auto:40&)> > (__comp=..., __last=..., __first=...) at /usr/include/c++/13/bits/stl_algo.h:5702
#11 QConcatenateTablesProxyModelPrivate::calculatedColumnCount (this=this@entry=0x5ac031d40200)
    at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/itemmodels/qconcatenatetablesproxymodel.cpp:817
#12 0x000079006c725568 in QConcatenateTablesProxyModelPrivate::updateColumnCount (this=0x5ac031d40200)
    at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/itemmodels/qconcatenatetablesproxymodel.cpp:824
#13 0x000079006c7275a1 in QConcatenateTablesProxyModel::addSourceModel (this=<optimized out>, sourceModel=<optimized out>)
    at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/itemmodels/qconcatenatetablesproxymodel.cpp:526
#14 0x000079006ebec21f in SourcesModel::addSourcesBackend (
    this=0x79006ec48820 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS_s_sources> >::instance()::holder>, 
    sources=<optimized out>) at /usr/src/plasma-discover-6.4.5-0zneon+24.04+noble+release+build41/libdiscover/resources/SourcesModel.cpp:65
#15 0x00007900441930a4 in FwupdBackend::FwupdBackend (this=<optimized out>, parent=<optimized out>, this=<optimized out>, 
    parent=<optimized out>)
    at /usr/src/plasma-discover-6.4.5-0zneon+24.04+noble+release+build41/libdiscover/backends/FwupdBackend/FwupdBackend.cpp:41
#16 0x00007900441931c3 in FwupdBackendFactory::newInstance (this=<optimized out>, parent=0x7fff847d0f00, name=...)
    at /usr/src/plasma-discover-6.4.5-0zneon+24.04+noble+release+build41/libdiscover/backends/FwupdBackend/FwupdBackend.cpp:24
#17 0x000079006ebf6bd5 in DiscoverBackendsFactory::backendForFile (this=this@entry=0x7fff847d04ff, libname=..., name=...)
    at /usr/src/plasma-discover-6.4.5-0zneon+24.04+noble+release+build41/libdiscover/DiscoverBackendsFactory.cpp:65
#18 0x000079006ebf6cc3 in DiscoverBackendsFactory::backend (this=this@entry=0x7fff847d04ff, name=...)
    at /usr/src/plasma-discover-6.4.5-0zneon+24.04+noble+release+build41/libdiscover/DiscoverBackendsFactory.cpp:46
#19 0x000079006ebf972e in operator() (name=..., __closure=<synthetischer Zeiger>)
    at /usr/src/plasma-discover-6.4.5-0zneon+24.04+noble+release+build41/libdiscover/DiscoverBackendsFactory.cpp:103
#20 kTransform<QList<AbstractResourcesBackend*>, QList<QString>, DiscoverBackendsFactory::allBackends() const::<lambda(const QString&)> > (
    op=..., input=...) at /usr/src/plasma-discover-6.4.5-0zneon+24.04+noble+release+build41/libdiscover/utils.h:54
#21 DiscoverBackendsFactory::allBackends (this=0x7fff847d04ff)
    at /usr/src/plasma-discover-6.4.5-0zneon+24.04+noble+release+build41/libdiscover/DiscoverBackendsFactory.cpp:104
#22 0x000079006ebcdf6e in ResourcesModel::registerAllBackends (this=this@entry=0x5ac032f64e00)
    at /usr/src/plasma-discover-6.4.5-0zneon+24.04+noble+release+build41/libdiscover/resources/ResourcesModel.cpp:212
#23 0x000079006ebce260 in ResourcesModel::init (this=this@entry=0x5ac032f64e00, load=load@entry=true)
    at /usr/src/plasma-discover-6.4.5-0zneon+24.04+noble+release+build41/libdiscover/resources/ResourcesModel.cpp:86
#24 0x000079006ebce2b7 in ResourcesModel::global ()
    at /usr/src/plasma-discover-6.4.5-0zneon+24.04+noble+release+build41/libdiscover/resources/ResourcesModel.cpp:39
#25 0x00005ac02d90cb65 in DiscoverObject::reconsiderQuit (this=0x790060009820)
    at /usr/src/plasma-discover-6.4.5-0zneon+24.04+noble+release+build41/discover/DiscoverObject.cpp:514
#26 0x000079006c546e39 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, 
    r=<optimized out>, a=<optimized out>)
    at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/kernel/qobjectdefs_impl.h:461
#27 doActivate<false> (
    sender=0x79006ec48700 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS_globalTransactionModel> >::instance()::holder>, 
    signal_index=30, argv=0x7fff847d0698) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/kernel/qobject.cpp:4157
#28 0x000079006c546e39 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, 
    r=<optimized out>, a=<optimized out>)
    at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/kernel/qobjectdefs_impl.h:461
#29 doActivate<false> (
    sender=0x79006ec48700 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS_globalTransactionModel> >::instance()::holder>, 
    signal_index=15, argv=0x7fff847d07d0) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/kernel/qobject.cpp:4157
#30 0x000079006c706aaa in QMetaObject::activate<void, QModelIndex, int, int, QAbstractItemModel::QPrivateSignal> (ret=0x0, 
    local_signal_index=12, mo=<optimized out>, sender=<optimized out>)
    at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/kernel/qobjectdefs.h:306
#31 QAbstractItemModel::rowsRemoved (this=<optimized out>, _t1=..., _t2=<optimized out>, _t3=<optimized out>, _t4=...)
    at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/obj-x86_64-linux-gnu/src/corelib/Core_autogen/include/moc_qabstractitemmodel.cpp:700
#32 0x000079006c6fe5b5 in QAbstractItemModel::endRemoveRows (
--Type <RET> for more, q to quit, c to continue without paging--
    this=this@entry=0x79006ec48700 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS_globalTransactionModel> >::instance()::holder>) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/itemmodels/qabstractitemmodel.cpp:2973
#33 0x000079006ebbe1cd in TransactionModel::removeTransaction (
    this=0x79006ec48700 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS_globalTransactionModel> >::instance()::holder>, 
    transaction=0x5ac0343e50a0)
    at /usr/src/plasma-discover-6.4.5-0zneon+24.04+noble+release+build41/libdiscover/Transaction/TransactionModel.cpp:185
#34 0x000079006ebc3196 in Transaction::~Transaction (this=<optimized out>, this=<optimized out>)
    at /usr/src/plasma-discover-6.4.5-0zneon+24.04+noble+release+build41/libdiscover/Transaction/Transaction.cpp:30
#35 0x00007900201f92b4 in SnapTransaction::~SnapTransaction (this=<optimized out>, this=<optimized out>)
    at /usr/src/plasma-discover-6.4.5-0zneon+24.04+noble+release+build41/libdiscover/backends/SnapBackend/SnapTransaction.h:19
#36 SnapTransaction::~SnapTransaction (this=<optimized out>, this=<optimized out>)
    at /usr/src/plasma-discover-6.4.5-0zneon+24.04+noble+release+build41/libdiscover/backends/SnapBackend/SnapTransaction.h:19
#37 0x000079006c53699b in QObjectPrivate::deleteChildren (this=this@entry=0x79001c106c00)
    at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/kernel/qobject.cpp:2226
#38 0x000079006c53b468 in QObject::~QObject (this=<optimized out>, this=<optimized out>)
    at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/kernel/qobject.cpp:1141
#39 0x00007900201eb1f3 in SnapResource::~SnapResource (this=<optimized out>, this=<optimized out>)
    at /usr/src/plasma-discover-6.4.5-0zneon+24.04+noble+release+build41/libdiscover/backends/SnapBackend/SnapResource.h:24
#40 SnapResource::~SnapResource (this=<optimized out>, this=<optimized out>)
    at /usr/src/plasma-discover-6.4.5-0zneon+24.04+noble+release+build41/libdiscover/backends/SnapBackend/SnapResource.h:24
#41 0x000079006c53699b in QObjectPrivate::deleteChildren (this=this@entry=0x5ac03235d370)
    at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/kernel/qobject.cpp:2226
#42 0x000079006c53b468 in QObject::~QObject (this=<optimized out>, this=<optimized out>)
    at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/kernel/qobject.cpp:1141
#43 0x00007900201f9115 in SnapBackend::~SnapBackend (this=<optimized out>, this=<optimized out>)
    at /usr/src/plasma-discover-6.4.5-0zneon+24.04+noble+release+build41/libdiscover/backends/SnapBackend/SnapBackend.cpp:108
#44 0x000079006ebcad46 in qDeleteAll<QList<AbstractResourcesBackend*>::const_iterator> (end=..., begin=...)
    at /usr/include/x86_64-linux-gnu/qt6/QtCore/qalgorithms.h:28
#45 qDeleteAll<QList<AbstractResourcesBackend*> > (c=...) at /usr/include/x86_64-linux-gnu/qt6/QtCore/qalgorithms.h:36
#46 ResourcesModel::~ResourcesModel (this=<optimized out>, this=<optimized out>)
    at /usr/src/plasma-discover-6.4.5-0zneon+24.04+noble+release+build41/libdiscover/resources/ResourcesModel.cpp:112
#47 0x000079006ebcae35 in ResourcesModel::~ResourcesModel (this=<optimized out>, this=<optimized out>)
    at /usr/src/plasma-discover-6.4.5-0zneon+24.04+noble+release+build41/libdiscover/resources/ResourcesModel.cpp:113
#48 0x000079006c53935c in QObject::event (this=0x5ac03226ed80, e=0x5ac034869000)
    at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/kernel/qobject.cpp:1417
#49 0x000079006e4c7dcd in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5ac03226ed80, e=0x5ac034869000)
    at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/widgets/kernel/qapplication.cpp:3300
#50 0x000079006c4e59c0 in QCoreApplication::notifyInternal2 (receiver=0x5ac03226ed80, event=0x5ac034869000)
    at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/kernel/qcoreapplication.cpp:1106
#51 0x000079006c4ebafb in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=52, data=0x5ac031d27d60)
    at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/kernel/qcoreapplication.cpp:1891
#52 0x000079006c4e819c in QCoreApplication::exec ()
    at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/tools/qscopedpointer.h:110
#53 0x000079006cadebad in QGuiApplication::exec ()
    at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/gui/kernel/qguiapplication.cpp:1986
#54 0x000079006e4c3d19 in QApplication::exec ()
    at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/widgets/kernel/qapplication.cpp:2567
#55 0x00005ac02d90bb32 in main (argc=<optimized out>, argv=<optimized out>)
    at /usr/src/plasma-discover-6.4.5-0zneon+24.04+noble+release+build41/discover/main.cpp:231
Comment 10 TraceyC 2025-10-10 18:55:25 UTC
Thanks, that backtrace is very useful. The developers will have to take a look.
Comment 11 Keith 2025-10-15 09:08:29 UTC
Hi, Just searching for similar bugs today has led me here.
I am running Kinoite with plasma 6.4.5, frameworks 6.19.0 and I have the same loop sequence.
Today my rpm-ostree update is failing with a dependency issue, and plasma-discover keeps attempting update and closing. No crash, but constant notifications and flash on the screen as it tries to open something. Plasma-discover killed from cli to stop it. Issue makes the desktop unusable.
Not sure what technical details can be added to help, but
rpm-ostree update error is:
error: Could not depsolve transaction; 3 problems detected:
 Problem 1: The operation would result in removing the following protected packages: systemd
 Problem 2: The operation would result in removing the following protected packages: systemd
 Problem 3: The operation would result in removing the following protected packages: systemd

Current running ostree:
sudo rpm-ostree status -v
State: idle
AutomaticUpdates: disabled
Deployments:
● fedora:fedora/43/x86_64/testing/kinoite (index: 0)
                  Version: 43.20251013.0 (2025-10-13T01:09:58Z)
               BaseCommit: dc1e8dd5905c5a4aea7b845f61e90aaefe5958caa847405456c263db7ffebf25
                           β”œβ”€ repo-0 (2025-10-12T15:24:31Z)
                           β”œβ”€ repo-1 (2025-10-13T00:55:37Z)
                           β”œβ”€ repo-2 (2025-10-13T00:56:56Z)
                           └─ repo-3 (2018-02-20T19:18:14Z)
                   Commit: cfeb8a5a87a1ae80114a1dcd0121d47ed6d48b884d5e1632cbd44b899ab78416
                   Staged: no
                StateRoot: fedora
             GPGSignature: 1 signature
                           Signature made Mon 13 Oct 2025 03:07:54 BST using RSA key ID 829B606631645531
                           Good signature from "Fedora <fedora-43-primary@fedoraproject.org>"
         InactiveRequests: gstreamer1-plugin-libav
          LayeredPackages: akmod-intel-ipu6 akmods gstreamer1-plugins-bad-free-extras gstreamer1-plugins-bad-freeworld
                           gstreamer1-plugins-ugly gstreamer1-vaapi intel-media-driver java rpmfusion-free-release
                           rpmfusion-nonfree-release snapshot virt-manager
Comment 12 Akseli Lahtinen 2025-10-15 09:12:43 UTC
*** Bug 510618 has been marked as a duplicate of this bug. ***
Comment 13 TraceyC 2025-10-15 16:30:07 UTC
(In reply to Keith from comment #11)
> Hi, Just searching for similar bugs today has led me here.
> I am running Kinoite with plasma 6.4.5, frameworks 6.19.0 and I have the
> same loop sequence.
> Today my rpm-ostree update is failing with a dependency issue, and
> plasma-discover keeps attempting update and closing. No crash, but constant
> notifications and flash on the screen as it tries to open something.

If you're not seeing any crash, and Discover isn't creating coredumps, you are seeing a different bug.

> Plasma-discover killed from cli to stop it. Issue makes the desktop unusable.
> Not sure what technical details can be added to help, but
> rpm-ostree update error is:
> error: Could not depsolve transaction; 3 problems detected:
>  Problem 1: The operation would result in removing the following protected
> packages: systemd

That sounds like a packaging or system configuration issue. I recommend creating a bug on the Fedora tracker for it.
https://docs.fedoraproject.org/en-US/quick-docs/bugzilla-file-a-bug/
Comment 14 Aleix Pol 2025-11-01 00:31:58 UTC
The crash itself should be addressed by 4edd061ba7d76fa02a555cd9ec6fe5bae97a3e22

There might be another issue at hand, please create a new ticket if it's not fixed.