Bug 244531

Summary: KPackageKit crashes on cancel installation
Product: [Unmaintained] kpackagekit Reporter: scorpio <scor-p-io>
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 scorpio 2010-07-13 21:32:35 UTC
Application: kpackagekit (0.5.4)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-23-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
KPackageKit always crashes after closing when i canceled an installation to avoid installing other packages due to dependencies 

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7fba3c0e1710 (LWP 8830)):
#0  0x00007fba453dbf83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fba428aa4a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fba428aa8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fba477bc566 in QEventDispatcherGlib::processEvents (this=0x1df77a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007fba47791992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fba47791d6c in QEventLoop::exec (this=0x7fba3c0e0db0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fba4769bd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fba47772178 in QInotifyFileSystemWatcherEngine::run (this=0x1ee7150) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fba4769e775 in QThreadPrivate::start (arg=0x1ee7150) at thread/qthread_unix.cpp:248
#9  0x00007fba45e399ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fba453e86fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fba48e7e760 (LWP 8826)):
[KCrash Handler]
#5  0x00007fba477a1724 in QObject::metaObject (this=0x1dd5420) at .moc/release-shared/moc_qobject.cpp:90
#6  0x00007fba477a4c6e in QObject::connect (sender=0x202eab0, signal=<value optimized out>, receiver=0x1dd5420, method=0x7fba3b430a4f "1checkChanged()", type=Qt::AutoConnection)
    at kernel/qobject.cpp:2550
#7  0x00007fba477ad92a in QSingleShotTimer (this=0x202eab0, msec=0, receiver=0x1dd5420, member=0x7fba3b430a4f "1checkChanged()") at kernel/qtimer.cpp:291
#8  0x00007fba477ad9d2 in QTimer::singleShot (msec=0, receiver=0x1dd5420, member=0x7fba3b430a4f "1checkChanged()") at kernel/qtimer.cpp:343
#9  0x00007fba3b42706e in ?? () from /usr/lib/kde4/kcm_kpk_addrm.so
#10 0x00007fba3b42758c in ?? () from /usr/lib/kde4/kcm_kpk_addrm.so
#11 0x00007fba477a5e3f in QMetaObject::activate (sender=0x1d29580, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fba47839280) at kernel/qobject.cpp:3293
#12 0x00007fba4841a687 in KCModuleProxy::save (this=<value optimized out>) at ../../kutils/kcmoduleproxy.cpp:279
#13 0x00007fba48416348 in KCMultiDialogPrivate::apply (this=<value optimized out>) at ../../kutils/kcmultidialog.cpp:250
#14 0x00007fba48418b7c in KCMultiDialog::qt_metacall (this=0x1ad3e10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff4c550b10) at ./kcmultidialog.moc:95
#15 0x00007fba477a5e3f in QMetaObject::activate (sender=0x1ad3e10, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fba47839280) at kernel/qobject.cpp:3293
#16 0x00007fba487f139a in KDialog::slotButtonClicked (this=0x1ad3e10, button=8) at ../../kdeui/dialogs/kdialog.cpp:866
#17 0x00007fba487f3329 in KDialog::qt_metacall (this=0x1ad3e10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff4c550d20) at ./kdialog.moc:190
#18 0x00007fba488ba7c0 in KPageDialog::qt_metacall (this=0x1dd5420, _c=14, _id=1280640768, _a=0x7fba47839280) at ./kpagedialog.moc:70
#19 0x00007fba48418a80 in KCMultiDialog::qt_metacall (this=0x1dd5420, _c=14, _id=1280640768, _a=0x7fba47839280) at ./kcmultidialog.moc:86
#20 0x00007fba477a5e3f in QMetaObject::activate (sender=0x1ae5f38, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fba47839280) at kernel/qobject.cpp:3293
#21 0x00007fba477ab15e in QSignalMapper::mapped (this=0x1dd5420, _t1=8) at .moc/release-shared/moc_qsignalmapper.cpp:101
#22 0x00007fba477ac372 in QSignalMapper::map (this=0x1ae5f38, sender=0x1b337b0) at kernel/qsignalmapper.cpp:266
#23 0x00007fba477ac5f0 in QSignalMapper::qt_metacall (this=0x1ae5f38, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff4c550eb0) at .moc/release-shared/moc_qsignalmapper.cpp:87
#24 0x00007fba477a5e3f in QMetaObject::activate (sender=0x1b337b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fba47839280) at kernel/qobject.cpp:3293
#25 0x00007fba46d4a5f2 in QAbstractButton::clicked (this=0x1dd5420, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#26 0x00007fba46a6486b in QAbstractButtonPrivate::emitClicked (this=0x1b4a0e0) at widgets/qabstractbutton.cpp:546
#27 0x00007fba46a6570b in QAbstractButtonPrivate::click (this=0x1b4a0e0) at widgets/qabstractbutton.cpp:539
#28 0x00007fba46a6597c in QAbstractButton::mouseReleaseEvent (this=0x1b337b0, e=0x7fff4c551800) at widgets/qabstractbutton.cpp:1121
#29 0x00007fba46705582 in QWidget::event (this=0x1b337b0, event=0x7fff4c551800) at kernel/qwidget.cpp:7998
#30 0x00007fba466af22c in QApplicationPrivate::notify_helper (this=0x1a22de0, receiver=0x1b337b0, e=0x7fff4c551800) at kernel/qapplication.cpp:4300
#31 0x00007fba466b5ecb in QApplication::notify (this=0x7fff4c552500, receiver=0x1b337b0, e=0x7fff4c551800) at kernel/qapplication.cpp:3865
#32 0x00007fba48881526 in KApplication::notify (this=0x7fff4c552500, receiver=0x1b337b0, event=0x7fff4c551800) at ../../kdeui/kernel/kapplication.cpp:302
#33 0x00007fba4779306c in QCoreApplication::notifyInternal (this=0x7fff4c552500, receiver=0x1b337b0, event=0x7fff4c551800) at kernel/qcoreapplication.cpp:704
#34 0x00007fba466b50ae in QCoreApplication::sendEvent (receiver=0x1b337b0, event=0x7fff4c551800, alienWidget=0x1b337b0, nativeWidget=0x1af0460, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#35 QApplicationPrivate::sendMouseEvent (receiver=0x1b337b0, event=0x7fff4c551800, alienWidget=0x1b337b0, nativeWidget=0x1af0460, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2965
#36 0x00007fba46734f65 in QETWidget::translateMouseEvent (this=0x1af0460, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#37 0x00007fba467338ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff4c552120) at kernel/qapplication_x11.cpp:3501
#38 0x00007fba4675f882 in x11EventSourceDispatch (s=0x1a27ff0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#39 0x00007fba428a68c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0x00007fba428aa748 in ?? () from /lib/libglib-2.0.so.0
#41 0x00007fba428aa8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0x00007fba477bc513 in QEventDispatcherGlib::processEvents (this=0x19fec10, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#43 0x00007fba4675f46e in QGuiEventDispatcherGlib::processEvents (this=0x1dd5420, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007fba47791992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#45 0x00007fba47791d6c in QEventLoop::exec (this=0x7fff4c552450, flags=) at kernel/qeventloop.cpp:201
#46 0x00007fba47795aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#47 0x00000000004067c2 in _start ()

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

Possible duplicates by query: bug 243868, bug 243222, bug 243000, bug 242315, bug 241878.

Reported using DrKonqi
Comment 1 Jonathan Thomas 2010-07-21 15:17:40 UTC

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