Bug 203023

Summary: KPackageKit crash while trying check updates and repository backend is locked
Product: [Unmaintained] kpackagekit Reporter: Lukas Dolezal <lu.dolezal>
Component: generalAssignee: Steven M. Parrish <smparrish>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: andresbajotierra, dantti12, germano.massullo
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Lukas Dolezal 2009-08-08 00:38:08 UTC
Application that crashed: kpackagekit
Version of the application: 0.3.1
KDE Version: 4.3.00 (KDE 4.3.0) "release 152"
Qt Version: 4.5.2
Operating System: Linux 2.6.27.25-0.1-pae i686

What I was doing when the application crashed:
When I have opened YaST with accessing to packages (zypper) and KPackageKit trying to work with backend, it crach, maybe because backend is locked.

 -- Backtrace:
Application: KPackageKit (kpackagekit), signal: Aborted
[KCrash Handler]
#6  0xffffe430 in __kernel_vsyscall ()
#7  0xb6335990 in raise () from /lib/libc.so.6
#8  0xb63372c8 in abort () from /lib/libc.so.6
#9  0xb5f99245 in ?? () from /lib/libdbus-1.so.3
#10 0xb5f94c59 in ?? () from /lib/libdbus-1.so.3
#11 0xb5f887fe in dbus_message_new_method_call () from /lib/libdbus-1.so.3
#12 0xb65be474 in ?? () from /usr/lib/libQtDBus.so.4
#13 0xb65ba453 in ?? () from /usr/lib/libQtDBus.so.4
#14 0xb65a56c1 in QDBusConnection::call(QDBusMessage const&, QDBus::CallMode, int) const () from /usr/lib/libQtDBus.so.4
#15 0xb65c194b in QDBusAbstractInterface::callWithArgumentList(QDBus::CallMode, QString const&, QList<QVariant> const&) () from /usr/lib/libQtDBus.so.4
#16 0xb663791d in PackageKit::Client::getUpdates(QSet<PackageKit::Client::Filter>) () from /usr/lib/libpackagekit-qt.so.10
#17 0xb42c2635 in ?? () from /usr/lib/kde4/kcm_kpk_update.so
#18 0xb42c2aee in ?? () from /usr/lib/kde4/kcm_kpk_update.so
#19 0xb42c19c5 in ?? () from /usr/lib/kde4/kcm_kpk_update.so
#20 0xb42c221b in QObject* KPluginFactory::createInstance<KcmKpkUpdate, QWidget>(QWidget*, QObject*, QList<QVariant> const&) () from /usr/lib/kde4/kcm_kpk_update.so
#21 0xb7d3fecf in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /usr/lib/libkdecore.so.5
#22 0xb667c237 in KCModuleLoader::loadModule(KCModuleInfo const&, KCModuleLoader::ErrorReporting, QWidget*, QStringList const&) () from /usr/lib/libkutils.so.4
#23 0xb668207d in ?? () from /usr/lib/libkutils.so.4
#24 0xb66831a3 in KCModuleProxy::realModule() const () from /usr/lib/libkutils.so.4
#25 0xb6683548 in KCModuleProxy::showEvent(QShowEvent*) () from /usr/lib/libkutils.so.4
#26 0xb71ae205 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#27 0xb71577fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#28 0xb715fbd2 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#29 0xb6dc927d in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#30 0xb7f2416b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#31 0xb71b38eb in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#32 0xb71b3ee3 in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#33 0xb71955d1 in QStackedLayout::setCurrentIndex(int) () from /usr/lib/libQtGui.so.4
#34 0xb719575d in QStackedLayout::setCurrentWidget(QWidget*) () from /usr/lib/libQtGui.so.4
#35 0xb75af9dc in QStackedWidget::setCurrentWidget(QWidget*) () from /usr/lib/libQtGui.so.4
#36 0xb6dfc3e7 in ?? () from /usr/lib/libkdeui.so.5
#37 0xb6dfce87 in KPageView::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#38 0xb6e009da in KPageWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#39 0xb7f39788 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#40 0xb7f3a412 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#41 0xb76dc309 in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/libQtGui.so.4
#42 0xb76dc4ad in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/libQtGui.so.4
#43 0xb768dbe6 in QAbstractItemView::mousePressEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#44 0xb71ae4d6 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#45 0xb753f5f3 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#46 0xb75df88f in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#47 0xb7692027 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#48 0xb75e1e95 in ?? () from /usr/lib/libQtGui.so.4
#49 0xb7f2337a in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#50 0xb71577da in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#51 0xb7160461 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#52 0xb6dc927d in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#53 0xb7f2416b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#54 0xb715f4ce in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib/libQtGui.so.4
#55 0xb71cf706 in ?? () from /usr/lib/libQtGui.so.4
#56 0xb71ceadd in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#57 0xb71f85ea in ?? () from /usr/lib/libQtGui.so.4
#58 0xb61879c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#59 0xb618b083 in ?? () from /usr/lib/libglib-2.0.so.0
#60 0xb618b241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#61 0xb7f4f8d8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#62 0xb71f7ce5 in ?? () from /usr/lib/libQtGui.so.4
#63 0xb7f2278a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#64 0xb7f22bd2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#65 0xb7f25079 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#66 0xb7157677 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#67 0x0804e68b in _start ()

This bug may be a duplicate of or related to bug 198145

