Bug 243868

Summary: KPackageKit crashed when I close it.
Product: [Unmaintained] kpackagekit Reporter: vdleviss <leviss.od>
Component: generalAssignee: Steven M. Parrish <smparrish>
Status: RESOLVED DUPLICATE    
Severity: crash CC: dantti12, echidnaman, kilem86, leggis, marsu1, ungalcrys, wearenotamused
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
New crash information added by DrKonqi
New crash information added by DrKonqi

Description vdleviss 2010-07-07 18:14:20 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 crashed when I close it. Before I cancel installing package (when KPK requsted dependencies).

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

Thread 2 (Thread 0x7fa60d50e710 (LWP 4816)):
#0  0x00007fa6167dff83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa613cae4a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fa613cae8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fa618bc0566 in QEventDispatcherGlib::processEvents (this=0x1a28d70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007fa618b95992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fa618b95d6c in QEventLoop::exec (this=0x7fa60d50ddb0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fa618a9fd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fa618b76178 in QInotifyFileSystemWatcherEngine::run (this=0x199ba80) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fa618aa2775 in QThreadPrivate::start (arg=0x199ba80) at thread/qthread_unix.cpp:248
#9  0x00007fa61723d9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fa6167ec6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa61a280760 (LWP 4805)):
[KCrash Handler]
#5  0x00007fa618ba5724 in QObject::metaObject (this=0x1d4d540) at .moc/release-shared/moc_qobject.cpp:90
#6  0x00007fa618ba8c6e in QObject::connect (sender=0x2306360, signal=<value optimized out>, receiver=0x1d4d540, method=0x7fa60c85da4f "1checkChanged()", type=Qt::AutoConnection)
    at kernel/qobject.cpp:2550
#7  0x00007fa618bb192a in QSingleShotTimer (this=0x2306360, msec=0, receiver=0x1d4d540, member=0x7fa60c85da4f "1checkChanged()") at kernel/qtimer.cpp:291
#8  0x00007fa618bb19d2 in QTimer::singleShot (msec=0, receiver=0x1d4d540, member=0x7fa60c85da4f "1checkChanged()") at kernel/qtimer.cpp:343
#9  0x00007fa60c85406e in ?? () from /usr/lib/kde4/kcm_kpk_addrm.so
#10 0x00007fa60c85458c in ?? () from /usr/lib/kde4/kcm_kpk_addrm.so
#11 0x00007fa618ba9e3f in QMetaObject::activate (sender=0x1d32a40, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fa618c3d280) at kernel/qobject.cpp:3293
#12 0x00007fa61981e687 in KCModuleProxy::save (this=<value optimized out>) at ../../kutils/kcmoduleproxy.cpp:279
#13 0x00007fa61981a348 in KCMultiDialogPrivate::apply (this=<value optimized out>) at ../../kutils/kcmultidialog.cpp:250
#14 0x00007fa61981cb7c in KCMultiDialog::qt_metacall (this=0x1a23320, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffb7480d70) at ./kcmultidialog.moc:95
#15 0x00007fa618ba9e3f in QMetaObject::activate (sender=0x1a23320, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fa618c3d280) at kernel/qobject.cpp:3293
#16 0x00007fa619bf539a in KDialog::slotButtonClicked (this=0x1a23320, button=8) at ../../kdeui/dialogs/kdialog.cpp:866
#17 0x00007fa619bf7329 in KDialog::qt_metacall (this=0x1a23320, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffb7480f80) at ./kdialog.moc:190
#18 0x00007fa619cbe7c0 in KPageDialog::qt_metacall (this=0x1d4d540, _c=14, _id=-1220015776, _a=0x7fa618c3d280) at ./kpagedialog.moc:70
#19 0x00007fa61981ca80 in KCMultiDialog::qt_metacall (this=0x1d4d540, _c=14, _id=-1220015776, _a=0x7fa618c3d280) at ./kcmultidialog.moc:86
#20 0x00007fa618ba9e3f in QMetaObject::activate (sender=0x1a61ae8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fa618c3d280) at kernel/qobject.cpp:3293
#21 0x00007fa618baf15e in QSignalMapper::mapped (this=0x1d4d540, _t1=8) at .moc/release-shared/moc_qsignalmapper.cpp:101
#22 0x00007fa618bb0372 in QSignalMapper::map (this=0x1a61ae8, sender=0x199bd20) at kernel/qsignalmapper.cpp:266
#23 0x00007fa618bb05f0 in QSignalMapper::qt_metacall (this=0x1a61ae8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffb7481110) at .moc/release-shared/moc_qsignalmapper.cpp:87
#24 0x00007fa618ba9e3f in QMetaObject::activate (sender=0x199bd20, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fa618c3d280) at kernel/qobject.cpp:3293
#25 0x00007fa61814e5f2 in QAbstractButton::clicked (this=0x1d4d540, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#26 0x00007fa617e6886b in QAbstractButtonPrivate::emitClicked (this=0x1a64010) at widgets/qabstractbutton.cpp:546
#27 0x00007fa617e6970b in QAbstractButtonPrivate::click (this=0x1a64010) at widgets/qabstractbutton.cpp:539
#28 0x00007fa617e6997c in QAbstractButton::mouseReleaseEvent (this=0x199bd20, e=0x7fffb7481a60) at widgets/qabstractbutton.cpp:1121
#29 0x00007fa617b09582 in QWidget::event (this=0x199bd20, event=0x7fffb7481a60) at kernel/qwidget.cpp:7998
#30 0x00007fa617ab322c in QApplicationPrivate::notify_helper (this=0x195fb30, receiver=0x199bd20, e=0x7fffb7481a60) at kernel/qapplication.cpp:4300
#31 0x00007fa617ab9ecb in QApplication::notify (this=0x7fffb7482760, receiver=0x199bd20, e=0x7fffb7481a60) at kernel/qapplication.cpp:3865
#32 0x00007fa619c85526 in KApplication::notify (this=0x7fffb7482760, receiver=0x199bd20, event=0x7fffb7481a60) at ../../kdeui/kernel/kapplication.cpp:302
#33 0x00007fa618b9706c in QCoreApplication::notifyInternal (this=0x7fffb7482760, receiver=0x199bd20, event=0x7fffb7481a60) at kernel/qcoreapplication.cpp:704
#34 0x00007fa617ab90ae in QCoreApplication::sendEvent (receiver=0x199bd20, event=0x7fffb7481a60, alienWidget=0x199bd20, nativeWidget=0x1a3eac0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#35 QApplicationPrivate::sendMouseEvent (receiver=0x199bd20, event=0x7fffb7481a60, alienWidget=0x199bd20, nativeWidget=0x1a3eac0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2965
#36 0x00007fa617b38f65 in QETWidget::translateMouseEvent (this=0x1a3eac0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#37 0x00007fa617b378ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffb7482380) at kernel/qapplication_x11.cpp:3501
#38 0x00007fa617b63882 in x11EventSourceDispatch (s=0x19663b0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#39 0x00007fa613caa8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0x00007fa613cae748 in ?? () from /lib/libglib-2.0.so.0
#41 0x00007fa613cae8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0x00007fa618bc0513 in QEventDispatcherGlib::processEvents (this=0x193b840, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#43 0x00007fa617b6346e in QGuiEventDispatcherGlib::processEvents (this=0x1d4d540, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007fa618b95992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#45 0x00007fa618b95d6c in QEventLoop::exec (this=0x7fffb74826b0, flags=) at kernel/qeventloop.cpp:201
#46 0x00007fa618b99aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#47 0x00000000004067c2 in _start ()

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

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

Reported using DrKonqi
Comment 1 wearenotamused 2010-07-08 07:26:28 UTC
Created attachment 48679 [details]
New crash information added by DrKonqi

I'm attaching this report to this existing bug because the stack trace is identical except for memory addresses, down to the source line of every stack frame I compared (about 12 sampled from throughout).

In my case I...
openned KPackageKit, refreshed sources, applied the couple bug fixes and security updates it showed me, then manually added a package (gufw, and a few auto dependencies), worked in other windows for many minutes, returned to the window, searched for firestarter, clicked the "x" to remove it, clicked apply, and was shown a "waiting" progress bar for some period of time (a minute?), then I think it just seg faulted. (I don't think I cancelled anything.)

In case it's relevant, to my knowledge no other apps were using the apt or dpkg system systems during all that.
Comment 2 Jonathan Thomas 2010-07-21 15:18:31 UTC

*** This bug has been marked as a duplicate of bug 231214 ***
Comment 3 marsu1 2010-07-27 17:37:47 UTC
Created attachment 49539 [details]
New crash information added by DrKonqi

Kpackagekit crashes when I close it
Comment 4 Nicolas L. 2010-08-06 15:53:24 UTC
*** Bug 246126 has been marked as a duplicate of this bug. ***
Comment 5 Nicolas L. 2010-08-06 15:53:38 UTC
*** Bug 246766 has been marked as a duplicate of this bug. ***
Comment 6 Belomir 2010-09-18 11:37:10 UTC
Created attachment 51778 [details]
New crash information added by DrKonqi

kpackagekit (0.5.4) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:

Just quit KPackageKit when some packages were marked for installation.

-- Backtrace (Reduced):
#7  0x00974de4 in QObject::metaObject (this=0x8bb6008) at .moc/release-shared/moc_qobject.cpp:90
[...]
[...]
#10 QTimer::singleShot (msec=0, receiver=0x8bb6008, member=0x4e0fb3e "1checkChanged()") at kernel/qtimer.cpp:351
[...]
[...]
[...]
[...]
[...]
#16 0x005da80a in KCModuleProxy::save (this=0x8a12200) at ../../kutils/kcmoduleproxy.cpp:279
#17 0x005d5b68 in KCMultiDialogPrivate::apply (this=0x897a9f0) at ../../kutils/kcmultidialog.cpp:249
#18 0x005d8573 in KCMultiDialog::qt_metacall (this=0x897c280, _c=QMetaObject::InvokeMetaMethod, _id=79, _a=0xbfcf432c) at ./kcmultidialog.moc:95