https://bugs.kde.org/show_bug.cgi?id=528884
Bug ID: 528884
Summary: Crash in UpdateTransaction::proceed() when clicking
"Proceed" during a large update: takeFirst() on an
empty m_updatersWaitingForFeedback
Classification: Applications
Product: Discover
Version First 6.7.5
Reported In:
Platform: Fedora RPMs
OS: Linux
Status: REPORTED
Severity: crash
Priority: NOR
Component: discover
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
Created attachment 198500
--> https://bugs.kde.org/attachment.cgi?id=198500&action=edit
backtrace file
DESCRIPTION
Every time there are more than a couple hundred items to update, Discover
crashes when I click "Proceed" in the confirmation dialog. This has been
driving me crazy for over a year.
STEPS TO REPRODUCE
1. Have a large number of updates pending (a couple of hundred or more)
2. Open Discover > Updates and click "Update All"
3. Click "Proceed" in the confirmation dialog that appears
OBSERVED RESULT
Discover crashes immediately (SIGSEGV).
EXPECTED RESULT
The update continues.
SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 44
KDE Plasma Version: 6.8.2 (the recorded crashes were on 6.7.5)
KDE Frameworks Version: 6.31.0 (6.30 at the time of the crashes)
Qt Version: 6.11.2
ADDITIONAL INFORMATION
- Graphics platform: Wayland; backends loaded: packagekit, flatpak
- Crash location: UpdateTransaction::proceed(),
libdiscover/resources/ResourcesUpdatesModel.cpp:67
-> m_updatersWaitingForFeedback.takeFirst()->proceed();
- In the core dump the list has size = -1 (alloc = 2), and its data
pointer is two slots in although it only held one entry, so proceed()
ran twice for a single proceed request; the second takeFirst() was
on an empty list
- proceed() doesn't check for an empty list; the same line is unchanged
in 6.8.2 and master
- Same crash in Fedora's automatic reports:
https://retrace.fedoraproject.org/faf/reports/1358207
https://retrace.fedoraproject.org/faf/reports/1372112
- Backtrace of the crashing thread attached
--
You are receiving this mail because:
You are watching all bug changes.