Bug 204767 - KPackagekit isn't working as intended (PackageKit::Transaction::allowCancel, KpkTransactionBar::nextTransaction)
Summary: KPackagekit isn't working as intended (PackageKit::Transaction::allowCancel, ...
Status: RESOLVED FIXED
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:
: 202750 215606 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-22 15:00 UTC by duchai
Modified: 2010-08-19 01:00 UTC (History)
4 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 duchai 2009-08-22 15:00:41 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.31-6-generic i686
Distribution: Ubuntu karmic (development branch)

What I was doing when the application crashed:
I can't type/search for anything under Software Management and it crashes when clicking on Software Ipdates

 -- Backtrace:
Application: KPackageKit (kpackagekit), signal: Segmentation fault
[KCrash Handler]
#6  0x005a6f97 in PackageKit::Transaction::allowCancel() () from /usr/lib/libpackagekit-qt.so.11
#7  0x0054db81 in KpkTransactionBar::nextTransaction (this=0x9be59f8) at /build/buildd/kpackagekit-0.4.2/libkpackagekit/KpkTransactionBar.cpp:89
#8  0x0054e098 in KpkTransactionBar::addTransaction (this=0x9be59f8, trans=0x0) at /build/buildd/kpackagekit-0.4.2/libkpackagekit/KpkTransactionBar.cpp:117
#9  0x02fa1a6c in KpkUpdate::displayUpdates (this=0x9be5998, status=KpkTransaction::Success) at /build/buildd/kpackagekit-0.4.2/Updater/KpkUpdate.cpp:201
#10 0x02fa1bb9 in KpkUpdate::load (this=0x9be5998) at /build/buildd/kpackagekit-0.4.2/Updater/KpkUpdate.cpp:104
#11 0x02fa04d0 in KcmKpkUpdate::load (this=0x9be5b88) at /build/buildd/kpackagekit-0.4.2/Updater/KcmKpkUpdate.cpp:52
#12 0x02fa0204 in KcmKpkUpdate::qt_metacall (this=0x9be5b88, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0x9a20098)
    at /build/buildd/kpackagekit-0.4.2/obj-i486-linux-gnu/Updater/moc_KcmKpkUpdate.cpp:67
#13 0x008f7efb in QMetaCallEvent::placeMetaCall (this=0x9c353f8, object=0x9be5b88) at kernel/qobject.cpp:477
#14 0x008f95ee in QObject::event (this=0x9be5b88, e=0x9c353f8) at kernel/qobject.cpp:1111
#15 0x01057886 in QWidget::event (this=0x9be5b88, event=0x9c353f8) at kernel/qwidget.cpp:7946
#16 0x01002f44 in QApplicationPrivate::notify_helper (this=0x9945ac0, receiver=0x9be5b88, e=0x9c353f8) at kernel/qapplication.cpp:4056
#17 0x0100a5ba in QApplication::notify (this=0xbf8ea170, receiver=0x9be5b88, e=0x9c353f8) at kernel/qapplication.cpp:4021
#18 0x002e2ada in KApplication::notify (this=0xbf8ea170, receiver=0x9be5b88, event=0x9c353f8) at ../../kdeui/kernel/kapplication.cpp:302
#19 0x008e96bb in QCoreApplication::notifyInternal (this=0xbf8ea170, receiver=0x9be5b88, event=0x9c353f8) at kernel/qcoreapplication.cpp:610
#20 0x008ea2a2 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x99224a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x99224a0) at kernel/qcoreapplication.cpp:1247
#22 0x008ea46d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#23 0x009143ef in QCoreApplication::sendPostedEvents (s=0x9947fc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#24 postEventSourceDispatch (s=0x9947fc0) at kernel/qeventdispatcher_glib.cpp:210
#25 0x04f22c48 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0x04f264f0 in ?? () from /usr/lib/libglib-2.0.so.0
#27 0x04f26623 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0x0091401c in QEventDispatcherGlib::processEvents (this=0x9922678, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#29 0x010a3ad5 in QGuiEventDispatcherGlib::processEvents (this=0x9922678, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#30 0x008e7c69 in QEventLoop::processEvents (this=0xbf8ea0d4, flags=) at kernel/qeventloop.cpp:149
#31 0x008e80ba in QEventLoop::exec (this=0xbf8ea0d4, flags=...) at kernel/qeventloop.cpp:201
#32 0x008ea52f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#33 0x01002dc7 in QApplication::exec () at kernel/qapplication.cpp:3525
#34 0x0804e49b in main (argc=5, argv=0xbf8ea324) at /build/buildd/kpackagekit-0.4.2/KPackageKit/main.cpp:66

Reported using DrKonqi
Comment 1 Dario Andres 2009-08-23 00:42:57 UTC
*** Bug 202750 has been marked as a duplicate of this bug. ***
Comment 2 Dario Andres 2009-11-21 23:34:33 UTC
From bug 215606:
---
What I was doing when the application crashed:
I was running YaST2 at the same time and it always crashes when I run both
together. This could proberbly be because they are both package managers. This
bug is easily reproducable. first run YaST2 package manager then run
kpackagekit
Comment 3 Dario Andres 2009-11-21 23:34:35 UTC
*** Bug 215606 has been marked as a duplicate of this bug. ***
Comment 4 Daniel Nicoletti 2010-08-19 01:00:15 UTC
This bug has been fixed at least in 0.6 versions,
as packagekit-qt does not delete it's transactions objects
when the transaction finishes. Just when it receives
destroy().

Thanks.