[Bug 262262] New: Muon crashes when performing updates with partially-installed package

Alex Lowe lengau at gmail.com
Thu Jan 6 00:41:17 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=262262

           Summary: Muon crashes when performing updates with
                    partially-installed package
           Product: kde
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: lengau at gmail.com


Application: muon-updater (1.0.90 "Bullish Bandril")
KDE Platform Version: 4.5.90 (4.6 RC1)
Qt Version: 4.7.1
Operating System: Linux 2.6.37-020637rc8-generic x86_64
Distribution: Ubuntu natty (development branch)

-- Information about the crash:
Noticed on Kubuntu 11.04 (updates were to upgrade OpenOffice to PPA version of
LibreOffice).

Steps to reproduce:
1. Wait until you have updates available and Muon update manager appears in
system tray.
2. Click "Install updates" and type your password in the policykit dialogue
3. After the software downloads (but before it starts installing), Muon crashes
(but only if a package is partially installed).

Workaround:
Run 'sudo apt-get -f install' to fix broken package.

The crash can be reproduced every time.

-- Backtrace:
Application: Muon Update Manager (muon-updater), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f7c1ee24780 (LWP 31172))]

Thread 2 (Thread 0x7f7c09e2d700 (LWP 31174)):
#0  0x00007f7c1be394b3 in __poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=<value optimized out>) at
../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f7c17fad1a0 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f7c17fad6c9 in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#3  0x00007f7c1c573a26 in QEventDispatcherGlib::processEvents (this=0x2117b20,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f7c1c547ed2 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f7c1c54810c in QEventLoop::exec (this=0x7f7c09e2cdd0, flags=...) at
kernel/qeventloop.cpp:201
#6  0x00007f7c1c45f214 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:490
#7  0x00007f7c1c52a3df in QInotifyFileSystemWatcherEngine::run (this=0x1bed250)
at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f7c1c4619ce in QThreadPrivate::start (arg=0x1bed250) at
thread/qthread_unix.cpp:285
#9  0x00007f7c18474d8c in start_thread (arg=0x7f7c09e2d700) at
pthread_create.c:304
#10 0x00007f7c1be4661d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7c1ee24780 (LWP 31172)):
[KCrash Handler]
#6  FileList (this=<value optimized out>) at
/usr/include/apt-pkg/cacheiterators.h:437
#7  QApt::Package::origin (this=<value optimized out>) at
/build/buildd/qapt-1.0.95/src/package.cpp:388
#8  0x00007f7c1dc32972 in QApt::Package::isSupported (this=0x24af430) at
/build/buildd/qapt-1.0.95/src/package.cpp:670
#9  0x00000000004245e1 in PackageModel::data (this=<value optimized out>,
index=<value optimized out>, role=<value optimized out>) at
/build/buildd/muon-1.0.90/libmuon/PackageModel/PackageModel.cpp:62
#10 0x00007f7c1d49dbec in QSortFilterProxyModel::data (this=<value optimized
out>, index=..., role=37) at itemviews/qsortfilterproxymodel.cpp:1715
#11 0x0000000000426743 in data (this=0x1ceca00, painter=0x7fff1a9b95e0,
option=..., index=...) at /usr/include/qt4/QtCore/qabstractitemmodel.h:398
#12 PackageDelegate::paintPackageName (this=0x1ceca00, painter=0x7fff1a9b95e0,
option=..., index=...) at
/build/buildd/muon-1.0.90/libmuon/PackageModel/PackageDelegate.cpp:97
#13 0x00007f7c1d45944e in QTreeView::drawRow (this=0x1d76500,
painter=0x7fff1a9b95e0, option=..., index=...) at itemviews/qtreeview.cpp:1678
#14 0x00007f7c1d45c3c7 in QTreeView::drawTree (this=<value optimized out>,
painter=0x7fff1a9b95e0, region=<value optimized out>) at
itemviews/qtreeview.cpp:1441
#15 0x00007f7c1d45cdc6 in QTreeView::paintEvent (this=0x1d76500,
event=0x7fff1a9ba210) at itemviews/qtreeview.cpp:1274
#16 0x00007f7c1cf58a8e in QWidget::event (this=0x1d76500, event=0x7fff1a9ba210)
at kernel/qwidget.cpp:8346
#17 0x00007f7c1d307f46 in QFrame::event (this=0x1d76500, e=0x7fff1a9ba210) at
widgets/qframe.cpp:557
#18 0x00007f7c1d41a01b in QAbstractItemView::viewportEvent (this=0x1d76500,
event=0x7fff1a9ba210) at itemviews/qabstractitemview.cpp:1619
#19 0x00007f7c1d45e305 in QTreeView::viewportEvent (this=0x1d76500,
event=0x7fff1a9ba210) at itemviews/qtreeview.cpp:1256
#20 0x00007f7c1c548c77 in
QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized
out>, receiver=0x1cf24c0, event=0x7fff1a9ba210) at
kernel/qcoreapplication.cpp:847
#21 0x00007f7c1cf07af1 in QApplicationPrivate::notify_helper (this=0x1bfe3b0,
receiver=0x1cf24c0, e=0x7fff1a9ba210) at kernel/qapplication.cpp:4441
#22 0x00007f7c1cf0c45a in QApplication::notify (this=<value optimized out>,
receiver=0x1cf24c0, e=0x7fff1a9ba210) at kernel/qapplication.cpp:4324
#23 0x00007f7c1e828d56 in KApplication::notify (this=0x7fff1a9bf7d0,
receiver=0x1cf24c0, event=0x7fff1a9ba210) at
../../kdeui/kernel/kapplication.cpp:311
#24 0x00007f7c1c548aec in QCoreApplication::notifyInternal
(this=0x7fff1a9bf7d0, receiver=0x1cf24c0, event=0x7fff1a9ba210) at
kernel/qcoreapplication.cpp:732
#25 0x00007f7c1cf558cd in sendSpontaneousEvent (this=0x1d6e0e0, pdev=0x20cc958,
rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x20ccbf0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#26 QWidgetPrivate::drawWidget (this=0x1d6e0e0, pdev=0x20cc958, rgn=...,
offset=..., flags=4, sharedPainter=0x0, backingStore=0x20ccbf0) at
kernel/qwidget.cpp:5433
#27 0x00007f7c1cf564d2 in QWidgetPrivate::paintSiblingsRecursive
(this=0x1daf490, pdev=0x20cc958, siblings=..., index=<value optimized out>,
rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x20ccbf0) at
kernel/qwidget.cpp:5640
#28 0x00007f7c1cf5638a in QWidgetPrivate::paintSiblingsRecursive
(this=0x1daf490, pdev=0x20cc958, siblings=..., index=2, rgn=..., offset=...,
flags=4, sharedPainter=0x0, backingStore=0x20ccbf0) at kernel/qwidget.cpp:5627
#29 0x00007f7c1cf5638a in QWidgetPrivate::paintSiblingsRecursive
(this=0x1daf490, pdev=0x20cc958, siblings=..., index=4, rgn=..., offset=...,
flags=4, sharedPainter=0x0, backingStore=0x20ccbf0) at kernel/qwidget.cpp:5627
#30 0x00007f7c1cf5638a in QWidgetPrivate::paintSiblingsRecursive
(this=0x1daf490, pdev=0x20cc958, siblings=..., index=5, rgn=..., offset=...,
flags=4, sharedPainter=0x0, backingStore=0x20ccbf0) at kernel/qwidget.cpp:5627
#31 0x00007f7c1cf5638a in QWidgetPrivate::paintSiblingsRecursive
(this=0x1daf490, pdev=0x20cc958, siblings=..., index=6, rgn=..., offset=...,
flags=4, sharedPainter=0x0, backingStore=0x20ccbf0) at kernel/qwidget.cpp:5627
#32 0x00007f7c1cf5638a in QWidgetPrivate::paintSiblingsRecursive
(this=0x1daf490, pdev=0x20cc958, siblings=..., index=7, rgn=..., offset=...,
flags=4, sharedPainter=0x0, backingStore=0x20ccbf0) at kernel/qwidget.cpp:5627
#33 0x00007f7c1cf5638a in QWidgetPrivate::paintSiblingsRecursive
(this=0x1daf490, pdev=0x20cc958, siblings=..., index=8, rgn=..., offset=...,
flags=4, sharedPainter=0x0, backingStore=0x20ccbf0) at kernel/qwidget.cpp:5627
#34 0x00007f7c1cf5560c in QWidgetPrivate::drawWidget (this=0x1daf490,
pdev=0x20cc958, rgn=..., offset=..., flags=<value optimized out>,
sharedPainter=0x0, backingStore=0x20ccbf0) at kernel/qwidget.cpp:5486
#35 0x00007f7c1cf564d2 in QWidgetPrivate::paintSiblingsRecursive
(this=0x1cf2fd0, pdev=0x20cc958, siblings=..., index=<value optimized out>,
rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x20ccbf0) at
kernel/qwidget.cpp:5640
#36 0x00007f7c1cf5560c in QWidgetPrivate::drawWidget (this=0x1cf2fd0,
pdev=0x20cc958, rgn=..., offset=..., flags=<value optimized out>,
sharedPainter=0x0, backingStore=0x20ccbf0) at kernel/qwidget.cpp:5486
#37 0x00007f7c1cf564d2 in QWidgetPrivate::paintSiblingsRecursive
(this=0x1f79fa0, pdev=0x20cc958, siblings=..., index=<value optimized out>,
rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x20ccbf0) at
kernel/qwidget.cpp:5640
#38 0x00007f7c1cf5560c in QWidgetPrivate::drawWidget (this=0x1f79fa0,
pdev=0x20cc958, rgn=..., offset=..., flags=<value optimized out>,
sharedPainter=0x0, backingStore=0x20ccbf0) at kernel/qwidget.cpp:5486
#39 0x00007f7c1cf564d2 in QWidgetPrivate::paintSiblingsRecursive
(this=0x1ceedd0, pdev=0x20cc958, siblings=..., index=<value optimized out>,
rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x20ccbf0) at
kernel/qwidget.cpp:5640
#40 0x00007f7c1cf5560c in QWidgetPrivate::drawWidget (this=0x1ceedd0,
pdev=0x20cc958, rgn=..., offset=..., flags=<value optimized out>,
sharedPainter=0x0, backingStore=0x20ccbf0) at kernel/qwidget.cpp:5486
#41 0x00007f7c1cf564d2 in QWidgetPrivate::paintSiblingsRecursive
(this=0x1cee590, pdev=0x20cc958, siblings=..., index=<value optimized out>,
rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x20ccbf0) at
kernel/qwidget.cpp:5640
#42 0x00007f7c1cf5560c in QWidgetPrivate::drawWidget (this=0x1cee590,
pdev=0x20cc958, rgn=..., offset=..., flags=<value optimized out>,
sharedPainter=0x0, backingStore=0x20ccbf0) at kernel/qwidget.cpp:5486
#43 0x00007f7c1cf564d2 in QWidgetPrivate::paintSiblingsRecursive
(this=0x1cee140, pdev=0x20cc958, siblings=..., index=<value optimized out>,
rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x20ccbf0) at
kernel/qwidget.cpp:5640
#44 0x00007f7c1cf5638a in QWidgetPrivate::paintSiblingsRecursive
(this=0x1cee140, pdev=0x20cc958, siblings=..., index=14, rgn=..., offset=...,
flags=4, sharedPainter=0x0, backingStore=0x20ccbf0) at kernel/qwidget.cpp:5627
#45 0x00007f7c1cf5560c in QWidgetPrivate::drawWidget (this=0x1cee140,
pdev=0x20cc958, rgn=..., offset=..., flags=<value optimized out>,
sharedPainter=0x0, backingStore=0x20ccbf0) at kernel/qwidget.cpp:5486
#46 0x00007f7c1d11994b in QWidgetBackingStore::sync (this=0x20ccbf0) at
painting/qbackingstore.cpp:1333
#47 0x00007f7c1cf4bf60 in QWidgetPrivate::syncBackingStore (this=0x1cee140) at
kernel/qwidget.cpp:1816
#48 0x00007f7c1cf58fac in QWidget::event (this=0x1ced610, event=0x27e8250) at
kernel/qwidget.cpp:8493
#49 0x00007f7c1d32199b in QMainWindow::event (this=0x1ced610, event=0x27e8250)
at widgets/qmainwindow.cpp:1478
#50 0x00007f7c1e9240ee in KXmlGuiWindow::event (this=0x1ced610, ev=0x27e8250)
at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#51 0x00007f7c1cf07b24 in QApplicationPrivate::notify_helper (this=0x1bfe3b0,
receiver=0x1ced610, e=0x27e8250) at kernel/qapplication.cpp:4445
#52 0x00007f7c1cf0c45a in QApplication::notify (this=<value optimized out>,
receiver=0x1ced610, e=0x27e8250) at kernel/qapplication.cpp:4324
#53 0x00007f7c1e828d56 in KApplication::notify (this=0x7fff1a9bf7d0,
receiver=0x1ced610, event=0x27e8250) at ../../kdeui/kernel/kapplication.cpp:311
#54 0x00007f7c1c548aec in QCoreApplication::notifyInternal
(this=0x7fff1a9bf7d0, receiver=0x1ced610, event=0x27e8250) at
kernel/qcoreapplication.cpp:732
#55 0x00007f7c1c54c275 in sendEvent (receiver=0x0, event_type=0,
data=0x1bd3ee0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#56 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x1bd3ee0) at kernel/qcoreapplication.cpp:1373
#57 0x00007f7c1c573833 in sendPostedEvents (s=0x1c01a90) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#58 postEventSourceDispatch (s=0x1c01a90) at
kernel/qeventdispatcher_glib.cpp:277
#59 0x00007f7c17facc4d in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#60 0x00007f7c17fad438 in ?? () from /lib/libglib-2.0.so.0
#61 0x00007f7c17fad6c9 in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#62 0x00007f7c1c5739cf in QEventDispatcherGlib::processEvents (this=0x1bd3590,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#63 0x00007f7c1cfada9e in QGuiEventDispatcherGlib::processEvents (this=<value
optimized out>, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#64 0x00007f7c1c54c68f in QCoreApplication::processEvents (flags=...) at
kernel/qcoreapplication.cpp:924
#65 0x00007f7c1dc30553 in QApt::CacheBuildProgress::Update (this=<value
optimized out>) at /build/buildd/qapt-1.0.95/src/cache.cpp:38
#66 0x00007f7c18fb0ead in debStatusIndex::Merge(pkgCacheGenerator&,
OpProgress*) const () from /usr/lib/libapt-pkg.so.4.10
#67 0x00007f7c18f635f7 in ?? () from /usr/lib/libapt-pkg.so.4.10
#68 0x00007f7c18f6850a in pkgCacheGenerator::MakeStatusCache(pkgSourceList&,
OpProgress*, MMap**, bool) () from /usr/lib/libapt-pkg.so.4.10
#69 0x00007f7c18f5d4d2 in pkgCacheFile::BuildCaches(OpProgress*, bool) () from
/usr/lib/libapt-pkg.so.4.10
#70 0x00007f7c18f5d8f4 in pkgCacheFile::Open(OpProgress*, bool) () from
/usr/lib/libapt-pkg.so.4.10
#71 0x00007f7c1dc3039f in QApt::Cache::open (this=<value optimized out>) at
/build/buildd/qapt-1.0.95/src/cache.cpp:89
#72 0x00007f7c1dc2c983 in QApt::Backend::reloadCache (this=<value optimized
out>) at /build/buildd/qapt-1.0.95/src/backend.cpp:155
#73 0x000000000041768d in UpdaterWindow::reload (this=0x1ced610) at
/build/buildd/muon-1.0.90/updater/UpdaterWindow.cpp:202
#74 0x0000000000417e7c in UpdaterWindow::workerEvent (this=0x1ced610,
event=QApt::CommitChangesFinished) at
/build/buildd/muon-1.0.90/updater/UpdaterWindow.cpp:132
#75 0x0000000000417c68 in UpdaterWindow::qt_metacall (this=0x1ced610,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1a9be820)
at /build/buildd/muon-1.0.90/obj-x86_64-linux-gnu/updater/UpdaterWindow.moc:98
#76 0x00007f7c1c55dbb8 in QMetaObject::activate (sender=0x20f2190, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x7fff1a9be820)
at kernel/qobject.cpp:3280
#77 0x00007f7c1dc41981 in QApt::Backend::workerEvent (this=<value optimized
out>, _t1=QApt::CommitChangesFinished) at
/build/buildd/qapt-1.0.95/obj-x86_64-linux-gnu/src/moc_backend.cxx:222
#78 0x00007f7c1dc41bac in QApt::Backend::qt_metacall (this=0x20f2190,
_c=QMetaObject::InvokeMetaMethod, _id=34, _a=0x7fff1a9be930) at
/build/buildd/qapt-1.0.95/obj-x86_64-linux-gnu/src/moc_backend.cxx:182
#79 0x00007f7c1c55dbb8 in QMetaObject::activate (sender=0x20c9d90, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x7fff1a9be930)
at kernel/qobject.cpp:3280
#80 0x00007f7c1dc424a1 in OrgKubuntuQaptworkerInterface::workerEvent
(this=<value optimized out>, _t1=6) at
/build/buildd/qapt-1.0.95/obj-x86_64-linux-gnu/src/workerdbus.moc:201
#81 0x00007f7c1dc4292e in OrgKubuntuQaptworkerInterface::qt_metacall
(this=0x20c9d90, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fff1a9bed80) at
/build/buildd/qapt-1.0.95/obj-x86_64-linux-gnu/src/workerdbus.moc:119
#82 0x00007f7c1a542fea in QDBusConnectionPrivate::deliverCall (this=0x1bf75b0,
object=0x20c9d90, msg=..., metaTypes=..., slotIdx=12) at
qdbusintegrator.cpp:919
#83 0x00007f7c1a54df6f in QDBusCallDeliveryEvent::placeMetaCall (this=<value
optimized out>, object=<value optimized out>) at qdbusintegrator_p.h:103
#84 0x00007f7c1c55ca4a in QObject::event (this=0x20c9d90, e=<value optimized
out>) at kernel/qobject.cpp:1219
#85 0x00007f7c1cf07b24 in QApplicationPrivate::notify_helper (this=0x1bfe3b0,
receiver=0x20c9d90, e=0x2b0c430) at kernel/qapplication.cpp:4445
#86 0x00007f7c1cf0c45a in QApplication::notify (this=<value optimized out>,
receiver=0x20c9d90, e=0x2b0c430) at kernel/qapplication.cpp:4324
#87 0x00007f7c1e828d56 in KApplication::notify (this=0x7fff1a9bf7d0,
receiver=0x20c9d90, event=0x2b0c430) at ../../kdeui/kernel/kapplication.cpp:311
#88 0x00007f7c1c548aec in QCoreApplication::notifyInternal
(this=0x7fff1a9bf7d0, receiver=0x20c9d90, event=0x2b0c430) at
kernel/qcoreapplication.cpp:732
#89 0x00007f7c1c54c275 in sendEvent (receiver=0x0, event_type=0,
data=0x1bd3ee0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#90 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x1bd3ee0) at kernel/qcoreapplication.cpp:1373
#91 0x00007f7c1c573833 in sendPostedEvents (s=0x1c01a90) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#92 postEventSourceDispatch (s=0x1c01a90) at
kernel/qeventdispatcher_glib.cpp:277
#93 0x00007f7c17facc4d in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#94 0x00007f7c17fad438 in ?? () from /lib/libglib-2.0.so.0
#95 0x00007f7c17fad6c9 in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#96 0x00007f7c1c5739cf in QEventDispatcherGlib::processEvents (this=0x1bd3590,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#97 0x00007f7c1cfada9e in QGuiEventDispatcherGlib::processEvents (this=<value
optimized out>, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#98 0x00007f7c1c547ed2 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#99 0x00007f7c1c54810c in QEventLoop::exec (this=0x7fff1a9bf760, flags=...) at
kernel/qeventloop.cpp:201
#100 0x00007f7c1c54c51b in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1009
#101 0x0000000000416efc in main (argc=1, argv=<value optimized out>) at
/build/buildd/muon-1.0.90/updater/main.cpp:56

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list