Bug 236494

Summary: kpackagekit crash if i cancel cache update
Product: [Unmaintained] kpackagekit Reporter: omega <biasquez>
Component: generalAssignee: Steven M. Parrish <smparrish>
Status: RESOLVED DUPLICATE    
Severity: crash CC: dantti12, kde, tjm1983
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description omega 2010-05-05 23:29:02 UTC
Application: kcmshell4 ()
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
crash step:

- open kpackagekit
- update cache 
- cancel cache update operation
- crash

The crash can be reproduced every time.

 -- Backtrace:
Application: Modulo di controllo di KDE (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#5  QObject::property (this=0x41, name=0x7f62b8940f4b "Percentage") at kernel/qobject.cpp:3462
#6  0x00007f62c969c269 in QDBusAbstractInterface::internalPropGet (this=0x41, propname=0x7f62b8940f4b "Percentage") at qdbusabstractinterface.cpp:595
#7  0x00007f62b892b73d in PackageKit::Transaction::percentage() const () from /usr/lib/libpackagekit-qt.so.12
#8  0x00007f62b84b2262 in KpkTransactionBar::updateUi() () from /usr/lib/libkpackagekitlib.so
#9  0x00007f62b849e33c in KpkTransactionBar::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkpackagekitlib.so
#10 0x00007f62cb2dae3f in QMetaObject::activate (sender=0x168edc0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffa948b420) at kernel/qobject.cpp:3293
#11 0x00007f62b892ce7a in PackageKit::Transaction::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libpackagekit-qt.so.12
#12 0x00007f62cb2dae3f in QMetaObject::activate (sender=0x1613cf0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffa948b420) at kernel/qobject.cpp:3293
#13 0x00007f62b89347e4 in PackageKit::TransactionProxy::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libpackagekit-qt.so.12
#14 0x00007f62c968d486 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:904
#15 0x00007f62c969805f in QDBusCallDeliveryEvent::placeMetaCall(QObject*) () from /usr/lib/libQtDBus.so.4
#16 0x00007f62cb2d7d49 in QObject::event (this=0x1613cf0, e=0x1849140) at kernel/qobject.cpp:1248
#17 0x00007f62ca46422c in QApplicationPrivate::notify_helper (this=0x12d3470, receiver=0x1613cf0, e=0x1849140) at kernel/qapplication.cpp:4300
#18 0x00007f62ca46a6fb in QApplication::notify (this=0x7fffa948f4e0, receiver=0x1613cf0, e=0x1849140) at kernel/qapplication.cpp:4183
#19 0x00007f62cb80f526 in KApplication::notify (this=0x7fffa948f4e0, receiver=0x1613cf0, event=0x1849140) at ../../kdeui/kernel/kapplication.cpp:302
#20 0x00007f62cb2c806c in QCoreApplication::notifyInternal (this=0x7fffa948f4e0, receiver=0x1613cf0, event=0x1849140) at kernel/qcoreapplication.cpp:704
#21 0x00007f62cb2ca7e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x125bc30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x125bc30) at kernel/qcoreapplication.cpp:1345
#23 0x00007f62cb2f19d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#24 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#25 0x00007f62c66ab8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x00007f62c66af748 in ?? () from /lib/libglib-2.0.so.0
#27 0x00007f62c66af8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0x00007f62cb2f1513 in QEventDispatcherGlib::processEvents (this=0x125d140, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#29 0x00007f62ca51446e in QGuiEventDispatcherGlib::processEvents (this=0x7fffa948b2f0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007f62cb2c6992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#31 0x00007f62cb2c6d6c in QEventLoop::exec (this=0x7fffa948cfb0, flags=) at kernel/qeventloop.cpp:201
#32 0x00007f62ca92e09e in QDialog::exec (this=0x1665290) at dialogs/qdialog.cpp:546
#33 0x00007f62cb7918a5 in KMessageBox::createKMessageBox (dialog=<value optimized out>, icon=<value optimized out>, text=<value optimized out>, strlist=<value optimized out>, 
    ask=<value optimized out>, checkboxReturn=<value optimized out>, options=) at ../../kdeui/dialogs/kmessagebox.cpp:333
#34 0x00007f62cb792b50 in KMessageBox::createKMessageBox (dialog=<value optimized out>, icon=QMessageBox::Warning, text=<value optimized out>, strlist=<value optimized out>, ask=..., 
    checkboxReturn=0x0, options=..., details=...) at ../../kdeui/dialogs/kmessagebox.cpp:151
