Bug 241489

Summary: "Software Updates" crashes when canceling "Waiting for other tasks" at the beginning
Product: [Unmaintained] kpackagekit Reporter: Daniel Hahler <kde-bugzilla>
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 Daniel Hahler 2010-06-12 02:16:30 UTC
Application: systemsettings (1.0)
KDE Platform Version: 4.4.85 (KDE 4.4.85 (KDE 4.5 Beta2))
Qt Version: 4.7.0
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

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

1. Go to System Settings
2. Open "Software Updates"
3. At the bottom the "Waiting for other tasks" progress runs "forever" (at least some minutes)
4. Press Cancel
5. It crashes

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7703710 (LWP 5949))]

Thread 2 (Thread 0xb4294b70 (LWP 5954)):
#0  0x00c48e16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x00a0aceb in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x00ae1045 in QTimerInfoList::updateCurrentTime (this=0x9f01d2c) at kernel/qeventdispatcher_unix.cpp:339
#4  0x00ae108a in QTimerInfoList::timerWait (this=0x9f01d2c, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x00adf128 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb42940bc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00adf1b5 in timerSourcePrepare (source=0x0, timeout=0xc4cff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x00e61aca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x00e61ee9 in ?? () from /lib/libglib-2.0.so.0
#9  0x00e624b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x00adef1f in QEventDispatcherGlib::processEvents (this=0x9df57a0, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#11 0x00aaf1a9 in QEventLoop::processEvents (this=0xb4294290, flags=) at kernel/qeventloop.cpp:149
#12 0x00aaf5fa in QEventLoop::exec (this=0xb4294290, flags=...) at kernel/qeventloop.cpp:201
#13 0x009acaee in QThread::exec (this=0x9ec4988) at thread/qthread.cpp:490
#14 0x00a8e2eb in QInotifyFileSystemWatcherEngine::run (this=0x9ec4988) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x009afdc9 in QThreadPrivate::start (arg=0x9ec4988) at thread/qthread_unix.cpp:266
#16 0x004db96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#17 0x064fea4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7703710 (LWP 5949)):
[KCrash Handler]
#7  QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::data (this=0xbd89ffff, name=0x4157a47 "Percentage") at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
#8  qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > > (this=0xbd89ffff, name=0x4157a47 "Percentage") at ../../include/QtCore/../../src/corelib/global/qglobal.h:2333
#9  QObject::d_func (this=0xbd89ffff, name=0x4157a47 "Percentage") at ../../include/QtCore/../../src/corelib/kernel/qobject.h:125
#10 QObject::property (this=0xbd89ffff, name=0x4157a47 "Percentage") at kernel/qobject.cpp:3451
#11 0x00ce20c0 in QDBusAbstractInterface::internalPropGet (this=0xbd89ffff, propname=0x4157a47 "Percentage") at qdbusabstractinterface.cpp:597
#12 0x0413fbbc in PackageKit::Transaction::percentage() const () from /usr/lib/libpackagekit-qt.so.12
#13 0x061a21a2 in KpkTransactionBar::updateUi() () from /usr/lib/libkpackagekitlib.so
#14 0x0618c2b3 in KpkTransactionBar::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkpackagekitlib.so
#15 0x00ab642a in QMetaObject::metacall (object=0x9cc9be0, cl=3219894684, idx=0, argv=0x9cc9be0) at kernel/qmetaobject.cpp:237
#16 0x00ac91a5 in QMetaObject::activate (sender=0xa0db6c0, m=0x4165cc4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#17 0x0413f1a7 in PackageKit::Transaction::changed() () from /usr/lib/libpackagekit-qt.so.12
#18 0x041416f1 in PackageKit::Transaction::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libpackagekit-qt.so.12
#19 0x00ab642a in QMetaObject::metacall (object=0xa0db6c0, cl=3219894684, idx=4, argv=0xbfebb33c) at kernel/qmetaobject.cpp:237
#20 0x00ac91a5 in QMetaObject::activate (sender=0x9fdf1a8, m=0x4165d84, local_signal_index=3, argv=0x0) at kernel/qobject.cpp:3280
#21 0x04148f07 in PackageKit::TransactionProxy::Changed() () from /usr/lib/libpackagekit-qt.so.12
#22 0x0414991a in PackageKit::TransactionProxy::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libpackagekit-qt.so.12
#23 0x00cd2034 in QDBusConnectionPrivate::deliverCall (this=0xa2990f0, object=0x9fdf1a8, msg=..., metaTypes=..., slotIdx=8) at qdbusintegrator.cpp:909
#24 0x00cdd687 in QDBusCallDeliveryEvent::placeMetaCall (this=0x9b93150, object=0x9fdf1a8) at qdbusintegrator_p.h:103
#25 0x00ac31b2 in QObject::event (this=0x9fdf1a8, e=0x9cc9be0) at kernel/qobject.cpp:1219
#26 0x0106332c in QApplicationPrivate::notify_helper (this=0x9b42048, receiver=0x9fdf1a8, e=0x9b93150) at kernel/qapplication.cpp:4358
#27 0x0106a6fe in QApplication::notify (this=0xbfebd8ec, receiver=0x9fdf1a8, e=0x9b93150) at kernel/qapplication.cpp:3762
#28 0x002f990a in KApplication::notify (this=0xbfebd8ec, receiver=0x9fdf1a8, event=0x9b93150) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x00ab06cb in QCoreApplication::notifyInternal (this=0xbfebd8ec, receiver=0x9fdf1a8, event=0x9b93150) at kernel/qcoreapplication.cpp:732
#30 0x00ab392b in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9b25ef8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9b25ef8) at kernel/qcoreapplication.cpp:1373
#32 0x00ab3aed in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#33 0x00adf3ef in QCoreApplication::sendPostedEvents (s=0x9b55e90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#34 postEventSourceDispatch (s=0x9b55e90) at kernel/qeventdispatcher_glib.cpp:276
#35 0x00e5e5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x00e622d8 in ?? () from /lib/libglib-2.0.so.0
#37 0x00e624b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0x00adeee5 in QEventDispatcherGlib::processEvents (this=0x9b42cb0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#39 0x01124105 in QGuiEventDispatcherGlib::processEvents (this=0x9b42cb0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00aaf1a9 in QEventLoop::processEvents (this=0xbfebc270, flags=) at kernel/qeventloop.cpp:149
#41 0x00aaf5fa in QEventLoop::exec (this=0xbfebc270, flags=...) at kernel/qeventloop.cpp:201
#42 0x015c1213 in QDialog::exec (this=0xa3385f8) at dialogs/qdialog.cpp:546
#43 0x0025ade4 in KMessageBox::createKMessageBox (dialog=0xa3385f8, icon=..., text=..., strlist=..., ask=..., checkboxReturn=0x0, options=..., details=..., notifyType=QMessageBox::Warning)
    at ../../kdeui/dialogs/kmessagebox.cpp:332
