Bug 220344

Summary: KPackageKit crashes after entering root password to install package from untrusted source / importing key [PackageKit::Transaction::percentage, KpkTransaction::updateUi]
Product: [Unmaintained] kpackagekit Reporter: Chris Hackmeyer <cbhackmeyer>
Component: generalAssignee: Steven M. Parrish <smparrish>
Status: RESOLVED FIXED    
Severity: crash CC: akibukis, andresbajotierra, angeloribas, arbitrabbit, arkreymer, atanaz, bhernco, Bill, bluedry, breakeneck, cap.lewis, carsten_specht, cerulean1973, charizard25_hk, colin_turner, dantti12, davesama, dcphillips01, diego.ml, dkmerriman, esher, haim.support, inorgio, jacques.daulton, jazzyjeph, jjtsai, jknell, Jmlevick, jonah, jtmcbeath, kde, koch.marcio, marcin.rzeznicki, martin.nad89, mbaptist, mendiebm, mschincariol, nay0648, ndbecker2, nitusdarkthief, noragen, orreflc, pascal.grandperrin, petronio.nunes, pghammer21, robertejohnson6, rthomas166, serge.meeuwsen, shandwolf, shsullivan57, skip.kovacs.ctr, sonya.huang, spochybova, steve, sweetlandj, systemsorcery, tj.barry, tjm1983, tribal.dog, uriah, vscherbo, walrusspam, yehielb
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In: 0.6.1
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Chris Hackmeyer 2009-12-28 07:19:06 UTC
Application that crashed: kpackagekit
Version of the application: 0.5.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.3
Operating System: Linux 2.6.31.5-127.fc12.i686 i686

What I was doing when the application crashed:
I was attempting to install several updates from an untrusted source (rpmfusion) using kpackagekit. A dialog popped up asking if I recognized and trusted the source of the packages. I clicked "Yes". About the same time that I did that, another dialog popped up asking me to enter my root password to install packages from an untrusted source, so I typed in my root password and pressed enter. Then kpackagekit crashed immediately. I have not encountered this situation before or since, so I don't know if it is reproducible.

 -- Backtrace:
Application: KPackageKit (kpackagekit), signal: Segmentation fault
[KCrash Handler]
#6  0x00000000 in ?? ()
#7  0x00185b38 in QDBusAbstractInterface::internalPropGet(char const*) const () from /usr/lib/libQtDBus.so.4
#8  0x00131ded in PackageKit::Transaction::percentage() const () from /usr/lib/libpackagekit-qt.so.12
#9  0x0021e903 in KpkTransaction::updateUi() () from /usr/lib/libkpackagekitlib.so
#10 0x00222076 in KpkTransaction::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkpackagekitlib.so
#11 0x00d6fbfc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#12 0x00d70833 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#13 0x00131638 in PackageKit::Transaction::changed() () from /usr/lib/libpackagekit-qt.so.12
#14 0x001339a1 in PackageKit::Transaction::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libpackagekit-qt.so.12
#15 0x00d6fbfc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#16 0x00d70833 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#17 0x0013aef8 in PackageKit::TransactionProxy::Changed() () from /usr/lib/libpackagekit-qt.so.12
#18 0x0013b8e3 in PackageKit::TransactionProxy::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libpackagekit-qt.so.12
#19 0x001785fc in ?? () from /usr/lib/libQtDBus.so.4
#20 0x00180568 in ?? () from /usr/lib/libQtDBus.so.4
#21 0x00d69f86 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#22 0x0569fb24 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0x056a7281 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#24 0x006a4b2b in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#25 0x00d59d63 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#26 0x00d5a962 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#27 0x00d5ab1e in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#28 0x00d84f30 in ?? () from /usr/lib/libQtCore.so.4
#29 0x00e94118 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#30 0x00e97a48 in ?? () from /lib/libglib-2.0.so.0
#31 0x00e97b74 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#32 0x00d84b5d in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#33 0x0573f356 in ?? () from /usr/lib/libQtGui.so.4
#34 0x00d5829a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0x00d586fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#36 0x05b89d14 in QDialog::exec() () from /usr/lib/libQtGui.so.4
#37 0x0061e304 in KMessageBox::createKMessageBox(KDialog*, QIcon const&, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&, QMessageBox::Icon) ()
   from /usr/lib/libkdeui.so.5
