Bug 326392

Summary: muon update crashes
Product: [Applications] Discover Reporter: Milan <metalinspired>
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 Milan 2013-10-21 16:19:18 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 x86_64
Distribution: Ubuntu 13.10

-- Information about the crash:
crashes almost every time and usually after refreshing pachages nothing happens

The crash can be reproduced sometimes.

-- 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 0x7f7dc053f7c0 (LWP 11734))]

Thread 3 (Thread 0x7f7dad6af700 (LWP 11735)):
#0  0x00007f7dbb40e055 in __GI___pthread_mutex_lock (mutex=0x7f7da8000a60) at pthread_mutex_lock.c:95
#1  0x00007f7dbaf73391 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7dbaf3311c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7dbaf3362b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7dbaf3379c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7dbe32ca76 in QEventDispatcherGlib::processEvents (this=0x7f7da80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f7dbe2fe5ef in QEventLoop::processEvents (this=this@entry=0x7f7dad6aed70, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f7dbe2fe8e5 in QEventLoop::exec (this=this@entry=0x7f7dad6aed70, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f7dbe1fd88f in QThread::exec (this=this@entry=0x21e1ef0) at thread/qthread.cpp:542
#9  0x00007f7dbe2dfd13 in QInotifyFileSystemWatcherEngine::run (this=0x21e1ef0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f7dbe1fff2f in QThreadPrivate::start (arg=0x21e1ef0) at thread/qthread_unix.cpp:338
#11 0x00007f7dbb40bf6e in start_thread (arg=0x7f7dad6af700) at pthread_create.c:311
#12 0x00007f7dbdbb39cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f7da4ad2700 (LWP 11770)):
#0  0x00007fff707717d2 in clock_gettime ()
#1  0x00007f7dbdbc896d in clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f7dbe254757 in do_gettime (frac=0x7f7da4ad1b00, sec=0x7f7da4ad1af8) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f7dbe32dfe5 in updateCurrentTime (this=0x7f7d98002860) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0x7f7d98002860, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#6  0x00007f7dbe32c82c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f7da4ad1bb4) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f7dbe32c8d5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f7dbaf32d3d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f7dbaf335b3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f7dbaf3379c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f7dbe32ca76 in QEventDispatcherGlib::processEvents (this=0x7f7d980008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007f7dbe2fe5ef in QEventLoop::processEvents (this=this@entry=0x7f7da4ad1d70, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f7dbe2fe8e5 in QEventLoop::exec (this=this@entry=0x7f7da4ad1d70, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f7dbe1fd88f in QThread::exec (this=this@entry=0x2a33120) at thread/qthread.cpp:542
#15 0x00007f7dbe2dfd13 in QInotifyFileSystemWatcherEngine::run (this=0x2a33120) at io/qfilesystemwatcher_inotify.cpp:265
#16 0x00007f7dbe1fff2f in QThreadPrivate::start (arg=0x2a33120) at thread/qthread_unix.cpp:338
#17 0x00007f7dbb40bf6e in start_thread (arg=0x7f7da4ad2700) at pthread_create.c:311
#18 0x00007f7dbdbb39cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f7dc053f7c0 (LWP 11734)):
[KCrash Handler]
#6  0x00007f7da70eb451 in QApt::Backend::toInstallCount (this=this@entry=0x200eea0) at /build/buildd/qapt-2.0.65/src/backend.cpp:432
#7  0x00007f7da70eb53e in QApt::Backend::areChangesMarked (this=0x200eea0) at /build/buildd/qapt-2.0.65/src/backend.cpp:638
#8  0x00007f7da6ecc166 in QAptActions::setActionsEnabledInternal (this=0x24c5960, enabled=<optimized out>) at /build/buildd/muon-2.0.65+git20131008/libmuonapt/QAptActions.cpp:204
#9  0x00007f7dbe313a58 in QMetaObject::activate (sender=sender@entry=0x2166e60, m=m@entry=0x7f7dc03621c0 <MuonMainWindow::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff7071b580) at kernel/qobject.cpp:3539
#10 0x00007f7dc013bf32 in MuonMainWindow::actionsEnabledChanged (this=this@entry=0x2166e60, _t1=_t1@entry=true) at /build/buildd/muon-2.0.65+git20131008/obj-x86_64-linux-gnu/libmuon/moc_MuonMainWindow.cpp:128
#11 0x00007f7dc0141ae2 in MuonMainWindow::setActionsEnabled (this=this@entry=0x2166e60, enabled=true) at /build/buildd/muon-2.0.65+git20131008/libmuon/MuonMainWindow.cpp:102
#12 0x000000000040da84 in MainWindow::setActionsEnabled (this=0x2166e60, enabled=<optimized out>) at /build/buildd/muon-2.0.65+git20131008/updater/MainWindow.cpp:181
#13 0x00007f7dbe313a58 in QMetaObject::activate (sender=sender@entry=0x21337e0, m=m@entry=0x7f7dc0362380 <ResourcesModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#14 0x00007f7dc013b6e0 in ResourcesModel::allInitialized (this=this@entry=0x21337e0) at /build/buildd/muon-2.0.65+git20131008/obj-x86_64-linux-gnu/libmuon/moc_ResourcesModel.cpp:176
#15 0x00007f7dc0149767 in ResourcesModel::resetBackend (this=0x21337e0, backend=0x24ee080) at /build/buildd/muon-2.0.65+git20131008/libmuon/resources/ResourcesModel.cpp:268
#16 0x00007f7dc013c695 in ResourcesModel::qt_static_metacall (_o=0x21337e0, _id=-1, _a=0x0, _c=<optimized out>) at /build/buildd/muon-2.0.65+git20131008/obj-x86_64-linux-gnu/libmuon/moc_ResourcesModel.cpp:99
#17 0x00007f7dbe313a58 in QMetaObject::activate (sender=sender@entry=0x24ee080, m=m@entry=0x7f7dc0362500 <AbstractResourcesBackend::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#18 0x00007f7dc013b1d0 in AbstractResourcesBackend::fetchingChanged (this=this@entry=0x24ee080) at /build/buildd/muon-2.0.65+git20131008/obj-x86_64-linux-gnu/libmuon/moc_AbstractResourcesBackend.cpp:156
#19 0x00007f7dacaa291f in KNSBackend::setFetching (this=this@entry=0x24ee080, f=f@entry=false) at /build/buildd/muon-2.0.65+git20131008/libmuon/backends/KNSBackend/KNSBackend.cpp:112
#20 0x00007f7dacaa405a in KNSBackend::receivedContents (this=0x24ee080, job=0x27d8170) at /build/buildd/muon-2.0.65+git20131008/libmuon/backends/KNSBackend/KNSBackend.cpp:165
#21 0x00007f7dbe313a58 in QMetaObject::activate (sender=0x27d8170, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff7071baa0) at kernel/qobject.cpp:3539
#22 0x00007f7dbc47630f in Attica::BaseJob::finished(Attica::BaseJob*) () from /usr/lib/x86_64-linux-gnu/libattica.so.0.4
#23 0x00007f7dbc4764e9 in Attica::BaseJob::dataFinished() () from /usr/lib/x86_64-linux-gnu/libattica.so.0.4
#24 0x00007f7dbe313a58 in QMetaObject::activate (sender=0x27d8800, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#25 0x00007f7dbe307bf8 in QMetaMethod::invoke (this=this@entry=0x7fff7071bfb0, object=object@entry=0x27d8800, connectionType=Qt::DirectConnection, connectionType@entry=Qt::AutoConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1664
#26 0x00007f7dbe30a0b8 in QMetaObject::invokeMethod (obj=obj@entry=0x27d8800, member=member@entry=0x7f7db3932665 "finished", type=type@entry=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179
#27 0x00007f7db37cabdc in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., type=Qt::AutoConnection, member=0x7f7db3932665 "finished", obj=0x27d8800) at /usr/include/qt4/QtCore/qobjectdefs.h:418
#28 KDEPrivate::AccessManagerReply::emitFinished (this=this@entry=0x27d8800, state=state@entry=true, type=type@entry=Qt::AutoConnection) at ../../kio/kio/accessmanagerreply_p.cpp:484
#29 0x00007f7db37cc860 in KDEPrivate::AccessManagerReply::slotResult (this=0x27d8800, kJob=0x282b940) at ../../kio/kio/accessmanagerreply_p.cpp:427
#30 0x00007f7dbe313a58 in QMetaObject::activate (sender=sender@entry=0x282b940, m=m@entry=0x7f7dbeb18600 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff7071c4a0) at kernel/qobject.cpp:3539
#31 0x00007f7dbe7880c2 in KJob::result (this=this@entry=0x282b940, _t1=_t1@entry=0x282b940) at ./kjob.moc:208
#32 0x00007f7dbe788100 in KJob::emitResult (this=this@entry=0x282b940) at ../../kdecore/jobs/kjob.cpp:318
#33 0x00007f7db3806e5a in KIO::SimpleJob::slotFinished (this=this@entry=0x282b940) at ../../kio/kio/job.cpp:496
#34 0x00007f7db3807fae in KIO::TransferJob::slotFinished (this=0x282b940) at ../../kio/kio/job.cpp:1099
#35 0x00007f7dbe313a58 in QMetaObject::activate (sender=0x24c3080, m=m@entry=0x7f7db3bb0580 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#36 0x00007f7db38a4d63 in KIO::SlaveInterface::finished (this=<optimized out>) at ./slaveinterface.moc:185
#37 0x00007f7db38a62a6 in KIO::SlaveInterface::dispatch (this=<optimized out>, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:176
#38 0x00007f7db38a3d9e in KIO::SlaveInterface::dispatch (this=0x24c3080) at ../../kio/kio/slaveinterface.cpp:92
#39 0x00007f7db3898a06 in KIO::Slave::gotInput (this=0x24c3080) at ../../kio/kio/slave.cpp:344
#40 0x00007f7dbe313a58 in QMetaObject::activate (sender=0x24db850, m=m@entry=0x7f7db3ba9aa0 <KIO::Connection::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#41 0x00007f7db37d4200 in KIO::Connection::readyRead (this=<optimized out>) at ./connection.moc:106
#42 0x00007f7db37d48f1 in KIO::ConnectionPrivate::dequeue (this=0x27b8e40) at ../../kio/kio/connection.cpp:82
#43 0x00007f7dbe317dce in QObject::event (this=0x24db850, e=<optimized out>) at kernel/qobject.cpp:1194
#44 0x00007f7dbecf0dfc in QApplicationPrivate::notify_helper (this=this@entry=0x2012450, receiver=receiver@entry=0x24db850, e=e@entry=0x29c0290) at kernel/qapplication.cpp:4567
#45 0x00007f7dbecf7470 in QApplication::notify (this=this@entry=0x7fff7071eab0, receiver=receiver@entry=0x24db850, e=e@entry=0x29c0290) at kernel/qapplication.cpp:4353
#46 0x00007f7dbf9faa9a in KApplication::notify (this=0x7fff7071eab0, receiver=0x24db850, event=0x29c0290) at ../../kdeui/kernel/kapplication.cpp:311
#47 0x00007f7dbe2ff8bd in QCoreApplication::notifyInternal (this=0x7fff7071eab0, receiver=receiver@entry=0x24db850, event=event@entry=0x29c0290) at kernel/qcoreapplication.cpp:946
#48 0x00007f7dbe302e1f in sendEvent (event=0x29c0290, receiver=0x24db850) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#49 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1fe2500) at kernel/qcoreapplication.cpp:1570
#50 0x00007f7dbe3032c3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#51 0x00007f7dbe32d073 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#52 postEventSourceDispatch (s=0x201b400) at kernel/qeventdispatcher_glib.cpp:279
#53 0x00007f7dbaf333a6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007f7dbaf336f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#55 0x00007f7dbaf3379c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007f7dbe32ca55 in QEventDispatcherGlib::processEvents (this=0x1fe3de0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#57 0x00007f7dbed929d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#58 0x00007f7dbe3032ff in QCoreApplication::processEvents (flags=...) at kernel/qcoreapplication.cpp:1133
#59 0x00007f7da70f7453 in QApt::CacheBuildProgress::Update (this=<optimized out>) at /build/buildd/qapt-2.0.65/src/cache.cpp:34
#60 0x00007f7da692103f in pkgCacheGenerator::MergeList(pkgCacheGenerator::ListParser&, pkgCache::VerIterator*) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#61 0x00007f7da698176f in debTranslationsIndex::Merge(pkgCacheGenerator&, OpProgress*) const () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#62 0x00007f7da6919995 in ?? () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#63 0x00007f7da691cbac in pkgCacheGenerator::MakeStatusCache(pkgSourceList&, OpProgress*, MMap**, bool) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#64 0x00007f7da691237e in pkgCacheFile::BuildCaches(OpProgress*, bool) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#65 0x00007f7da6912784 in pkgCacheFile::Open(OpProgress*, bool) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#66 0x00007f7da70f73c3 in ReadOnlyOpen (Progress=<optimized out>, this=<optimized out>) at /usr/include/apt-pkg/cachefile.h:68
#67 QApt::Cache::open (this=<optimized out>) at /build/buildd/qapt-2.0.65/src/cache.cpp:79
#68 0x00007f7da70f2433 in QApt::Backend::reloadCache (this=this@entry=0x200eea0) at /build/buildd/qapt-2.0.65/src/backend.cpp:176
#69 0x00007f7da70f320e in QApt::Backend::init (this=this@entry=0x200eea0) at /build/buildd/qapt-2.0.65/src/backend.cpp:169
#70 0x00007f7da6ecc2a5 in QAptActions::setBackend (this=0x24c5960, backend=backend@entry=0x200eea0) at /build/buildd/muon-2.0.65+git20131008/libmuonapt/QAptActions.cpp:87
#71 0x00007f7da7995de7 in ApplicationBackend::initBackend (this=0x2577a30) at /build/buildd/muon-2.0.65+git20131008/libmuon/backends/ApplicationBackend/ApplicationBackend.cpp:541
#72 0x00007f7da7994f35 in ApplicationBackend::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /build/buildd/muon-2.0.65+git20131008/obj-x86_64-linux-gnu/libmuon/backends/ApplicationBackend/moc_ApplicationBackend.cpp:93
#73 0x00007f7dbe313a58 in QMetaObject::activate (sender=sender@entry=0x208ee50, m=m@entry=0x7f7dbe65fe40 <QSingleShotTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#74 0x00007f7dbe31c88a in timeout (this=0x208ee50) at .moc/release-shared/qtimer.moc:97
#75 QSingleShotTimer::timerEvent (this=0x208ee50) at kernel/qtimer.cpp:317
#76 0x00007f7dbe317be1 in QObject::event (this=0x208ee50, e=<optimized out>) at kernel/qobject.cpp:1156
#77 0x00007f7dbecf0dfc in QApplicationPrivate::notify_helper (this=this@entry=0x2012450, receiver=receiver@entry=0x208ee50, e=e@entry=0x7fff7071e730) at kernel/qapplication.cpp:4567
#78 0x00007f7dbecf7470 in QApplication::notify (this=this@entry=0x7fff7071eab0, receiver=receiver@entry=0x208ee50, e=e@entry=0x7fff7071e730) at kernel/qapplication.cpp:4353
#79 0x00007f7dbf9faa9a in KApplication::notify (this=0x7fff7071eab0, receiver=0x208ee50, event=0x7fff7071e730) at ../../kdeui/kernel/kapplication.cpp:311
#80 0x00007f7dbe2ff8bd in QCoreApplication::notifyInternal (this=0x7fff7071eab0, receiver=0x208ee50, event=0x7fff7071e730) at kernel/qcoreapplication.cpp:946
#81 0x00007f7dbe32f403 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#82 QTimerInfoList::activateTimers (this=0x201b4e0) at kernel/qeventdispatcher_unix.cpp:622
#83 0x00007f7dbe32c7a1 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#84 0x00007f7dbaf333a6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#85 0x00007f7dbaf336f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#86 0x00007f7dbaf3379c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#87 0x00007f7dbe32ca55 in QEventDispatcherGlib::processEvents (this=0x1fe3de0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#88 0x00007f7dbed929d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#89 0x00007f7dbe2fe5ef in QEventLoop::processEvents (this=this@entry=0x7fff7071e9b0, flags=...) at kernel/qeventloop.cpp:149
#90 0x00007f7dbe2fe8e5 in QEventLoop::exec (this=this@entry=0x7fff7071e9b0, flags=...) at kernel/qeventloop.cpp:204
#91 0x00007f7dbe303e5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#92 0x00007f7dbecef34c in QApplication::exec () at kernel/qapplication.cpp:3828
#93 0x000000000040cdb1 in main (argc=5, argv=0x7fff7071ebe8) 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 326261, bug 326253, bug 326251, bug 326231, bug 326195.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-10-21 17:15:05 UTC

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