Bug 244943

Summary: KpackageKit crashes on canceling in software updates
Product: [Unmaintained] kpackagekit Reporter: kostia
Component: generalAssignee: Steven M. Parrish <smparrish>
Status: RESOLVED DUPLICATE    
Severity: crash CC: dantti12, kde
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description kostia 2010-07-17 12:13:13 UTC
Application: kpackagekit (0.5.4)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-23-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
KpackageKit firstly checks software updates and only then the reload button can be pressed. If the "cancel" button is pressed while the first check KpackageKit crashes.

The crash can be reproduced every time.

 -- Backtrace:
Application: KPackageKit (kpackagekit), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7709710 (LWP 2357))]

Thread 2 (Thread 0xb5eabb70 (LWP 2363)):
#0  0x00df4e16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x00c0bf5b in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x00c11085 in QTimerInfoList::updateCurrentTime (this=0xb4501a34) at kernel/qeventdispatcher_unix.cpp:340
#3  0x00c110ca in QTimerInfoList::timerWait (this=0xb4501a34, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x00c0f078 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb5eab0cc) at kernel/qeventdispatcher_glib.cpp:136
#5  0x00c0f105 in timerSourcePrepare (source=0x0, timeout=0xdf8ff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x03831aca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x03831ee9 in ?? () from /lib/libglib-2.0.so.0
#8  0x038324b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x00c0ee6f in QEventDispatcherGlib::processEvents (this=0x8ce0b98, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x00be1759 in QEventLoop::processEvents (this=0xb5eab290, flags=) at kernel/qeventloop.cpp:149
#11 0x00be1baa in QEventLoop::exec (this=0xb5eab290, flags=...) at kernel/qeventloop.cpp:201
#12 0x00ae2fc9 in QThread::exec (this=0x8d53d78) at thread/qthread.cpp:487
#13 0x00bc11db in QInotifyFileSystemWatcherEngine::run (this=0x8d53d78) at io/qfilesystemwatcher_inotify.cpp:248
#14 0x00ae597e in QThreadPrivate::start (arg=0x8d53d78) at thread/qthread_unix.cpp:248
#15 0x001e296e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0x019b3a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7709710 (LWP 2357)):
[KCrash Handler]
#6  0x009e3bad in PackageKit::Transaction::percentage() const () from /usr/lib/libpackagekit-qt.so.12
#7  0x001c81a2 in KpkTransactionBar::updateUi() () from /usr/lib/libkpackagekitlib.so
#8  0x001b22b3 in KpkTransactionBar::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkpackagekitlib.so
#9  0x00be847a in QMetaObject::metacall (object=0x8a66638, cl=3219018268, idx=0, argv=0x8a66638) at kernel/qmetaobject.cpp:237
#10 0x00bf6fbb in QMetaObject::activate (sender=0x8d616b8, m=0xa09cc4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3295
#11 0x009e31a7 in PackageKit::Transaction::changed() () from /usr/lib/libpackagekit-qt.so.12
#12 0x009e56f1 in PackageKit::Transaction::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libpackagekit-qt.so.12
#13 0x00be847a in QMetaObject::metacall (object=0x8d616b8, cl=3219018268, idx=4, argv=0xbfde53bc) at kernel/qmetaobject.cpp:237
#14 0x00bf6fbb in QMetaObject::activate (sender=0x8d361b8, m=0xa09d84, local_signal_index=3, argv=0x0) at kernel/qobject.cpp:3295
#15 0x009ecf07 in PackageKit::TransactionProxy::Changed() () from /usr/lib/libpackagekit-qt.so.12
#16 0x009ed91a in PackageKit::TransactionProxy::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libpackagekit-qt.so.12
#17 0x00225df4 in QDBusConnectionPrivate::deliverCall (this=0x8a7f9c0, object=0x8d361b8, msg=..., metaTypes=..., slotIdx=8) at qdbusintegrator.cpp:904
#18 0x00231097 in QDBusCallDeliveryEvent::placeMetaCall (this=0x8e350a0, object=0x8d361b8) at qdbusintegrator_p.h:101
#19 0x00bf3c0e in QObject::event (this=0x8d361b8, e=0x8e350a0) at kernel/qobject.cpp:1248
#20 0x00f9ce8c in QApplicationPrivate::notify_helper (this=0x897f4b0, receiver=0x8d361b8, e=0x8e350a0) at kernel/qapplication.cpp:4302
#21 0x00fa3a0e in QApplication::notify (this=0xbfde798c, receiver=0x8d361b8, e=0x8e350a0) at kernel/qapplication.cpp:3706
#22 0x0052740a in KApplication::notify (this=0xbfde798c, receiver=0x8d361b8, event=0x8e350a0) at ../../kdeui/kernel/kapplication.cpp:302
#23 0x00be313b in QCoreApplication::notifyInternal (this=0xbfde798c, receiver=0x8d361b8, event=0x8e350a0) at kernel/qcoreapplication.cpp:726
#24 0x00be6bfc in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x8961420) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8961420) at kernel/qcoreapplication.cpp:1367
#26 0x00be6d7d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1260
#27 0x00c0f33f in QCoreApplication::sendPostedEvents (s=0x8981710) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#28 postEventSourceDispatch (s=0x8981710) at kernel/qeventdispatcher_glib.cpp:276
#29 0x0382e5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#30 0x038322d8 in ?? () from /lib/libglib-2.0.so.0
#31 0x038324b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#32 0x00c0ee35 in QEventDispatcherGlib::processEvents (this=0x8960fb0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#33 0x0105ce15 in QGuiEventDispatcherGlib::processEvents (this=0x8960fb0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00be1759 in QEventLoop::processEvents (this=0xbfde62f0, flags=) at kernel/qeventloop.cpp:149
#35 0x00be1baa in QEventLoop::exec (this=0xbfde62f0, flags=...) at kernel/qeventloop.cpp:201
#36 0x014dded3 in QDialog::exec (this=0x8e22ca8) at dialogs/qdialog.cpp:546
#37 0x0049c3b4 in KMessageBox::createKMessageBox (dialog=0x8e22ca8, icon=..., text=..., strlist=..., ask=..., checkboxReturn=0x0, options=..., details=..., notifyType=QMessageBox::Warning)
    at ../../kdeui/dialogs/kmessagebox.cpp:333