#38 0x0061f74f in KMessageBox::createKMessageBox(KDialog*, QMessageBox::Icon, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&) ()
   from /usr/lib/libkdeui.so.5
#39 0x0061fab3 in KMessageBox::detailedSorryWId(unsigned long, QString const&, QString const&, QString const&, QFlags<KMessageBox::Option>) () from /usr/lib/libkdeui.so.5
#40 0x0061fbe0 in KMessageBox::detailedSorry(QWidget*, QString const&, QString const&, QString const&, QFlags<KMessageBox::Option>) () from /usr/lib/libkdeui.so.5
#41 0x00220b7c in KpkTransaction::errorCode(PackageKit::Client::ErrorType, QString const&) () from /usr/lib/libkpackagekitlib.so
#42 0x0022203e in KpkTransaction::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkpackagekitlib.so
#43 0x00d6fbfc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#44 0x00d70833 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#45 0x001313ca in PackageKit::Transaction::errorCode(PackageKit::Client::ErrorType, QString const&) () from /usr/lib/libpackagekit-qt.so.12
#46 0x00138082 in PackageKit::TransactionPrivate::errorCode(QString const&, QString const&) () from /usr/lib/libpackagekit-qt.so.12
#47 0x001392dc in PackageKit::TransactionPrivate::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libpackagekit-qt.so.12
#48 0x00d6fbfc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#49 0x00d70833 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#50 0x0013ad8a in PackageKit::TransactionProxy::ErrorCode(QString const&, QString const&) () from /usr/lib/libpackagekit-qt.so.12
#51 0x0013b979 in PackageKit::TransactionProxy::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libpackagekit-qt.so.12
#52 0x001785fc in ?? () from /usr/lib/libQtDBus.so.4
#53 0x00180568 in ?? () from /usr/lib/libQtDBus.so.4
#54 0x00d69f86 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#55 0x0569fb24 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#56 0x056a7281 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#57 0x006a4b2b in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#58 0x00d59d63 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#59 0x00d5a962 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#60 0x00d5ab1e in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#61 0x00d84f30 in ?? () from /usr/lib/libQtCore.so.4
#62 0x00e94118 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#63 0x00e97a48 in ?? () from /lib/libglib-2.0.so.0
#64 0x00e97b74 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#65 0x00d84b5d in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#66 0x0573f356 in ?? () from /usr/lib/libQtGui.so.4
#67 0x00d5829a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#68 0x00d586fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#69 0x05b89d14 in QDialog::exec() () from /usr/lib/libQtGui.so.4
#70 0x0021ff80 in KpkTransaction::repoSignatureRequired(PackageKit::Client::SignatureInfo) () from /usr/lib/libkpackagekitlib.so
#71 0x00221eb3 in KpkTransaction::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkpackagekitlib.so
#72 0x00d6fbfc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#73 0x00d70833 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#74 0x001310a4 in PackageKit::Transaction::repoSignatureRequired(PackageKit::Client::SignatureInfo) () from /usr/lib/libpackagekit-qt.so.12
#75 0x00137cb3 in PackageKit::TransactionPrivate::repoSignatureRequired(QString const&, QString const&, QString const&, QString const&, QString const&, QString const&, QString const&, QString const&)
    () from /usr/lib/libpackagekit-qt.so.12
#76 0x0013947e in PackageKit::TransactionPrivate::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libpackagekit-qt.so.12
#77 0x00d6fbfc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#78 0x00d70833 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#79 0x0013aa34 in PackageKit::TransactionProxy::RepoSignatureRequired(QString const&, QString const&, QString const&, QString const&, QString const&, QString const&, QString const&, QString const&)
    () from /usr/lib/libpackagekit-qt.so.12
#80 0x0013baef in PackageKit::TransactionProxy::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libpackagekit-qt.so.12
#81 0x001785fc in ?? () from /usr/lib/libQtDBus.so.4
#82 0x00180568 in ?? () from /usr/lib/libQtDBus.so.4
#83 0x00d69f86 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#84 0x0569fb24 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#85 0x056a7281 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#86 0x006a4b2b in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#87 0x00d59d63 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#88 0x00d5a962 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#89 0x00d5ab1e in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#90 0x00d84f30 in ?? () from /usr/lib/libQtCore.so.4
#91 0x00e94118 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#92 0x00e97a48 in ?? () from /lib/libglib-2.0.so.0
#93 0x00e97b74 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#94 0x00d84b5d in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#95 0x0573f356 in ?? () from /usr/lib/libQtGui.so.4
#96 0x00d5829a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#97 0x00d586fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#98 0x00233ea3 in KpkReviewChanges::exec(QFlags<KpkReviewChanges::OperationMode>) () from /usr/lib/libkpackagekitlib.so
#99 0x088cc123 in ?? () from /usr/lib/kde4/kcm_kpk_addrm.so
#100 0x088ccb4b in ?? () from /usr/lib/kde4/kcm_kpk_addrm.so
#101 0x00d6fbfc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#102 0x00d70833 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#103 0x088c8c78 in QWidget::style() const () from /usr/lib/kde4/kcm_kpk_addrm.so
#104 0x004550da in KCModuleProxy::save() () from /usr/lib/libkutils.so.4
#105 0x0044f678 in ?? () from /usr/lib/libkutils.so.4
#106 0x00451d93 in KCMultiDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkutils.so.4
#107 0x00d6fbfc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#108 0x00d70833 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#109 0x006081e8 in KDialog::applyClicked() () from /usr/lib/libkdeui.so.5
#110 0x0060a9b7 in KDialog::slotButtonClicked(int) () from /usr/lib/libkdeui.so.5
#111 0x0060cfbc in KDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#112 0x006d5d5b in KPageDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#113 0x00451cdb in KCMultiDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkutils.so.4
#114 0x00d6fbfc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#115 0x00d70833 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#116 0x00d727d4 in QSignalMapper::mapped(int) () from /usr/lib/libQtCore.so.4
#117 0x00d7307e in QSignalMapper::map(QObject*) () from /usr/lib/libQtCore.so.4
#118 0x00d7325f in QSignalMapper::map() () from /usr/lib/libQtCore.so.4
#119 0x00d73a3b in QSignalMapper::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#120 0x00d6fbfc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#121 0x00d70049 in QMetaObject::activate(QObject*, QMetaObject const*, int, int, void**) () from /usr/lib/libQtCore.so.4
#122 0x05d2c312 in QAbstractButton::clicked(bool) () from /usr/lib/libQtGui.so.4
#123 0x05a52b9a in ?? () from /usr/lib/libQtGui.so.4
#124 0x05a547e5 in ?? () from /usr/lib/libQtGui.so.4
#125 0x05a54a81 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#126 0x056f4d6f in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#127 0x05a52a3f in QAbstractButton::event(QEvent*) () from /usr/lib/libQtGui.so.4
#128 0x05afd0be in QPushButton::event(QEvent*) () from /usr/lib/libQtGui.so.4
#129 0x0569fb24 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#130 0x056a7a90 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#131 0x006a4b2b in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#132 0x00d59d63 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#133 0x056a6b97 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib/libQtGui.so.4
#134 0x057154b8 in ?? () from /usr/lib/libQtGui.so.4
#135 0x0571491d in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#136 0x0573fc92 in ?? () from /usr/lib/libQtGui.so.4
#137 0x00e94118 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#138 0x00e97a48 in ?? () from /lib/libglib-2.0.so.0
#139 0x00e97b74 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#140 0x00d84b5d in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#141 0x0573f356 in ?? () from /usr/lib/libQtGui.so.4
#142 0x00d5829a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#143 0x00d586fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#144 0x00d5abe7 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#145 0x0569f9a8 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#146 0x0804cd6b in _start ()

Reported using DrKonqi
Comment 1 Daniel Nicoletti 2009-12-28 14:24:29 UTC
does it happen every time?
Comment 2 Dario Andres 2009-12-31 14:54:46 UTC
Another case from bug 220787:
---
What I was doing when the application crashed:
I'm not 100% sure, but if I remember correctly KPackageKit crashed while
importing a new sign key.

 -- Backtrace:
