https://bugs.kde.org/show_bug.cgi?id=418732
Bug ID: 418732 Summary: Discover hangs on "fetching updates" Product: Discover Version: 5.18.1 Platform: Fedora RPMs OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: fwupd Backend Assignee: sharma.abhijeet2...@gmail.com Reporter: ber...@codewiz.org CC: lei...@leinir.dk Target Milestone: --- (note: this happened with discover 5.18.2, but there's no such version in Bugzilla) I opened discover and it started fetching updates. After a few minutes, I realized it was just burning 200% CPU (i.e. two active threads) without making any progress. So I closed the window, but it kept running in the background and burning CPU. I was able to take this stacktrace of the main thread: #0 0x00007ffff51feea2 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x00007ffff60ff5a3 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib64/libQt5Core.so.5 #2 0x00007ffff60fc28f in QThreadPoolPrivate::waitForDone(QDeadlineTimer const&) () at /lib64/libQt5Core.so.5 #3 0x00007ffff60fc60a in QThreadPoolPrivate::waitForDone(int) () at /lib64/libQt5Core.so.5 #4 0x00007ffff60fc6c0 in QThreadPool::~QThreadPool() () at /lib64/libQt5Core.so.5 #5 0x00007fffc40a6bc1 in FwupdBackend::~FwupdBackend() (this=0x555556316390, __in_chrg=<optimized out>) at /usr/src/debug/plasma-discover-5.18.2-1.fc32.x86_64/libdiscover/backends/FwupdBackend/FwupdBackend.cpp:71 #6 0x00007fffc40a6c4d in FwupdBackend::~FwupdBackend() (this=0x555556316390, __in_chrg=<optimized out>) at /usr/src/debug/plasma-discover-5.18.2-1.fc32.x86_64/libdiscover/backends/FwupdBackend/FwupdBackend.cpp:63 #7 0x00007ffff7e78b3e in qDeleteAll<QTypedArrayData<AbstractResourcesBackend*>::const_iterator>(QTypedArrayData<AbstractResourcesBackend*>::const_iterator, QTypedArrayData<AbstractResourcesBackend*>::const_iterator) (end=<optimized out>, begin=<optimized out>) at /usr/include/qt5/QtCore/qalgorithms.h:319 #8 qDeleteAll<QVector<AbstractResourcesBackend*> >(QVector<AbstractResourcesBackend*> const&) (c=<optimized out>, c=@0x55555573b9c8: { d = 0x5555562ee070 }) at /usr/include/qt5/QtCore/qalgorithms.h:328 #9 ResourcesModel::~ResourcesModel() (this=0x55555573b9b0, __in_chrg=<optimized out>) at /usr/src/debug/plasma-discover-5.18.2-1.fc32.x86_64/libdiscover/resources/ResourcesModel.cpp:102 #10 0x00007ffff7e78b7d in ResourcesModel::~ResourcesModel() (this=0x55555573b9b0, __in_chrg=<optimized out>) at /usr/src/debug/plasma-discover-5.18.2-1.fc32.x86_64/libdiscover/resources/ResourcesModel.cpp:99 #11 0x00007ffff62ab164 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5 #12 0x00007ffff70c4e66 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5 #13 0x00007ffff6284860 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5 #14 0x00007ffff6287af3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt5Core.so.5 #15 0x00007ffff628adcf in QCoreApplication::exec() () at /lib64/libQt5Core.so.5 #16 0x000055555556b4fd in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-discover-5.18.2-1.fc32.x86_64/discover/main.cpp:179 -- You are receiving this mail because: You are watching all bug changes.