Bug 274182 - Muon crashed while unmarking a full upgrade
Summary: Muon crashed while unmarking a full upgrade
Status: RESOLVED FIXED
Alias: None
Product: muon
Classification: Applications
Component: installer (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Jonathan Thomas
URL:
Keywords:
: 274093 274573 276165 280159 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-26 11:07 UTC by Jonathan Kolberg
Modified: 2011-08-16 13:34 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Kolberg 2011-05-26 11:07:40 UTC
Application: muon (1.1.80 "Caustic Carrionite")
KDE Platform Version: 4.6.3 (4.6.3)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-9-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I hit the button full upgrade and while the indexing was done, I hit the unmark all button and muon (muon) crashed.

The crash can be reproduced every time.

-- Backtrace:
Application: Muon-Paketverwaltung (muon), signal: Segmentation fault
[KCrash Handler]
#6  QList (this=0x0) at /usr/include/qt4/QtCore/qlist.h:118
#7  PackageModel::packages (this=0x0) at /build/buildd/muon-1.1.80/libmuon/PackageModel/PackageModel.cpp:107
#8  0x00007f4fd8f27583 in PackageProxyModel::search (this=0xab4d90, searchText=...) at /build/buildd/muon-1.1.80/libmuon/PackageModel/PackageProxyModel.cpp:77
#9  0x00007f4fd8f2ab53 in PackageWidget::startSearch (this=0xbb83c0) at /build/buildd/muon-1.1.80/libmuon/PackageModel/PackageWidget.cpp:358
#10 0x000000000040dcac in MainWindow::workerEvent (this=0xbcdb80, event=QApt::XapianUpdateFinished) at /build/buildd/muon-1.1.80/muon/MainWindow.cpp:355
#11 0x000000000040da1b in MainWindow::qt_metacall (this=0xbcdb80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff94cfab70) at /build/buildd/muon-1.1.80/obj-x86_64-linux-gnu/muon/MainWindow.moc:122
#12 0x00007f4fd71cc5f8 in QMetaObject::activate (sender=0x10160b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff94cfab70) at kernel/qobject.cpp:3287
#13 0x00007f4fd88356e1 in QApt::Backend::workerEvent(QApt::WorkerEvent) () from /usr/lib/libqapt.so.1
#14 0x00007f4fd883593c in QApt::Backend::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libqapt.so.1
#15 0x00007f4fd71cc5f8 in QMetaObject::activate (sender=0x104c9d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff94cfac80) at kernel/qobject.cpp:3287
#16 0x00007f4fd8836301 in ?? () from /usr/lib/libqapt.so.1
#17 0x00007f4fd8836715 in ?? () from /usr/lib/libqapt.so.1
#18 0x00007f4fd750c9fa in QDBusConnectionPrivate::deliverCall (this=0x1058f90, object=0x104c9d0, msg=..., metaTypes=..., slotIdx=13) at qdbusintegrator.cpp:942
#19 0x00007f4fd7516e4f in QDBusCallDeliveryEvent::placeMetaCall (this=<value optimized out>, object=<value optimized out>) at qdbusintegrator_p.h:103
#20 0x00007f4fd71cb49a in QObject::event (this=0x104c9d0, e=<value optimized out>) at kernel/qobject.cpp:1226
#21 0x00007f4fd65789e4 in QApplicationPrivate::notify_helper (this=0xaa8440, receiver=0x104c9d0, e=0x1f21800) at kernel/qapplication.cpp:4462
#22 0x00007f4fd657d3aa in QApplication::notify (this=<value optimized out>, receiver=0x104c9d0, e=0x1f21800) at kernel/qapplication.cpp:4341
#23 0x00007f4fd7e70196 in KApplication::notify (this=0x7fff94cfed30, receiver=0x104c9d0, event=0x1f21800) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x00007f4fd71b749c in QCoreApplication::notifyInternal (this=0x7fff94cfed30, receiver=0x104c9d0, event=0x1f21800) at kernel/qcoreapplication.cpp:731
#25 0x00007f4fd71bac25 in sendEvent (receiver=0x0, event_type=0, data=0xa4fb60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xa4fb60) at kernel/qcoreapplication.cpp:1372
#27 0x00007f4fd71e2253 in sendPostedEvents (s=0xaa3dc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#28 postEventSourceDispatch (s=0xaa3dc0) at kernel/qeventdispatcher_glib.cpp:277
#29 0x00007f4fd1636bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f4fd16373a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f4fd1637639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f4fd71e23ef in QEventDispatcherGlib::processEvents (this=0xa4f340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#33 0x00007f4fd661fdfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f4fd71bb03f in QCoreApplication::processEvents (flags=...) at kernel/qcoreapplication.cpp:923
#35 0x00007f4fd881f203 in ?? () from /usr/lib/libqapt.so.1
#36 0x00007f4fd398f2cd in debStatusIndex::Merge(pkgCacheGenerator&, OpProgress*) const () from /usr/lib/libapt-pkg.so.4.10
#37 0x00007f4fd393ac87 in ?? () from /usr/lib/libapt-pkg.so.4.10
#38 0x00007f4fd3940d0a in pkgCacheGenerator::MakeStatusCache(pkgSourceList&, OpProgress*, MMap**, bool) () from /usr/lib/libapt-pkg.so.4.10
#39 0x00007f4fd39350f2 in pkgCacheFile::BuildCaches(OpProgress*, bool) () from /usr/lib/libapt-pkg.so.4.10
#40 0x00007f4fd3935514 in pkgCacheFile::Open(OpProgress*, bool) () from /usr/lib/libapt-pkg.so.4.10
#41 0x00007f4fd881f08a in QApt::Cache::open() () from /usr/lib/libqapt.so.1
#42 0x00007f4fd881ad91 in QApt::Backend::reloadCache() () from /usr/lib/libqapt.so.1
#43 0x00007f4fd8f2d81d in PackageWidget::reload (this=0xbb83c0) at /build/buildd/muon-1.1.80/libmuon/PackageModel/PackageWidget.cpp:254
#44 0x000000000040e429 in ManagerWidget::reload (this=0xbb83c0) at /build/buildd/muon-1.1.80/muon/ManagerWidget.cpp:61
#45 0x000000000040ba78 in MainWindow::reload (this=0xbcdb80) at /build/buildd/muon-1.1.80/muon/MainWindow.cpp:435
#46 0x000000000040b9b9 in MainWindow::revertChanges (this=0xbcdb80) at /build/buildd/muon-1.1.80/muon/MainWindow.cpp:544
#47 0x000000000040db15 in MainWindow::qt_metacall (this=0xbcdb80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff94cfd720) at /build/buildd/muon-1.1.80/obj-x86_64-linux-gnu/muon/MainWindow.moc:132
#48 0x00007f4fd71cc5f8 in QMetaObject::activate (sender=0xffda70, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff94cfd720) at kernel/qobject.cpp:3287
#49 0x00007f4fd6572112 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#50 0x00007f4fd65722ff in QAction::activate (this=0xffda70, event=<value optimized out>) at kernel/qaction.cpp:1257
#51 0x00007f4fd6938d7a in QAbstractButtonPrivate::click (this=0x10073f0) at widgets/qabstractbutton.cpp:528
#52 0x00007f4fd693902c in QAbstractButton::mouseReleaseEvent (this=0x1030910, e=0x7fff94cfe070) at widgets/qabstractbutton.cpp:1121
#53 0x00007f4fd69f52ca in QToolButton::mouseReleaseEvent (this=<value optimized out>, e=<value optimized out>) at widgets/qtoolbutton.cpp:721
#54 0x00007f4fd65c9cb8 in QWidget::event (this=0x1030910, event=0x7fff94cfe070) at kernel/qwidget.cpp:8259
#55 0x00007f4fd65789e4 in QApplicationPrivate::notify_helper (this=0xaa8440, receiver=0x1030910, e=0x7fff94cfe070) at kernel/qapplication.cpp:4462
#56 0x00007f4fd657ddb3 in QApplication::notify (this=<value optimized out>, receiver=0x1030910, e=0x7fff94cfe070) at kernel/qapplication.cpp:4023
#57 0x00007f4fd7e70196 in KApplication::notify (this=0x7fff94cfed30, receiver=0x1030910, event=0x7fff94cfe070) at ../../kdeui/kernel/kapplication.cpp:311
#58 0x00007f4fd71b749c in QCoreApplication::notifyInternal (this=0x7fff94cfed30, receiver=0x1030910, event=0x7fff94cfe070) at kernel/qcoreapplication.cpp:731
#59 0x00007f4fd6579a0d in sendEvent (receiver=0x1030910, event=0x7fff94cfe070, alienWidget=0x1030910, nativeWidget=0xbcdb80, buttonDown=0x7f4fd7059218, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#60 QApplicationPrivate::sendMouseEvent (receiver=0x1030910, event=0x7fff94cfe070, alienWidget=0x1030910, nativeWidget=0xbcdb80, buttonDown=0x7f4fd7059218, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#61 0x00007f4fd65f9600 in QETWidget::translateMouseEvent (this=0xbcdb80, event=<value optimized out>) at kernel/qapplication_x11.cpp:4556
#62 0x00007f4fd65f804a in QApplication::x11ProcessEvent (this=0x7fff94cfed30, event=0x7fff94cfe9c0) at kernel/qapplication_x11.cpp:3678
#63 0x00007f4fd6620162 in x11EventSourceDispatch (s=0xaa4af0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#64 0x00007f4fd1636bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#65 0x00007f4fd16373a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#66 0x00007f4fd1637639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#67 0x00007f4fd71e23ef in QEventDispatcherGlib::processEvents (this=0xa4f340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#68 0x00007f4fd661fdfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#69 0x00007f4fd71b6882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#70 0x00007f4fd71b6abc in QEventLoop::exec (this=0x7fff94cfecc0, flags=...) at kernel/qeventloop.cpp:201
#71 0x00007f4fd71baecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#72 0x000000000040b01e in main (argc=5, argv=<value optimized out>) at /build/buildd/muon-1.1.80/muon/main.cpp:55

Possible duplicates by query: bug 274093.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-05-26 14:52:58 UTC

*** This bug has been marked as a duplicate of bug 274093 ***
Comment 2 Jonathan Thomas 2011-05-26 19:23:25 UTC
Git commit 17debc1d754f51a02254d5c3aabec9f756b6be1f by Jonathan Thomas.
Committed on 26/05/2011 at 19:21.
Pushed by jmthomas into branch 'master'.

Do not search if we are in the middle of a cache reload, like when the "Unmark All Changes" button is pressed.
This prevents a crash that occurs when the proxy model's source model is null during reload.

BUG:274182

M  +3    -1    libmuon/PackageModel/PackageWidget.cpp     

http://commits.kde.org/muon/17debc1d754f51a02254d5c3aabec9f756b6be1f
Comment 3 Jonathan Thomas 2011-05-26 19:24:10 UTC
Git commit edbfff0576c6dc33b6238845131b27c097296dc0 by Jonathan Thomas.
Committed on 26/05/2011 at 19:21.
Pushed by jmthomas into branch '1.1'.

Do not search if we are in the middle of a cache reload, like when the "Unmark All Changes" button is pressed.
This prevents a crash that occurs when the proxy model's source model is null during reload.

BUG:274182

M  +3    -1    libmuon/PackageModel/PackageWidget.cpp     

http://commits.kde.org/muon/edbfff0576c6dc33b6238845131b27c097296dc0
Comment 4 Jonathan Thomas 2011-05-26 19:25:16 UTC
*** Bug 274093 has been marked as a duplicate of this bug. ***
Comment 5 Christoph Feck 2011-05-31 12:37:59 UTC
*** Bug 274573 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Feck 2011-06-21 12:45:53 UTC
*** Bug 276165 has been marked as a duplicate of this bug. ***
Comment 7 Christoph Feck 2011-08-16 13:34:45 UTC
*** Bug 280159 has been marked as a duplicate of this bug. ***