Bug 247439 - Muon crashed as i selected updates
Summary: Muon crashed as i selected updates
Status: RESOLVED FIXED
Alias: None
Product: muon
Classification: Applications
Component: libqapt (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Jonathan Thomas
URL:
Keywords:
: 247475 248170 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-12 00:10 UTC by Florian Reinhard
Modified: 2010-08-28 13:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.0.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Reinhard 2010-08-12 00:10:54 UTC
Application: muon (1.0)
KDE Platform Version: 4.5.00 (KDE 4.5.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.32-24-generic i686
Distribution: Ubuntu 10.04.1 LTS

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

clicked the "check for updates" icon. everything got grey. since i didn't see any progress i switched to the upgradeable packages view and selected a package for upgrade and muon crashed.

-- Backtrace:
Application: Muon Package Manager (muon), signal: Aborted
[Current thread is 1 (Thread 0xb778c710 (LWP 6840))]

Thread 2 (Thread 0xb34e0b70 (LWP 6846)):
#0  0x008ce422 in __kernel_vsyscall ()
#1  0x0274cb86 in *__GI___poll (fds=0x27e2ff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x0833f4eb in g_poll () from /lib/libglib-2.0.so.0
#3  0x083320ac in ?? () from /lib/libglib-2.0.so.0
#4  0x083324b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x0118f1cf in QEventDispatcherGlib::processEvents (this=0x8f37940, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0x0115f419 in QEventLoop::processEvents (this=0xb34e0290, flags=) at kernel/qeventloop.cpp:149
#7  0x0115f89a in QEventLoop::exec (this=0xb34e0290, flags=...) at kernel/qeventloop.cpp:201
#8  0x0105cb5e in QThread::exec (this=0x8eba6a0) at thread/qthread.cpp:490
#9  0x0113e55b in QInotifyFileSystemWatcherEngine::run (this=0x8eba6a0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x0105fe39 in QThreadPrivate::start (arg=0x8eba6a0) at thread/qthread_unix.cpp:266
#11 0x0086b96e in start_thread (arg=0xb34e0b70) at pthread_create.c:300
#12 0x0275aa4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb778c710 (LWP 6840)):
[KCrash Handler]
#7  0x008ce422 in __kernel_vsyscall ()
#8  0x026b7651 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0x026baa82 in *__GI_abort () at abort.c:92
#10 0x00dd852f in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#11 0x00dd6465 in ?? () from /usr/lib/libstdc++.so.6
#12 0x00dd64a2 in std::terminate() () from /usr/lib/libstdc++.so.6
#13 0x00dd65e1 in __cxa_throw () from /usr/lib/libstdc++.so.6
#14 0x00d6d57f in std::__throw_logic_error(char const*) () from /usr/lib/libstdc++.so.6
#15 0x00db1b82 in ?? () from /usr/lib/libstdc++.so.6
#16 0x00db1cf6 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) () from /usr/lib/libstdc++.so.6
#17 0x00f030e0 in QApt::PackagePrivate::searchPkgFileIter(QString const&, QString const&) const () from /usr/lib/libqapt.so.1
#18 0x00f03357 in QApt::PackagePrivate::getReleaseFileForOrigin(QString const&, QString const&) const () from /usr/lib/libqapt.so.1
#19 0x00f0881f in QApt::Package::supportedUntil() const () from /usr/lib/libqapt.so.1
#20 0x08073883 in MainTab::refresh (this=0x8d0ca40) at /build/buildd/muon-1.0/src/DetailsTabs/MainTab.cpp:184
#21 0x0806b771 in DetailsWidget::setPackage (this=0x8ce4a28, package=0x91dd080) at /build/buildd/muon-1.0/src/DetailsWidget.cpp:79
#22 0x0806695a in ManagerWidget::qt_metacall (this=0x8cdc270, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfb6bd68) at /build/buildd/muon-1.0/obj-i486-linux-gnu/src/ManagerWidget.moc:87
#23 0x011666ca in QMetaObject::metacall (object=0x8cdc270, cl=6840, idx=30, argv=0xbfb6bd68) at kernel/qmetaobject.cpp:237
#24 0x01179455 in QMetaObject::activate (sender=0x8d21cb0, m=0x80802c0, local_signal_index=0, argv=0xbfb6bd68) at kernel/qobject.cpp:3280
#25 0x0806df95 in PackageView::currentPackageChanged (this=0x8d21cb0, _t1=...) at /build/buildd/muon-1.0/obj-i486-linux-gnu/src/PackageView.moc:94
#26 0x0806e129 in PackageView::currentChanged (this=0x8d21cb0, current=..., previous=...) at /build/buildd/muon-1.0/src/PackageModel/PackageView.cpp:41
#27 0x0806e0f4 in PackageView::qt_metacall (this=0x8d21cb0, _c=QMetaObject::InvokeMetaMethod, _id=89, _a=0xbfb6bec4) at /build/buildd/muon-1.0/obj-i486-linux-gnu/src/PackageView.moc:81
#28 0x011666ca in QMetaObject::metacall (object=0x8d21cb0, cl=6840, idx=89, argv=0xbfb6bec4) at kernel/qmetaobject.cpp:237
#29 0x01179455 in QMetaObject::activate (sender=0x8cee240, m=0x5859a70, local_signal_index=1, argv=0xbfb6bec4) at kernel/qobject.cpp:3280
#30 0x054fb2c9 in QItemSelectionModel::currentChanged (this=0x8cee240, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:159
#31 0x054fb462 in QItemSelectionModel::setCurrentIndex (this=0x8cee240, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1156
#32 0x054a594c in QAbstractItemView::mousePressEvent (this=0x8d21cb0, event=0xbfb6c980) at itemviews/qabstractitemview.cpp:1657
#33 0x054f11b7 in QTreeView::mousePressEvent (this=0x8d21cb0, event=0xbfb6c980) at itemviews/qtreeview.cpp:1818
#34 0x04f33c2c in QWidget::event (this=0x8d21cb0, event=0xbfb6c980) at kernel/qwidget.cpp:8153
#35 0x053515e3 in QFrame::event (this=0x8d21cb0, e=0xbfb6c980) at widgets/qframe.cpp:557
#36 0x053ee572 in QAbstractScrollArea::viewportEvent (this=0x1ab8, e=0x6) at widgets/qabstractscrollarea.cpp:1043
#37 0x054aa047 in QAbstractItemView::viewportEvent (this=0x8d21cb0, event=0xbfb6c980) at itemviews/qabstractitemview.cpp:1619
#38 0x054ec8c3 in QTreeView::viewportEvent (this=0x8d21cb0, event=0xbfb6c980) at itemviews/qtreeview.cpp:1256
#39 0x053f0fb5 in QAbstractScrollAreaPrivate::viewportEvent (this=0x8d4f668, o=0x8d4e060, e=0xbfb6c980) at widgets/qabstractscrollarea_p.h:100
#40 QAbstractScrollAreaFilter::eventFilter (this=0x8d4f668, o=0x8d4e060, e=0xbfb6c980) at widgets/qabstractscrollarea_p.h:116
#41 0x011600ca in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8bf48e0, receiver=0x8d4e060, event=0xbfb6c980) at kernel/qcoreapplication.cpp:847
#42 0x04ed60a9 in QApplicationPrivate::notify_helper (this=0x8bf48e0, receiver=0x8d4e060, e=0xbfb6c980) at kernel/qapplication.cpp:4385
#43 0x04edcab7 in QApplication::notify (this=0xbfb6d230, receiver=0x8d4e060, e=0xbfb6c980) at kernel/qapplication.cpp:3952
#44 0x0058482a in KApplication::notify (this=0xbfb6d230, receiver=0x8d4e060, event=0xbfb6c980) at ../../kdeui/kernel/kapplication.cpp:310
#45 0x0116096b in QCoreApplication::notifyInternal (this=0xbfb6d230, receiver=0x8d4e060, event=0xbfb6c980) at kernel/qcoreapplication.cpp:732
#46 0x04edb162 in QCoreApplication::sendEvent (receiver=0x8d4e060, event=0xbfb6c980, alienWidget=0x8d4e060, nativeWidget=0x8ccfde0, buttonDown=0x5868300, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#47 QApplicationPrivate::sendMouseEvent (receiver=0x8d4e060, event=0xbfb6c980, alienWidget=0x8d4e060, nativeWidget=0x8ccfde0, buttonDown=0x5868300, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:3051
#48 0x04f696b8 in QETWidget::translateMouseEvent (this=0x8ccfde0, event=0xbfb6ce9c) at kernel/qapplication_x11.cpp:4403
#49 0x04f68b49 in QApplication::x11ProcessEvent (this=0xbfb6d230, event=0xbfb6ce9c) at kernel/qapplication_x11.cpp:3414
#50 0x04f97b3a in x11EventSourceDispatch (s=0x8bf8bb0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#51 0x0832e5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#52 0x083322d8 in ?? () from /lib/libglib-2.0.so.0
#53 0x083324b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#54 0x0118f195 in QEventDispatcherGlib::processEvents (this=0x8bf1430, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#55 0x04f973b5 in QGuiEventDispatcherGlib::processEvents (this=0x8bf1430, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#56 0x0115f419 in QEventLoop::processEvents (this=0xbfb6d194, flags=) at kernel/qeventloop.cpp:149
#57 0x0115f89a in QEventLoop::exec (this=0xbfb6d194, flags=...) at kernel/qeventloop.cpp:201
#58 0x01163e4f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#59 0x04ed4ef7 in QApplication::exec () at kernel/qapplication.cpp:3665
#60 0x08059979 in main (argc=1, argv=0xbfb6d354) at /build/buildd/muon-1.0/src/main.cpp:54

Reported using DrKonqi
Comment 1 Jonathan Thomas 2010-08-12 02:27:20 UTC
SVN commit 1162440 by jmthomas:

Another case of libapt-pkg giving us nice, null const char pointers :/
BUG:247439
FIXED-IN:1.0.1


 M  +8 -3      package.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1162440
Comment 2 Jonathan Thomas 2010-08-17 19:20:11 UTC
*** Bug 248170 has been marked as a duplicate of this bug. ***
Comment 3 Jonathan Thomas 2010-08-28 13:44:06 UTC
*** Bug 247475 has been marked as a duplicate of this bug. ***