Bug 325835

Summary: Segfault after checking for updates
Product: [Applications] Discover Reporter: kde
Component: Updates (interactive)Assignee: Jonathan Thomas <echidnaman>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description kde 2013-10-10 06:53:57 UTC
Application: muon-updater (2.0.65)
KDE Platform Version: 4.11.2
Qt Version: 4.8.4
Operating System: Linux 3.11.0-12-generic i686
Distribution: Ubuntu Saucy Salamander (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
Clicking OK in the notifier window when it said there were new updates available.
Updater opened and displayed "No updates available".
After a while the notifier popped up again. Updater segfaulted after clicking OK.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Muon-Aktualisierungsverwaltung (muon-updater), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb5209740 (LWP 4027))]

Thread 2 (Thread 0xb2320b40 (LWP 4028)):
#0  0xb77d1424 in __kernel_vsyscall ()
#1  0xb608e9b2 in clock_gettime (clock_id=1, tp=0xb231ffc8) at ../sysdeps/unix/clock_gettime.c:115
#2  0xb62e83ec in do_gettime (frac=0xb231ffc0, sec=0xb231ffb8) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0xb63cdfd2 in updateCurrentTime (this=0xb1a02074) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0xb1a02074, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#6  0xb63cc67b in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb23200bc) at kernel/qeventdispatcher_glib.cpp:136
#7  0xb63cc70d in timerSourcePrepare (source=0xb1a02040, timeout=0xb23200bc) at kernel/qeventdispatcher_glib.cpp:169
#8  0xb58a9133 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb58a9a4f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb58a9c98 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0xb63cc8df in QEventDispatcherGlib::processEvents (this=0xb1a00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0xb639b9f3 in QEventLoop::processEvents (this=this@entry=0xb2320228, flags=...) at kernel/qeventloop.cpp:149
#13 0xb639bd19 in QEventLoop::exec (this=this@entry=0xb2320228, flags=...) at kernel/qeventloop.cpp:204
#14 0xb628ae3d in QThread::exec (this=this@entry=0x87b1840) at thread/qthread.cpp:542
#15 0xb637be14 in QInotifyFileSystemWatcherEngine::run (this=0x87b1840) at io/qfilesystemwatcher_inotify.cpp:265
#16 0xb628d72f in QThreadPrivate::start (arg=0x87b1840) at thread/qthread_unix.cpp:338
#17 0xb5987d78 in start_thread (arg=0xb2320b40) at pthread_create.c:311
#18 0xb607b4fe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 1 (Thread 0xb5209740 (LWP 4027)):
[KCrash Handler]
#7  0xb0c45d41 in QApt::Backend::toInstallCount (this=this@entry=0x89d0908) at /build/buildd/qapt-2.0.65/src/backend.cpp:432
#8  0xb0c45e8d in QApt::Backend::areChangesMarked (this=0x89d0908) at /build/buildd/qapt-2.0.65/src/backend.cpp:638
#9  0xb0c29720 in QAptActions::setActionsEnabledInternal (this=0x89bb258, enabled=true) at /build/buildd/muon-2.0.65+git20131008/libmuonapt/QAptActions.cpp:204
#10 0xb0c1f466 in QAptActions::qt_static_metacall (_o=0x0, _id=155778856, _a=0xbfc8b2e8, _c=<optimized out>) at /build/buildd/muon-2.0.65+git20131008/obj-i686-linux-gnu/libmuonapt/moc_QAptActions.cpp:118
#11 0xb63b1fc7 in QMetaObject::activate (sender=sender@entry=0x8726b88, m=0x805f970 <MuonMainWindow::staticMetaObject>, m@entry=0xb77ab950 <MuonMainWindow::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0xbfc8b2e8) at kernel/qobject.cpp:3539
#12 0xb7782cdd in MuonMainWindow::actionsEnabledChanged (this=this@entry=0x8726b88, _t1=_t1@entry=true) at /build/buildd/muon-2.0.65+git20131008/obj-i686-linux-gnu/libmuon/moc_MuonMainWindow.cpp:128
#13 0xb77895cf in MuonMainWindow::setActionsEnabled (this=this@entry=0x8726b88, enabled=enabled@entry=true) at /build/buildd/muon-2.0.65+git20131008/libmuon/MuonMainWindow.cpp:102
#14 0x08052efe in MainWindow::setActionsEnabled (this=0x8726b88, enabled=true) at /build/buildd/muon-2.0.65+git20131008/updater/MainWindow.cpp:181
#15 0x080540f5 in MainWindow::initBackend (this=0x8726b88) at /build/buildd/muon-2.0.65+git20131008/updater/MainWindow.cpp:145
#16 0x08052388 in MainWindow::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /build/buildd/muon-2.0.65+git20131008/obj-i686-linux-gnu/updater/moc_MainWindow.cpp:62
#17 0xb63b1fc7 in QMetaObject::activate (sender=sender@entry=0x873fde8, m=m@entry=0xb77ab9f8 <ResourcesModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#18 0xb7781f65 in ResourcesModel::allInitialized (this=this@entry=0x873fde8) at /build/buildd/muon-2.0.65+git20131008/obj-i686-linux-gnu/libmuon/moc_ResourcesModel.cpp:176
#19 0xb7791977 in ResourcesModel::resetBackend (this=this@entry=0x873fde8, backend=backend@entry=0x89cb498) at /build/buildd/muon-2.0.65+git20131008/libmuon/resources/ResourcesModel.cpp:268
#20 0xb7791e2f in ResourcesModel::callerFetchingChanged (this=0x873fde8) at /build/buildd/muon-2.0.65+git20131008/libmuon/resources/ResourcesModel.cpp:241
#21 0xb7783630 in ResourcesModel::qt_static_metacall (_o=0x0, _id=155778856, _a=0xbfc8b588, _c=<optimized out>) at /build/buildd/muon-2.0.65+git20131008/obj-i686-linux-gnu/libmuon/moc_ResourcesModel.cpp:99
#22 0xb63b1fc7 in QMetaObject::activate (sender=sender@entry=0x89cb498, m=m@entry=0xb77aba88 <AbstractResourcesBackend::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#23 0xb7781765 in AbstractResourcesBackend::fetchingChanged (this=this@entry=0x89cb498) at /build/buildd/muon-2.0.65+git20131008/obj-i686-linux-gnu/libmuon/moc_AbstractResourcesBackend.cpp:156
#24 0xb1b15bd7 in KNSBackend::setFetching (this=this@entry=0x89cb498, f=f@entry=false) at /build/buildd/muon-2.0.65+git20131008/libmuon/backends/KNSBackend/KNSBackend.cpp:112
#25 0xb1b174b0 in KNSBackend::receivedContents (this=this@entry=0x89cb498, job=0x9459f18) at /build/buildd/muon-2.0.65+git20131008/libmuon/backends/KNSBackend/KNSBackend.cpp:165
#26 0xb1b14f39 in KNSBackend::qt_static_metacall (_o=_o@entry=0x89cb498, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfc8b768) at /build/buildd/muon-2.0.65+git20131008/obj-i686-linux-gnu/libmuon/backends/KNSBackend/moc_KNSBackend.cpp:60
#27 0xb63b1fc7 in QMetaObject::activate (sender=0x9459f18, m=0xb5c8e540 <Attica::BaseJob::staticMetaObject>, local_signal_index=0, argv=0xbfc8b768) at kernel/qobject.cpp:3539
#28 0xb5be3505 in Attica::BaseJob::finished(Attica::BaseJob*) () from /usr/lib/i386-linux-gnu/libattica.so.0.4
#29 0xb5be3749 in Attica::BaseJob::dataFinished() () from /usr/lib/i386-linux-gnu/libattica.so.0.4
#30 0xb5be3a68 in ?? () from /usr/lib/i386-linux-gnu/libattica.so.0.4
#31 0xb63b1fc7 in QMetaObject::activate (sender=sender@entry=0x9459e60, m=m@entry=0xb5bb1364 <QNetworkReply::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#32 0xb5b5de95 in QNetworkReply::finished (this=0x9459e60) at .moc/release-shared/moc_qnetworkreply.cpp:166
#33 0xb5b5e0c0 in QNetworkReply::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0xbfc8b9d4, _c=<optimized out>) at .moc/release-shared/moc_qnetworkreply.cpp:107
#34 0xb63a59a4 in QMetaMethod::invoke (this=this@entry=0xbfc8baf4, object=0x9459e60, connectionType=<optimized out>, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1664
#35 0xb63a7f83 in QMetaObject::invokeMethod (obj=obj@entry=0x9459e60, member=member@entry=0xb384b915 "finished", type=type@entry=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179
#36 0xb36bb9b8 in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., type=type@entry=Qt::AutoConnection, member=0xb384b915 "finished", obj=0x9459e60) at /usr/include/qt4/QtCore/qobjectdefs.h:418
#37 KDEPrivate::AccessManagerReply::emitFinished (this=this@entry=0x9459e60, state=state@entry=true, type=type@entry=Qt::AutoConnection) at ../../kio/kio/accessmanagerreply_p.cpp:484
#38 0xb36bd944 in KDEPrivate::AccessManagerReply::slotResult (this=0x9459e60, kJob=0x8d4c420) at ../../kio/kio/accessmanagerreply_p.cpp:427
#39 0xb36be389 in KDEPrivate::AccessManagerReply::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0xbfc8bef8, _c=<optimized out>) at ./accessmanagerreply_p.moc:61
#40 0xb63b1fc7 in QMetaObject::activate (sender=sender@entry=0x8d4c420, m=m@entry=0xb67b74cc <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0xbfc8bef8) at kernel/qobject.cpp:3539
#41 0xb66119e5 in KJob::result (this=this@entry=0x8d4c420, _t1=_t1@entry=0x8d4c420) at ./kjob.moc:208
#42 0xb6611a32 in KJob::emitResult (this=this@entry=0x8d4c420) at ../../kdecore/jobs/kjob.cpp:318
#43 0xb36fdf41 in KIO::SimpleJob::slotFinished (this=0x8d4c420) at ../../kio/kio/job.cpp:496
#44 0xb36ff346 in KIO::TransferJob::slotFinished (this=0x8d4c420) at ../../kio/kio/job.cpp:1099
#45 0xb36ffee0 in KIO::TransferJob::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0xbfc8c0e8, _c=<optimized out>) at ./jobclasses.moc:388
#46 0xb63b1fc7 in QMetaObject::activate (sender=sender@entry=0x8b678e0, m=m@entry=0xb38c5480 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#47 0xb37a9fb5 in KIO::SlaveInterface::finished (this=this@entry=0x8b678e0) at ./slaveinterface.moc:185
#48 0xb37ab9fd in KIO::SlaveInterface::dispatch (this=0x8b678e0, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:176
#49 0xb37a8d7e in KIO::SlaveInterface::dispatch (this=0x8b678e0) at ../../kio/kio/slaveinterface.cpp:92
#50 0xb379c3a0 in KIO::Slave::gotInput (this=this@entry=0x8b678e0) at ../../kio/kio/slave.cpp:344
#51 0xb379c54c in KIO::Slave::qt_static_metacall (_o=_o@entry=0x8b678e0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfc8c338) at ./slave.moc:57
#52 0xb63b1fc7 in QMetaObject::activate (sender=sender@entry=0x8da0548, m=m@entry=0xb38c2190 <KIO::Connection::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#53 0xb36c5a75 in KIO::Connection::readyRead (this=0x8da0548) at ./connection.moc:106
#54 0xb36c6220 in KIO::ConnectionPrivate::dequeue (this=0x8df9da8) at ../../kio/kio/connection.cpp:82
#55 0xb63ae77a in QMetaCallEvent::placeMetaCall (this=0x943c470, object=0x8da0548) at kernel/qobject.cpp:524
#56 0xb63b658b in QObject::event (this=0x8da0548, e=0x943c470) at kernel/qobject.cpp:1194
#57 0xb68f8744 in QApplicationPrivate::notify_helper (this=0x864e210, receiver=0x8da0548, e=0x943c470) at kernel/qapplication.cpp:4567
#58 0xb68ff223 in QApplication::notify (this=0xbfc8dfc0, receiver=receiver@entry=0x8da0548, e=e@entry=0x943c470) at kernel/qapplication.cpp:4353
#59 0xb7445ff4 in KApplication::notify (this=0xbfc8dfc0, receiver=0x8da0548, event=0x943c470) at ../../kdeui/kernel/kapplication.cpp:311
#60 0xb639ceda in QCoreApplication::notifyInternal (this=0xbfc8dfc0, receiver=receiver@entry=0x8da0548, event=event@entry=0x943c470) at kernel/qcoreapplication.cpp:946
#61 0xb63a06ad in sendEvent (event=0x943c470, receiver=0x8da0548) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#62 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x86221d8) at kernel/qcoreapplication.cpp:1570
#63 0xb63a0bbc in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#64 0xb63ccf6e in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#65 postEventSourceDispatch (s=0x8649670) at kernel/qeventdispatcher_glib.cpp:279
#66 0xb58a982e in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#67 0xb58a9bd8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#68 0xb58a9c98 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#69 0xb63cc8bf in QEventDispatcherGlib::processEvents (this=this@entry=0x8622f68, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#70 0xb69ad32e in QGuiEventDispatcherGlib::processEvents (this=0x8622f68, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#71 0xb63a0c0d in QCoreApplication::processEvents (flags=...) at kernel/qcoreapplication.cpp:1133
#72 0xb0c52c43 in QApt::CacheBuildProgress::Update (this=0x8c9b2e8) at /build/buildd/qapt-2.0.65/src/cache.cpp:34
#73 0xb0a1d25a in OpProgress::Progress(unsigned long long) () from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
#74 0xb0a7f3e7 in pkgCacheGenerator::MergeList(pkgCacheGenerator::ListParser&, pkgCache::VerIterator*) () from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
#75 0xb0ae7f01 in debPackagesIndex::Merge(pkgCacheGenerator&, OpProgress*) const () from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
#76 0xb0a779d7 in ?? () from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
#77 0xb0a7acbc in pkgCacheGenerator::MakeStatusCache(pkgSourceList&, OpProgress*, MMap**, bool) () from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
#78 0xb0a7003b in pkgCacheFile::BuildCaches(OpProgress*, bool) () from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
#79 0xb0a704ae in pkgCacheFile::Open(OpProgress*, bool) () from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
#80 0xb0c52b80 in ReadOnlyOpen (Progress=0x8c9b2e8, this=<optimized out>) at /usr/include/apt-pkg/cachefile.h:68
#81 QApt::Cache::open (this=0x8f60b20) at /build/buildd/qapt-2.0.65/src/cache.cpp:79
#82 0xb0c4d518 in QApt::Backend::reloadCache (this=this@entry=0x89d0908) at /build/buildd/qapt-2.0.65/src/backend.cpp:176
#83 0xb0c4e26d in QApt::Backend::init (this=this@entry=0x89d0908) at /build/buildd/qapt-2.0.65/src/backend.cpp:169
#84 0xb0c298b5 in QAptActions::setBackend (this=0x89bb258, backend=0x89d0908) at /build/buildd/muon-2.0.65+git20131008/libmuonapt/QAptActions.cpp:87
#85 0xb0c1f5dd in QAptActions::qt_static_metacall (_o=0x0, _id=155778856, _a=0xbfc8d878, _c=<optimized out>) at /build/buildd/muon-2.0.65+git20131008/obj-i686-linux-gnu/libmuonapt/moc_QAptActions.cpp:97
#86 0xb63b1fc7 in QMetaObject::activate (sender=sender@entry=0x8a0cad8, m=m@entry=0xb0cfe9fc <ApplicationBackend::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0xbfc8d878) at kernel/qobject.cpp:3539
#87 0xb0cdb2c5 in ApplicationBackend::aptBackendInitialized (this=this@entry=0x8a0cad8, _t1=0x89d0908) at /build/buildd/muon-2.0.65+git20131008/obj-i686-linux-gnu/libmuon/backends/ApplicationBackend/moc_ApplicationBackend.cpp:184
#88 0xb0cdc583 in ApplicationBackend::initBackend (this=0x8a0cad8) at /build/buildd/muon-2.0.65+git20131008/libmuon/backends/ApplicationBackend/ApplicationBackend.cpp:546
#89 0xb0cdb450 in ApplicationBackend::qt_static_metacall (_o=0x0, _id=155778856, _a=0xbfc8d988, _c=<optimized out>) at /build/buildd/muon-2.0.65+git20131008/obj-i686-linux-gnu/libmuon/backends/ApplicationBackend/moc_ApplicationBackend.cpp:93
#90 0xb63b1fc7 in QMetaObject::activate (sender=sender@entry=0x86cf8f8, m=m@entry=0xb6506ef8 <QSingleShotTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#91 0xb63bb460 in timeout (this=0x86cf8f8) at .moc/release-shared/qtimer.moc:97
#92 QSingleShotTimer::timerEvent (this=0x86cf8f8) at kernel/qtimer.cpp:317
#93 0xb63b63ec in QObject::event (this=0x86cf8f8, e=0xbfc8dce0) at kernel/qobject.cpp:1156
#94 0xb68f8744 in QApplicationPrivate::notify_helper (this=0x864e210, receiver=0x86cf8f8, e=0xbfc8dce0) at kernel/qapplication.cpp:4567
#95 0xb68ff223 in QApplication::notify (this=0xbfc8dfc0, receiver=receiver@entry=0x86cf8f8, e=e@entry=0xbfc8dce0) at kernel/qapplication.cpp:4353
#96 0xb7445ff4 in KApplication::notify (this=0xbfc8dfc0, receiver=0x86cf8f8, event=0xbfc8dce0) at ../../kdeui/kernel/kapplication.cpp:311
#97 0xb639ceda in QCoreApplication::notifyInternal (this=0xbfc8dfc0, receiver=0x86cf8f8, event=event@entry=0xbfc8dce0) at kernel/qcoreapplication.cpp:946
#98 0xb63cf4eb in sendEvent (event=0xbfc8dce0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#99 QTimerInfoList::activateTimers (this=this@entry=0x8647ccc) at kernel/qeventdispatcher_unix.cpp:622
#100 0xb63cc5d8 in timerSourceDispatch (source=0x8647c98) at kernel/qeventdispatcher_glib.cpp:186
#101 0xb58a982e in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#102 0xb58a9bd8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#103 0xb58a9c98 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#104 0xb63cc8bf in QEventDispatcherGlib::processEvents (this=this@entry=0x8622f68, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#105 0xb69ad32e in QGuiEventDispatcherGlib::processEvents (this=0x8622f68, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#106 0xb639b9f3 in QEventLoop::processEvents (this=this@entry=0xbfc8df08, flags=...) at kernel/qeventloop.cpp:149
#107 0xb639bd19 in QEventLoop::exec (this=this@entry=0xbfc8df08, flags=...) at kernel/qeventloop.cpp:204
#108 0xb63a189e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#109 0xb68f6974 in QApplication::exec () at kernel/qapplication.cpp:3828
#110 0x080520b4 in main (argc=1, argv=0xbfc8e094) at /build/buildd/muon-2.0.65+git20131008/updater/main.cpp:59

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

Possible duplicates by query: bug 325828.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-10-10 08:53:45 UTC

*** This bug has been marked as a duplicate of bug 325828 ***