Bug 213658 - kpackagekit crash with segmentation fault when refresh button clicked.
Summary: kpackagekit crash with segmentation fault when refresh button clicked.
Status: RESOLVED DUPLICATE of bug 206512
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: System Settings Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-08 11:53 UTC by ruby.twiddler
Modified: 2010-05-04 17:40 UTC (History)
1 user (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 ruby.twiddler 2009-11-08 11:53:48 UTC
Application that crashed: systemsettings
Version of the application: 1.0
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.3
Operating System: Linux 2.6.31.5-desktop-1mnb x86_64
Distribution: "Mandriva Linux 2010.0"

What I was doing when the application crashed:
OS: Mandrvia Linux 2010 x86_64
kpackagekit ver : packagekit-0.5.2-2mdv2010.0.src.rpm
packagekit ver : packagekit-0.5.2-2mdv2010.0.src.rpm

summary
kpackagekit crash with segmentation fault when refresh button clicked.

steps to reproduce.

1.  execute systemsettings 
2.  select General / Computer Acministraion / Add and Remove Sofware
3.  select Software Updates 
4.  click Refresh button


 -- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault
[KCrash Handler]
#5  0x00007ff00d5b2e7f in PackageKit::Transaction::role (this=0x7fff3e5ad8c0) at transaction.cpp:136
#6  0x00007ff00d36db0a in KpkTransaction::setTransaction (this=0x202b100, trans=<value optimized out>) at /usr/src/debug/kpackagekit-0.4.2/libkpackagekit/KpkTransaction.cpp:112
#7  0x00007ff00d36e45f in KpkTransaction (this=0x202b100, 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  0x00007ff00ca6ba49 in KpkUpdate::refresh (this=0x20448c0) at /usr/src/debug/kpackagekit-0.4.2/Updater/KpkUpdate.cpp:180
#9  0x00007ff00ca6c4ac in KpkUpdate::qt_metacall (this=0x20448c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3e5adb80)
    at /usr/src/debug/kpackagekit-0.4.2/build/Updater/KpkUpdate.moc:105
#10 0x00007ff0196758dc in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#11 0x00007ff01a7d5337 in QAbstractButton::clicked () from /usr/lib64/libQtGui.so.4
#12 0x00007ff01a53710b in ?? () from /usr/lib64/libQtGui.so.4
#13 0x00007ff01a538d1b in ?? () from /usr/lib64/libQtGui.so.4
#14 0x00007ff01a538f65 in QAbstractButton::mouseReleaseEvent () from /usr/lib64/libQtGui.so.4
#15 0x00007ff01a223b70 in QWidget::event () from /usr/lib64/libQtGui.so.4
#16 0x00007ff01a1d512c in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#17 0x00007ff01a1dc241 in QApplication::notify () from /usr/lib64/libQtGui.so.4
#18 0x00007ff01adf9326 in KApplication::notify () from /usr/lib64/libkdeui.so.5
#19 0x00007ff0196606fc in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#20 0x00007ff01a1dbb10 in QApplicationPrivate::sendMouseEvent () from /usr/lib64/libQtGui.so.4
#21 0x00007ff01a241bae in ?? () from /usr/lib64/libQtGui.so.4
#22 0x00007ff01a240c4a in QApplication::x11ProcessEvent () from /usr/lib64/libQtGui.so.4
#23 0x00007ff01a268e9c in ?? () from /usr/lib64/libQtGui.so.4
#24 0x00007ff0160474ce in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#25 0x00007ff01604ae98 in ?? () from /usr/lib64/libglib-2.0.so.0
#26 0x00007ff01604afc0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#27 0x00007ff019688cc3 in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#28 0x00007ff01a26864e in ?? () from /usr/lib64/libQtGui.so.4
#29 0x00007ff01965f032 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#30 0x00007ff01965f404 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#31 0x00007ff0196615b9 in QCoreApplication::exec () from /usr/lib64/libQtCore.so.4
#32 0x000000000040c2d9 in _start ()

Reported using DrKonqi
Comment 1 Jonathan Thomas 2009-11-10 02:36:45 UTC

*** This bug has been marked as a duplicate of bug 206512 ***
Comment 2 George 2010-05-04 17:40:10 UTC
received the same problem:
Error Type: 
Error Value: coercing to Unicode: need string or buffer, exceptions.SystemError found
File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 2216, in 
main()
File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 2213, in main
run(args, options.single)
File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 2175, in run
backend.dispatcher(args)
File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 699, in dispatcher
self.dispatch_command(args[0], args[1:])
File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 606, in dispatch_command
self.refresh_cache(force)
File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 202, in _locked_cache
func(*args, **kwargs)
File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 1498, in refresh_cache
format_string(error.message))
File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 723, in format_string
txt = unicode(text, encoding, errors='replace')