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 312865 - gedit crashes when you spell check
gedit crashes when you spell check
Status: RESOLVED FIXED
Product: gedit-plugins
Classification: Other
Component: General
2.10.x
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
gedit QA volunteers
Depends on:
Blocks:
 
 
Reported: 2005-08-08 09:25 UTC by Sebastien Bacher
Modified: 2019-03-23 20:54 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
patch (1.13 KB, patch)
2005-08-08 11:15 UTC, Paolo Borelli
committed Details | Review

Description Sebastien Bacher 2005-08-08 09:25:25 UTC
This bug has been opened here: https://bugzilla.ubuntu.com/13253

"In Breezy, Gedit 2.10.4 will always crash when you try to use the spell check
feature. It worked fine till the last upgrade."
Comment 1 Sebastien Bacher 2005-08-08 09:26:03 UTC
Backtrace of the crash:

Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 7491)

  • #0 lazy_init
    at gedit-spell-checker.c line 450
  • #1 gedit_spell_checker_check_word
    at gedit-spell-checker.c line 567
  • #2 get_next_misspelled_word
    at spell.c line 420
  • #3 spell_cb
    at spell.c line 706
  • #4 bonobo_socket_add_id
    from /usr/lib/libbonoboui-2.so.0
  • #5 IA__g_closure_invoke
    at gclosure.c line 492
  • #6 bonobo_closure_invoke_va_list
    from /usr/lib/libbonobo-2.so.0
  • #7 bonobo_closure_invoke
    from /usr/lib/libbonobo-2.so.0
  • #8 bonobo_ui_component_add_verb_list
    from /usr/lib/libbonoboui-2.so.0
  • #9 _ORBIT_skel_small_Bonobo_UIComponent_execVerb
    from /usr/lib/libbonobo-2.so.0
  • #10 ORBit_c_stub_invoke
    from /usr/lib/libORBit-2.so.0
  • #11 Bonobo_UIComponent_execVerb
    from /usr/lib/libbonobo-2.so.0
  • #12 bonobo_ui_engine_ui_event
    from /usr/lib/libbonoboui-2.so.0
  • #13 IA__g_cclosure_marshal_VOID__POINTER
    at gmarshal.c line 601
  • #14 g_type_class_meta_marshal
    at gclosure.c line 569
  • #15 IA__g_closure_invoke
    at gclosure.c line 492
  • #16 signal_emit_unlocked_R
    at gsignal.c line 2523
  • #17 IA__g_signal_emit_valist
    at gsignal.c line 2244
  • #18 IA__g_signal_emit
    at gsignal.c line 2288
  • #19 bonobo_ui_engine_emit_verb_on_w
    from /usr/lib/libbonoboui-2.so.0
  • #20 bonobo_ui_sync_wrap_widget
    from /usr/lib/libbonoboui-2.so.0
  • #21 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #22 IA__g_closure_invoke
    at gclosure.c line 492
  • #23 signal_emit_unlocked_R
    at gsignal.c line 2485
  • #24 IA__g_signal_emit_valist
    at gsignal.c line 2244
  • #25 IA__g_signal_emit
    at gsignal.c line 2288
  • #26 IA__gtk_widget_activate
    at gtkwidget.c line 3766
  • #27 IA__gtk_menu_shell_activate_item
    at gtkmenushell.c line 1057
  • #28 gtk_menu_shell_button_release
    at gtkmenushell.c line 663
  • #29 gtk_menu_button_release
    at gtkmenu.c line 2571
  • #30 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 83
  • #31 g_type_class_meta_marshal
    at gclosure.c line 569
  • #32 IA__g_closure_invoke
    at gclosure.c line 492
  • #33 signal_emit_unlocked_R
    at gsignal.c line 2523
  • #34 IA__g_signal_emit_valist
    at gsignal.c line 2254
  • #35 IA__g_signal_emit
    at gsignal.c line 2288
  • #36 gtk_widget_event_internal
    at gtkwidget.c line 3735
  • #37 IA__gtk_propagate_event
    at gtkmain.c line 2157
  • #38 IA__gtk_main_do_event
    at gtkmain.c line 1395
  • #39 gdk_event_dispatch
    at gdkevents-x11.c line 2291
  • #40 IA__g_main_context_dispatch
    at gmain.c line 1934
  • #41 g_main_context_iterate
    at gmain.c line 2565
  • #42 IA__g_main_loop_run
    at gmain.c line 2769
  • #43 IA__gtk_main
    at gtkmain.c line 974
  • #44 main
    at gedit2.c line 435

Comment 2 Paolo Borelli 2005-08-08 11:15:39 UTC
Created attachment 50385 [details] [review]
patch

this patch fixes the crash and I committed it both on HEAD and on gnome-2-10.

It still remains to be investigated why on ubuntu breezy this fallback codepath
is executed... it may be also a problem in aspell, not sure.
Comment 3 Paolo Borelli 2005-08-08 11:16:32 UTC
(lowering prio etc, now that the creasher is fixed)
Comment 4 Paolo Borelli 2005-08-23 09:39:17 UTC
Seb, I'm now on breezy and the spell check works ok... closing. Feel free to
reopen if you still see issues.