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 590966 - gedit crashed with SIGSEGV in malloc()
gedit crashed with SIGSEGV in malloc()
Status: RESOLVED DUPLICATE of bug 502947
Product: gedit
Classification: Applications
Component: general
2.27.x
Other Linux
: Normal critical
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2009-08-06 15:56 UTC by Pedro Villavicencio
Modified: 2010-04-05 12:38 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28



Description Pedro Villavicencio 2009-08-06 15:56:48 UTC
this report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/gedit/+bug/409929

opening the following file, always causes gedit to crash.

http://launchpadlibrarian.net/29962605/eieio.info

valgrind log:

http://launchpadlibrarian.net/29964035/valgrind.log

".

Thread 1 (process 4084)

  • #0 malloc_consolidate
    at malloc.c line 5103
  • #1 _int_malloc
    at malloc.c line 4338
  • #2 *__GI___libc_malloc
    at malloc.c line 3638
  • #3 IA__g_realloc
    at /build/buildd/glib2.0-2.21.4/glib/gmem.c line 170
  • #4 pango_glyph_string_set_size
    at /build/buildd/pango1.0-1.24.5/pango/glyphstring.c line 89
  • #5 basic_engine_shape
    at /build/buildd/pango1.0-1.24.5/modules/basic/basic-fc.c line 154
  • #6 _pango_engine_shape_shape
    at /build/buildd/pango1.0-1.24.5/pango/pango-engine.c line 71
  • #7 pango_shape
    at /build/buildd/pango1.0-1.24.5/pango/shape.c line 55
  • #8 shape_run
    at /build/buildd/pango1.0-1.24.5/pango/pango-layout.c line 3133
  • #9 process_item
    at /build/buildd/pango1.0-1.24.5/pango/pango-layout.c line 3243
  • #10 pango_layout_check_lines
    at /build/buildd/pango1.0-1.24.5/pango/pango-layout.c line 3577
  • #11 pango_layout_get_extents_internal
    at /build/buildd/pango1.0-1.24.5/pango/pango-layout.c line 2444
  • #12 IA__gtk_text_layout_get_line_display
    at /build/buildd/gtk+2.0-2.17.6/gtk/gtktextlayout.c line 2457
  • #13 gtk_text_layout_real_wrap
    at /build/buildd/gtk+2.0-2.17.6/gtk/gtktextlayout.c line 1157
  • #14 IA__gtk_text_layout_wrap
    at /build/buildd/gtk+2.0-2.17.6/gtk/gtktextlayout.c line 703
  • #15 gtk_text_btree_node_validate
    at /build/buildd/gtk+2.0-2.17.6/gtk/gtktextbtree.c line 5099
  • #16 gtk_text_btree_node_validate
    at /build/buildd/gtk+2.0-2.17.6/gtk/gtktextbtree.c line 5172
  • #17 _gtk_text_btree_validate
    at /build/buildd/gtk+2.0-2.17.6/gtk/gtktextbtree.c line 5251
  • #18 IA__gtk_text_layout_validate
    at /build/buildd/gtk+2.0-2.17.6/gtk/gtktextlayout.c line 1131
  • #19 incremental_validate_callback
    at /build/buildd/gtk+2.0-2.17.6/gtk/gtktextview.c line 3590
  • #20 gdk_threads_dispatch
    at /build/buildd/gtk+2.0-2.17.6/gdk/gdk.c line 498
  • #21 g_idle_dispatch
    at /build/buildd/glib2.0-2.21.4/glib/gmain.c line 4065
  • #22 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.21.4/glib/gmain.c line 1960
  • #23 g_main_context_iterate
    at /build/buildd/glib2.0-2.21.4/glib/gmain.c line 2591
  • #24 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.21.4/glib/gmain.c line 2799
  • #25 IA__gtk_main
    at /build/buildd/gtk+2.0-2.17.6/gtk/gtkmain.c line 1205
  • #26 main
    at gedit.c line 724

Comment 1 Ignacio Casal Quinteiro (nacho) 2010-04-04 14:34:59 UTC
I just tried with 2.30 and it doesn't crash, though gedit is not able to open the file as it contains invalid chars. So this should be marked as a dup.
Comment 2 Pedro Villavicencio 2010-04-05 12:04:36 UTC
Agreed, I'm not getting the crash on 2.30 either.
Comment 3 Ignacio Casal Quinteiro (nacho) 2010-04-05 12:38:10 UTC

*** This bug has been marked as a duplicate of bug 502947 ***