Bug 259022

Summary: KPackageKit crashed while installing updates
Product: [Unmaintained] kpackagekit Reporter: mikel
Component: generalAssignee: Steven M. Parrish <smparrish>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, dantti12
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description mikel 2010-12-06 17:58:21 UTC
Application: kpackagekitsmarticon (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-170.fc12.i686.PAE i686
Distribution: "Fedora release 12 (Constantine)"

-- Information about the crash:
Get updates, select some, click Apply. I get prompted for additional required packages, which I accept. The packages are downloaded and installation begins, then it crashes. I suspected it may be a particular package, and tried selecting only a subset of the recommended updates, but no subset I have tried so far successfully installs. The system state after the crash is that none of the selected updates are applied.

The crash can be reproduced every time.

 -- Backtrace:
Application: KPackageKit (kpackagekitsmarticon), signal: Segmentation fault
[KCrash Handler]
#6  QMutex::lock (this=0x5a) at thread/qmutex.cpp:150
#7  0x0501f945 in QCoreApplication::postEvent (receiver=0x9700a78, event=0x96bba28, priority=0) at kernel/qcoreapplication.cpp:1135
#8  0x0501fcbd in QCoreApplication::postEvent (receiver=0x9700a78, event=0x96bba28) at kernel/qcoreapplication.cpp:1088
#9  0x0502f3b5 in QObject::deleteLater (this=0x9700a78) at kernel/qobject.cpp:2158
#10 0x053032bf in PackageKit::ClientPrivate::serviceOwnerChanged (this=0x96d5a50, name=..., oldOnwer=..., newOwner=...) at clientprivate.cpp:102
#11 0x05305053 in PackageKit::ClientPrivate::qt_metacall (this=0x96d5a50, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0xbf9879c0) at clientprivate.moc:80
#12 0x050247eb in QMetaObject::metacall (object=0x96d5a50, cl=InvokeMetaMethod, idx=6, argv=0xbf9879c0) at kernel/qmetaobject.cpp:237
#13 0x050336e5 in QMetaObject::activate (sender=0x96da800, m=0x3d6388, local_signal_index=2, argv=0xbf9879c0) at kernel/qobject.cpp:3295
#14 0x003be4d0 in QDBusConnectionInterface::serviceOwnerChanged (this=0x96da800, _t1=..., _t2=..., _t3=...) at .moc/release-shared/moc_qdbusconnectioninterface.cpp:210
#15 0x003be82b in QDBusConnectionInterface::qt_metacall (this=0x96da800, _c=InvokeMetaMethod, _id=2, _a=0xbf987b90) at .moc/release-shared/moc_qdbusconnectioninterface.cpp:137
#16 0x050247eb in QMetaObject::metacall (object=0x96da800, cl=InvokeMetaMethod, idx=7, argv=0xbf987b90) at kernel/qmetaobject.cpp:237
#17 0x050336e5 in QMetaObject::activate (sender=0x96da800, m=0x3d6388, local_signal_index=6, argv=0xbf987b90) at kernel/qobject.cpp:3295
#18 0x003be370 in QDBusConnectionInterface::NameOwnerChanged (this=0x96da800, _t1=..., _t2=..., _t3=...) at .moc/release-shared/moc_qdbusconnectioninterface.cpp:238
#19 0x003be8bb in QDBusConnectionInterface::qt_metacall (this=0x96da800, _c=InvokeMetaMethod, _id=6, _a=0xbf987d9c) at .moc/release-shared/moc_qdbusconnectioninterface.cpp:141
#20 0x0038328c in QDBusConnectionPrivate::deliverCall (this=0x96d5e78, object=0x96da800, msg=..., metaTypes=..., slotIdx=11) at qdbusintegrator.cpp:904
#21 0x0038de18 in QDBusCallDeliveryEvent::placeMetaCall (this=0x9710fc8, object=0x96da800) at qdbusintegrator_p.h:101
#22 0x0502fe5e in QObject::event (this=0x96da800, e=0x9710fc8) at kernel/qobject.cpp:1248
#23 0x022766cc in QApplicationPrivate::notify_helper (this=0x95d6b60, receiver=0x96da800, e=0x9710fc8) at kernel/qapplication.cpp:4306
#24 0x0227d206 in QApplication::notify (this=0xbf988668, receiver=0x96da800, e=0x9710fc8) at kernel/qapplication.cpp:3710
#25 0x057f2a6b in KApplication::notify (this=0xbf988668, receiver=0x96da800, event=0x9710fc8) at /usr/src/debug/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#26 0x0501fd53 in QCoreApplication::notifyInternal (this=0xbf988668, receiver=0x96da800, event=0x9710fc8) at kernel/qcoreapplication.cpp:726
#27 0x050221dc in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x95b6820) at kernel/qcoreapplication.h:215
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x95b6820) at kernel/qcoreapplication.cpp:1367
#29 0x0502235e in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1260
#30 0x050485d0 in sendPostedEvents (s=0x95d81d0) at kernel/qcoreapplication.h:220
#31 postEventSourceDispatch (s=0x95d81d0) at kernel/qeventdispatcher_glib.cpp:276
#32 0x00c23fb8 in g_main_dispatch (context=0x95d7e00) at gmain.c:1960
#33 IA__g_main_context_dispatch (context=0x95d7e00) at gmain.c:2513
#34 0x00c278e8 in g_main_context_iterate (context=0xa480b0, block=1, dispatch=1, self=0x95dbea8) at gmain.c:2591
#35 0x00c27a14 in IA__g_main_context_iteration (context=0x95d7e00, may_block=1) at gmain.c:2654
#36 0x050480c6 in QEventDispatcherGlib::processEvents (this=0x95b62f8, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#37 0x02324e86 in QGuiEventDispatcherGlib::processEvents (this=0x95b62f8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x0501e42a in QEventLoop::processEvents (this=0xbf9885c4, flags=...) at kernel/qeventloop.cpp:149
#39 0x0501e76a in QEventLoop::exec (this=0xbf9885c4, flags=...) at kernel/qeventloop.cpp:201
#40 0x05022427 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#41 0x02276778 in QApplication::exec () at kernel/qapplication.cpp:3585
#42 0x080506a9 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kpackagekit-0.5.4/SmartIcon/main.cpp:53

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

Possible duplicates by query: bug 258851, bug 258524, bug 258265, bug 258198, bug 257400.

Reported using DrKonqi
Comment 1 mikel 2010-12-06 18:10:18 UTC
OK, the attempt which I reported (for which stack trace appears above) did indeed install the update before crashing - my 3 previous attempts did not install the updates before crashing. My apologies for stating otherwise, but I had no way to knwo this until after i filed the crash report and restarted KPackageKit.
Comment 2 Dario Andres 2010-12-07 01:29:24 UTC
[Comment from a bug triager]
This crash is fixed since KPackageKit 0.6.0. Merging with bug 225494.
Thanks

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