Application: Impostazioni di sistema (systemsettings), signal: Segmentation
fault
82    T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
The current source language is "auto; currently asm".
[KCrash Handler]
#5  0x00007f2b29f82f4c in percentage (this=<value optimized out>) at
transactionproxy.h:57
#6  PackageKit::Transaction::percentage (this=<value optimized out>) at
transaction.cpp:135
#7  0x00007f2b29d366e4 in KpkTransaction::updateUi (this=0x29ecac0) at
/usr/src/debug/kpackagekit-0.5.2/libkpackagekit/KpkTransaction.cpp:225
#8  0x00007f2b29d39a7c in KpkTransaction::qt_metacall (this=0x29ecac0,
_c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff74eca700)
    at
/usr/src/debug/kpackagekit-0.5.2/x86_64-redhat-linux-gnu/libkpackagekit/KpkTransaction.moc:107
#9  0x00000034f195408c in QMetaObject::activate (sender=0x2987c40,
from_signal_index=<value optimized out>, to_signal_index=<value optimized out>,
argv=0x0) at kernel/qobject.cpp:3112
#10 0x00007f2b29f8474a in PackageKit::Transaction::qt_metacall (this=0x2987c40,
_c=InvokeMetaMethod, _id=0, _a=0x7fff74eca8d0) at transaction.moc:198
#11 0x00000034f195408c in QMetaObject::activate (sender=0x29ffa20,
from_signal_index=<value optimized out>, to_signal_index=<value optimized out>,
argv=0x0) at kernel/qobject.cpp:3112
#12 0x00007f2b29f8bd44 in PackageKit::TransactionProxy::qt_metacall
(this=0x29ffa20, _c=InvokeMetaMethod, _id=3, _a=0x7fff74ecb720) at
transactionproxy.moc:235
#13 0x00000034f1022e84 in QDBusConnectionPrivate::deliverCall (this=<value
optimized out>, object=<value optimized out>, msg=<value optimized out>,
metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:891
#14 0x00000034f102a61f in QDBusCallDeliveryEvent::placeMetaCall(QObject*) ()
from /usr/lib64/libQtDBus.so.4
#15 0x00000034f194e401 in QObject::event (this=0x29ffa20, e=0x2fb21e0) at
kernel/qobject.cpp:1110
#16 0x00000034f398f65c in QApplicationPrivate::notify_helper (this=0x23933c0,
receiver=0x29ffa20, e=0x2fb21e0) at kernel/qapplication.cpp:4065
#17 0x00000034f39968ce in QApplication::notify (this=<value optimized out>,
receiver=0x29ffa20, e=0x2fb21e0) at kernel/qapplication.cpp:4030
#18 0x00000034f5611a66 in KApplication::notify (this=0x7fff74ed0c40,
receiver=0x29ffa20, event=0x2fb21e0) at
/usr/src/debug/kdelibs-4.3.4/kdeui/kernel/kapplication.cpp:302
...
Comment 3 Dario Andres 2009-12-31 14:54:53 UTC
*** Bug 220787 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2010-01-04 23:55:50 UTC
*** Bug 221224 has been marked as a duplicate of this bug. ***
Comment 5 Dario Andres 2010-01-08 14:34:08 UTC
*** Bug 221659 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2010-01-09 19:44:57 UTC
*** Bug 221876 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2010-01-20 14:07:42 UTC
*** Bug 223520 has been marked as a duplicate of this bug. ***
Comment 8 Daniel Nicoletti 2010-01-27 12:42:25 UTC
*** Bug 224168 has been marked as a duplicate of this bug. ***
Comment 9 Dario Andres 2010-02-03 13:43:37 UTC
*** Bug 225348 has been marked as a duplicate of this bug. ***
Comment 10 Dario Andres 2010-02-15 19:57:51 UTC
*** Bug 227054 has been marked as a duplicate of this bug. ***
Comment 11 Dario Andres 2010-02-15 21:11:20 UTC
*** Bug 227069 has been marked as a duplicate of this bug. ***
Comment 12 Dario Andres 2010-02-16 15:44:34 UTC
*** Bug 227193 has been marked as a duplicate of this bug. ***
Comment 13 Dario Andres 2010-02-19 23:10:39 UTC
*** Bug 227580 has been marked as a duplicate of this bug. ***
Comment 14 Andrew 2010-02-20 15:47:31 UTC
I was experiencing this bug as well. The steps I took to cause it were exactly like those given by Chris Hackmeyer in the bug description.

