specific word makes gdict CPU usage go wild

Bug #20433 reported by Nuno Nunes
8
Affects Status Importance Assigned to Milestone
gnome-utils (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

This is not a very serious bug, but definitely weird behaviour.

Looking up the word 'reprieve' makes gdict take up all the CPU time it can get.
top reports >95% CPU time. Changing to a different word brings down CPU usage to
normal levels. On the other hand, closing the dictionary window while showing
the results for 'reprieve' keeps CPU usage high.

This also happens if you mistype the word (repreive) and then click on the
correct spelling from the spellings list.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. What version of gnome-utils do you use? What dictionnary
server do you use? Can you get a backtrace with gdb:
- gdb -p `pidof gnome-dictionnary`
(gdb) thread apply all bt

Does it keep working until you change the word of just for some seconds?

Revision history for this message
Nuno Nunes (n-nunes) wrote :

Hi,

CPU usage remains high until another word is looked up, even if I close the window.

'apt-cache show gnome-utils' gives Version: 2.10.1-0ubuntu1. The server is
dict.org:2628.

Here's the gdb backtrace you asked:
(gdb) thread apply all bt

Thread 1 (Thread -1222253920 (LWP 8176)):
#0 0xffffe410 in ?? ()
#1 0xbffff708 in ?? ()
#2 0xffffffff in ?? ()
#3 0x0000000b in ?? ()
#4 0xb76434fa in poll () from /lib/tls/i686/cmov/libc.so.6
#5 0xb77658de in g_main_loop_get_context () from /usr/lib/libglib-2.0.so.0
#6 0xb7764f57 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#7 0xb776551e in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#8 0xb78a26f3 in bonobo_main () from /usr/lib/libbonobo-2.so.0
#9 0xb78a0ba9 in bonobo_generic_factory_main_timeout ()
   from /usr/lib/libbonobo-2.so.0
#10 0xb78a0ac9 in bonobo_generic_factory_main () from /usr/lib/libbonobo-2.so.0
#11 0xb773c2b2 in panel_applet_factory_main_closure ()
   from /usr/lib/libpanel-applet-2.so.0
#12 0xb773c35a in panel_applet_factory_main ()
   from /usr/lib/libpanel-applet-2.so.0
#13 0x0805b3a7 in main ()
#0 0xffffe410 in ?? ()

I also got a backtrace after looking up the offending word,
but it looks much the same to me. Let me know if it's useful
to include it.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Do you still have this issue with the new versions of the package?

Revision history for this message
Nuno Nunes (n-nunes) wrote : Re: [Bug 20433] specific word makes gdict CPU usage go wild

Hi,

Still the same behaviour with version 2.12.1, which I believe is up to
date.

On Sun, 2006-02-12 at 21:42 +0000, Sebastien Bacher wrote:
> Public bug report changed:
> https://launchpad.net/malone/bugs/20433
>
> Comment:
> Do you still have this issue with the new versions of the package?

Revision history for this message
Sebastien Bacher (seb128) wrote :

Right, it's uptodate for the stable one. Most of the code has been rewritted since though so it would be interesting to try with dapper. Let we know if you give it a try

Revision history for this message
Daniel Holbach (dholbach) wrote :

Does anybody still see this bug in Dapper or Edgy?

Changed in gnome-utils:
assignee: seb128 → desktop-bugs
Revision history for this message
Nuno Nunes (n-nunes) wrote : Re: [Bug 20433] Re: specific word makes gdict CPU usage go wild

I tried it using the same word. Looks fine now !
(using Dapper)

On Fri, 2006-07-14 at 13:40 +0000, Daniel Holbach wrote:
> Does anybody still see this bug in Dapper or Edgy?

Revision history for this message
Daniel Holbach (dholbach) wrote :

Marking bug as fixed. Thanks a lot for testing and following up.

Changed in gnome-utils:
status: Needs Info → 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.