Bug 327457

Summary: Muon crashes after installing one application, and trying to install another
Product: [Unmaintained] muon Reporter: pedron.alexandre
Component: discoverAssignee: Jonathan Thomas <echidnaman>
Status: RESOLVED DUPLICATE    
Severity: crash CC: sitter
Priority: NOR Keywords: drkonqi
Version: 2.1.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description pedron.alexandre 2013-11-11 16:43:36 UTC
Application: muon-discover (2.1.0)
KDE Platform Version: 4.11.2 (Compiled from sources)
Qt Version: 4.8.4
Operating System: Linux 3.11.0-13-generic i686
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed:

I just installed an application, and clicked on install another one, and Muon crashed after it finished downloading the package.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Découvreur Muon (muon-discover), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb14e0740 (LWP 29113))]

Thread 7 (Thread 0xaeddfb40 (LWP 29114)):
#0  0xb773e424 in __kernel_vsyscall ()
#1  0xb254784b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb5a669bc in __pthread_cond_wait (cond=0xb35f98d0, mutex=0xb35f98b8) at forward.c:149
#3  0xb34f6ef2 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0xb34f6f3f in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0xb2543d78 in start_thread (arg=0xaeddfb40) at pthread_create.c:311
#6  0xb5a5901e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 6 (Thread 0xadfb2b40 (LWP 29115)):
#0  __libc_disable_asynccancel (oldtype=<optimized out>) at ../nptl/cancellation.c:82
#1  0xb5a49a14 in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb2474a4b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb2465b68 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb2465ca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb5da98df in QEventDispatcherGlib::processEvents (this=0xad600468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb5d789f3 in QEventLoop::processEvents (this=this@entry=0xadfb2228, flags=...) at kernel/qeventloop.cpp:149
#7  0xb5d78d19 in QEventLoop::exec (this=this@entry=0xadfb2228, flags=...) at kernel/qeventloop.cpp:204
#8  0xb5c67e3d in QThread::exec (this=this@entry=0xa068878) at thread/qthread.cpp:542
#9  0xb5d58e14 in QInotifyFileSystemWatcherEngine::run (this=0xa068878) at io/qfilesystemwatcher_inotify.cpp:265
#10 0xb5c6a72f in QThreadPrivate::start (arg=0xa068878) at thread/qthread_unix.cpp:338
#11 0xb2543d78 in start_thread (arg=0xadfb2b40) at pthread_create.c:311
#12 0xb5a5901e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 5 (Thread 0xa844eb40 (LWP 29116)):
#0  0xb2546ce4 in __GI___pthread_mutex_unlock (mutex=0xa7b00558) at pthread_mutex_unlock.c:297
#1  0xb5a66c04 in pthread_mutex_unlock (mutex=0xa7b00558) at forward.c:194
#2  0xb24a8bf0 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb246512e in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb2465a5f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb2465ca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb5da98df in QEventDispatcherGlib::processEvents (this=0xa7b00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb5d789f3 in QEventLoop::processEvents (this=this@entry=0xa844e258, flags=...) at kernel/qeventloop.cpp:149
#8  0xb5d78d19 in QEventLoop::exec (this=this@entry=0xa844e258, flags=...) at kernel/qeventloop.cpp:204
#9  0xb5c67e3d in QThread::exec (this=this@entry=0xa664198) at thread/qthread.cpp:542
#10 0xb5c67f8b in QThread::run (this=0xa664198) at thread/qthread.cpp:609
#11 0xb5c6a72f in QThreadPrivate::start (arg=0xa664198) at thread/qthread_unix.cpp:338
#12 0xb2543d78 in start_thread (arg=0xa844eb40) at pthread_create.c:311
#13 0xb5a5901e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 4 (Thread 0xa78a6b40 (LWP 29117)):
#0  0xb5a95173 in __x86.get_pc_thunk.bx () from /lib/i386-linux-gnu/libc.so.6
#1  0xb5a66b98 in pthread_mutex_lock (mutex=0xa6e4780) at forward.c:192
#2  0xb24a8bb0 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb246514d in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb2465a5f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb2465ca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb5da98df in QEventDispatcherGlib::processEvents (this=0xa6e0e20, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb5d789f3 in QEventLoop::processEvents (this=this@entry=0xa78a6258, flags=...) at kernel/qeventloop.cpp:149
#8  0xb5d78d19 in QEventLoop::exec (this=this@entry=0xa78a6258, flags=...) at kernel/qeventloop.cpp:204
#9  0xb5c67e3d in QThread::exec (this=this@entry=0xa693a48) at thread/qthread.cpp:542
#10 0xb5c67f8b in QThread::run (this=0xa693a48) at thread/qthread.cpp:609
#11 0xb5c6a72f in QThreadPrivate::start (arg=0xa693a48) at thread/qthread_unix.cpp:338
#12 0xb2543d78 in start_thread (arg=0xa78a6b40) at pthread_create.c:311
#13 0xb5a5901e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 3 (Thread 0xa70a5b40 (LWP 29239)):
#0  0xb2546c48 in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=1) at pthread_mutex_unlock.c:80
#1  0xb5a66c04 in pthread_mutex_unlock (mutex=0xa7b440b8) at forward.c:194
#2  0xb24a8bf0 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb246512e in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb2465a5f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb2465ca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb5da98df in QEventDispatcherGlib::processEvents (this=0xa7b050e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb5d789f3 in QEventLoop::processEvents (this=this@entry=0xa70a5248, flags=...) at kernel/qeventloop.cpp:149
#8  0xb5d78d19 in QEventLoop::exec (this=this@entry=0xa70a5248, flags=...) at kernel/qeventloop.cpp:204
#9  0xb5c67e3d in QThread::exec (this=this@entry=0xce5dfd8) at thread/qthread.cpp:542
#10 0xb7123aee in QDeclarativePixmapReader::run (this=0xce5dfd8) at util/qdeclarativepixmapcache.cpp:576
#11 0xb5c6a72f in QThreadPrivate::start (arg=0xce5dfd8) at thread/qthread_unix.cpp:338
#12 0xb2543d78 in start_thread (arg=0xa70a5b40) at pthread_create.c:311
#13 0xb5a5901e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 2 (Thread 0xa19bfb40 (LWP 29240)):
#0  0xb2462d08 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb24650d3 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb2465a5f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb2465ca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb5da98df in QEventDispatcherGlib::processEvents (this=0xa7b418b0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0xb5d789f3 in QEventLoop::processEvents (this=this@entry=0xa19bf258, flags=...) at kernel/qeventloop.cpp:149
#6  0xb5d78d19 in QEventLoop::exec (this=this@entry=0xa19bf258, flags=...) at kernel/qeventloop.cpp:204
#7  0xb5c67e3d in QThread::exec (this=this@entry=0xa7b06f78) at thread/qthread.cpp:542
#8  0xb5c67f8b in QThread::run (this=0xa7b06f78) at thread/qthread.cpp:609
#9  0xb5c6a72f in QThreadPrivate::start (arg=0xa7b06f78) at thread/qthread_unix.cpp:338
#10 0xb2543d78 in start_thread (arg=0xa19bfb40) at pthread_create.c:311
#11 0xb5a5901e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 1 (Thread 0xb14e0740 (LWP 29113)):
[KCrash Handler]
#7  CurrentVer (this=0xade3fa0, this=0xade3fa0) at /usr/include/apt-pkg/cacheiterators.h:425
#8  QApt::Package::state (this=0xa7f10c8) at /build/buildd/qapt-2.0.65/src/package.cpp:716
#9  0xa5a42bd2 in Application::state (this=0xc1e07d8) at /build/buildd/muon-2.1.0/libmuon/backends/ApplicationBackend/Application.cpp:490
#10 0xb76fbd45 in ResourcesProxyModel::filterAcceptsRow (this=0xa4af4e8, sourceRow=2720, sourceParent=...) at /build/buildd/muon-2.1.0/libmuon/resources/ResourcesProxyModel.cpp:183
#11 0xb68ed34e in QSortFilterProxyModelPrivate::source_items_inserted (this=this@entry=0xa4af568, source_parent=..., start=start@entry=347, end=end@entry=43675, orient=orient@entry=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:769
#12 0xb68ed5a0 in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0xa4af568, source_parent=..., start=347, end=43675) at itemviews/qsortfilterproxymodel.cpp:1297
#13 0xb68ef5cc in QSortFilterProxyModel::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0xbfecd0d0, _c=<optimized out>) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:114
#14 0xb5d8efc7 in QMetaObject::activate (sender=sender@entry=0xa017db8, m=m@entry=0xb5ee52f8 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0xbfecd0d0) at kernel/qobject.cpp:3539
#15 0xb5ddde45 in QAbstractItemModel::rowsInserted (this=this@entry=0xa017db8, _t1=..., _t2=347, _t3=43675) at .moc/release-shared/moc_qabstractitemmodel.cpp:197
#16 0xb5d7236a in QAbstractItemModel::endInsertRows (this=this@entry=0xa017db8) at kernel/qabstractitemmodel.cpp:2433
#17 0xb76f9ad2 in ResourcesModel::resetBackend (this=this@entry=0xa017db8, backend=backend@entry=0xa693e18) at /build/buildd/muon-2.1.0/libmuon/resources/ResourcesModel.cpp:263
#18 0xb76f9e7f in ResourcesModel::callerFetchingChanged (this=0xa017db8) at /build/buildd/muon-2.1.0/libmuon/resources/ResourcesModel.cpp:241
#19 0xb76eb410 in ResourcesModel::qt_static_metacall (_o=0x1f9, _id=182696848, _a=0xbfecd268, _c=<optimized out>) at /build/buildd/muon-2.1.0/obj-i686-linux-gnu/libmuon/moc_ResourcesModel.cpp:99
#20 0xb5d8efc7 in QMetaObject::activate (sender=sender@entry=0xa693e18, m=m@entry=0xb7713a74 <AbstractResourcesBackend::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#21 0xb76e9875 in AbstractResourcesBackend::fetchingChanged (this=this@entry=0xa693e18) at /build/buildd/muon-2.1.0/obj-i686-linux-gnu/libmuon/moc_AbstractResourcesBackend.cpp:156
#22 0xa5a3b4e0 in ApplicationBackend::setFetching (this=0xa693e18, f=false) at /build/buildd/muon-2.1.0/libmuon/backends/ApplicationBackend/ApplicationBackend.cpp:630
#23 0xa5a3c250 in ApplicationBackend::reload (this=this@entry=0xa693e18) at /build/buildd/muon-2.1.0/libmuon/backends/ApplicationBackend/ApplicationBackend.cpp:171
#24 0xa5a3c70a in ApplicationBackend::transactionEvent (this=0xa693e18, status=QApt::FinishedStatus) at /build/buildd/muon-2.1.0/libmuon/backends/ApplicationBackend/ApplicationBackend.cpp:263
#25 0xa5a3a3fd in ApplicationBackend::qt_static_metacall (_o=0x1f9, _id=182696848, _a=0xbfecd468, _c=<optimized out>) at /build/buildd/muon-2.1.0/obj-i686-linux-gnu/libmuon/backends/ApplicationBackend/moc_ApplicationBackend.cpp:90
#26 0xb5d8efc7 in QMetaObject::activate (sender=sender@entry=0xf454250, m=m@entry=0xa687cd18 <QApt::Transaction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0xbfecd468) at kernel/qobject.cpp:3539
#27 0xa6867015 in QApt::Transaction::statusChanged (this=this@entry=0xf454250, _t1=QApt::FinishedStatus) at /build/buildd/qapt-2.0.65/obj-i686-linux-gnu/src/moc_transaction.cxx:291
#28 0xa6859633 in QApt::Transaction::updateProperty (this=this@entry=0xf454250, type=3, variant=...) at /build/buildd/qapt-2.0.65/src/transaction.cpp:518
#29 0xa68678d4 in QApt::Transaction::qt_static_metacall (_o=_o@entry=0xf454250, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=24, _a=0xbfecd5e4) at /build/buildd/qapt-2.0.65/obj-i686-linux-gnu/src/moc_transaction.cxx:164
#30 0xb5d8efc7 in QMetaObject::activate (sender=sender@entry=0xc844e98, m=m@entry=0xa687cd78 <OrgKubuntuQaptworkerTransactionInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0xbfecd5e4) at kernel/qobject.cpp:3539
#31 0xa68685bd in OrgKubuntuQaptworkerTransactionInterface::propertyChanged (this=this@entry=0xc844e98, _t1=3, _t2=...) at /build/buildd/qapt-2.0.65/obj-i686-linux-gnu/src/moc_transactiondbus.cxx:246
#32 0xa68689e9 in OrgKubuntuQaptworkerTransactionInterface::qt_static_metacall (_o=_o@entry=0xc844e98, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=4, _a=_a@entry=0xbfecd78c) at /build/buildd/qapt-2.0.65/obj-i686-linux-gnu/src/moc_transactiondbus.cxx:111
#33 0xa6869456 in OrgKubuntuQaptworkerTransactionInterface::qt_metacall (this=0xc844e98, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfecd78c) at /build/buildd/qapt-2.0.65/obj-i686-linux-gnu/src/moc_transactiondbus.cxx:164
#34 0xb5771ebe in QDBusConnectionPrivate::deliverCall (this=0xa62c018, object=object@entry=0xc844e98, msg=..., metaTypes=..., slotIdx=9) at qdbusintegrator.cpp:951
#35 0xb577af3d in QDBusCallDeliveryEvent::placeMetaCall (this=0x9f01be0, object=0xc844e98) at qdbusintegrator_p.h:103
#36 0xb5d9358b in QObject::event (this=0xc844e98, e=0x9f01be0) at kernel/qobject.cpp:1194
#37 0xb62d6744 in QApplicationPrivate::notify_helper (this=0x9f12550, receiver=0xc844e98, e=0x9f01be0) at kernel/qapplication.cpp:4567
#38 0xb62dd223 in QApplication::notify (this=0xbfecde00, receiver=receiver@entry=0xc844e98, e=e@entry=0x9f01be0) at kernel/qapplication.cpp:4353
#39 0xb6e23ff4 in KApplication::notify (this=0xbfecde00, receiver=0xc844e98, event=0x9f01be0) at ../../kdeui/kernel/kapplication.cpp:311
#40 0xb5d79eda in QCoreApplication::notifyInternal (this=0xbfecde00, receiver=receiver@entry=0xc844e98, event=event@entry=0x9f01be0) at kernel/qcoreapplication.cpp:946
#41 0xb5d7d6ad in sendEvent (event=0x9f01be0, receiver=0xc844e98) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x9edd130) at kernel/qcoreapplication.cpp:1570
#43 0xb5d7dbbc in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#44 0xb5da9f6e in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#45 postEventSourceDispatch (s=0x9f14810) at kernel/qeventdispatcher_glib.cpp:279
#46 0xb246583e in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#47 0xb2465be8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#48 0xb2465ca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#49 0xb5da98bf in QEventDispatcherGlib::processEvents (this=this@entry=0x9eddec0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#50 0xb638b32e in QGuiEventDispatcherGlib::processEvents (this=0x9eddec0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#51 0xb5d789f3 in QEventLoop::processEvents (this=this@entry=0xbfecdd58, flags=...) at kernel/qeventloop.cpp:149
#52 0xb5d78d19 in QEventLoop::exec (this=this@entry=0xbfecdd58, flags=...) at kernel/qeventloop.cpp:204
#53 0xb5d7e89e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#54 0xb62d4974 in QApplication::exec () at kernel/qapplication.cpp:3828
#55 0x08050dbb in main (argc=1, argv=0xbfecdee4) at /build/buildd/muon-2.1.0/discover/main.cpp:86

Reported using DrKonqi
Comment 1 Harald Sitter 2014-03-21 10:33:19 UTC

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