#44 0x0025c1bd in KMessageBox::createKMessageBox (dialog=0xa3385f8, icon=QMessageBox::Warning, text=..., strlist=..., ask=..., checkboxReturn=0x0, options=..., details=...)
    at ../../kdeui/dialogs/kmessagebox.cpp:151
#45 0x0025c48d in KMessageBox::detailedSorryWId (parent_id=27320510, text=..., details=..., caption=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:945
#46 0x0025c5af in KMessageBox::detailedSorry (parent=0xa21c088, text=..., details=..., caption=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:923
#47 0x024ed35f in ?? () from /usr/lib/kde4/kcm_kpk_update.so
#48 0x024ee1f6 in ?? () from /usr/lib/kde4/kcm_kpk_update.so
#49 0x00ab642a in QMetaObject::metacall (object=0xa21c088, cl=3219894684, idx=-1075067300, argv=0xbfebc658) at kernel/qmetaobject.cpp:237
#50 0x00ac91a5 in QMetaObject::activate (sender=0xa0db6c0, m=0x4165cc4, local_signal_index=7, argv=0xbfebc794) at kernel/qobject.cpp:3280
#51 0x0413ef69 in PackageKit::Transaction::errorCode(PackageKit::Client::ErrorType, QString const&) () from /usr/lib/libpackagekit-qt.so.12
#52 0x041460c1 in PackageKit::TransactionPrivate::errorCode(QString const&, QString const&) () from /usr/lib/libpackagekit-qt.so.12
#53 0x0414737c in PackageKit::TransactionPrivate::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libpackagekit-qt.so.12
#54 0x00ab642a in QMetaObject::metacall (object=0xa3c9628, cl=3219894684, idx=6, argv=0xbfebc934) at kernel/qmetaobject.cpp:237
#55 0x00ac91a5 in QMetaObject::activate (sender=0x9fdf1a8, m=0x4165d84, local_signal_index=7, argv=0xbfebc934) at kernel/qobject.cpp:3280
#56 0x04148da9 in PackageKit::TransactionProxy::ErrorCode(QString const&, QString const&) () from /usr/lib/libpackagekit-qt.so.12
#57 0x041499b0 in PackageKit::TransactionProxy::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libpackagekit-qt.so.12
#58 0x00cd2034 in QDBusConnectionPrivate::deliverCall (this=0xa2990f0, object=0x9fdf1a8, msg=..., metaTypes=..., slotIdx=12) at qdbusintegrator.cpp:909
#59 0x00cdd687 in QDBusCallDeliveryEvent::placeMetaCall (this=0xa06b360, object=0x9fdf1a8) at qdbusintegrator_p.h:103
#60 0x00ac31b2 in QObject::event (this=0x9fdf1a8, e=0x9cc9be0) at kernel/qobject.cpp:1219
#61 0x0106332c in QApplicationPrivate::notify_helper (this=0x9b42048, receiver=0x9fdf1a8, e=0xa06b360) at kernel/qapplication.cpp:4358
#62 0x0106a6fe in QApplication::notify (this=0xbfebd8ec, receiver=0x9fdf1a8, e=0xa06b360) at kernel/qapplication.cpp:3762
#63 0x002f990a in KApplication::notify (this=0xbfebd8ec, receiver=0x9fdf1a8, event=0xa06b360) at ../../kdeui/kernel/kapplication.cpp:302
#64 0x00ab06cb in QCoreApplication::notifyInternal (this=0xbfebd8ec, receiver=0x9fdf1a8, event=0xa06b360) at kernel/qcoreapplication.cpp:732
#65 0x00ab392b in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9b25ef8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#66 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9b25ef8) at kernel/qcoreapplication.cpp:1373
#67 0x00ab3aed in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#68 0x00adf3ef in QCoreApplication::sendPostedEvents (s=0x9b55e90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#69 postEventSourceDispatch (s=0x9b55e90) at kernel/qeventdispatcher_glib.cpp:276
#70 0x00e5e5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#71 0x00e622d8 in ?? () from /lib/libglib-2.0.so.0
#72 0x00e624b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#73 0x00adeee5 in QEventDispatcherGlib::processEvents (this=0x9b42cb0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#74 0x01124105 in QGuiEventDispatcherGlib::processEvents (this=0x9b42cb0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#75 0x00aaf1a9 in QEventLoop::processEvents (this=0xbfebd844, flags=) at kernel/qeventloop.cpp:149
#76 0x00aaf5fa in QEventLoop::exec (this=0xbfebd844, flags=...) at kernel/qeventloop.cpp:201
#77 0x00ab3baf in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#78 0x01062157 in QApplication::exec () at kernel/qapplication.cpp:3637
#79 0x08057d0e in main (argc=5, argv=0xbfebda34) at ../../../systemsettings/app/main.cpp:49

Reported using DrKonqi
Comment 1 Nicolas L. 2010-07-20 14:53:59 UTC

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