Summary: | Apper crashed after applying updates | ||
---|---|---|---|
Product: | [Applications] apper | Reporter: | Suren Karapetyan <surenkarapetyan> |
Component: | general | Assignee: | Daniel Nicoletti <dantti12> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | arcadiy, jtfjdehf |
Priority: | NOR | Keywords: | drkonqi |
Version: | 1.0.0 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/apper/d486706f3e9f7eefa4d44cd5ace34eeaf7ba2ceb | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
Suren Karapetyan
2018-11-27 09:45:09 UTC
*** Bug 401381 has been marked as a duplicate of this bug. *** Created attachment 118457 [details]
New crash information added by DrKonqi
apper (1.0.0) using Qt 5.11.3
- What I was doing when the application crashed:
Applying updates that involved kernel updates and related removal of all kernel and old out-of-tree kernel modules (NVidia, BBSwitch).
Platform: Fedora 29
-- Backtrace (Reduced):
#6 0x00007f3ac74ff357 in QHashData::nextNode(QHashData::Node*) () from /lib64/libQt5Core.so.5
#7 0x00007f3ac933cb3a in QHash<QString, PackageModel::InternalPackage>::iterator::operator++ (this=<synthetic pointer>) at /usr/include/qt5/QtCore/qhash.h:328
#8 QHash<QString, PackageModel::InternalPackage>::erase (this=this@entry=0x55e3ab03fb00, it=..., it@entry=...) at /usr/include/qt5/QtCore/qhash.h:865
#9 0x00007f3ac933693b in QHash<QString, PackageModel::InternalPackage>::erase (it=..., this=0x55e3ab03fb00) at /usr/include/qt5/QtCore/qhash.h:475
#10 PackageModel::clearSelectedNotPresent (this=0x55e3ab03fac0) at /usr/src/debug/apper-1.0.0-3.fc29.x86_64/libapper/PackageModel.cpp:494
Git commit d486706f3e9f7eefa4d44cd5ace34eeaf7ba2ceb by Albert Astals Cid, on behalf of Alexander Kernozhitsky. Committed on 21/03/2019 at 22:11. Pushed by aacid into branch 'master'. Prevent crashing Apper on PackageModel::clearSelectedNotPresent() Summary: m_checkedPackages.erase() is called, but the iterator is not increased, therefore on the next iteration we use an invalid iterator Related: bug 405433, bug 402170 Test Plan: I just rebuilt Apper, ran it and installed the updates with it. The bug does not appear. Reviewers: dantti, apol Reviewed By: dantti Differential Revision: https://phabricator.kde.org/D19951 M +1 -1 libapper/PackageModel.cpp https://commits.kde.org/apper/d486706f3e9f7eefa4d44cd5ace34eeaf7ba2ceb I hope we will soon get the fix to the Fedora repository.. I updated to Fedora 30 in May, and this still happens. Apper 1.0.0-4 , no newer version in the repository. Are there any plans to do a fresh release with this fix? Asking because at least for Fedora the issue isn't solved yet. |