crash accessing Gnome keyring in Lucid

Bug #555562 reported by eelkevdbos
268
This bug affects 48 people
Affects Status Importance Assigned to Milestone
Docky
Fix Released
Critical
Robert Dyer
docky (Ubuntu)
Fix Released
Undecided
Unassigned
Lucid
Fix Released
Critical
Unassigned

Bug Description

[Info 09:33:31.084] Docky version: 2.1.0 bzr docky r1242 ppa
[Info 09:33:31.095] Kernel version: 2.6.32.19
[Info 09:33:31.096] CLR version: 2.0.50727.1433
[Debug 09:33:31.453] [UserArgs] BufferTime = 10
[Debug 09:33:31.453] [UserArgs] MaxSize = 2147483647
[Debug 09:33:31.453] [UserArgs] NetbookMode = False
[Debug 09:33:31.453] [UserArgs] NoPollCursor = False
[Info 09:33:31.576] [DockController] Setting theme: HUD
[Info 09:33:31.869] [PluginManager] Loaded "Docky.Widgets,1.0".
[Info 09:33:31.869] [PluginManager] Loaded "Docky.Widgets,1.0".
[Info 09:33:31.870] [PluginManager] Loaded "Clock".
[Info 09:33:31.875] [PluginManager] Loaded "Trash".
[Info 09:33:31.889] [PluginManager] Loaded "Mounter".
[Debug 09:33:31.913] [MountProvider] Adding DATA.
[Info 09:33:31.916] [PluginManager] Loaded "Desktop".
[Info 09:33:31.917] [PluginManager] Loaded "GMail".
[Info 09:33:31.921] [PluginManager] Loaded "Recent Documents".
[Debug 09:33:32.293] Key MountItem_175491456 does not exist, creating.
[Info 09:33:32.468] [GMailAtom] Fetching Atom feed: https://mail.google.com/mail/feed/atom/Inbox
**
ERROR:gkr-operation.c:169:gkr_operation_set_result: assertion failed: ((int) res != INCOMPLETE)
Stacktrace:

  at (wrapper managed-to-native) Gnome.Keyring.Ring.gnome_keyring_find_items_sync (Gnome.Keyring.ItemType,intptr,intptr&) <0x00004>
  at (wrapper managed-to-native) Gnome.Keyring.Ring.gnome_keyring_find_items_sync (Gnome.Keyring.ItemType,intptr,intptr&) <0xffffffff>
  at Gnome.Keyring.Ring.Find (Gnome.Keyring.ItemType,System.Collections.Hashtable) <0x00073>
  at Docky.Services.Preferences`1<object>.GetSecure<object> (string,object) <0x000d8>
  at (wrapper static-rgctx-invoke) Docky.Services.Preferences`1<GMail.GMailPreferences>.static_rgctx_invoke_string__this___string_string (string,string) <0xffffffff>
  at GMail.GMailPreferences.get_Password () <0x00033>
  at GMail.GMailAtom.<CheckGMail>m__8 () <0x0038f>
  at Docky.Services.SystemService/<RunOnThread>c__AnonStorey9.<>m__B () <0x0001c>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

 mono() [0x80ca6e4]
 [0x342410]
 /lib/tls/i686/cmov/libc.so.6(abort+0x182) [0x163a72]
 /lib/libglib-2.0.so.0(g_assertion_message+0x163) [0x91bdd3]
 /lib/libglib-2.0.so.0(+0x6342d) [0x91c42d]
 /usr/lib/libgnome-keyring.so.0(+0x7802) [0x4cd2802]
 /usr/lib/libgnome-keyring.so.0(+0x6b55) [0x4cd1b55]
 /usr/lib/libgnome-keyring.so.0(+0x78fc) [0x4cd28fc]
 /usr/lib/libgnome-keyring.so.0(+0x85b1) [0x4cd35b1]
 /usr/lib/libgnome-keyring.so.0(gnome_keyring_find_items_sync+0x45) [0x4cdc985]
 [0x1d1483b]
 [0x1d13fac]
 [0x1d13cb9]
 [0x1d13bcc]
 [0x1d13ba4]
 [0x1d17290]
 [0x1d16e0d]
 [0x991191]
 mono(mono_runtime_delegate_invoke+0x34) [0x8110ef4]
 mono() [0x815285b]
 mono() [0x81c3062]
 mono() [0x81e1925]
 /lib/tls/i686/cmov/libpthread.so.0(+0x596e) [0xfc396e]
 /lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0x2039de]

Debug info from gdb:

[Thread debugging using libthread_db enabled]
[New Thread 0x6e1eb70 (LWP 4272)]
[New Thread 0x2e88b70 (LWP 4271)]
[New Thread 0x561b70 (LWP 4270)]
[New Thread 0xe2cb70 (LWP 4269)]
0x00342422 in __kernel_vsyscall ()
  5 Thread 0xe2cb70 (LWP 4269) 0x00342422 in __kernel_vsyscall ()
  4 Thread 0x561b70 (LWP 4270) 0x00342422 in __kernel_vsyscall ()
  3 Thread 0x2e88b70 (LWP 4271) 0x00342422 in __kernel_vsyscall ()
  2 Thread 0x6e1eb70 (LWP 4272) 0x00342422 in __kernel_vsyscall ()
* 1 Thread 0x7d96f0 (LWP 4262) 0x00342422 in __kernel_vsyscall ()

Thread 5 (Thread 0xe2cb70 (LWP 4269)):
#0 0x00342422 in __kernel_vsyscall ()
#1 0x00fcb736 in nanosleep () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x081a6af8 in ?? ()
#3 0x00fc396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4 0x002039de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0x561b70 (LWP 4270)):
#0 0x00342422 in __kernel_vsyscall ()
#1 0x00fca245 in sem_wait@@GLIBC_2.1 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0x0812e199 in ?? ()
#3 0x081527ea in ?? ()
#4 0x081c3062 in ?? ()
#5 0x081e1925 in ?? ()
#6 0x00fc396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0x002039de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0x2e88b70 (LWP 4271)):
#0 0x00342422 in __kernel_vsyscall ()
#1 0x00fcaf5b in read () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x080ca87e in ?? ()
#3 <signal handler called>
#4 0x00342422 in __kernel_vsyscall ()
#5 0x00160641 in raise () from /lib/tls/i686/cmov/libc.so.6
#6 0x00163a72 in abort () from /lib/tls/i686/cmov/libc.so.6
#7 0x0091bdd3 in g_assertion_message () from /lib/libglib-2.0.so.0
#8 0x0091c42d in g_assertion_message_expr () from /lib/libglib-2.0.so.0
#9 0x04cd2802 in ?? () from /usr/lib/libgnome-keyring.so.0
#10 0x04cd1b55 in ?? () from /usr/lib/libgnome-keyring.so.0
#11 0x04cd28fc in ?? () from /usr/lib/libgnome-keyring.so.0
#12 0x04cd35b1 in ?? () from /usr/lib/libgnome-keyring.so.0
#13 0x04cdc985 in gnome_keyring_find_items_sync ()
   from /usr/lib/libgnome-keyring.so.0
#14 0x01d1483b in ?? ()
#15 0x01d13fac in ?? ()
#16 0x01d13cb9 in ?? ()
#17 0x01d13bcc in ?? ()
#18 0x01d13ba4 in ?? ()
#19 0x01d17290 in ?? ()
#20 0x01d16e0d in ?? ()
#21 0x00991191 in ?? ()
#22 0x08110ef4 in mono_runtime_delegate_invoke ()
#23 0x0815285b in ?? ()
#24 0x081c3062 in ?? ()
#25 0x081e1925 in ?? ()
#26 0x00fc396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#27 0x002039de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0x6e1eb70 (LWP 4272)):
#0 0x00342422 in __kernel_vsyscall ()
#1 0x001f5b56 in poll () from /lib/tls/i686/cmov/libc.so.6
#2 0x009054eb in g_poll () from /lib/libglib-2.0.so.0
#3 0x008f80ac in ?? () from /lib/libglib-2.0.so.0
#4 0x008f8817 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5 0x01842160 in ?? () from /usr/lib/libORBit-2.so.0
#6 0x0091edcf in ?? () from /lib/libglib-2.0.so.0
#7 0x00fc396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8 0x002039de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0x7d96f0 (LWP 4262)):
#0 0x00342422 in __kernel_vsyscall ()
#1 0x001f5b56 in poll () from /lib/tls/i686/cmov/libc.so.6
#2 0x009054eb in g_poll () from /lib/libglib-2.0.so.0
#3 0x008f80ac in ?? () from /lib/libglib-2.0.so.0
#4 0x008f8817 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5 0x014a6299 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#6 0x08e718d0 in ?? ()
#7 0x08e71893 in ?? ()
#8 0x009864c3 in ?? ()
#9 0x00986204 in ?? ()
#10 0x08113b1e in mono_runtime_exec_main ()
#11 0x0811429a in mono_runtime_run_main ()
#12 0x080b3524 in mono_main ()
#13 0x0805ad25 in ?? ()
#14 0x0014cbd6 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#15 0x0805ac61 in ?? ()

Running ubuntu 10.04 beta 1
X-server: v. 11 - 1.7.6 vendor version
Nvidia Quadro FX 570
Gnome 2.30
Mono 2.4.4

Robert Dyer (psybers)
Changed in docky:
importance: Undecided → Medium
assignee: nobody → Chris Halse Rogers (raof)
Robert Dyer (psybers)
summary: - crash at random timeinterval
+ crash accessing Gnome keyring in Lucid
Revision history for this message
Martin Farrell (fazzuk) wrote :

This bug seems to be effecting me too.

I'm running Docky version: 2.0.1 Release in a fully up to date Lucid beta.

Revision history for this message
Tom Johnson (thomasjohnso) wrote :

Me too

Revision history for this message
Robert Dyer (psybers) wrote :

No need to comment. We are aware of the issue. It is an upstream problem (most likely) and thus there is little we can do about it here. If you feel you MUST 'me too' then click th 'affects me' up top.

Revision history for this message
Robert Dyer (psybers) wrote :

Temporarily disable GMail to stop the crashes.

Revision history for this message
Tom Swartz (tom-swartz07) wrote :

Disabling the GMail docklet fixes the problem, it hasn't crashed in over 23 hours for me since.

Revision history for this message
Alex Murray (alexmurray) wrote :

This looks exactly the same as bug #555137 in gnome-do which was recently fixed by Chris Halse Rogers - @Chris - any chance a similar fix could be used to avoid the crash in docky?

Revision history for this message
Robert Dyer (psybers) wrote :

@Alex: Chris and I have been discussing this problem, so whatever he winds up figuring out we will apply to Docky as well.

He 'fixed' it in Do but then realized that doing so introduced a severe error, which was visible when I tried the fix in Docky. So we are still working that out.

Revision history for this message
Chris Halse Rogers (raof) wrote :

I'm unable to reproduce this crash locally. Perhaps my version of Docky (from the Lucid archives) doesn't actually call RunOnThread?

I think ideally we'd have something like Hyena's BlockingProxyToMain function.

Revision history for this message
Robert Dyer (psybers) wrote :

The Docky trunk doesn't have main threaded g-k-s calls, as it was crashing me when I tested it.

I think what we want is to shove it to the idle loop of the main thread. I know what to do, but I'm leaving town for a few weeks so it'll be awhile...

Revision history for this message
Dmitry Murat (dmitry-murat) wrote :

I always have the same crush at system startup @ Lucid x64 with latest docky development build.

Revision history for this message
Robert Dyer (psybers) wrote :

Disable your GMail plugin until this bug is resolved. If you can't get into the prefs to disable it, do this (which will remove your settings!):

rm -Rf ~/.local/share/docky
gconftool-2 --recursive-unset /apps/docky-2

Robert Dyer (psybers)
Changed in docky:
importance: Medium → High
Robert Dyer (psybers)
Changed in docky:
importance: High → Critical
Revision history for this message
Robert Dyer (psybers) wrote :

For everyone subscribed, I might have a fix. I am running it now to test it out and if it seems to work I will push it in a day or two.

Changed in docky:
status: New → In Progress
assignee: Chris Halse Rogers (raof) → Robert Dyer (psybers)
Revision history for this message
Robert Dyer (psybers) wrote :

Fixed in rev 1319.

Changed in docky:
status: In Progress → Fix Committed
Changed in docky:
status: Fix Committed → Fix Released
Revision history for this message
Wolter HV (wolterh) wrote :

This still happens to me in the latest version available for lucid, which is 2.0.2-1.

Revision history for this message
Robert Dyer (psybers) wrote :

I believe its in 2.0.3.

Iain Lane (laney)
Changed in docky (Ubuntu):
status: New → Fix Released
Changed in docky (Ubuntu Lucid):
status: New → Confirmed
importance: Undecided → Critical
status: Confirmed → Triaged
Changed in docky:
milestone: none → 2.0.3
Revision history for this message
Elvis Dominguez (elvisd79) wrote :

problem as disappeared recently after gnome-keyring update to 2.92.92.is.2.30.1-0ubuntu2 and docky update to 2.0.4

Martin Pitt (pitti)
tags: added: verification-done
Changed in docky (Ubuntu Lucid):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.