I can reproduce it at will by relaunching Chromium.

Here's a better stack trace with all threads:

~$ sudo ./dstack gnome-keyring-daemon
Process ID:   8460
Program name: gnome-keyring-d
Program path: /usr/bin/gnome-keyring-daemon
Thread count: 6

Dstack of gnome-keyring-d pid 8460 (/usr/bin/gnome-keyring-daemon)

[Switching to thread 1 (Thread 0x7ffff7fc3800 (LWP 8460))]
#0  0x00007ffff673eb4a in times () from /lib/x86_64-linux-gnu/libc.so.6
#0  0x00007ffff673eb4a in times () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff672e47a in clock () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ffff6c8ec73 in do_fast_random_poll () at random-csprng.c:1244
#3  0x00007ffff6c8facd in _gcry_rngcsprng_fast_poll () at random-csprng.c:1270
#4  0x00007ffff6c621a0 in md_open (h=0x7fffffffe258, algo=1, secure=0, hmac=0) 
at md.c:503
#5  0x00007ffff6c62d4e in _gcry_md_hash_buffer (algo=1, digest=0x7fffffffe290, 
buffer=0x16ec980, length=13) at md.c:1037
#6  0x000000000045267b in ?? ()
#7  0x0000000000453287 in ?? ()
#8  0x0000000000455ea3 in ?? ()
#9  0x0000000000456391 in ?? ()
#10 0x0000000000451744 in ?? ()
#11 0x0000000000487d75 in ?? ()
#12 0x000000000044ad8c in ?? ()
#13 0x000000000042ea44 in ?? ()
#14 0x00007ffff7bbff06 in ?? () from /usr/lib/libgck-1.so.0
#15 0x00007ffff7bc7403 in gck_object_destroy () from /usr/lib/libgck-1.so.0
#16 0x000000000041c90f in ?? ()
#17 0x0000000000413506 in ?? ()
#18 0x0000000000414ade in ?? ()
#19 0x00007ffff70ec9a6 in dbus_connection_dispatch () from 
/lib/x86_64-linux-gnu/libdbus-1.so.3
#20 0x000000000049ce55 in ?? ()
#21 0x00007ffff7369d53 in g_main_context_dispatch () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007ffff736a0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007ffff736a49a in g_main_loop_run () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x000000000040f041 in ?? ()
#25 0x00007ffff66a276d in __libc_start_main () from 
/lib/x86_64-linux-gnu/libc.so.6
#26 0x000000000040f349 in ?? ()
#27 0x00007fffffffec58 in ?? ()
#28 0x000000000000001c in ?? ()
#29 0x0000000000000003 in ?? ()
#30 0x00007fffffffee4c in ?? ()
#31 0x0000000000000000 in ?? ()

[Switching to thread 2 (Thread 0x7ffff21cf700 (LWP 10403))]
#0  0x00007ffff6ecfd2d in read () from /lib/x86_64-linux-gnu/libpthread.so.0
#0  0x00007ffff6ecfd2d in read () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x0000000000440e7b in ?? ()
#2  0x0000000000446ca1 in ?? ()
#3  0x00007ffff738b9e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff6ec8e9a in start_thread () from 
/lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007ffff67734bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

[Switching to thread 3 (Thread 0x7ffff29d0700 (LWP 8573))]
#0  0x00007ffff6767b03 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#0  0x00007ffff6767b03 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff736a036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff736a49a in g_main_loop_run () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff792f406 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007ffff738b9e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff6ec8e9a in start_thread () from 
/lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007ffff67734bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

[Switching to thread 4 (Thread 0x7ffff34af700 (LWP 8571))]
#0  0x00007ffff6767b03 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#0  0x00007ffff6767b03 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff736a036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff736a49a in g_main_loop_run () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff34b498b in ?? () from 
/usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007ffff738b9e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff6ec8e9a in start_thread () from 
/lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007ffff67734bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

[Switching to thread 5 (Thread 0x7ffff3eb8700 (LWP 8570))]
#0  0x00007ffff6eccd84 in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib/x86_64-linux-gnu/libpthread.so.0
#0  0x00007ffff6eccd84 in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff73a582f in g_cond_wait () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x000000000048b0f7 in ?? ()
#3  0x00007ffff738b9e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff6ec8e9a in start_thread () from 
/lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007ffff67734bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

[Switching to thread 6 (Thread 0x7ffff46b9700 (LWP 8461))]
#0  0x00007ffff6ed09f7 in do_sigwait () from 
/lib/x86_64-linux-gnu/libpthread.so.0
#0  0x00007ffff6ed09f7 in do_sigwait () from 
/lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff6ed0a79 in sigwait () from /lib/x86_64-linux-gnu/libpthread.so.0
#2  0x000000000040f6a7 in ?? ()
#3  0x00007ffff6ec8e9a in start_thread () from 
/lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007ffff67734bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#5  0x0000000000000000 in ?? ()
A debugging session is active.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-keyring in Ubuntu.
https://bugs.launchpad.net/bugs/858775

Title:
  gnome-keyring-daemon hogs CPU

Status in “gnome-keyring” package in Ubuntu:
  Confirmed

Bug description:
  I just upgraded my Nokia Booklet to Oneiric, and noticed that gnome-
  keyring-daemon is using about 40% CPU all the time.

  Here's a snippet from strace:
  time(NULL)                              = 1316942473
  times({tms_utime=10433, tms_stime=907, tms_cutime=112, tms_cstime=7}) = 
1718106444
  gettimeofday({1316942473, 940560}, NULL) = 0
  getrusage(RUSAGE_SELF, {ru_utime={104, 338520}, ru_stime={9, 72567}, ...}) = 0
  time(NULL)                              = 1316942473
  times({tms_utime=10433, tms_stime=907, tms_cutime=112, tms_cstime=7}) = 
1718106444
  gettimeofday({1316942473, 941462}, NULL) = 0
  getrusage(RUSAGE_SELF, {ru_utime={104, 338520}, ru_stime={9, 72567}, ...}) = 0
  time(NULL)                              = 1316942473
  times({tms_utime=10433, tms_stime=907, tms_cutime=112, tms_cstime=7}) = 
1718106444
  gettimeofday({1316942473, 942363}, NULL) = 0
  getrusage(RUSAGE_SELF, {ru_utime={104, 338520}, ru_stime={9, 72567}, ...}) = 0
  time(NULL)                              = 1316942473
  times({tms_utime=10433, tms_stime=907, tms_cutime=112, tms_cstime=7}) = 
1718106444
  gettimeofday({1316942473, 943249}, NULL) = 0
  getrusage(RUSAGE_SELF, {ru_utime={104, 342521}, ru_stime={9, 72567}, ...}) = 0
  time(NULL)                              = 1316942473
  times({tms_utime=10434, tms_stime=907, tms_cutime=112, tms_cstime=7}) = 
1718106444
  gettimeofday({1316942473, 944096}, NULL) = 0
  getrusage(RUSAGE_SELF, {ru_utime={104, 342521}, ru_stime={9, 72567}, ...}) = 0
  time(NULL)                              = 1316942473
  times({tms_utime=10434, tms_stime=907, tms_cutime=112, tms_cstime=7}) = 
1718106444
  gettimeofday({1316942473, 944909}, NULL) = 0
  getrusage(RUSAGE_SELF, {ru_utime={104, 342521}, ru_stime={9, 72567}, ...}) = 0

  It seems to be spinning within dbus_connection_dispatch, I'll see if I
  can come up with a backtrace.

  gnome-keyring is version 3.1.92-0ubuntu1.

  The system differs from a normal Oneiric install in one regard: for
  some reason I can't get gdm to start on login, so it actually boots
  into a console and I "sudo start gdm" from there. Don't know if it
  affects  anything.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/858775/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to