After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 584243 - Crash when replacing a mispelled word
Crash when replacing a mispelled word
Status: RESOLVED FIXED
Product: GtkHtml
Classification: Other
Component: Editing
3.27.x
Other Linux
: High critical
: ---
Assigned To: Srinivasa Ragavan
Srinivasa Ragavan
: 585840 587359 589995 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-05-29 22:32 UTC by C de-Avillez
Modified: 2009-07-30 07:23 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28



Description C de-Avillez 2009-05-29 22:32:49 UTC
To reproduce:

Edit a new email (non-HTML), misspell a word. Left click on it, select a replacement. Evo dies.

Evo, EDS, and gtkhtml git trunk.

(gdb) bt full
  • #0 *__GI___libc_free
    at malloc.c line 3599
  • #1 html_text_set_font_face
    at ../../../gtkhtml/gtkhtml/htmltext.c line 3030
  • #2 html_engine_replace_spell_word_with
    at ../../../gtkhtml/gtkhtml/htmlengine.c line 6239
  • #3 action_context_spell_suggest_cb
    at ../../../../gtkhtml/components/editor/gtkhtml-editor-private.c line 738
  • #4 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.21.0/gobject/gclosure.c line 767
  • #5 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.21.0/gobject/gsignal.c line 3247
  • #6 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.21.0/gobject/gsignal.c line 2980
  • #7 IA__g_signal_emit
    at /build/buildd/glib2.0-2.21.0/gobject/gsignal.c line 3037
  • #8 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #9 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.21.0/gobject/gclosure.c line 767
  • #10 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.21.0/gobject/gsignal.c line 3177
  • #11 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.21.0/gobject/gsignal.c line 2980
  • #12 IA__g_signal_emit
    at /build/buildd/glib2.0-2.21.0/gobject/gsignal.c line 3037
  • #13 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #14 gtk_menu_shell_activate_item
    from /usr/lib/libgtk-x11-2.0.so.0
  • #15 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #16 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #17 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.21.0/gobject/gclosure.c line 767
  • #18 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.21.0/gobject/gsignal.c line 3285
  • #19 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.21.0/gobject/gsignal.c line 2990
  • #20 IA__g_signal_emit
    at /build/buildd/glib2.0-2.21.0/gobject/gsignal.c line 3037
  • #21 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #22 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #23 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #24 ??
    from /usr/lib/libgdk-x11-2.0.so.0
  • #25 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.21.0/glib/gmain.c line 1814
  • #26 g_main_context_iterate
    at /build/buildd/glib2.0-2.21.0/glib/gmain.c line 2448
  • #27 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.21.0/glib/gmain.c line 2656
  • #28 bonobo_main
    at bonobo-main.c line 311
  • #29 main
    at ../../../evolution/shell/main.c line 706

Comment 1 Götz Waschk 2009-07-01 19:32:49 UTC
*** Bug 587359 has been marked as a duplicate of this bug. ***
Comment 2 Götz Waschk 2009-07-01 19:33:07 UTC
*** Bug 585840 has been marked as a duplicate of this bug. ***
Comment 3 Ruchir Brahmbhatt 2009-07-15 10:13:25 UTC
Reproducible on 2.27.3.
Comment 4 Milan Crha 2009-07-16 13:22:57 UTC
Created commit 48e8e69 in gtkhtml master (3.27.5+)

There was a typo using a function name as an object. Weird compiler didn't recognize it, probably because of the casting. Anyway, it is fixed now.
Comment 5 Akhil Laddha 2009-07-28 11:58:16 UTC
*** Bug 589995 has been marked as a duplicate of this bug. ***
Comment 6 Ruchir Brahmbhatt 2009-07-30 07:23:21 UTC
I can confirm this is fixed in 3.27.5. Thanks!