gdict-applet hangs on "algae"

Bug #25534 reported by norjaidi
8
Affects Status Importance Assigned to Milestone
gnome-utils (Ubuntu)
Fix Released
Medium
Sebastien Bacher

Bug Description

A strange bug. Looking up "algae" hangs the applet, either
by entering the word, or clicking the word in the spellings sidebar.

Detail:
  Dist: Hoary
  server: dictd running on localhost
  dictionay: dict-gcide
  strategy: already tried "exact", "prefix", "lev", all hang

The command line dict runs fine with "algae".

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

Thanks for your bug. Have you planned to update to Ubuntu breezy (5.10), maybe
it's fixed with it. It works fine for me. Does it happen with the
gnome-dictionnary UI too or only the applet? Could you get a backtrace of the hang?

Revision history for this message
norjaidi (jaidi) wrote :
Download full text (5.7 KiB)

gnome-dictionary also hangs with "algae". As for Breezy, that has to
wait until the end of the teaching semester. (Or until I can find
a spare computer to victimize).

Anyway, even if it's fixed in Breezy, I believe it's worth looking
into this bug. May be it's not really fixed, but rather made dormant
by changes in the dictionary entry.

I have 4 sample backtraces below. It seems that the infinite loop
is within gdict_defbox_get_word ().

Output after ctrl-C:
(gdb) bt
#0 0xb7750eab in g_datalist_init () from /usr/lib/libglib-2.0.so.0
#1 0xb793fdfd in g_object_interface_list_properties ()
   from /usr/lib/libgobject-2.0.so.0
#2 0xb795309d in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
#3 0xb7941268 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#4 0xb7940a9a in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#5 0xb7941212 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#6 0xb79407b0 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#7 0xb7bf51e1 in _gtk_mark_segment_new () from /usr/lib/libgtk-x11-2.0.so.0
#8 0xb7bdccb0 in _gtk_text_btree_char_is_invisible ()
   from /usr/lib/libgtk-x11-2.0.so.0
#9 0xb7bdcdb7 in _gtk_text_btree_set_mark () from /usr/lib/libgtk-x11-2.0.so.0
#10 0xb7be48ef in gtk_text_buffer_create_child_anchor ()
   from /usr/lib/libgtk-x11-2.0.so.0
#11 0xb7be49d3 in gtk_text_buffer_create_mark ()
   from /usr/lib/libgtk-x11-2.0.so.0
#12 0x080579bd in gdict_defbox_get_word ()
#13 0x08057c3f in gdict_defbox_get_word ()
#14 0x0804f787 in dict_res_destroy ()
#15 0x080500f5 in dict_res_destroy ()
#16 0xb7784eb1 in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#17 0xb7761d0f in g_main_depth () from /usr/lib/libglib-2.0.so.0
#18 0xb7762cb5 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#19 0xb7762fd7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#20 0xb776351e in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#21 0xb7b7119b in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#22 0x08059f64 in main ()

(gdb) bt
#0 0xb75e71a6 in calloc () from /lib/tls/i686/cmov/libc.so.6
#1 0xb7767b46 in g_malloc0 () from /usr/lib/libglib-2.0.so.0
#2 0xb7bf519f in _gtk_mark_segment_new () from /usr/lib/libgtk-x11-2.0.so.0
#3 0xb7bdccb0 in _gtk_text_btree_char_is_invisible ()
   from /usr/lib/libgtk-x11-2.0.so.0
#4 0xb7bdcdb7 in _gtk_text_btree_set_mark () from /usr/lib/libgtk-x11-2.0.so.0
#5 0xb7be48ef in gtk_text_buffer_create_child_anchor ()
   from /usr/lib/libgtk-x11-2.0.so.0
#6 0xb7be49d3 in gtk_text_buffer_create_mark ()
   from /usr/lib/libgtk-x11-2.0.so.0
#7 0x080579bd in gdict_defbox_get_word ()
#8 0x08057c3f in gdict_defbox_get_word ()
#9 0x0804f787 in dict_res_destroy ()
#10 0x080500f5 in dict_res_destroy ()
#11 0xb7784eb1 in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#12 0xb7761d0f in g_main_depth () from /usr/lib/libglib-2.0.so.0
#13 0xb7762cb5 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#14 0xb7762fd7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#15 0xb776351e in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#16 0xb7b7119b in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x08059f64 in main ()

(gdb...

Read more...

Revision history for this message
norjaidi (jaidi) wrote :

I have upgraded to breezy. The bug no longer appears
(but, as I commented earlier, it may simply be dormant).

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

Thanks for following up on this bug. I close the bug for now. If the problems
should reoccur, please REOPEN it. Thanks.

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.