In the meantime, I've been able to work around it by deselecting "x Configuration Update" packages and upgrading everything else. When that has completed, perform a yum update via the command line:

su -c 'yum update'

At this point, I was prompted to import keys for the repositories holding the configuration update packages. Confirm the import, and proceed with the update. I've not experienced this crash since doing so.

To touch on Daniel Nicoletti's question in comment #1, this crash would occur every time I tried to install updates, bugfixes, security updates, etc. via KPackageKit when the configuration update packages whose keys had not been imported were in the list.

Thank you for looking into this, and good luck!
Comment 15 Andrew 2010-02-20 15:59:58 UTC
(In reply to comment #14)
> I was experiencing this bug as well. The steps I took to cause it were exactly
> like those given by Chris Hackmeyer in the bug description.
> 
> In the meantime, I've been able to work around it by deselecting "x
> Configuration Update" packages and upgrading everything else. When that has
> completed, perform a yum update via the command line:
> 
> su -c 'yum update'
> 
> At this point, I was prompted to import keys for the repositories holding the
> configuration update packages. Confirm the import, and proceed with the update.
> I've not experienced this crash since doing so.
> 
> To touch on Daniel Nicoletti's question in comment #1, this crash would occur
> every time I tried to install updates, bugfixes, security updates, etc. via
> KPackageKit when the configuration update packages whose keys had not been
> imported were in the list.
> 
> Thank you for looking into this, and good luck!

Sorry for not including this in my first comment:

$ kpackagekit --version
Qt: 4.5.3
KDE: 4.3.5 (KDE 4.3.5)
KPackageKit: 0.5.4

Distro / Version: Fedora 12
The packages in question were rpmfusion-free-release and rpmfusion-nonfree-release from repositories rpmfusion-free and rpmfusion-nonfree, respectively.
Comment 16 Martin Naď 2010-02-20 18:19:57 UTC
*** Bug 227832 has been marked as a duplicate of this bug. ***
Comment 17 Dario Andres 2010-02-20 20:37:55 UTC
*** Bug 227831 has been marked as a duplicate of this bug. ***
Comment 18 Dario Andres 2010-02-21 23:30:27 UTC
From bug 227973:
What I was doing when the application crashed:
I configured new JPackage repo (first time on this system) and was trying to
update few packages. KPackageKit asked me about trusting JPackage's GPG key,
asked me about my credentials one hundred and sixty times ;-) and crashed. I
might have made a typo somewhere in login box
Comment 19 Dario Andres 2010-02-21 23:30:32 UTC
*** Bug 227973 has been marked as a duplicate of this bug. ***
Comment 20 Dario Andres 2010-02-22 03:18:03 UTC
*** Bug 227995 has been marked as a duplicate of this bug. ***
Comment 21 Dario Andres 2010-02-23 13:11:31 UTC
Bug 228144 seems related but has another steps to reproduce:
(1) start kpackagekit
(2) click 'software updates' button
(3) click 'cancel' button as kpackagekit is searching for software updates
Comment 22 Dario Andres 2010-02-28 14:30:44 UTC
*** Bug 228874 has been marked as a duplicate of this bug. ***
Comment 23 Dario Andres 2010-02-28 14:50:41 UTC
*** Bug 228882 has been marked as a duplicate of this bug. ***
Comment 24 Dario Andres 2010-03-14 23:50:19 UTC
*** Bug 229437 has been marked as a duplicate of this bug. ***
Comment 25 Dario Andres 2010-03-14 23:53:42 UTC
Other reports with the same backtrace but different situation:
bug 228851, bug 228798, bug 228144, bug 230053, bug 227580; and the RPM Fusion repo ones.. (bug 230659 and others)
Comment 26 Dario Andres 2010-03-17 22:52:15 UTC
From bug 231156:
-- Information about the crash:
KPackageKit reported unregnized signer/signature (Fedora 12) and prompted for
root password to proceed with install.  After clicking "Allow" and entering the
root password twice, KPackageKit crashes
Comment 27 Dario Andres 2010-03-17 22:52:19 UTC
*** Bug 231156 has been marked as a duplicate of this bug. ***
Comment 28 Dario Andres 2010-03-26 13:26:51 UTC
From bug 232195:
-- Information about the crash:
Crashed while importing key from google (installing chrome)

 -- Backtrace:
