After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 598835 - Segmentation fault in item_get_attributes_sync()
Segmentation fault in item_get_attributes_sync()
Status: RESOLVED FIXED
Product: gnome-python-desktop
Classification: Deprecated
Component: general
2.26.x
Other Linux
: Normal critical
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2009-10-18 11:25 UTC by Kamil Páral
Modified: 2009-11-24 03:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for gnome-python-desktop (1.12 KB, patch)
2009-11-20 21:36 UTC, Vincent Untz
committed Details | Review

Description Kamil Páral 2009-10-18 11:25:23 UTC
gnome keyring 2.26.1-0ubuntu1

Using Python bindings:

$ python
Python 2.6.2 (release26-maint, Apr 19 2009, 01:58:18) 
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gnomekeyring as gk
>>> gk.item_get_attributes_sync('login',33)

** (process:2596): WARNING **: g_set_application_name not set.
Segmentation fault
$

Happens only when the keyring ID does *not* exist in the keyring. If the item exists everything goes well.
Comment 1 Vincent Untz 2009-11-20 21:36:51 UTC
Created attachment 148197 [details] [review]
Patch for gnome-python-desktop
Comment 2 Vincent Untz 2009-11-20 21:37:37 UTC
The attached patch should fix it. It's gnome-python-desktop issue.
Comment 3 Gustavo Carneiro 2009-11-21 22:16:24 UTC
Review of attachment 148197 [details] [review]:

Thanks for the patch.
Comment 4 Vincent Untz 2009-11-24 03:36:22 UTC
Committed.