Bug 231857

Summary: System Settins crashes after cancelling Software Updates inital refreshing
Product: [Unmaintained] kpackagekit Reporter: Kris <komealy>
Component: generalAssignee: Steven M. Parrish <smparrish>
Status: RESOLVED DUPLICATE    
Severity: crash CC: dantti12, echidnaman
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kris 2010-03-23 01:30:59 UTC
Application: systemsettings (1.0)
KDE Platform Version: 4.4.1 (KDE 4.4.1)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-16-generic x86_64
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
If you hit cancel on the updating portion of the Software updates, it crashes. If you wait till it is done, then update manually, it works fine. This only happens if you hit cancel quickly when it first opens.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7fc3c5bc9710 (LWP 9037)):
#0  0x00007fff8ffa0904 in clock_gettime ()
#1  0x00007fc3ced1c09f in *__GI_clock_gettime (clock_id=1, tp=0x7fc3c5bc8a60) at ../sysdeps/unix/clock_gettime.c:100
#2  0x00007fc3d3d2292f in qt_gettime () at kernel/qcore_unix.cpp:111
#3  0x00007fc3d3d2763d in QTimerInfoList::updateCurrentTime (this=0x1) at kernel/qeventdispatcher_unix.cpp:340
#4  0x00007fc3d3d27665 in QTimerInfoList::timerWait (this=0x1, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#5  0x00007fc3d3d256ed in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7fc3c5bc8b7c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00007fc3d3d25795 in timerSourcePrepare (source=0x1, timeout=0x7fc3c5bc8a60) at kernel/qeventdispatcher_glib.cpp:169
#7  0x00007fc3d0806a21 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x00007fc3d0806e88 in ?? () from /lib/libglib-2.0.so.0
#9  0x00007fc3d080746c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x00007fc3d3d254f6 in QEventDispatcherGlib::processEvents (this=0x17614d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#11 0x00007fc3d3cfa922 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#12 0x00007fc3d3cfacfc in QEventLoop::exec (this=0x7fc3c5bc8d10, flags=) at kernel/qeventloop.cpp:201
#13 0x00007fc3d3c04d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#14 0x00007fc3d3cdb118 in QInotifyFileSystemWatcherEngine::run (this=0x1870170) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x00007fc3d3c07775 in QThreadPrivate::start (arg=0x1870170) at thread/qthread_unix.cpp:248
#16 0x00007fc3d11759ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#17 0x00007fc3d35de6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc3d6062800 (LWP 9036)):
[KCrash Handler]
#5  0x00007fc3c4f89734 in PackageKit::Transaction::percentage() const () from /usr/lib/libpackagekit-qt.so.12
#6  0x00007fc3c4b10292 in KpkTransactionBar::updateUi() () from /usr/lib/libkpackagekitlib.so
#7  0x00007fc3c4afc33c in KpkTransactionBar::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkpackagekitlib.so
#8  0x00007fc3d3d0edcf in QMetaObject::activate (sender=0x19ad8d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff8fe35f30) at kernel/qobject.cpp:3293
#9  0x00007fc3c4f8ae7a in PackageKit::Transaction::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libpackagekit-qt.so.12
#10 0x00007fc3d3d0edcf in QMetaObject::activate (sender=0x19629b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff8fe35f30) at kernel/qobject.cpp:3293
#11 0x00007fc3c4f927e4 in PackageKit::TransactionProxy::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libpackagekit-qt.so.12
#12 0x00007fc3d4035486 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:904
#13 0x00007fc3d404005f in QDBusCallDeliveryEvent::placeMetaCall(QObject*) () from /usr/lib/libQtDBus.so.4
#14 0x00007fc3d3d0bcd9 in QObject::event (this=0x19629b0, e=0x19c1bd0) at kernel/qobject.cpp:1248
#15 0x00007fc3d48ee22c in QApplicationPrivate::notify_helper (this=0x1443d70, receiver=0x19629b0, e=0x19c1bd0) at kernel/qapplication.cpp:4300
#16 0x00007fc3d48f46fb in QApplication::notify (this=0x7fff8fe39f80, receiver=0x19629b0, e=0x19c1bd0) at kernel/qapplication.cpp:4183
#17 0x00007fc3d55f9506 in KApplication::notify (this=0x7fff8fe39f80, receiver=0x19629b0, event=0x19c1bd0) at ../../kdeui/kernel/kapplication.cpp:302
#18 0x00007fc3d3cfbffc in QCoreApplication::notifyInternal (this=0x7fff8fe39f80, receiver=0x19629b0, event=0x19c1bd0) at kernel/qcoreapplication.cpp:704
#19 0x00007fc3d3cfe777 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x140ecb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#20 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x140ecb0) at kernel/qcoreapplication.cpp:1345
#21 0x00007fc3d3d25963 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#22 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#23 0x00007fc3d0803432 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#24 0x00007fc3d08072b8 in ?? () from /lib/libglib-2.0.so.0
#25 0x00007fc3d080746c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#26 0x00007fc3d3d254a3 in QEventDispatcherGlib::processEvents (this=0x140e7f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#27 0x00007fc3d499e30e in QGuiEventDispatcherGlib::processEvents (this=0x7fff8fe35e00, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007fc3d3cfa922 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#29 0x00007fc3d3cfacfc in QEventLoop::exec (this=0x7fff8fe37ac0, flags=) at kernel/qeventloop.cpp:201
#30 0x00007fc3d4db800e in QDialog::exec (this=0x19cdb30) at dialogs/qdialog.cpp:546
#31 0x00007fc3d557b865 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
#32 0x00007fc3d557cb10 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
#33 0x00007fc3d557cec9 in KMessageBox::detailedSorryWId (parent_id=<value optimized out>, text=..., details=..., caption=..., options=) at ../../kdeui/dialogs/kmessagebox.cpp:951
#34 0x00007fc3d557cff2 in KMessageBox::detailedSorry (parent=<value optimized out>, text=..., details=..., caption=..., options=<value optimized out>) at ../../kdeui/dialogs/kmessagebox.cpp:928
#35 0x00007fc3c376f10c in ?? () from /usr/lib/kde4/kcm_kpk_update.so
#36 0x00007fc3c376ff40 in ?? () from /usr/lib/kde4/kcm_kpk_update.so
#37 0x00007fc3d3d0edcf in QMetaObject::activate (sender=0x19ad8d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff8fe35f30) at kernel/qobject.cpp:3293
#38 0x00007fc3c4f88e26 in PackageKit::Transaction::errorCode(PackageKit::Client::ErrorType, QString const&) () from /usr/lib/libpackagekit-qt.so.12
#39 0x00007fc3c4f8f5a6 in PackageKit::TransactionPrivate::errorCode(QString const&, QString const&) () from /usr/lib/libpackagekit-qt.so.12
#40 0x00007fc3c4f90884 in PackageKit::TransactionPrivate::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libpackagekit-qt.so.12
#41 0x00007fc3d3d0edcf in QMetaObject::activate (sender=0x19629b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff8fe35f30) at kernel/qobject.cpp:3293
#42 0x00007fc3c4f91ffa in PackageKit::TransactionProxy::ErrorCode(QString const&, QString const&) () from /usr/lib/libpackagekit-qt.so.12
#43 0x00007fc3c4f9284b in PackageKit::TransactionProxy::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libpackagekit-qt.so.12
#44 0x00007fc3d4035486 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:904
#45 0x00007fc3d404005f in QDBusCallDeliveryEvent::placeMetaCall(QObject*) () from /usr/lib/libQtDBus.so.4
#46 0x00007fc3d3d0bcd9 in QObject::event (this=0x19629b0, e=0x19918b0) at kernel/qobject.cpp:1248
#47 0x00007fc3d48ee22c in QApplicationPrivate::notify_helper (this=0x1443d70, receiver=0x19629b0, e=0x19918b0) at kernel/qapplication.cpp:4300
#48 0x00007fc3d48f46fb in QApplication::notify (this=0x7fff8fe39f80, receiver=0x19629b0, e=0x19918b0) at kernel/qapplication.cpp:4183
#49 0x00007fc3d55f9506 in KApplication::notify (this=0x7fff8fe39f80, receiver=0x19629b0, event=0x19918b0) at ../../kdeui/kernel/kapplication.cpp:302
#50 0x00007fc3d3cfbffc in QCoreApplication::notifyInternal (this=0x7fff8fe39f80, receiver=0x19629b0, event=0x19918b0) at kernel/qcoreapplication.cpp:704
#51 0x00007fc3d3cfe777 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x140ecb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#52 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x140ecb0) at kernel/qcoreapplication.cpp:1345
#53 0x00007fc3d3d25963 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#54 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#55 0x00007fc3d0803432 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#56 0x00007fc3d08072b8 in ?? () from /lib/libglib-2.0.so.0
#57 0x00007fc3d080746c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#58 0x00007fc3d3d254a3 in QEventDispatcherGlib::processEvents (this=0x140e7f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#59 0x00007fc3d499e30e in QGuiEventDispatcherGlib::processEvents (this=0x7fff8fe35e00, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#60 0x00007fc3d3cfa922 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#61 0x00007fc3d3cfacfc in QEventLoop::exec (this=0x7fff8fe39ed0, flags=) at kernel/qeventloop.cpp:201
#62 0x00007fc3d3cfea3b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#63 0x00000000004110d9 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../systemsettings/app/main.cpp:49

Reported using DrKonqi
Comment 1 Jonathan Thomas 2010-03-26 00:39:08 UTC

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