Bug 414047 - Apper crashes when applying updates
Summary: Apper crashes when applying updates
Status: REPORTED
Alias: None
Product: apper
Classification: Applications
Component: general (show other bugs)
Version: 1.0.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Daniel Nicoletti
URL:
Keywords: drkonqi
: 417435 418428 422497 424953 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-11-11 23:35 UTC by Michael Bergan
Modified: 2022-04-22 07:42 UTC (History)
11 users (show)

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


Attachments
New crash information added by DrKonqi (4.61 KB, text/plain)
2019-11-12 08:33 UTC, Ali Rashidi
Details
New crash information added by DrKonqi (5.17 KB, text/plain)
2019-12-18 04:51 UTC, Arcadiy Ivanov
Details
New crash information added by DrKonqi (5.48 KB, patch)
2020-03-20 12:51 UTC, Ulrich Schneider
Details
New crash information added by DrKonqi (6.26 KB, patch)
2020-03-22 08:56 UTC, Suren Karapetyan
Details
New crash information added by DrKonqi (3.34 KB, text/plain)
2021-03-03 17:24 UTC, Simon
Details
Saved crash info (2.55 KB, text/vnd.kde.kcrash-report)
2022-04-22 07:42 UTC, Leon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Bergan 2019-11-11 23:35:19 UTC
Application: apper (1.0.0)

Qt Version: 5.12.5
Frameworks Version: 5.61.0
Operating System: Linux 5.3.8-300.fc31.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
I just upgraded to Fedora 31 and this is the first time I tried to apply updates.  I selected all updates to apply and it looked like it was at the end and then crashed.

-- Backtrace:
Application: Apper (apper), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fbeb68ce800 (LWP 2788))]

Thread 4 (Thread 0x7fbea72ed700 (LWP 2796)):
#0  0x00007fbeb9636d45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbea77db06b in util_queue_thread_func () from /usr/lib64/dri/i965_dri.so
#2  0x00007fbea77dac7b in impl_thrd_routine () from /usr/lib64/dri/i965_dri.so
#3  0x00007fbeb96304e2 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fbeb9e39643 in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fbeae248700 (LWP 2791)):
#0  0x00007fbeb8cf9970 in g_source_iter_next () from /lib64/libglib-2.0.so.0
#1  0x00007fbeb8cfac53 in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#2  0x00007fbeb8cfb6cb in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#3  0x00007fbeb8cfb8d3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#4  0x00007fbeba3b4cd3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007fbeba35eceb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#6  0x00007fbeba1b7395 in QThread::exec() () from /lib64/libQt5Core.so.5
#7  0x00007fbeba686f4a in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#8  0x00007fbeba1b84e6 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#9  0x00007fbeb96304e2 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fbeb9e39643 in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fbeafabd700 (LWP 2790)):
#0  0x00007fbeb9e2ea1f in poll () from /lib64/libc.so.6
#1  0x00007fbeb877538a in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007fbeb8776fea in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007fbeafccdac8 in QXcbEventQueue::run() () from /lib64/libQt5XcbQpa.so.5
#4  0x00007fbeba1b84e6 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007fbeb96304e2 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fbeb9e39643 in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fbeb68ce800 (LWP 2788)):
[KCrash Handler]
#6  0x00007fbeba209019 in QHashData::nextNode(QHashData::Node*) () from /lib64/libQt5Core.so.5
#7  0x00007fbebbd00c3a in QHash<QString, PackageModel::InternalPackage>::erase(QHash<QString, PackageModel::InternalPackage>::const_iterator) () from /usr/lib64/apper/libapper_private.so
#8  0x00007fbebbcfacfb in PackageModel::clearSelectedNotPresent() () from /usr/lib64/apper/libapper_private.so
#9  0x0000561ec2fee79e in Updater::getUpdatesFinished() ()
#10 0x00007fbeba389f40 in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#11 0x00007fbebbc5aa83 in PackageKit::Transaction::finished(PackageKit::Transaction::Exit, unsigned int) () from /lib64/libpackagekitqt5.so.1
#12 0x00007fbebbc5eb09 in PackageKit::TransactionPrivate::finished(unsigned int, unsigned int) () from /lib64/libpackagekitqt5.so.1
#13 0x00007fbebbc5cc96 in PackageKit::Transaction::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /lib64/libpackagekitqt5.so.1
#14 0x00007fbeba389dfb in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#15 0x00007fbebbc75f29 in OrgFreedesktopPackageKitTransactionInterface::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /lib64/libpackagekitqt5.so.1
#16 0x00007fbebbc772f3 in OrgFreedesktopPackageKitTransactionInterface::qt_metacall(QMetaObject::Call, int, void**) () from /lib64/libpackagekitqt5.so.1
#17 0x00007fbeba69368b in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QVector<int> const&, int) () from /lib64/libQt5DBus.so.5
#18 0x00007fbeba38ac7a in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#19 0x00007fbebadb5ad6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#20 0x00007fbebadbf150 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#21 0x00007fbeba35fde8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#22 0x00007fbeba362d8b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#23 0x00007fbeba3b4f27 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#24 0x00007fbeb8cfb4a0 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#25 0x00007fbeb8cfb830 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#26 0x00007fbeb8cfb8d3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#27 0x00007fbeba3b4cb5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#28 0x00007fbeba35eceb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#29 0x00007fbeba366a16 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#30 0x0000561ec2fe0e77 in main ()
[Inferior 1 (process 2788) detached]