Reported using DrKonqi
Comment 1 Dario Andres 2009-08-08 16:04:30 UTC
- Probably related to bug 198145 / bug 197652 / bug 185775 / bug 183565.
Thanks
Comment 2 Germano Massullo 2010-02-20 11:30:37 UTC
I had a kpackagekit crash after some minutes it finished to update the system:

Application: KPackageKit (kpackagekitsmarticon), signal: Segmentation fault
[KCrash Handler]
#6  0x0712a90a in QMutex::lock (this=0x9d4e2b8) at thread/qmutex.cpp:152
#7  0x072209d5 in QCoreApplication::postEvent (receiver=<value optimized out>, event=<value optimized out>, priority=<value optimized out>) at kernel/qcoreapplication.cpp:1020
#8  0x07220cdd in QCoreApplication::postEvent (receiver=<value optimized out>, event=<value optimized out>) at kernel/qcoreapplication.cpp:973
#9  0x07230405 in QObject::deleteLater (this=<value optimized out>) at kernel/qobject.cpp:2018
#10 0x07e70b1f in PackageKit::ClientPrivate::serviceOwnerChanged(QString const&, QString const&, QString const&) () from /usr/lib/libpackagekit-qt.so.12
#11 0x07e72113 in PackageKit::ClientPrivate::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libpackagekit-qt.so.12
#12 0x07236c0c in QMetaObject::activate (sender=<value optimized out>, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=<value optimized out>)
    at kernel/qobject.cpp:3112
#13 0x07237843 in QMetaObject::activate (sender=<value optimized out>, m=<value optimized out>, local_signal_index=<value optimized out>, argv=<value optimized out>) at kernel/qobject.cpp:3186
#14 0x005db350 in QDBusConnectionInterface::serviceOwnerChanged (this=<value optimized out>, _t1=<value optimized out>, _t2=<value optimized out>, _t3=<value optimized out>)
    at .moc/release-shared/moc_qdbusconnectioninterface.cpp:204
#15 0x005db6ab in QDBusConnectionInterface::qt_metacall (this=<value optimized out>, _c=<value optimized out>, _id=2, _a=<value optimized out>)
    at .moc/release-shared/moc_qdbusconnectioninterface.cpp:131
#16 0x07236c0c in QMetaObject::activate (sender=<value optimized out>, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=<value optimized out>)
    at kernel/qobject.cpp:3112
#17 0x07237843 in QMetaObject::activate (sender=<value optimized out>, m=<value optimized out>, local_signal_index=<value optimized out>, argv=<value optimized out>) at kernel/qobject.cpp:3186
#18 0x005db1f0 in QDBusConnectionInterface::NameOwnerChanged (this=<value optimized out>, _t1=<value optimized out>, _t2=<value optimized out>, _t3=<value optimized out>)
    at .moc/release-shared/moc_qdbusconnectioninterface.cpp:232
#19 0x005db73b in QDBusConnectionInterface::qt_metacall (this=<value optimized out>, _c=<value optimized out>, _id=6, _a=<value optimized out>)
    at .moc/release-shared/moc_qdbusconnectioninterface.cpp:135
#20 0x005a4a3c in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=<value optimized out>, 
    slotIdx=<value optimized out>) at qdbusintegrator.cpp:891
#21 0x005ac9a8 in QDBusCallDeliveryEvent::placeMetaCall(QObject*) () from /usr/lib/libQtDBus.so.4
#22 0x07230f96 in QObject::event (this=<value optimized out>, e=<value optimized out>) at kernel/qobject.cpp:1110
#23 0x066e4b24 in QApplicationPrivate::notify_helper (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:4065
#24 0x066ec281 in QApplication::notify (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:3605
#25 0x055f98cb in KApplication::notify (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at /usr/src/debug/kdelibs-4.3.5/kdeui/kernel/kapplication.cpp:302
#26 0x07220d73 in QCoreApplication::notifyInternal (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at kernel/qcoreapplication.cpp:610
#27 0x07221972 in sendEvent (receiver=<value optimized out>, event_type=<value optimized out>, data=<value optimized out>) at kernel/qcoreapplication.h:213
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=<value optimized out>, event_type=<value optimized out>, data=<value optimized out>) at kernel/qcoreapplication.cpp:1247
#29 0x07221b2e in QCoreApplication::sendPostedEvents (receiver=<value optimized out>, event_type=<value optimized out>) at kernel/qcoreapplication.cpp:1140
#30 0x0724bf40 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:218
#31 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:210
#32 0x00a18f88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#33 0x00a1c8b8 in ?? () from /lib/libglib-2.0.so.0
#34 0x00a1c9e4 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#35 0x0724bb6d in QEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#36 0x06784356 in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#37 0x0721f2aa in QEventLoop::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:149
#38 0x0721f70a in QEventLoop::exec (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:201
#39 0x07221bf7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#40 0x066e49a8 in QApplication::exec () at kernel/qapplication.cpp:3525
#41 0x080506a9 in _start ()
Comment 3 Dario Andres 2010-02-20 14:10:56 UTC
@Caterpillar: that is a different crash: bug 225494. Regards
Comment 4 Germano Massullo 2010-02-21 02:56:54 UTC
Dario, should I forward my error log into the link you wrote?
Comment 5 Dario Andres 2010-02-21 03:08:20 UTC
I think it is not needed in this case. Regards
Comment 6 Daniel Nicoletti 2010-08-15 05:34:48 UTC
Can you reproduce the bug with an up to date version of KPackageKit?
I'm closing the bug since KPackageKit 0.3 isn't maintained anymore.
Thanks