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 547724 - gedit crashed with SIGSEGV in g_type_check_instance()
gedit crashed with SIGSEGV in g_type_check_instance()
Status: RESOLVED FIXED
Product: gedit
Classification: Applications
Component: general
2.23.x
Other Linux
: Normal critical
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2008-08-14 08:33 UTC by Sebastien Bacher
Modified: 2008-08-17 18:04 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Sebastien Bacher 2008-08-14 08:33:32 UTC
the bug has been opened on https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/244292 and https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/257803 describe how to trigger the bug using the current version

"snifer@snifer-laptop:~$ dmesg > dmesg.txt
snifer@snifer-laptop:~$ mkdir somedir
snifer@snifer-laptop:~$ cp dmesg.txt somedir/
snifer@snifer-laptop:~$ gedit somedir/dmesg.txt
snifer@snifer-laptop:~$ rm -r somedir/
snifer@snifer-laptop:~$ gedit dmesg.txt

  • #0 type_iface_ensure_dflt_vtable_Wm
    at /build/buildd/glib2.0-2.17.4/gobject/gtype.c line 1725
  • #1 IA__g_signal_emit_by_name
    at /build/buildd/glib2.0-2.17.4/gobject/gsignal.c line 3062
  • #2 IA__g_io_condition_get_type
    at /build/buildd/glib2.0-2.17.4/gobject/gsourceclosure.c line 59
  • #3 model_iterate_children_cb
    at gedit-file-browser-store.c line 2191
  • #4 g_poll_file_monitor_cancel
    at /build/buildd/glib2.0-2.17.4/gio/gpollfilemonitor.c line 223
  • #5 g_poll_file_monitor_cancel
    at /build/buildd/glib2.0-2.17.4/gio/gpollfilemonitor.c line 229
  • #6 IA__g_source_set_callback_indirect
    at /build/buildd/glib2.0-2.17.4/glib/gmain.c line 1154
  • #7 IA__g_main_context_default
    at /build/buildd/glib2.0-2.17.4/glib/gmain.c line 789
  • #8 skip_spaces
    at /build/buildd/glib2.0-2.17.4/glib/gmarkup.c line 822
  • #9 IA__g_markup_escape_text
    at /build/buildd/glib2.0-2.17.4/glib/gmarkup.c line 2247
  • #10 gtk_menu_scroll_to
    at /build/buildd/gtk+2.0-2.13.5/gtk/gtkmenu.c line 4418
  • #11 main
    at gedit.c line 585

Comment 1 Paolo Borelli 2008-08-14 09:28:15 UTC
this was due to the fact that we were not handling G_IO_ERROR_NOT_FOUND. fixed in svn.
Comment 2 jessevdk@gmail.com 2008-08-17 18:04:40 UTC
Actually, this wasn't the exact problem. The problem was the correct handling of the cancelled state.
Comment 3 jessevdk@gmail.com 2008-08-17 18:04:54 UTC
Fixed it in SVN :)