#38 0x0049d7dd in KMessageBox::createKMessageBox (dialog=0x8e22ca8, icon=QMessageBox::Warning, text=..., strlist=..., ask=..., checkboxReturn=0x0, options=..., details=...)
    at ../../kdeui/dialogs/kmessagebox.cpp:151
#39 0x0049db10 in KMessageBox::detailedSorryWId (parent_id=73400345, text=..., details=..., caption=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:951
#40 0x0049dc3f in KMessageBox::detailedSorry (parent=0x8bd87f0, text=..., details=..., caption=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:928
#41 0x02f4a35f in ?? () from /usr/lib/kde4/kcm_kpk_update.so
#42 0x02f4b1f6 in ?? () from /usr/lib/kde4/kcm_kpk_update.so
#43 0x00be847a in QMetaObject::metacall (object=0x8bd87f0, cl=3219018268, idx=-1075943684, argv=0xbfde66f8) at kernel/qmetaobject.cpp:237
#44 0x00bf6fbb in QMetaObject::activate (sender=0x8d616b8, m=0xa09cc4, local_signal_index=7, argv=0xbfde6834) at kernel/qobject.cpp:3295
#45 0x009e2f69 in PackageKit::Transaction::errorCode(PackageKit::Client::ErrorType, QString const&) () from /usr/lib/libpackagekit-qt.so.12
#46 0x009ea0c1 in PackageKit::TransactionPrivate::errorCode(QString const&, QString const&) () from /usr/lib/libpackagekit-qt.so.12
#47 0x009eb37c in PackageKit::TransactionPrivate::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libpackagekit-qt.so.12
#48 0x00be847a in QMetaObject::metacall (object=0x8d6d728, cl=3219018268, idx=6, argv=0xbfde69d4) at kernel/qmetaobject.cpp:237
#49 0x00bf6fbb in QMetaObject::activate (sender=0x8d361b8, m=0xa09d84, local_signal_index=7, argv=0xbfde69d4) at kernel/qobject.cpp:3295
#50 0x009ecda9 in PackageKit::TransactionProxy::ErrorCode(QString const&, QString const&) () from /usr/lib/libpackagekit-qt.so.12
#51 0x009ed9b0 in PackageKit::TransactionProxy::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libpackagekit-qt.so.12
#52 0x00225df4 in QDBusConnectionPrivate::deliverCall (this=0x8a7f9c0, object=0x8d361b8, msg=..., metaTypes=..., slotIdx=12) at qdbusintegrator.cpp:904
#53 0x00231097 in QDBusCallDeliveryEvent::placeMetaCall (this=0x8e1c7d8, object=0x8d361b8) at qdbusintegrator_p.h:101
#54 0x00bf3c0e in QObject::event (this=0x8d361b8, e=0x8e1c7d8) at kernel/qobject.cpp:1248
#55 0x00f9ce8c in QApplicationPrivate::notify_helper (this=0x897f4b0, receiver=0x8d361b8, e=0x8e1c7d8) at kernel/qapplication.cpp:4302
#56 0x00fa3a0e in QApplication::notify (this=0xbfde798c, receiver=0x8d361b8, e=0x8e1c7d8) at kernel/qapplication.cpp:3706
#57 0x0052740a in KApplication::notify (this=0xbfde798c, receiver=0x8d361b8, event=0x8e1c7d8) at ../../kdeui/kernel/kapplication.cpp:302
#58 0x00be313b in QCoreApplication::notifyInternal (this=0xbfde798c, receiver=0x8d361b8, event=0x8e1c7d8) at kernel/qcoreapplication.cpp:726
#59 0x00be6bfc in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x8961420) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#60 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8961420) at kernel/qcoreapplication.cpp:1367
#61 0x00be6d7d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1260
#62 0x00c0f33f in QCoreApplication::sendPostedEvents (s=0x8981710) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#63 postEventSourceDispatch (s=0x8981710) at kernel/qeventdispatcher_glib.cpp:276
#64 0x0382e5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#65 0x038322d8 in ?? () from /lib/libglib-2.0.so.0
#66 0x038324b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#67 0x00c0ee35 in QEventDispatcherGlib::processEvents (this=0x8960fb0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#68 0x0105ce15 in QGuiEventDispatcherGlib::processEvents (this=0x8960fb0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#69 0x00be1759 in QEventLoop::processEvents (this=0xbfde78e4, flags=) at kernel/qeventloop.cpp:149
#70 0x00be1baa in QEventLoop::exec (this=0xbfde78e4, flags=...) at kernel/qeventloop.cpp:201
#71 0x00be6e3f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#72 0x00f9cf27 in QApplication::exec () at kernel/qapplication.cpp:3581
#73 0x0804d44b in _start ()

This bug may be a duplicate of or related to bug 241489.

Possible duplicates by query: bug 243207, bug 241489, bug 241357, bug 240593, bug 236804.

Reported using DrKonqi
Comment 1 Nicolas L. 2010-07-20 14:54:29 UTC

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