Bug 302726

Summary: muon updater crash (check for updates)
Product: [Applications] Discover Reporter: diehard67
Component: Updates (interactive)Assignee: Jonathan Thomas <echidnaman>
Status: RESOLVED UPSTREAM    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description diehard67 2012-06-29 06:17:37 UTC
Application: muon-updater (1.3.1 "Daring Dalek")
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-26-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I clicked on check for updates and muon crashed, this has happened to me twice now

The crash can be reproduced some of the time.

-- Backtrace:
Application: Muon Update Manager (muon-updater), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7febde4aa780 (LWP 28228))]

Thread 3 (Thread 0x7febc6e50700 (LWP 28231)):
#0  __libc_enable_asynccancel () at ../nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S:66
#1  0x00007febdb40c0b2 in read () at ../sysdeps/unix/syscall-template.S:82
#2  0x00007febd67908cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007febd6755ba4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007febd6755fd6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007febd675649a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007febccceb406 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#7  0x00007febd67779e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007febd701ae9a in start_thread (arg=0x7febc6e50700) at pthread_create.c:308
#9  0x00007febdb4194bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7febbcc3f700 (LWP 28232)):
#0  0x00007febdb40db03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007febd6756036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007febd6756164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007febdc85c426 in QEventDispatcherGlib::processEvents (this=0x7febb80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007febdc82bc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007febdc82bed7 in QEventLoop::exec (this=0x7febbcc3edd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007febdc72afa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007febdc80b9ff in QInotifyFileSystemWatcherEngine::run (this=0x24d55c0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007febdc72dfcb in QThreadPrivate::start (arg=0x24d55c0) at thread/qthread_unix.cpp:298
#9  0x00007febd701ae9a in start_thread (arg=0x7febbcc3f700) at pthread_create.c:308
#10 0x00007febdb4194bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7febde4aa780 (LWP 28228)):
[KCrash Handler]
#6  0x00007febd8a6d640 in pkgCacheGenerator::ListParser::NewProvides(pkgCache::VerIterator&, std::string const&, std::string const&, std::string const&) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#7  0x00007febd8aa9851 in debListParser::NewProvidesAllArch(pkgCache::VerIterator&, std::string const&, std::string const&) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#8  0x00007febd8aa9bdb in debListParser::ParseProvides(pkgCache::VerIterator&) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#9  0x00007febd8aaaa8c in debListParser::NewVersion(pkgCache::VerIterator&) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#10 0x00007febd8a6be18 in pkgCacheGenerator::MergeListVersion(pkgCacheGenerator::ListParser&, pkgCache::PkgIterator&, std::string const&, pkgCache::VerIterator*&) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#11 0x00007febd8a6cf71 in pkgCacheGenerator::MergeList(pkgCacheGenerator::ListParser&, pkgCache::VerIterator*) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#12 0x00007febd8ac50ee in debPackagesIndex::Merge(pkgCacheGenerator&, OpProgress*) const () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#13 0x00007febd8a65cb7 in ?? () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#14 0x00007febd8a68b34 in pkgCacheGenerator::MakeStatusCache(pkgSourceList&, OpProgress*, MMap**, bool) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#15 0x00007febd8a5f4da in pkgCacheFile::BuildCaches(OpProgress*, bool) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#16 0x00007febd8a5f904 in pkgCacheFile::Open(OpProgress*, bool) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#17 0x00007febdd6dd67a in QApt::Cache::open (this=<optimized out>) at /build/buildd/qapt-1.3.1/src/cache.cpp:85
#18 0x00007febdd6d89c2 in QApt::Backend::reloadCache (this=<optimized out>) at /build/buildd/qapt-1.3.1/src/backend.cpp:193
#19 0x00000000004161d6 in UpdaterWidget::reload (this=0x247ac10) at /build/buildd/muon-1.3.1/updater/UpdaterWidget.cpp:127
#20 0x00000000004113c0 in MainWindow::reload (this=0x240ba60) at /build/buildd/muon-1.3.1/updater/MainWindow.cpp:237
#21 0x0000000000411d4e in MainWindow::workerEvent (this=0x240ba60, event=QApt::CacheUpdateFinished) at /build/buildd/muon-1.3.1/updater/MainWindow.cpp:179
#22 0x00007febdc841281 in QMetaObject::activate (sender=0x24aafb0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff2296d7b0) at kernel/qobject.cpp:3547
#23 0x00007febdd6f5a91 in QApt::Backend::workerEvent (this=<optimized out>, _t1=QApt::CacheUpdateFinished) at /build/buildd/qapt-1.3.1/obj-x86_64-linux-gnu/src/moc_backend.cxx:265
#24 0x00007febdc841281 in QMetaObject::activate (sender=0x24fb2c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff2296d900) at kernel/qobject.cpp:3547
#25 0x00007febdd6f6a51 in OrgKubuntuQaptworkerInterface::workerEvent (this=<optimized out>, _t1=2) at /build/buildd/qapt-1.3.1/obj-x86_64-linux-gnu/src/workerdbus.moc:242
#26 0x00007febdd6f76e6 in OrgKubuntuQaptworkerInterface::qt_static_metacall (_o=0x24fb2c0, _c=<optimized out>, _id=8, _a=0x7fff2296de30) at /build/buildd/qapt-1.3.1/obj-x86_64-linux-gnu/src/workerdbus.moc:108
#27 0x00007febdd6f820b in OrgKubuntuQaptworkerInterface::qt_metacall (this=0x24fb2c0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff2296de30) at /build/buildd/qapt-1.3.1/obj-x86_64-linux-gnu/src/workerdbus.moc:176
#28 0x00007febda8b137b in QDBusConnectionPrivate::deliverCall (this=0x24cc8f0, object=0x24fb2c0, msg=..., metaTypes=..., slotIdx=13) at qdbusintegrator.cpp:947
#29 0x00007febdc846446 in QObject::event (this=0x24fb2c0, e=<optimized out>) at kernel/qobject.cpp:1195
#30 0x00007febdbbaf894 in notify_helper (e=0x247f0b0, receiver=0x24fb2c0, this=0x2126ef0) at kernel/qapplication.cpp:4559
#31 QApplicationPrivate::notify_helper (this=0x2126ef0, receiver=0x24fb2c0, e=0x247f0b0) at kernel/qapplication.cpp:4531
#32 0x00007febdbbb4713 in QApplication::notify (this=0x7fff2296e830, receiver=0x24fb2c0, e=0x247f0b0) at kernel/qapplication.cpp:4420
#33 0x00007febdd28dbb6 in KApplication::notify (this=0x7fff2296e830, receiver=0x24fb2c0, event=0x247f0b0) at ../../kdeui/kernel/kapplication.cpp:311
#34 0x00007febdc82ce9c in QCoreApplication::notifyInternal (this=0x7fff2296e830, receiver=0x24fb2c0, event=0x247f0b0) at kernel/qcoreapplication.cpp:876
#35 0x00007febdc830c6a in sendEvent (event=0x247f0b0, receiver=0x24fb2c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#36 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x20f1790) at kernel/qcoreapplication.cpp:1500
#37 0x00007febdc85bf93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#38 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#39 0x00007febd6755d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007febd67560a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007febd6756164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007febdc85c3bf in QEventDispatcherGlib::processEvents (this=0x20f3070, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#43 0x00007febdbc57d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007febdc82bc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#45 0x00007febdc82bed7 in QEventLoop::exec (this=0x7fff2296e7c0, flags=...) at kernel/qeventloop.cpp:204
#46 0x00007febdc830f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#47 0x000000000040f437 in main (argc=1, argv=0x7fff2296eaa8) at /build/buildd/muon-1.3.1/updater/main.cpp:61

Reported using DrKonqi
Comment 1 Jonathan Thomas 2012-06-29 12:13:30 UTC
This is a bug with APT usually caused by a corrupt package cache. As a workaround you can try running sudo rm /var/cache/apt/*.bin
Comment 2 diehard67 2012-06-29 16:31:05 UTC
thanx that worked, I did have to logout and back in but muon is working fine now.