#6  0x0473d24e in percentage (this=0x9001080) at transactionproxy.h:57
#7  PackageKit::Transaction::percentage (this=0x9001080) at transaction.cpp:135
#8  0x04695463 in KpkTransaction::updateUi() () from
/usr/lib/libkpackagekitlib.so
#9  0x04698456 in KpkTransaction::qt_metacall(QMetaObject::Call, int, void**)
() from /usr/lib/libkpackagekitlib.so
#10 0x070fc5db in QMetaObject::metacall (object=0x8fabbb8, cl=InvokeMetaMethod,
idx=78, argv=0xbf823e4c) at kernel/qmetaobject.cpp:237
#11 0x0710b4af in QMetaObject::activate (sender=0x9051558, m=0x4762144,
local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#12 0x0473cdc8 in PackageKit::Transaction::changed (this=0x9051558) at
transaction.moc:237
#13 0x0473ec01 in PackageKit::Transaction::qt_metacall (this=0x9051558,
_c=InvokeMetaMethod, _id=0, _a=0xbf823fec) at transaction.moc:204
#14 0x070fc5db in QMetaObject::metacall (object=0x9051558, cl=InvokeMetaMethod,
idx=4, argv=0xbf823fec) at kernel/qmetaobject.cpp:237
#15 0x0710b4af in QMetaObject::activate (sender=0x8eec9e8, m=0x4762204,
local_signal_index=3, argv=0x0) at kernel/qobject.cpp:3293
#16 0x04746108 in PackageKit::TransactionProxy::Changed (this=0x8eec9e8) at
transactionproxy.moc:411
#17 0x04746ac3 in PackageKit::TransactionProxy::qt_metacall (this=0x8eec9e8,
_c=InvokeMetaMethod, _id=3, _a=0xbf82463c) at transactionproxy.moc:241
...
Comment 29 Dario Andres 2010-03-26 13:27:13 UTC
*** Bug 232195 has been marked as a duplicate of this bug. ***
Comment 30 Dario Andres 2010-03-27 23:31:44 UTC
*** Bug 232300 has been marked as a duplicate of this bug. ***
Comment 31 Dario Andres 2010-04-11 01:03:27 UTC
*** Bug 233687 has been marked as a duplicate of this bug. ***
Comment 32 Petronio Nunes 2010-04-13 01:53:49 UTC
Created attachment 42734 [details]
New crash information added by DrKonqi

PackagesKit crashes when I type root password
Comment 33 Dario Andres 2010-04-18 12:45:26 UTC
*** Bug 234677 has been marked as a duplicate of this bug. ***
Comment 34 Yuriy 2010-05-16 09:00:19 UTC
Created attachment 43622 [details]
New crash information added by DrKonqi

