Bug 324041 - [RHEL5] gnomekeyring segfaults on find_items_sync
Summary: [RHEL5] gnomekeyring segfaults on find_items_sync
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: gnome-python2-desktop
Version: 5.0
Hardware: All
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: Matthew Barnes
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-10-09 00:13 UTC by David Robinson
Modified: 2013-04-12 19:23 UTC (History)
0 users

Fixed In Version: RHBA-2008-0078
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-30 15:04:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
upstream patch (444 bytes, patch)
2007-10-09 00:13 UTC, David Robinson
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0078 0 normal SHIPPED_LIVE gnome-python2-desktop bug fix update 2008-01-30 15:04:14 UTC

Description David Robinson 2007-10-09 00:13:21 UTC
Description of problem:
The python bindings for gnomekeyring do not work correctly. find_items_sync
causes a segmentation fault. find_items_sync is essential - the
gnome-python2-gnomekeyring package is practically useless as is.

Version-Release number of selected component (if applicable):
$ rpm -q python
python-2.4.3-19.el5.x86_64
$ rpm -qf /usr/lib64/python2.4/site-packages/gtk-2.0/gnomekeyring.so
gnome-python2-gnomekeyring-2.16.0-1.fc6.x86_64

How reproducible:
100%

Steps to Reproduce & Actual results:
$ python
Python 2.4.3 (#1, Dec 11 2006, 11:39:03) 
[GCC 4.1.1 20061130 (Red Hat 4.1.1-43)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gnomekeyring
>>> print gnomekeyring.find_items_sync(gnomekeyring.ITEM_NETWORK_PASSWORD,
{"user": "blah"})
Segmentation fault (core dumped)

Expected results:
$ python
Python 2.4.3 (#1, Dec 11 2006, 11:39:03) 
[GCC 4.1.1 20061130 (Red Hat 4.1.1-43)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gnomekeyring
>>> print gnomekeyring.find_items_sync(gnomekeyring.ITEM_NETWORK_PASSWORD,
>>> {"user": "blah"})

** (process:10182): WARNING **: g_set_application_name not set.
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
gnomekeyring.NoKeyringDaemonError

Additional info:
upstream bug - http://bugzilla.gnome.org/show_bug.cgi?id=416240
upstream patch - http://bugzilla.gnome.org/attachment.cgi?id=84337&action=view

Comment 1 David Robinson 2007-10-09 00:13:21 UTC
Created attachment 220361 [details]
upstream patch

Comment 6 Matthew Barnes 2007-12-11 18:29:38 UTC
Fixed in gnome-python2-desktop-2.16.0-2.el5.

Comment 10 errata-xmlrpc 2008-01-30 15:04:17 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0078.html



Note You need to log in before you can comment on or make changes to this bug.