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 628984 - gnome-keyring eating 100% cpu
gnome-keyring eating 100% cpu
Status: RESOLVED INCOMPLETE
Product: gnome-keyring
Classification: Core
Component: general
unspecified
Other Linux
: High critical
: ---
Assigned To: GNOME keyring maintainer(s)
GNOME keyring maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2010-09-07 18:57 UTC by Matthias Clasen
Modified: 2010-12-24 14:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Clasen 2010-09-07 18:57:21 UTC
I've had several reports in Fedora against 2.31.91 that say gnome-keyring-daemon is using 100% cpu. Here is one: https://bugzilla.redhat.com/show_bug.cgi?id=630988
Comment 1 Matthias Clasen 2010-09-07 23:30:41 UTC
Here is another one with some details: https://bugzilla.redhat.com/show_bug.cgi?id=630253

syslog excerpts:

Sep  4 14:22:28 meryl gnome-keyring-daemon[3707]: couldn't connect to control
socket at: /tmp/keyring-3h2BuG/control: Connection refused
Sep  4 14:22:33 meryl kernel: DMA-API: debugging out of memory - disabling
Sep  4 14:29:07 meryl gnome-keyring-prompt: Gtk: Failed to load module
"atk-bridge": libatk-bridge.so: cannot open shared object file: No such file or
directory
Sep  4 14:29:08 meryl gnome-keyring-prompt: Bonobo: Bonobo must be initialized
before use
Sep  4 14:29:18 meryl gnome-keyring-daemon[3707]: couldn't allocate secure
memory to keep passwords and or keys from being written to the disk
Sep  4 14:29:19 meryl gnome-keyring-prompt: Gtk: Failed to load module
"atk-bridge": libatk-bridge.so: cannot open shared object file: No such file or
directory
Sep  4 14:29:19 meryl gnome-keyring-prompt: Bonobo: Bonobo must be initialized
before use
Comment 2 Stef Walter 2010-09-10 02:58:44 UTC
Is there any way, we can get a stack trace so we can identify which part of the daemon this is happening in?

For anyone listening in. To get a stack trace of a 100% CPU process you follow the normal procedure for stack traces:

http://live.gnome.org/GettingTraces

But since the process hasn't crashed, you induce a crash by sending a send the process a ABRT, TRAP, or  signal. For example:

$ killall -TRAP gnome-keyring-daemon

This will normally induce a crash. For a 100% CPU hung process we need several stack traces to pin point the area where it's looping around in.
Comment 3 Stef Walter 2010-09-11 18:51:33 UTC
Is this the same bug as bug #624254
Comment 4 jeff 2010-09-12 02:40:12 UTC
It might be... is there an easy way to duplicate?  I've been waiting for the problem to occur again on my system so that I could try and grab a backtrace but nothing so far.
Comment 5 Stef Walter 2010-09-12 12:49:07 UTC
To duplicate bug #624254 a process (like socat) connects to the GPG agent unix socket and then diconnects. However duplicating that bug, doesn't help with determining whether this bug is fixed.
Comment 6 Akhil Laddha 2010-12-24 10:14:42 UTC
Do we want to keep the bug open, it's been a long time since there is any update or feedback from user ?
Comment 7 Stef Walter 2010-12-24 14:14:43 UTC
Good plan Akhil:

Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!