Dictionary plug-in eats all available ram
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Do Plugins |
Confirmed
|
Critical
|
Unassigned |
Bug Description
To reproduce:
1. Activate the "GNOME Dictionary" plug-in
2. Enter search mode
3. Enter any text that puts Gnome-Do into "raw text mode"
4. Enter a dot (.), comma (,) í or a whitespace character (probably more that works) Example: "termmmmmmmm."
Result:
gnome-do almost instantaneously consumes a large amount of memory (60-80%) and after a couple more seconds it has taken a hold of 100% of the memory and on top of that it has also filled out the swap.
Two side-by-side example outputs from top:
PR: 20 | 20
NI: 0 | 0
VIRT: 2636m | 2641m
RES: 2.2g | 2.2g
SHR: 23m | 23m
S: D | R
%CPU: 18 | 223
%MEM: 67.4 | 69.0
TIME+: 0:15.89 | 0:21.96
COMMAND: gnome-do
I have so far seen this happen on two different computers with both the 0.8.0.* and 0.8.1.* versions of Gnome Do, the latest being 0.8.1.3.
I used information from Bug 270437 in the Gnome Do launchpad to generate debug information, if it helps:
arcanox@localhost ~ $ gnome-do --debug > ~/gnome-
GNOME.DefineAction "Define" encountered an error in SupportsItem: Out of memory.
Terminated
arcanox@localhost ~ $ mono --trace=N:Do.Core /usr/lib/
GNOME.DefineAction "Define" encountered an error in SupportsItem: Out of memory.
Terminated
I terminated by switching tty and running killall gnome-do
gnome-do --debug output:
[Info 17:30:03.464] [Services] Successfully located service of type IPreferencesSer
[Info 17:30:03.475] [Services] Successfully located service of type ILogService.
[Info 17:30:03.475] [Services] Successfully located service of type ISecurePreferen
[Info 17:30:03.481] [Services] Successfully located service of type INotificationsS
[Debug 17:30:03.489] [InterfaceManager] "Mini Interface" interface was loaded
[Info 17:30:03.490] [Services] Successfully located service of type ILogService.
[Debug 17:30:03.490] [InterfaceManager] "Docky" interface was loaded
[Debug 17:30:03.491] [InterfaceManager] "Classic Interface" interface was loaded
[Debug 17:30:03.492] [InterfaceManager] "Glass Interface" interface was loaded
[Debug 17:30:03.493] [InterfaceManager] "Nouveau Interface" interface was loaded
[Debug 17:30:03.502] [PluginManager] Loaded "ApplicationIte
[Debug 17:30:03.502] [PluginManager] Loaded "GNOMESpecialLo
[Info 17:30:03.504] [Services] Successfully located service of type AbstractApplica
[Debug 17:30:03.505] [PluginManager] Loaded "InternalItemSo
[Debug 17:30:03.506] [PluginManager] Loaded "ItemSourceItem
[Debug 17:30:03.508] [PluginManager] Loaded "EmailAction" from plugin.
[Debug 17:30:03.508] [PluginManager] Loaded "OpenAction" from plugin.
[Debug 17:30:03.559] [PluginManager] Loaded "OpenUrlAction" from plugin.
[Debug 17:30:03.562] [PluginManager] Loaded "OpenWithAction" from plugin.
[Debug 17:30:03.562] [PluginManager] Loaded "RevealAction" from plugin.
[Debug 17:30:03.562] [PluginManager] Loaded "RunAction" from plugin.
[Debug 17:30:03.563] [PluginManager] Loaded "CopyToClipboar
[Info 17:30:03.567] [Services] Successfully located service of type AbstractSystemS
[Debug 17:30:03.573] [SystemService] No other application instance detected. Continue startup.
[Info 17:30:03.581] [Services] Successfully located service of type IPreferencesSer
[Info 17:30:03.581] [Services] Successfully located service of type ISecurePreferen
[Debug 17:30:03.586] [Controller] Setting theme Docky
[Info 17:30:03.627] [Services] Successfully located service of type PathsService.
[Info 17:30:03.667] [Services] Successfully located service of type ICoreService.
[Info 17:30:03.769] [UniverseManager] Reloading universe...
[Debug 17:30:03.772] [UniverseManager] Reloading actions...
[Debug 17:30:03.775] [UniverseManager] Reloading item source "Applications"...
[Debug 17:30:03.833] [UniverseManager] Reloading item source "GNOME Special Locations"...
[Debug 17:30:03.868] [UniverseManager] Reloading item source "Internal GNOME Do Items"...
[Debug 17:30:03.869] [UniverseManager] Reloading item source "GNOME Do Item Sources"...
[Info 17:30:03.871] [UniverseManager] Universe contains 119 items.
[Debug 17:30:03.914] [RelevanceProvider] Successfully loaded learned usage data.
[Info 17:30:09.130] [Services] Successfully located service of type IUniverseFactor
[Debug 17:30:10.655] [PluginManager] Loaded "DefineAction" from plugin.
[Info 17:30:12.282] [UniverseManager] Reloading universe...
[Debug 17:30:12.286] [UniverseManager] Reloading actions...
[Debug 17:30:12.287] [UniverseManager] Reloading item source "Applications"...
[Debug 17:30:12.291] [UniverseManager] Reloading item source "GNOME Special Locations"...
[Debug 17:30:12.293] [UniverseManager] Reloading item source "Internal GNOME Do Items"...
[Debug 17:30:12.294] [UniverseManager] Reloading item source "GNOME Do Item Sources"...
[Info 17:30:12.294] [UniverseManager] Universe contains 120 items.
[Info 17:30:16.705] [Services] Successfully located service of type IEnvironmentSer
Output of "mono --trace=N:Do.Core /usr/lib/
tags: | added: official-plugins |
Changed in do-plugins: | |
importance: | Undecided → Critical |
status: | New → Confirmed |
Changed in do-plugins: | |
status: | Confirmed → Fix Committed |
assignee: | nobody → artur bryczek (arturbryczek) |
Changed in do-plugins: | |
status: | Confirmed → Fix Committed |
I have found this as well. Gnome-Do 0.8.2 on Fedora Core 10.