Do

Plugins can deadlock Universe updater thread

Bug #589649 reported by Cefn on 2010-06-04
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Do
High
Unassigned

Bug Description

Just updated my Karmic desktop with a new kernel and restarted, following the instructions of Update Manager.

Now, when I trigger the Gnome-do keyboard shortcut and type 'firefox' it's unable to find any applications of that name. Indeed it never finds any results at all.

I don't know if there were any other updates bundled with the kernel updates - there may have been something else in there. However, I'm running an extremely generic Karmic, with Gnome-do being the only extra PPA.

Tried rolling back to 0.8.2+dfsg-1 from 0.8.3.1+dfsg-0~9.1 to see if this made a difference (without restarting). There's still no results available against any search.

Cefn (6-launchpad-net-cefn-com) wrote :

I can confirm the same behaviour in Lucid; my personal desktop prompted a kernel update yesterday and now once again I have no results coming through from Gnome-Do.

This seems to me like a pretty major bug which will need some attention from the project in order to survive with credibility. For now I'll try Launchy to stay effective, as I've become dependent on the simplicity of a keyboard-driven desktop.

Cefn (6-launchpad-net-cefn-com) wrote :

I have Gnome-do results back after a further system restart.

I can't explain why the first restart after a fresh kernel update would kill gnome-do, but a restart is indeed required from my experience on two completely different machines and different releases of Ubuntu.

Arturo Morgado (amorgado-ing) wrote :

what does it throws when you run Do from command line?
is something like
(Do:3825): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
(Do:3825): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
(Do:3825): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
??

Cefn (6-launchpad-net-cefn-com) wrote :

Sadly I haven't the chance to recreate until I do another kernel install. I did one yesterday, updating my Karmic to a Lucid kernel, and for one session, Gnome Do returned no results as usual. However, after the first reboot, it's back. Next kernel update I'll try to check from the command line while the bug is still there.

Olivier Tilloy (osomon) wrote :
Download full text (12.6 KiB)

I am experiencing the same issue with an up-to-date Lucid.
Note that I don't have a way to reliably reproduce 100% of the time: sometimes after boot gnome-do will work just fine (I use it mostly as an application launcher, so for instance entering "th" will find thunderbird), and sometimes it won't find any results for any search. I am in this latter situation right now, here is the output I get when launching gnome-do with the --debug switch:

osomon@granuja:~$ gnome-do --debug
WARNING: [Do.Banshee,1.0] Could not load some add-in assemblies: File '/usr/lib/banshee-1/Banshee.CollectionIndexer.dll' not found.
ERROR: Errors found in add-in '/usr/lib/gnome-do/plugins/Banshee.dll:
ERROR: The file '/usr/lib/banshee-1/Banshee.CollectionIndexer.dll' referenced in the manifest could not be found.
[Info 09:32:29.102] [Services] Successfully located service of type IPreferencesService.
[Info 09:32:29.110] [Services] Successfully located service of type ILogService.
[Info 09:32:29.110] [Services] Successfully located service of type ISecurePreferencesService.
[Info 09:32:29.115] [Services] Successfully located service of type INotificationsService.
[Debug 09:32:29.117] [InterfaceManager] "Glass" interface was loaded
[Info 09:32:29.120] [Services] Successfully located service of type ILogService.
[Debug 09:32:29.120] [InterfaceManager] "Docky" interface was loaded
[Debug 09:32:29.121] [InterfaceManager] "Mini" interface was loaded
[Debug 09:32:29.121] [InterfaceManager] "Classic" interface was loaded
[Debug 09:32:29.122] [InterfaceManager] "Nouveau" interface was loaded
[Debug 09:32:29.125] [PluginManager] Loaded "SessionCommandsItemSource" from plugin.
[Debug 09:32:29.125] [PluginManager] Loaded "NotesItemSource" from plugin.
[Info 09:32:29.131] [Services] Successfully located service of type IPreferencesService.
[Info 09:32:29.131] [Services] Successfully located service of type ISecurePreferencesService.
[Info 09:32:29.135] [Services] Successfully located service of type ICoreService.
[Info 09:32:29.136] [Services] Successfully located service of type INetworkService.
[Debug 09:32:29.140] [PluginManager] Loaded "WeatherItemSource" from plugin.
[Info 09:32:29.142] [Services] Successfully located service of type AbstractApplicationService.
[Debug 09:32:29.142] [PluginManager] Loaded "InternalItemSource" from plugin.
[Debug 09:32:29.143] [PluginManager] Loaded "ItemSourceItemSource" from plugin.
[Debug 09:32:29.144] [PluginManager] Loaded "PlacesItemSource" from plugin.
[Debug 09:32:29.145] [PluginManager] Loaded "ApplicationItemSource" from plugin.
[Debug 09:32:29.145] [PluginManager] Loaded "GNOMESpecialLocationsItemSource" from plugin.
[Debug 09:32:29.146] [PluginManager] Loaded "ProfileItemSource" from plugin.
[Debug 09:32:29.146] [PluginManager] Loaded "ScreenshotItemSource" from plugin.
[Debug 09:32:29.173] [PluginManager] Loaded "ScreenItemSource" from plugin.

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

[Info 09:32:29.199] [Services] Successfully located service of type PathsService.
[Debug 09:32:29.200] [PluginManager] Loaded "WindowItemSource" from plugin.
[De...

Changed in do:
status: New → Confirmed
Atul (atulkakrana) wrote :

Yes....same behavior....bye bye gnome do....at least for two yrs...because its the time frame things get fixed in Ubuntu

 summary Plugins can deadlock Universe updater thread
 importance high
 status triaged

Chris Halse Rogers (raof) wrote :

 summary "Plugins can deadlock Universe updater thread"
 importance high
 status triaged

This should be better in 0.8.4, but we're still in a position where
plugins can prevent the Universe from being updated, and if that happens
during startup then Do will never find anything.

I've got some ideas of how to fix this.

summary: - Gnome Do returns no results after recent Kernel update
+ Plugins can deadlock Universe updater thread
Changed in do:
milestone: none → 0.9
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers