Gnome-do exits automatically after startup

Bug #553643 reported by Lai Jiang on 2010-04-01
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
gnome-do (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: gnome-do

Exits several seconds after startup, tried to run it from terminal and got this:

Cannot index Thunderbird contacts because a System.ArgumentNullException was thrown: Argument cannot be null.
Parameter name: path
Could not read Bibtex file: Could not find file "/home/jianglai/bibtex.bib".
Could not locate Skype on D-Bus. Make sure Skype is running
Could not locate Skype on D-Bus. Make sure Skype is running
Could not locate Skype on D-Bus. Make sure Skype is running

(Do:4085): Wnck-CRITICAL **: wnck_set_client_type got called multiple times.

Could not locate Tomboy on D-Bus. Perhaps it's not running?
Cannot index Thunderbird contacts because a System.ArgumentNullException was thrown: Argument cannot be null.
Parameter name: path
Could not read Bibtex file: Could not find file "/home/jianglai/bibtex.bib".
**
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 Do.Platform.Linux.GnomeKeyringSecurePreferencesService.TryGet (string,string&) <0x000ae>
  at Do.Platform.SecurePreferencesServiceWrapper.TryGet<object> (string,object&) <0x00054>
  at (wrapper static-rgctx-invoke) Do.Platform.SecurePreferencesServiceWrapper.static_rgctx_invoke_bool__this___string_string& (string,string&) <0xffffffff>
  at Do.Platform.Preferences.PreferencesImplementation`1<object>.TryGet<object> (Do.Platform.IPreferencesService,string,object&) <0x00060>
  at Do.Platform.Preferences.PreferencesImplementation`1<object>.TryGet<object> (Do.Platform.IPreferencesService,string,object,object&) <0x0002b>
  at Do.Platform.Preferences.PreferencesImplementation`1<object>.GetSecure<object> (string,object) <0x00050>
  at (wrapper static-rgctx-invoke) Do.Platform.Preferences.PreferencesImplementation`1<GDocs.GDocsPreferences>.static_rgctx_invoke_string__this___string_string (string,string) <0xffffffff>
  at GDocs.GDocsPreferences.get_Password () <0x00033>
  at GDocs.GDocs..cctor () <0x000ab>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
  at GDocs.GDocsItemSource.get_Items () <0xffffffff>
  at GDocs.GDocsItemSource.get_Items () <0x0000b>
  at Do.Universe.Safe.SafeItemSource.get_Items () <0x00032>
  at Do.Core.UniverseManager.ReloadSource (Do.Universe.ItemSource,System.Collections.Generic.Dictionary`2<string, Do.Universe.Item>) <0x00058>
  at Do.Core.UniverseManager/<ReloadUniverse>c__AnonStoreyD.<>m__22 (Do.Universe.ItemSource) <0x0001b>
  at System.Linq.EnumerableExtensions.ForEach<object> (System.Collections.Generic.IEnumerable`1<object>,System.Action`1<object>) <0x000cc>
  at Do.Core.UniverseManager.ReloadUniverse () <0x000cd>
  at Do.Core.UniverseManager.InitializeAsync () <0x00010>
  at Do.Platform.ApplicationService/<RunOnThread>c__AnonStoreyF.<>m__28 () <0x0001c>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

 /usr/bin/cli() [0x80ca6e4]
 [0xb7881410]
 /lib/tls/i686/cmov/libc.so.6(abort+0x182) [0xb75faa72]
 /usr/local/lib/libglib-2.0.so.0(g_assertion_message+0x163) [0xb77d6b53]
 /usr/local/lib/libglib-2.0.so.0(+0x631ad) [0xb77d71ad]
 /usr/lib/libgnome-keyring.so.0(+0x7802) [0xb3397802]
 /usr/lib/libgnome-keyring.so.0(+0x6b55) [0xb3396b55]
 /usr/lib/libgnome-keyring.so.0(+0x78fc) [0xb33978fc]
 /usr/lib/libgnome-keyring.so.0(+0x85b1) [0xb33985b1]
 /usr/lib/libgnome-keyring.so.0(gnome_keyring_find_items_sync+0x45) [0xb33a1985]
 [0xb3412e63]
 [0xb34125cc]
 [0xb3412307]
 [0xb341217d]
 [0xb3412114]
[Debug 18:19:30.110] [0xb340d141]
 [0xb340d084]
 [0xb34120c1]
 [0xb1d11694]
 [0xb1d1166c]
 [0xb1d113fc]
 [0xb71a88f3]
 /usr/bin/cli() [0x8116fca]
 /usr/bin/cli(mono_runtime_class_init+0x19) [0x8117669]
 /usr/bin/cli() [0x8063061]
 /usr/bin/cli() [0x80d42bb]
 [0xb745e066]
 [0xb2d08d9b]
 [0xb2d08959]
 [0xb2d088ec]
 [0xb2d08745]
 [0xb2e7b8ce]
 [0xb2e7b781]
 [0xb2e7b645]
 [0xb5c8b711]
 /usr/bin/cli(mono_runtime_delegate_invoke+0x34) [0x8110ef4]
 /usr/bin/cli() [0x815285b]
 /usr/bin/cli() [0x81c3062]
 /usr/bin/cli() [0x81e1925]
 /lib/tls/i686/cmov/libpthread.so.0(+0x596e) [0xb775296e]
 /lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0xb769a9de]

Debug info from gdb:

 Acquiring org.freedesktop.DBus session instance
[Debug 18:19:30.116] org.bansheeproject.CollectionIndexer is already started
[Debug 18:19:30.117] Resolving org.bansheeproject.CollectionIndexer.Service (attempt 1)
[Debug 18:19:30.118] Connected to org.bansheeproject.CollectionIndexer.Service
[Thread debugging using libthread_db enabled]
[New Thread 0xb1e61b70 (LWP 4439)]
[New Thread 0xb1bffb70 (LWP 4106)]
[New Thread 0xb2063b70 (LWP 4101)]
[New Thread 0xb2467b70 (LWP 4097)]
[New Thread 0xb2d06b70 (LWP 4090)]
[New Thread 0xb2e20b70 (LWP 4089)]
[New Thread 0xb338fb70 (LWP 4088)]
[New Thread 0xb6db6b70 (LWP 4087)]
[New Thread 0xb71a7b70 (LWP 4086)]
0xb7881422 in __kernel_vsyscall ()
  10 Thread 0xb71a7b70 (LWP 4086) 0xb7881422 in __kernel_vsyscall ()
  9 Thread 0xb6db6b70 (LWP 4087) 0xb7881422 in __kernel_vsyscall ()
  8 Thread 0xb338fb70 (LWP 4088) 0xb7881422 in __kernel_vsyscall ()
  7 Thread 0xb2e20b70 (LWP 4089) 0xb7881422 in __kernel_vsyscall ()
  6 Thread 0xb2d06b70 (LWP 4090) 0xb7881422 in __kernel_vsyscall ()
  5 Thread 0xb2467b70 (LWP 4097) 0xb7881422 in __kernel_vsyscall ()
  4 Thread 0xb2063b70 (LWP 4101) 0xb7881422 in __kernel_vsyscall ()
  3 Thread 0xb1bffb70 (LWP 4106) 0xb7881422 in __kernel_vsyscall ()
  2 Thread 0xb1e61b70 (LWP 4439) 0xb7881422 in __kernel_vsyscall ()
* 1 Thread 0xb75cb6f0 (LWP 4085) 0xb7881422 in __kernel_vsyscall ()

Thread 10 (Thread 0xb71a7b70 (LWP 4086)):
#0 0xb7881422 in __kernel_vsyscall ()
#1 0xb775a736 in nanosleep () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x081a6af8 in ?? ()
#3 0xb775296e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4 0xb769a9de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 9 (Thread 0xb6db6b70 (LWP 4087)):
#0 0xb7881422 in __kernel_vsyscall ()
#1 0xb7759245 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 0xb775296e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0xb769a9de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xb338fb70 (LWP 4088)):
#0 0xb7881422 in __kernel_vsyscall ()
#1 0xb7757342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x081ac76c in ?? ()
#3 0x081c728a in ?? ()
#4 0x0814f763 in ?? ()
#5 0xb3418acd in ?? ()
#6 0xb341835f in ?? ()
#7 0xb3418020 in ?? ()
#8 0xb5c8b711 in ?? ()
#9 0x08110ef4 in mono_runtime_delegate_invoke ()
#10 0x0815285b in ?? ()
#11 0x081c3062 in ?? ()
#12 0x081e1925 in ?? ()
#13 0xb775296e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0xb769a9de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xb2e20b70 (LWP 4089)):
#0 0xb7881422 in __kernel_vsyscall ()
#1 0xb7759f5b in read () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x080ca87e in ?? ()
#3 <signal handler called>
#4 0xb7881422 in __kernel_vsyscall ()
#5 0xb75f7641 in raise () from /lib/tls/i686/cmov/libc.so.6
#6 0xb75faa72 in abort () from /lib/tls/i686/cmov/libc.so.6
#7 0xb77d6b53 in IA__g_assertion_message (domain=0x0, file=0xb33a75f4 "gkr-operation.c", line=169,
    func=0xb33a7967 "gkr_operation_set_result", message=0x8836738 "assertion failed: ((int) res != INCOMPLETE)")
    at gtestutils.c:1318
#8 0xb77d71ad in IA__g_assertion_message_expr (domain=0x0, file=0xb33a75f4 "gkr-operation.c", line=169,
    func=0xb33a7967 "gkr_operation_set_result", expr=0xb33a7633 "(int) res != INCOMPLETE") at gtestutils.c:1329
#9 0xb3397802 in ?? () from /usr/lib/libgnome-keyring.so.0
#10 0xb3396b55 in ?? () from /usr/lib/libgnome-keyring.so.0
#11 0xb33978fc in ?? () from /usr/lib/libgnome-keyring.so.0
#12 0xb33985b1 in ?? () from /usr/lib/libgnome-keyring.so.0
#13 0xb33a1985 in gnome_keyring_find_items_sync () from /usr/lib/libgnome-keyring.so.0
#14 0xb3412e63 in ?? ()
#15 0xb34125cc in ?? ()
#16 0xb3412307 in ?? ()
#17 0xb341217d in ?? ()
#18 0xb3412114 in ?? ()
#19 0xb340d141 in ?? ()
#20 0xb340d084 in ?? ()
#21 0xb34120c1 in ?? ()
#22 0xb1d11694 in ?? ()
#23 0xb1d1166c in ?? ()
#24 0xb1d113fc in ?? ()
#25 0xb71a88f3 in ?? ()
#26 0x08116fca in ?? ()
#27 0x08117669 in mono_runtime_class_init ()
#28 0x08063061 in ?? ()
#29 0x080d42bb in ?? ()
#30 0xb745e066 in ?? ()
#31 0xb2d08d9b in ?? ()
#32 0xb2d08959 in ?? ()
#33 0xb2d088ec in ?? ()
#34 0xb2d08745 in ?? ()
#35 0xb2e7b8ce in ?? ()
#36 0xb2e7b781 in ?? ()
#37 0xb2e7b645 in ?? ()
#38 0xb5c8b711 in ?? ()
#39 0x08110ef4 in mono_runtime_delegate_invoke ()
#40 0x0815285b in ?? ()
#41 0x081c3062 in ?? ()
#42 0x081e1925 in ?? ()
#43 0xb775296e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#44 0xb769a9de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xb2d06b70 (LWP 4090)):
#0 0xb7881422 in __kernel_vsyscall ()
#1 0xb768cb56 in poll () from /lib/tls/i686/cmov/libc.so.6
#2 0xb77c026b in IA__g_poll (fds=0x83951d8, nfds=5, timeout=-1) at gpoll.c:127
#3 0xb77b2e2c in g_main_context_poll (context=0xb315c050, block=<value optimized out>, dispatch=1, self=0xb3164058)
    at gmain.c:2904
#4 g_main_context_iterate (context=0xb315c050, block=<value optimized out>, dispatch=1, self=0xb3164058) at gmain.c:2586
#5 0xb77b3597 in IA__g_main_loop_run (loop=0xb3164190) at gmain.c:2799
#6 0xb3803160 in ?? () from /usr/lib/libORBit-2.so.0
#7 0xb77d9b4f in g_thread_create_proxy (data=0xb3164058) at gthread.c:1893
#8 0xb775296e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9 0xb769a9de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xb2467b70 (LWP 4097)):
#0 0xb7881422 in __kernel_vsyscall ()
#1 0xb769b256 in epoll_wait () from /lib/tls/i686/cmov/libc.so.6
#2 0x08156292 in ?? ()
#3 0x081527ea in ?? ()
#4 0x081c3062 in ?? ()
#5 0x081e1925 in ?? ()
#6 0xb775296e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0xb769a9de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xb2063b70 (LWP 4101)):
#0 0xb7881422 in __kernel_vsyscall ()
#1 0xb768adfb in read () from /lib/tls/i686/cmov/libc.so.6
#2 0xb763441b in _IO_file_underflow () from /lib/tls/i686/cmov/libc.so.6
#3 0xb7635cbb in _IO_default_uflow () from /lib/tls/i686/cmov/libc.so.6
#4 0xb76370e8 in __uflow () from /lib/tls/i686/cmov/libc.so.6
#5 0xb762a27c in _IO_getline_info () from /lib/tls/i686/cmov/libc.so.6
#6 0xb762a1c1 in _IO_getline () from /lib/tls/i686/cmov/libc.so.6
#7 0xb762920a in fgets () from /lib/tls/i686/cmov/libc.so.6
#8 0xb1d00cd4 in ?? () from /lib/libnss_mdns4.so.2
#9 0xb1d01177 in _nss_mdns4_gethostbyaddr_r () from /lib/libnss_mdns4.so.2
#10 0xb76b12fb in gethostbyaddr_r () from /lib/tls/i686/cmov/libc.so.6
#11 0xb7672ee0 in ?? () from /lib/tls/i686/cmov/libc.so.6
#12 0xb7674a35 in getaddrinfo () from /lib/tls/i686/cmov/libc.so.6
#13 0x0815ba93 in ?? ()
#14 0xb24e339b in ?? ()
#15 0xb24e1c21 in ?? ()
#16 0xb24e1a63 in ?? ()
#17 0xb24e144a in ?? ()
#18 0xb24e112a in ?? ()
#19 0xb71a8087 in ?? ()
#20 0x08115d2f in mono_runtime_invoke_array ()
#21 0x08115f7e in ?? ()
#22 0x08155043 in ?? ()
#23 0x08155517 in ?? ()
#24 0x081527ea in ?? ()
#25 0x081c3062 in ?? ()
#26 0x081e1925 in ?? ()
#27 0xb775296e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#28 0xb769a9de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb1bffb70 (LWP 4106)):
#0 0xb7881422 in __kernel_vsyscall ()
#1 0xb7757342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x081ac76c in ?? ()
#3 0x081c728a in ?? ()
#4 0x0814f763 in ?? ()
#5 0xb3418acd in ?? ()
#6 0xb341835f in ?? ()
#7 0xb1d42eb5 in ?? ()
#8 0xb1d42d4e in ?? ()
#9 0xb1d42447 in ?? ()
#10 0xb1d37a84 in ?? ()
#11 0xb1d37911 in ?? ()
#12 0xb1d3787f in ?? ()
#13 0xb1d377ab in ?? ()
#14 0xb1d36ffa in ?? ()
#15 0xb71a8087 in ?? ()
#16 0x08115d2f in mono_runtime_invoke_array ()
#17 0x08115f7e in ?? ()
#18 0x08155043 in ?? ()
#19 0x08155517 in ?? ()
#20 0x081527ea in ?? ()
#21 0x081c3062 in ?? ()
#22 0x081e1925 in ?? ()
#23 0xb775296e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#24 0xb769a9de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb1e61b70 (LWP 4439)):
#0 0xb7881422 in __kernel_vsyscall ()
#1 0xb7757342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x081ac76c in ?? ()
#3 0x081c728a in ?? ()
#4 0x08155569 in ?? ()
#5 0x081527ea in ?? ()
#6 0x081c3062 in ?? ()
#7 0x081e1925 in ?? ()
#8 0xb775296e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9 0xb769a9de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb75cb6f0 (LWP 4085)):
#0 0xb7881422 in __kernel_vsyscall ()
#1 0xb768cb56 in poll () from /lib/tls/i686/cmov/libc.so.6
#2 0xb77c026b in IA__g_poll (fds=0x87ac9c0, nfds=10, timeout=1794269) at gpoll.c:127
#3 0xb77b2e2c in g_main_context_poll (context=0x839c3d8, block=<value optimized out>, dispatch=1, self=0x82e65e8) at gmain.c:2904
#4 g_main_context_iterate (context=0x839c3d8, block=<value optimized out>, dispatch=1, self=0x82e65e8) at gmain.c:2586
#5 0xb77b3597 in IA__g_main_loop_run (loop=0x87ac968) at gmain.c:2799
#6 0xb6152299 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#7 0xb2e7c338 in ?? ()
#8 0xb2e7c2fb in ?? ()
#9 0xb71a84bf in ?? ()
#10 0xb71a8204 in ?? ()
#11 0x08113b1e in mono_runtime_exec_main ()
#12 0x0811429a in mono_runtime_run_main ()
#13 0x080b3524 in mono_main ()
#14 0x0805ad25 in ?? ()
#15 0xb75e3bd6 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#16 0x0805ac61 in ?? ()

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Aborted (core dumped)

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gnome-do 0.8.3.1+dfsg-1
ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-19-generic i686
Architecture: i386
Date: Thu Apr 1 18:20:08 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: gnome-do

Lai Jiang (laijiang) wrote :
themuddler (mike-udall) wrote :

I can confirm this. Error message attached. Happy to try to help debug if I can.

Lai Jiang (laijiang) wrote :

Build from source code solved this problem. The .deb package still causes automatic quitting.

Chris S. (cszikszoy) wrote :

This is actually a problem with the gnome keyring C# bindings. The bindings are fixed now, so this shouldn't be an issue anymore.

Changed in gnome-do (Ubuntu):
status: New → Invalid
Chris Halse Rogers (raof) wrote :

Actually, this is a problem in the way Do uses the keyring. gnome-keyring-sharp is not threadsafe, but Do plugins are querying it from multiple threads.

This should be fixed in Do, probably at the SecurePreferenceService level.

Changed in gnome-do (Ubuntu):
importance: Undecided → Medium
status: Invalid → Triaged
calicojack (mmichim) wrote :

I have the same problem. I noticed that after showing the error, there are still two gnome-do processes running.

calicojack (mmichim) wrote :

I just found out that if I deactivate the youtube plugin, gnome-do runs fine.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-do - 0.8.4-0ubuntu1

---------------
gnome-do (0.8.4-0ubuntu1) natty; urgency=low

  * The Race Against FF upload. Merge from unreleased Debian git.
    Remaining Ubuntu changes:
    + debian/patches/05_disable_resize_grips.patch.diff:
      Disable resize handles for the Do windows.
    + debian/control:
      Bump gtk# build dep for HasResizeGrip API.
  * New Debian changes:
  * The long fortold release
    + Fixes a threadsafety issue resulting in 100% CPU usage (Closes: 565591,
      LP: #450852).
    + Proxies all keyring calls to the GTK main thread, as required by the new
      gnome-keyring (Closes: 603876, LP: #553643)
  * debian/patches/00_bundledlibs.dpatch:
  * debian/rules:
    + Upstream has dropped bundled gmcs binary; now 100% DFSG-free, so we don't
      have to repack the tarball or patch the buildsystem.
  * debian/patches/03_disable_docky.dpatch:
    + Drop. Docky is now gone in the upstream tarball.
  * debian/rules:
  * debian/control:
  * debian/patches/*:
    + Switch to quilt to harmonise with other pkg-cli-* packages.
  * debian/control:
    + Drop recommends on gnome-do-docklets. Docky is now a separate package,
      so the docklets are useless for Do.
    + Bump Breaks on gnome-do-plugins to 0.8.3. Do no longer provides the Wink
      library, which has been imported into the 0.8.3 do-plugins sources.
    + Bump standards-version; no changes needed.
    + Migrate to git and update VCS fields appropriately
 -- Christopher James Halse Rogers <email address hidden> Tue, 15 Feb 2011 21:50:02 +1100

Changed in gnome-do (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers