Bug 204863 - KPackageKit crashed while updating (PackageKit::Transaction::tid, KpkTransaction::setTransaction, KpkTransaction)
Summary: KPackageKit crashed while updating (PackageKit::Transaction::tid, KpkTransact...
Status: RESOLVED WORKSFORME
Alias: None
Product: kpackagekit
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Steven M. Parrish
URL:
Keywords:
: 208882 235557 241820 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-23 14:41 UTC by Kvikende
Modified: 2010-08-18 21:33 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kvikende 2009-08-23 14:41:03 UTC
Application that crashed: kpackagekit
Version of the application: 0.4.2
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.29.6-217.2.8.fc11.x86_64 x86_64

What I was doing when the application crashed:
I was trying to update my system, and kpackagekit just died on me. I received a dependency issue and deselected that element and tried again, and it crashed.

 -- Backtrace:
Application: KPackageKit (kpackagekit), signal: Segmentation fault
[KCrash Handler]
#5  0x0000003f3301cd24 in PackageKit::Transaction::tid() const () from /usr/lib64/libpackagekit-qt.so.11
#6  0x0000003f2b215f36 in KpkTransaction::setTransaction(PackageKit::Transaction*) () from /usr/lib64/libkpackagekitlib.so
#7  0x0000003f2b2169ba in KpkTransaction::KpkTransaction(PackageKit::Transaction*, QFlags<KpkTransaction::BehaviorFlag>, QWidget*) () from /usr/lib64/libkpackagekitlib.so
#8  0x00007f16c03ccb5f in ?? () from /usr/lib64/kde4/kcm_kpk_update.so
#9  0x0000003f3aa25757 in KCModuleProxy::save (this=<value optimized out>) at /usr/src/debug/kdelibs-4.3.0/kutils/kcmoduleproxy.cpp:273
#10 0x0000003f3aa203f8 in KCMultiDialogPrivate::apply (this=<value optimized out>) at /usr/src/debug/kdelibs-4.3.0/kutils/kcmultidialog.cpp:192
#11 0x0000003f3aa2280c in KCMultiDialog::qt_metacall (this=0x24d7aa0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffca82cd90)
    at /usr/src/debug/kdelibs-4.3.0/x86_64-redhat-linux-gnu/kutils/kcmultidialog.moc:87
#12 0x0000003f30354fdc in QMetaObject::activate (sender=0x24d7aa0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3113
#13 0x0000003f3098580f in KDialog::slotButtonClicked (this=0x24d7aa0, button=8) at /usr/src/debug/kdelibs-4.3.0/kdeui/dialogs/kdialog.cpp:858
#14 0x0000003f30987b02 in KDialog::qt_metacall (this=0x24d7aa0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffca82cfa0)
    at /usr/src/debug/kdelibs-4.3.0/x86_64-redhat-linux-gnu/kdeui/kdialog.moc:184
#15 0x0000003f30a3bf70 in KPageDialog::qt_metacall (this=0x7fffca82ca30, _c=QMetaObject::InvokeMetaMethod, _id=38393345, _a=0x1)
    at /usr/src/debug/kdelibs-4.3.0/x86_64-redhat-linux-gnu/kdeui/kpagedialog.moc:64
#16 0x0000003f3aa22730 in KCMultiDialog::qt_metacall (this=0x7fffca82ca30, _c=QMetaObject::InvokeMetaMethod, _id=38393345, _a=0x1)
    at /usr/src/debug/kdelibs-4.3.0/x86_64-redhat-linux-gnu/kutils/kcmultidialog.moc:78
#17 0x0000003f30354fdc in QMetaObject::activate (sender=0x2592cd8, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3113
#18 0x0000003f30357b0e in QSignalMapper::mapped (this=0x7fffca82ca30, _t1=8) at .moc/release-shared/moc_qsignalmapper.cpp:95
#19 0x0000003f30358cc0 in QSignalMapper::map (this=0x2592cd8, sender=0x259aec0) at kernel/qsignalmapper.cpp:266
#20 0x0000003f30358f30 in QSignalMapper::qt_metacall (this=0x2592cd8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffca82d130) at .moc/release-shared/moc_qsignalmapper.cpp:81
#21 0x0000003f30354fdc in QMetaObject::activate (sender=0x259aec0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3113
#22 0x0000003f32b8d317 in QAbstractButton::clicked (this=0x7fffca82ca30, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:200
#23 0x0000003f328f142b in QAbstractButtonPrivate::emitClicked (this=0x25a6aa0) at widgets/qabstractbutton.cpp:543
#24 0x0000003f328f303b in QAbstractButtonPrivate::click (this=0x25a6aa0) at widgets/qabstractbutton.cpp:536
#25 0x0000003f328f3285 in QAbstractButton::mouseReleaseEvent (this=0x259aec0, e=0x7fffca82d850) at widgets/qabstractbutton.cpp:1115
#26 0x0000003f325de100 in QWidget::event (this=0x259aec0, event=0x7fffca82d850) at kernel/qwidget.cpp:7549
#27 0x0000003f3258f69c in QApplicationPrivate::notify_helper (this=0x24c8730, receiver=0x259aec0, e=0x7fffca82d850) at kernel/qapplication.cpp:4056
#28 0x0000003f32596dc1 in QApplication::notify (this=<value optimized out>, receiver=0x259aec0, e=0x7fffca82d850) at kernel/qapplication.cpp:3758
#29 0x0000003f30a11296 in KApplication::notify (this=0x7fffca82f760, receiver=0x259aec0, event=0x7fffca82d850) at /usr/src/debug/kdelibs-4.3.0/kdeui/kernel/kapplication.cpp:302
#30 0x0000003f3033fcbc in QCoreApplication::notifyInternal (this=0x7fffca82f760, receiver=0x259aec0, event=0x7fffca82d850) at kernel/qcoreapplication.cpp:610
#31 0x0000003f32596080 in QCoreApplication::sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:216
#32 QApplicationPrivate::sendMouseEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qapplication.cpp:2924
#33 0x0000003f325fbece in QETWidget::translateMouseEvent (this=0x24d7aa0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4404
#34 0x0000003f325faf6a in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffca82f380) at kernel/qapplication_x11.cpp:3545
#35 0x0000003f32622c7c in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#36 0x0000003f25637abe in g_main_dispatch (context=<value optimized out>) at gmain.c:1824
#37 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2377
#38 0x0000003f2563b278 in g_main_context_iterate (context=0x24c8540, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2455
#39 0x0000003f2563b3a0 in IA__g_main_context_iteration (context=0x24c8540, may_block=1) at gmain.c:2518
#40 0x0000003f303683b6 in QEventDispatcherGlib::processEvents (this=0x249cd90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#41 0x0000003f3262242e in QGuiEventDispatcherGlib::processEvents (this=0x7fffca82ca30, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#42 0x0000003f3033e5f2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 36}) at kernel/qeventloop.cpp:149
#43 0x0000003f3033e9c4 in QEventLoop::exec (this=0x7fffca82f6b0, flags={i = 0}) at kernel/qeventloop.cpp:201
#44 0x0000003f30340b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#45 0x0000000000407512 in _start ()
Warning: the current language does not match this frame.

Reported using DrKonqi
Comment 1 Dario Andres 2009-09-30 16:51:50 UTC
*** Bug 208882 has been marked as a duplicate of this bug. ***
Comment 2 Dario Andres 2009-09-30 16:52:20 UTC
Bug 208882 got a complete backtrace:
---

 -- Backtrace:
Application: KPackageKit (kpackagekit), signal: Segmentation fault
[KCrash Handler]
#5  PackageKit::Transaction::tid (this=0x0) at transaction.cpp:89
#6  0x0000003d9cc15f36 in KpkTransaction::setTransaction (this=0x2016790,
trans=0x0) at
/usr/src/debug/kpackagekit-0.4.2/libkpackagekit/KpkTransaction.cpp:108
#7  0x0000003d9cc169ba in KpkTransaction::KpkTransaction(struct
PackageKit::Transaction *, QFlags<KpkTransaction::BehaviorFlag>, struct QWidget
*) (this=0x2016790, trans=<value optimized out>, 
    flags=<value optimized out>, parent=<value optimized out>) at