Also in a tray appear a notification about installing the packages that needs to restart the system, but after pressing a button "restart" in this notification - nothing happends
Comment 35 Jonathan Thomas 2010-05-27 15:43:35 UTC
*** Bug 238964 has been marked as a duplicate of this bug. ***
Comment 36 Jonathan Thomas 2010-05-27 15:44:01 UTC
*** Bug 238833 has been marked as a duplicate of this bug. ***
Comment 37 Jonathan Thomas 2010-05-27 15:44:43 UTC
*** Bug 237944 has been marked as a duplicate of this bug. ***
Comment 38 Jonathan Thomas 2010-05-27 15:46:22 UTC
*** Bug 237460 has been marked as a duplicate of this bug. ***
Comment 39 Jonathan Thomas 2010-05-27 15:46:47 UTC
*** Bug 237454 has been marked as a duplicate of this bug. ***
Comment 40 Jonathan Thomas 2010-05-27 15:47:17 UTC
*** Bug 237443 has been marked as a duplicate of this bug. ***
Comment 41 Jonathan Thomas 2010-05-27 15:47:47 UTC
*** Bug 237418 has been marked as a duplicate of this bug. ***
Comment 42 Jonathan Thomas 2010-05-27 15:48:28 UTC
*** Bug 237240 has been marked as a duplicate of this bug. ***
Comment 43 Jonathan Thomas 2010-05-27 15:48:49 UTC
*** Bug 236564 has been marked as a duplicate of this bug. ***
Comment 44 Jonathan Thomas 2010-05-27 15:49:26 UTC
*** Bug 234357 has been marked as a duplicate of this bug. ***
Comment 45 Jonathan Thomas 2010-05-27 15:50:15 UTC
*** Bug 234089 has been marked as a duplicate of this bug. ***
Comment 46 Jonathan Thomas 2010-05-27 15:50:48 UTC
*** Bug 236113 has been marked as a duplicate of this bug. ***
Comment 47 sonya.huang 2010-05-31 19:19:13 UTC
Created attachment 47528 [details]
New crash information added by DrKonqi

KPackageKit always crashes shortly after clicking "yes" to untrusted source dialog and entering root password to authenticate rpmfusion-nonfree updates.
Comment 48 Nicolas L. 2010-06-22 00:01:45 UTC
From bug 242309 

82    T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#5  0x0000003f7f021974 in percentage (this=<value optimized out>) at
transactionproxy.h:57
#6  PackageKit::Transaction::percentage (this=<value optimized out>) at
transaction.cpp:135
#7  0x00000035f50196a4 in KpkTransaction::updateUi (this=0x1a1aad0) at
/usr/src/debug/kpackagekit-0.5.4/libkpackagekit/KpkTransaction.cpp:225
#8  0x00000035f501c32c in KpkTransaction::qt_metacall (this=0x1a1aad0,
_c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffdebca060)
    at
/usr/src/debug/kpackagekit-0.5.4/x86_64-redhat-linux-gnu/libkpackagekit/KpkTransaction.moc:107
#9  0x00007f8f191ad2af in QMetaObject::activate (sender=0x1dc78e0, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x0) at
kernel/qobject.cpp:3293
#10 0x0000003f7f022f3a in PackageKit::Transaction::qt_metacall (this=0x1dc78e0,
_c=InvokeMetaMethod, _id=0, _a=0x7fffdebca230) at transaction.moc:204
#11 0x00007f8f191ad2af in QMetaObject::activate (sender=0x1d44990, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x0) at
kernel/qobject.cpp:3293
#12 0x0000003f7f02a424 in PackageKit::TransactionProxy::qt_metacall
(this=0x1d44990, _c=InvokeMetaMethod, _id=3, _a=0x7fffdebcb030) at
transactionproxy.moc:241
#13 0x00007f8f19947c26 in QDBusConnectionPrivate::deliverCall (this=<value
optimized out>, object=<value optimized out>, msg=<value optimized out>,
metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:904
Comment 49 Nicolas L. 2010-06-22 00:01:54 UTC
*** Bug 242309 has been marked as a duplicate of this bug. ***
Comment 50 Nicolas L. 2010-07-13 12:52:07 UTC
*** Bug 239854 has been marked as a duplicate of this bug. ***
Comment 51 Nicolas L. 2010-07-13 12:52:14 UTC
*** Bug 242610 has been marked as a duplicate of this bug. ***
Comment 52 Nicolas L. 2010-07-13 12:52:20 UTC
*** Bug 242701 has been marked as a duplicate of this bug. ***
Comment 53 Nicolas L. 2010-07-13 12:52:27 UTC
*** Bug 244426 has been marked as a duplicate of this bug. ***
Comment 54 Jonathan Thomas 2010-07-21 16:52:01 UTC
*** Bug 228851 has been marked as a duplicate of this bug. ***
Comment 55 Jonathan Thomas 2010-07-21 17:46:21 UTC
*** Bug 230659 has been marked as a duplicate of this bug. ***
Comment 56 Jonathan Thomas 2010-07-22 16:56:35 UTC
*** Bug 230776 has been marked as a duplicate of this bug. ***
Comment 57 Nicolas L. 2010-08-02 10:42:08 UTC
*** Bug 246393 has been marked as a duplicate of this bug. ***
Comment 58 Daniel Nicoletti 2010-08-14 22:10:21 UTC
*** Bug 227315 has been marked as a duplicate of this bug. ***
Comment 59 Daniel Nicoletti 2010-08-16 07:42:26 UTC
http://websvn.kde.org/?view=revision&revision=1164146
Fixes bug #220344 which was doing the wrong thing when an untrusted repository had to be signed.
Tested with rpm-fusion-free, rpm-fusion-non-free and livna.