The reporter indicates this bug may be a duplicate of or related to bug 401461.

Possible duplicates by query: bug 402170, bug 401461.

Reported using DrKonqi
Comment 1 Ali Rashidi 2019-11-12 08:33:02 UTC
Created attachment 123852 [details]
New crash information added by DrKonqi

apper (1.0.0) using Qt 5.13.2

- What I was doing when the application crashed:

Did a full upgrade (updating all packages), and when the installation finished, the application crashed.

-- Backtrace (Reduced):
#6  0x00007f82b78ad873 in  () at /usr/lib/apper/libapper_private.so
#7  0x00007f82b78a64eb in PackageModel::clearSelectedNotPresent() () at /usr/lib/apper/libapper_private.so
#8  0x000055eee82aab2b in  ()
[...]
#10 0x00007f82b7607e70 in PackageKit::Transaction::finished(PackageKit::Transaction::Exit, unsigned int) () at /usr/lib/libpackagekitqt5.so.1
#11 0x00007f82b760cc96 in  () at /usr/lib/libpackagekitqt5.so.1
Comment 2 Arcadiy Ivanov 2019-12-18 04:51:24 UTC
Created attachment 124565 [details]
New crash information added by DrKonqi

apper (1.0.0) using Qt 5.12.5

- What I was doing when the application crashed:

Running refresh on updates. Once repository download has finished Apper crashed.

-- Backtrace (Reduced):
#6  0x00007f6521ca5c63 in QHash<QString, PackageModel::InternalPackage>::erase(QHash<QString, PackageModel::InternalPackage>::const_iterator) () from /usr/lib64/apper/libapper_private.so
#7  0x00007f6521c9fcfb in PackageModel::clearSelectedNotPresent() () from /usr/lib64/apper/libapper_private.so
#8  0x000055c92e6d279e in Updater::getUpdatesFinished() ()
[...]
#10 0x00007f6521befa83 in PackageKit::Transaction::finished(PackageKit::Transaction::Exit, unsigned int) () from /lib64/libpackagekitqt5.so.1
#11 0x00007f6521bf3b09 in PackageKit::TransactionPrivate::finished(unsigned int, unsigned int) () from /lib64/libpackagekitqt5.so.1
Comment 3 Christoph Feck 2020-03-06 12:24:42 UTC
*** Bug 417435 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Feck 2020-03-06 12:25:00 UTC
*** Bug 418428 has been marked as a duplicate of this bug. ***
Comment 5 Patrick Silva 2020-03-13 18:24:35 UTC
duplicate of bug 401461 ?
Comment 6 Ulrich Schneider 2020-03-20 12:51:20 UTC
Created attachment 126905 [details]
New crash information added by DrKonqi