/usr/src/debug/kpackagekit-0.4.2/libkpackagekit/KpkTransaction.cpp:84
#8  0x00007fefe007fb5f in KpkUpdate::applyUpdates (this=0x1ccabb0) at
/usr/src/debug/kpackagekit-0.4.2/Updater/KpkUpdate.cpp:123
Comment 3 Daniel Nicoletti 2009-09-30 18:15:27 UTC
Sorry for not replying to these bug reports, thanks Dario for filtering them,
well I still not sure why this happens the only thing that might cause this is that when the user trigger apply a transaction is not created and when setTransaction() is called it asks for the tid() on a transaction with errors.
Hopefully this won't happen in 0.5 since now we have an error() to check if anything wrong happened..

I don't know which status to set this bug since I can't reproduce it all the time and I'm too busy these days .. :(
Thanks.
Comment 4 Nicolas L. 2010-06-16 01:18:25 UTC
*** Bug 235557 has been marked as a duplicate of this bug. ***
Comment 5 Nicolas L. 2010-06-16 01:18:32 UTC
*** Bug 241820 has been marked as a duplicate of this bug. ***
Comment 6 Daniel Nicoletti 2010-08-17 21:36:47 UTC
Does the reporter still get this issue?
I have tested 0.6.0 on a F13 and didn't see the problem.
Comment 7 Kvikende 2010-08-18 20:53:55 UTC
I am no longer using KDE so cannot confirm. Hopefully it is.
Comment 8 Daniel Nicoletti 2010-08-18 21:33:57 UTC
Ok, I'll close it as works for me.
Thanks.