This fix will be available in KPackageKit 0.6.1
Comment 60 Nicolas L. 2010-08-23 08:46:02 UTC
*** Bug 248740 has been marked as a duplicate of this bug. ***
Comment 61 akibukis 2010-09-06 04:32:22 UTC
Created attachment 51353 [details]
New crash information added by DrKonqi

kpackagekit (0.5.4) on KDE Platform 4.5.00 (KDE 4.5.0) using Qt 4.7.0

- What I was doing when the application crashed:

The same operations: kpackagekit crashes after canceling the update. Every time.

-- Backtrace (Reduced):
#8  0xb71ea13d in QObject::property (this=0x9b6b000, name=0xb7443a47 "Percentage") at kernel/qobject.cpp:3452
#9  0xb73c0330 in QDBusAbstractInterface::internalPropGet (this=0x9b6b000, propname=0xb7443a47 "Percentage") at qdbusabstractinterface.cpp:600
#11 0xb7058572 in KpkTransactionBar::updateUi() () from /usr/lib/libkpackagekitlib.so
#12 0xb7042333 in KpkTransactionBar::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkpackagekitlib.so
[...]
[...]
#15 0xb742b1a7 in PackageKit::Transaction::changed() () from /usr/lib/libpackagekit-qt.so.12
Comment 62 Christoph Feck 2010-09-23 01:33:07 UTC
*** Bug 252088 has been marked as a duplicate of this bug. ***
Comment 63 Christoph Feck 2010-09-23 01:33:09 UTC
*** Bug 252087 has been marked as a duplicate of this bug. ***
Comment 64 Daniel Nicoletti 2010-09-26 05:06:02 UTC
*** Bug 251849 has been marked as a duplicate of this bug. ***
Comment 65 Christoph Feck 2010-10-23 21:50:27 UTC
*** Bug 254370 has been marked as a duplicate of this bug. ***
Comment 66 Christoph Feck 2010-10-23 21:50:55 UTC
*** Bug 253832 has been marked as a duplicate of this bug. ***
Comment 67 Christoph Feck 2010-10-23 21:51:13 UTC
*** Bug 253460 has been marked as a duplicate of this bug. ***
Comment 68 Christoph Feck 2010-10-23 21:51:32 UTC
*** Bug 252967 has been marked as a duplicate of this bug. ***
Comment 69 Dario Andres 2010-12-19 16:12:14 UTC
*** Bug 260670 has been marked as a duplicate of this bug. ***
Comment 70 Dario Andres 2011-03-08 21:16:19 UTC
*** Bug 256328 has been marked as a duplicate of this bug. ***
Comment 71 Dario Andres 2011-03-08 21:16:37 UTC
*** Bug 267827 has been marked as a duplicate of this bug. ***
Comment 72 Jacques 2011-05-11 13:14:11 UTC
Created attachment 59902 [details]
New crash information added by DrKonqi

I was attempting to install an update to Adobe Reader after being prompted by the update checking process.  KPackageKit said it was from an untrusted source, asking if I recognized and trusted the source. I clicked "Yes". Then I was asked to authenticate, so I entered the root password to proceed with the update. KPackageKit did some work and crashed after a short time. I have encountered this situation several times before and can reproduce it anytime I try again.  This also happens with other updates and installs, not only when the source is marked as "untrusted".