#35 0x00007f62cb792f09 in KMessageBox::detailedSorryWId (parent_id=<value optimized out>, text=..., details=..., caption=..., options=) at ../../kdeui/dialogs/kmessagebox.cpp:951
#36 0x00007f62cb793032 in KMessageBox::detailedSorry (parent=<value optimized out>, text=..., details=..., caption=..., options=<value optimized out>) at ../../kdeui/dialogs/kmessagebox.cpp:928
#37 0x00007f62b8b6008c in ?? () from /usr/lib/kde4/kcm_kpk_update.so
#38 0x00007f62b8b60ec0 in ?? () from /usr/lib/kde4/kcm_kpk_update.so
#39 0x00007f62cb2dae3f in QMetaObject::activate (sender=0x168edc0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffa948b420) at kernel/qobject.cpp:3293
#40 0x00007f62b892ae26 in PackageKit::Transaction::errorCode(PackageKit::Client::ErrorType, QString const&) () from /usr/lib/libpackagekit-qt.so.12
#41 0x00007f62b89315a6 in PackageKit::TransactionPrivate::errorCode(QString const&, QString const&) () from /usr/lib/libpackagekit-qt.so.12
#42 0x00007f62b8932884 in PackageKit::TransactionPrivate::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libpackagekit-qt.so.12
#43 0x00007f62cb2dae3f in QMetaObject::activate (sender=0x1613cf0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffa948b420) at kernel/qobject.cpp:3293
#44 0x00007f62b8933ffa in PackageKit::TransactionProxy::ErrorCode(QString const&, QString const&) () from /usr/lib/libpackagekit-qt.so.12
#45 0x00007f62b893484b in PackageKit::TransactionProxy::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libpackagekit-qt.so.12
#46 0x00007f62c968d486 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:904
#47 0x00007f62c969805f in QDBusCallDeliveryEvent::placeMetaCall(QObject*) () from /usr/lib/libQtDBus.so.4
#48 0x00007f62cb2d7d49 in QObject::event (this=0x1613cf0, e=0x18308a0) at kernel/qobject.cpp:1248
#49 0x00007f62ca46422c in QApplicationPrivate::notify_helper (this=0x12d3470, receiver=0x1613cf0, e=0x18308a0) at kernel/qapplication.cpp:4300
#50 0x00007f62ca46a6fb in QApplication::notify (this=0x7fffa948f4e0, receiver=0x1613cf0, e=0x18308a0) at kernel/qapplication.cpp:4183
#51 0x00007f62cb80f526 in KApplication::notify (this=0x7fffa948f4e0, receiver=0x1613cf0, event=0x18308a0) at ../../kdeui/kernel/kapplication.cpp:302
#52 0x00007f62cb2c806c in QCoreApplication::notifyInternal (this=0x7fffa948f4e0, receiver=0x1613cf0, event=0x18308a0) at kernel/qcoreapplication.cpp:704
#53 0x00007f62cb2ca7e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x125bc30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#54 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x125bc30) at kernel/qcoreapplication.cpp:1345
#55 0x00007f62cb2f19d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#56 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#57 0x00007f62c66ab8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#58 0x00007f62c66af748 in ?? () from /lib/libglib-2.0.so.0
#59 0x00007f62c66af8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#60 0x00007f62cb2f1513 in QEventDispatcherGlib::processEvents (this=0x125d140, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#61 0x00007f62ca51446e in QGuiEventDispatcherGlib::processEvents (this=0x7fffa948b2f0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#62 0x00007f62cb2c6992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#63 0x00007f62cb2c6d6c in QEventLoop::exec (this=0x7fffa948f3c0, flags=) at kernel/qeventloop.cpp:201
#64 0x00007f62ca92e09e in QDialog::exec (this=0x14847f0) at dialogs/qdialog.cpp:546
#65 0x00007f62beb2a910 in kdemain (_argc=<value optimized out>, _argv=<value optimized out>) at ../../kcmshell/main.cpp:272
#66 0x00000000004070f3 in launch (argc=2, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=16, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x40a4f9 "0") at ../../kinit/kinit.cpp:717
#67 0x0000000000407cb0 in handle_launcher_request (sock=8, who=<value optimized out>) at ../../kinit/kinit.cpp:1209
#68 0x000000000040823a in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1402
#69 0x0000000000408e22 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1845

Reported using DrKonqi
Comment 1 Tim McKenzie 2010-05-09 06:34:57 UTC
Created attachment 43384 [details]
New crash information added by DrKonqi

I installed a new repository (via an rpm from their website), and then I wanted to install just one package from that repository (with no dependencies that weren't already satisfied).  KPackageKit put up a window saying something about whether I trusted the signature of the package, and another window in front of that, asking for authorization to install an unsigned package.  I gave the authorization several times, because it kept coming back and asking again.  Finally, I was quick enough to click "Yes" on the window behind (that is, the one that asked about the signature of the package).  This is when the crash happened.
Comment 2 Nicolas L. 2010-07-20 14:54:36 UTC

*** This bug has been marked as a duplicate of bug 241357 ***