apper (1.0.0) using Qt 5.13.2

- What I was doing when the application crashed:

Every single time I update via Apper, Apper crashes after updating. Packages are still updated after crash.

I would usually update via dnf, but have issues with that at well, as the upgrade from Fedora 20 to Fedora 31 left numerous duplicates of packages (with old version numbers) that I am not able to remove through dnf, yet.

-- Backtrace (Reduced):
#6  0x00007f0ca22c7c63 in QHash<QString, PackageModel::InternalPackage>::erase(QHash<QString, PackageModel::InternalPackage>::const_iterator) () from /usr/lib64/apper/libapper_private.so
#7  0x00007f0ca22c1cfb in PackageModel::clearSelectedNotPresent() () from /usr/lib64/apper/libapper_private.so
#8  0x000055759de3f79e in Updater::getUpdatesFinished() ()
[...]
#10 0x00007f0ca2206a83 in PackageKit::Transaction::finished(PackageKit::Transaction::Exit, unsigned int) () from /lib64/libpackagekitqt5.so.1
#11 0x00007f0ca220ab09 in PackageKit::TransactionPrivate::finished(unsigned int, unsigned int) () from /lib64/libpackagekitqt5.so.1
Comment 7 Suren Karapetyan 2020-03-22 08:56:20 UTC
Created attachment 126938 [details]
New crash information added by DrKonqi

apper (1.0.0) using Qt 5.13.2

- What I was doing when the application crashed:

Apply package updaes. The crash happens after the updates are applied.

-- Backtrace (Reduced):
#6  0x00007fbaf29e9c63 in QHash<QString, PackageModel::InternalPackage>::erase(QHash<QString, PackageModel::InternalPackage>::const_iterator) () from /usr/lib64/apper/libapper_private.so
#7  0x00007fbaf29e3cfb in PackageModel::clearSelectedNotPresent() () from /usr/lib64/apper/libapper_private.so
#8  0x000055fd7eafc79e in Updater::getUpdatesFinished() ()
[...]
#10 0x00007fbaf2920a83 in PackageKit::Transaction::finished(PackageKit::Transaction::Exit, unsigned int) () from /lib64/libpackagekitqt5.so.1
#11 0x00007fbaf2924b09 in PackageKit::TransactionPrivate::finished(unsigned int, unsigned int) () from /lib64/libpackagekitqt5.so.1
Comment 8 Christoph Feck 2020-11-23 12:11:46 UTC
*** Bug 422497 has been marked as a duplicate of this bug. ***
Comment 9 Christoph Feck 2020-11-23 12:12:11 UTC
*** Bug 424953 has been marked as a duplicate of this bug. ***
Comment 10 Simon 2021-03-03 17:24:34 UTC
Created attachment 136345 [details]
New crash information added by DrKonqi

apper (1.0.0) using Qt 5.15.2

- What I was doing when the application crashed:
I updated my installation by: "dnf upgrade --refresh" and then started apper where the pacckages I just had upgraded were listed under "updates". I then pressed "Check for new Updates" and when Apper had finished loading the cashes it's window closed immideately.

-- Backtrace (Reduced):
#4  0x00007f0e3e6caa19 in QHashData::nextNode(QHashData::Node*) () from /lib64/libQt5Core.so.5
#5  0x00007f0e4018087a in QHash<QString, PackageModel::InternalPackage>::erase(QHash<QString, PackageModel::InternalPackage>::const_iterator) () from /usr/lib64/apper/libapper_private.so
#6  0x00007f0e4017ce4b in PackageModel::clearSelectedNotPresent() () from /usr/lib64/apper/libapper_private.so
#7  0x0000562e8d862ace in Updater::getUpdatesFinished() ()
#8  0x00007f0e3e85c386 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
Comment 11 Leon 2022-04-22 07:42:46 UTC
Created attachment 148294 [details]
Saved crash info

Crashes after updates applied