Bug 331055

Summary: Muon crashes when updating with broken dependencies
Product: [Unmaintained] muon Reporter: Marcello <marcello.tescari>
Component: muonAssignee: Jonathan Thomas <echidnaman>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aleixpol, sitter
Priority: NOR Keywords: drkonqi
Version: 2.1.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Marcello 2014-02-12 14:44:10 UTC
Application: muon (2.1.2)
KDE Platform Version: 4.12.1
Qt Version: 4.8.6
Operating System: Linux 3.13.0-031300-generic x86_64
Distribution: Ubuntu 13.10

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

I added debian-multimedia repositories in order to have some codecs which I needed. A newer (latest) version of VLC and some other programs was available on that repositories, therefore I did a full upgrade.
The software then told me it was not possible because of some broken dependencies. 
I decided to select for remove the broken packages so that whatever was not related to it could upgrade,
muon started to download packages but at the time of applying changes it crashed. I would have expected that it would have given an error that the changes could not be applied

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7ffe51922700 (LWP 6778)):
#0  0x00007ffe64574f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffe603646a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffe603647ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffe64cfdaf6 in QEventDispatcherGlib::processEvents (this=0x7ffe440008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#4  0x00007ffe64ccf30f in QEventLoop::processEvents (this=this@entry=0x7ffe51921d70, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ffe64ccf605 in QEventLoop::exec (this=this@entry=0x7ffe51921d70, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007ffe64bcbc4f in QThread::exec (this=this@entry=0x1499920) at thread/qthread.cpp:537
#7  0x00007ffe64cb0a33 in QInotifyFileSystemWatcherEngine::run (this=0x1499920) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007ffe64bce31f in QThreadPrivate::start (arg=0x1499920) at thread/qthread_unix.cpp:349
#9  0x00007ffe6083cf6e in start_thread (arg=0x7ffe51922700) at pthread_create.c:311
#10 0x00007ffe645819cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7ffe677557c0 (LWP 6773)):
[KCrash Handler]
#6  QApt::Package::origin (this=0x0) at /build/buildd/qapt-2.0.65/src/package.cpp:489
#7  0x000000000041f64d in ChangelogTab::changelogFetched (this=0x130f540, job=0x2189520) at /build/buildd/muon-2.1.2/muon/DetailsTabs/ChangelogTab.cpp:86
#8  0x00007ffe64ce4ae8 in QMetaObject::activate (sender=sender@entry=0x2189520, m=m@entry=0x7ffe654ea600 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff5527dca0) at kernel/qobject.cpp:3539
#9  0x00007ffe6515a872 in KJob::result (this=this@entry=0x2189520, _t1=_t1@entry=0x2189520) at ./kjob.moc:208
#10 0x00007ffe6515a8b0 in KJob::emitResult (this=this@entry=0x2189520) at ../../kdecore/jobs/kjob.cpp:318
#11 0x00007ffe66d616ff in KIO::FileCopyJob::slotResult (this=0x2189520, job=0x203e0c0) at ../../kio/kio/job.cpp:2473
#12 0x00007ffe64ce4ae8 in QMetaObject::activate (sender=sender@entry=0x203e0c0, m=m@entry=0x7ffe654ea600 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff5527de10) at kernel/qobject.cpp:3539
#13 0x00007ffe6515a872 in KJob::result (this=this@entry=0x203e0c0, _t1=_t1@entry=0x203e0c0) at ./kjob.moc:208
#14 0x00007ffe6515a8b0 in KJob::emitResult (this=this@entry=0x203e0c0) at ../../kdecore/jobs/kjob.cpp:318
#15 0x00007ffe66d5db5a in KIO::SimpleJob::slotFinished (this=this@entry=0x203e0c0) at ../../kio/kio/job.cpp:496
#16 0x00007ffe66d5ecae in KIO::TransferJob::slotFinished (this=0x203e0c0) at ../../kio/kio/job.cpp:1099
#17 0x00007ffe64ce4ae8 in QMetaObject::activate (sender=0x10c18e0, m=m@entry=0x7ffe67107580 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#18 0x00007ffe66dfba73 in KIO::SlaveInterface::finished (this=<optimized out>) at ./slaveinterface.moc:185
#19 0x00007ffe66dfcfb6 in KIO::SlaveInterface::dispatch (this=<optimized out>, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:176
#20 0x00007ffe66dfaaae in KIO::SlaveInterface::dispatch (this=0x10c18e0) at ../../kio/kio/slaveinterface.cpp:92
#21 0x00007ffe66def716 in KIO::Slave::gotInput (this=0x10c18e0) at ../../kio/kio/slave.cpp:344
#22 0x00007ffe64ce4ae8 in QMetaObject::activate (sender=0x1f193d0, m=m@entry=0x7ffe67100aa0 <KIO::Connection::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#23 0x00007ffe66d2b280 in KIO::Connection::readyRead (this=<optimized out>) at ./connection.moc:106
#24 0x00007ffe66d2b971 in KIO::ConnectionPrivate::dequeue (this=0x21ad190) at ../../kio/kio/connection.cpp:82
#25 0x00007ffe64ce8e9e in QObject::event (this=0x1f193d0, e=<optimized out>) at kernel/qobject.cpp:1194
#26 0x00007ffe656c2e7c in QApplicationPrivate::notify_helper (this=this@entry=0x1048c20, receiver=receiver@entry=0x1f193d0, e=e@entry=0x2209fa0) at kernel/qapplication.cpp:4567
#27 0x00007ffe656c94f0 in QApplication::notify (this=this@entry=0x7fff55280e40, receiver=receiver@entry=0x1f193d0, e=e@entry=0x2209fa0) at kernel/qapplication.cpp:4353
#28 0x00007ffe663cdc6a in KApplication::notify (this=0x7fff55280e40, receiver=0x1f193d0, event=0x2209fa0) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x00007ffe64cd073d in QCoreApplication::notifyInternal (this=0x7fff55280e40, receiver=receiver@entry=0x1f193d0, event=event@entry=0x2209fa0) at kernel/qcoreapplication.cpp:953
#30 0x00007ffe64cd3daf in sendEvent (event=0x2209fa0, receiver=0x1f193d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1008bc0) at kernel/qcoreapplication.cpp:1577
#32 0x00007ffe64cd4253 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#33 0x00007ffe64cfe213 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#34 postEventSourceDispatch (s=0x1044950) at kernel/qeventdispatcher_glib.cpp:280
#35 0x00007ffe603643b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007ffe60364708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007ffe603647ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007ffe64cfdad5 in QEventDispatcherGlib::processEvents (this=0x1038cf0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#39 0x00007ffe65764cb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007ffe64cd428f in QCoreApplication::processEvents (flags=...) at kernel/qcoreapplication.cpp:1140
#41 0x00007ffe66a34453 in QApt::CacheBuildProgress::Update (this=<optimized out>) at /build/buildd/qapt-2.0.65/src/cache.cpp:34
#42 0x00007ffe62046b8d in pkgDepCache::Init(OpProgress*) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#43 0x00007ffe62074750 in pkgCacheFile::BuildDepCache(OpProgress*) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#44 0x00007ffe620747b2 in pkgCacheFile::Open(OpProgress*, bool) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#45 0x00007ffe66a343c3 in ReadOnlyOpen (Progress=<optimized out>, this=<optimized out>) at /usr/include/apt-pkg/cachefile.h:68
#46 QApt::Cache::open (this=<optimized out>) at /build/buildd/qapt-2.0.65/src/cache.cpp:79
#47 0x00007ffe66a2f433 in QApt::Backend::reloadCache (this=0x12c4070) at /build/buildd/qapt-2.0.65/src/backend.cpp:176
#48 0x000000000042b70d in PackageWidget::reload (this=this@entry=0x129acc0) at /build/buildd/muon-2.1.2/muon/PackageModel/PackageWidget.cpp:247
#49 0x000000000042c0b8 in PackageWidget::setPackagesLocked (this=0x129acc0, lock=<optimized out>) at /build/buildd/muon-2.1.2/muon/PackageModel/PackageWidget.cpp:569
#50 0x000000000041a8d4 in PackageWidget::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /build/buildd/muon-2.1.2/obj-x86_64-linux-gnu/muon/moc_PackageWidget.cpp:125
#51 0x00007ffe64ce4ae8 in QMetaObject::activate (sender=sender@entry=0x1169c70, m=m@entry=0x7ffe6616cde0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff5527ef00) at kernel/qobject.cpp:3539
#52 0x00007ffe656bcab2 in QAction::triggered (this=this@entry=0x1169c70, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#53 0x00007ffe656be483 in QAction::activate (this=this@entry=0x1169c70, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#54 0x00007ffe65aecb49 in QMenuPrivate::activateCausedStack (this=this@entry=0x225fed0, causedStack=..., action=action@entry=0x1169c70, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1038
#55 0x00007ffe65af1079 in QMenuPrivate::activateAction (this=0x225fed0, action=0x1169c70, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1130
#56 0x00007ffe65af4a45 in QMenu::mouseReleaseEvent (this=this@entry=0x7fff5527fde0, e=e@entry=0x7fff5527f630) at widgets/qmenu.cpp:2372
#57 0x00007ffe66484525 in KMenu::mouseReleaseEvent (this=0x7fff5527fde0, e=0x7fff5527f630) at ../../kdeui/widgets/kmenu.cpp:464
#58 0x00007ffe657125be in QWidget::event (this=this@entry=0x7fff5527fde0, event=event@entry=0x7fff5527f630) at kernel/qwidget.cpp:8376
#59 0x00007ffe65af4e7b in QMenu::event (this=0x7fff5527fde0, e=0x7fff5527f630) at widgets/qmenu.cpp:2481
#60 0x00007ffe656c2e7c in QApplicationPrivate::notify_helper (this=this@entry=0x1048c20, receiver=receiver@entry=0x7fff5527fde0, e=e@entry=0x7fff5527f630) at kernel/qapplication.cpp:4567
#61 0x00007ffe656c962d in QApplication::notify (this=this@entry=0x7fff55280e40, receiver=receiver@entry=0x7fff5527fde0, e=e@entry=0x7fff5527f630) at kernel/qapplication.cpp:4110
#62 0x00007ffe663cdc6a in KApplication::notify (this=0x7fff55280e40, receiver=0x7fff5527fde0, event=0x7fff5527f630) at ../../kdeui/kernel/kapplication.cpp:311
#63 0x00007ffe64cd073d in QCoreApplication::notifyInternal (this=0x7fff55280e40, receiver=receiver@entry=0x7fff5527fde0, event=event@entry=0x7fff5527f630) at kernel/qcoreapplication.cpp:953
#64 0x00007ffe656c8de3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#65 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x7fff5527fde0, event=event@entry=0x7fff5527f630, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x7fff5527fde0, buttonDown=buttonDown@entry=0x7ffe661a8318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#66 0x00007ffe6573ddec in QETWidget::translateMouseEvent (this=this@entry=0x7fff5527fde0, event=event@entry=0x7fff5527f980) at kernel/qapplication_x11.cpp:4568
#67 0x00007ffe6573d359 in QApplication::x11ProcessEvent (this=0x7fff55280e40, event=event@entry=0x7fff5527f980) at kernel/qapplication_x11.cpp:3627
#68 0x00007ffe65764c02 in x11EventSourceDispatch (s=0x104a200, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#69 0x00007ffe603643b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#70 0x00007ffe60364708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#71 0x00007ffe603647ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#72 0x00007ffe64cfdad5 in QEventDispatcherGlib::processEvents (this=0x1038cf0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#73 0x00007ffe65764cb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#74 0x00007ffe64ccf30f in QEventLoop::processEvents (this=this@entry=0x7fff5527fd70, flags=...) at kernel/qeventloop.cpp:149
#75 0x00007ffe64ccf605 in QEventLoop::exec (this=this@entry=0x7fff5527fd70, flags=...) at kernel/qeventloop.cpp:204
#76 0x00007ffe65af3c47 in QMenu::exec (this=this@entry=0x7fff5527fde0, p=..., action=action@entry=0x0) at widgets/qmenu.cpp:2125
#77 0x000000000042c91d in PackageWidget::contextMenuRequested (this=0x129acc0, pos=...) at /build/buildd/muon-2.1.2/muon/PackageModel/PackageWidget.cpp:338
#78 0x000000000041aa49 in PackageWidget::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /build/buildd/muon-2.1.2/obj-x86_64-linux-gnu/muon/moc_PackageWidget.cpp:105
#79 0x00007ffe64ce4ae8 in QMetaObject::activate (sender=sender@entry=0x11eb4a0, m=m@entry=0x7ffe6616f0a0 <QWidget::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff5527ff80) at kernel/qobject.cpp:3539
#80 0x00007ffe65704b02 in QWidget::customContextMenuRequested (this=this@entry=0x11eb4a0, _t1=...) at .moc/release-shared/moc_qwidget.cpp:373
#81 0x00007ffe65712997 in QWidget::event (this=this@entry=0x11eb4a0, event=event@entry=0x7fff55280610) at kernel/qwidget.cpp:8557
#82 0x00007ffe65ab466e in QFrame::event (this=0x11eb4a0, e=0x7fff55280610) at widgets/qframe.cpp:557
#83 0x00007ffe65bc3e03 in QAbstractItemView::viewportEvent (this=this@entry=0x11eb4a0, event=event@entry=0x7fff55280610) at itemviews/qabstractitemview.cpp:1644
#84 0x00007ffe65c02b10 in QTreeView::viewportEvent (this=0x11eb4a0, event=0x7fff55280610) at itemviews/qtreeview.cpp:1252
#85 0x00007ffe64cd08a6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x1048c20, receiver=receiver@entry=0x129f930, event=event@entry=0x7fff55280610) at kernel/qcoreapplication.cpp:1063
#86 0x00007ffe656c2e5c in QApplicationPrivate::notify_helper (this=this@entry=0x1048c20, receiver=receiver@entry=0x129f930, e=e@entry=0x7fff55280610) at kernel/qapplication.cpp:4563
#87 0x00007ffe656ca250 in QApplication::notify (this=this@entry=0x7fff55280e40, receiver=receiver@entry=0x129f930, e=e@entry=0x7fff55280610) at kernel/qapplication.cpp:4189
#88 0x00007ffe663cdc6a in KApplication::notify (this=0x7fff55280e40, receiver=0x129f930, event=0x7fff55280610) at ../../kdeui/kernel/kapplication.cpp:311
#89 0x00007ffe64cd073d in QCoreApplication::notifyInternal (this=0x7fff55280e40, receiver=receiver@entry=0x129f930, event=event@entry=0x7fff55280610) at kernel/qcoreapplication.cpp:953
#90 0x00007ffe6573db10 in sendSpontaneousEvent (event=0x7fff55280610, receiver=0x129f930) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#91 QETWidget::translateMouseEvent (this=this@entry=0x1268d80, event=event@entry=0x7fff55280960) at kernel/qapplication_x11.cpp:4639
#92 0x00007ffe6573d359 in QApplication::x11ProcessEvent (this=0x7fff55280e40, event=event@entry=0x7fff55280960) at kernel/qapplication_x11.cpp:3627
#93 0x00007ffe65764c02 in x11EventSourceDispatch (s=0x104a200, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#94 0x00007ffe603643b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#95 0x00007ffe60364708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#96 0x00007ffe603647ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#97 0x00007ffe64cfdad5 in QEventDispatcherGlib::processEvents (this=0x1038cf0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#98 0x00007ffe65764cb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#99 0x00007ffe64ccf30f in QEventLoop::processEvents (this=this@entry=0x7fff55280d40, flags=...) at kernel/qeventloop.cpp:149
#100 0x00007ffe64ccf605 in QEventLoop::exec (this=this@entry=0x7fff55280d40, flags=...) at kernel/qeventloop.cpp:204
#101 0x00007ffe64cd4deb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#102 0x00007ffe656c13cc in QApplication::exec () at kernel/qapplication.cpp:3828
#103 0x000000000041a05b in main (argc=1, argv=0x7fff55280f78) at /build/buildd/muon-2.1.2/muon/main.cpp:56

Reported using DrKonqi
Comment 1 Harald Sitter 2014-02-12 14:55:29 UTC

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