gedit crashed with SIGSEGV in gtk_text_buffer_get_iter_at_mark()

Bug #838223 reported by Tom Hindle
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
gedit
Expired
Critical
gedit (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Not sure if this is relevant but I did a Ctrl-I followed by a Ctrl-f.

T

Also last lines in terminal were (again not sure if this is relevant):
(gedit:5020): Gtk-CRITICAL **: gtk_render_frame_gap: assertion `xy1_gap <= width' failed

(gedit:5020): Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

** (gedit:5020): WARNING **: Stage already contains this actor

[1]+ Segmentation fault (core dumped) gedit ./xpcom/stub/nsXPComStub.cpp
hindlet@hindlet-laptop:~/src/firefox-7.0~b3+build1+nobinonly/mozilla$ gedit ./xpcom/glue/nsISupportsImpl.h +161

(gedit:5678): GLib-GObject-WARNING **: value "0" of type `guint' is invalid or out of range for property `tab-width' of type `guint'

(gedit:5678): GLib-GObject-WARNING **: value "0" of type `guint' is invalid or out of range for property `right-margin-position' of type `guint'of type `guint'

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: gedit 3.1.4-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-9.15-generic-pae 3.0.3
Uname: Linux 3.0.0-9-generic-pae i686
Architecture: i386
Date: Wed Aug 31 17:27:53 2011
ExecutablePath: /usr/bin/gedit
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcCmdline: gedit ./xpcom/stub/nsXPComStub.cpp
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_CA.UTF-8
SegvAnalysis:
 Segfault happened at: 0xb75223b1 <gtk_text_buffer_get_iter_at_mark+49>: cmp %eax,(%edx)
 PC (0xb75223b1) ok
 source "%eax" ok
 destination "(%edx)" (0x00000176) not located in a known VMA region (needed writable region)!
SegvReason: writing NULL VMA
Signal: 11
SourcePackage: gedit
StacktraceTop:
 gtk_text_buffer_get_iter_at_mark () from /usr/lib/libgtk-3.so.0
 ?? ()
 ?? ()
 _gedit_cmd_search_find ()
 g_cclosure_marshal_VOID__VOID () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
Title: gedit crashed with SIGSEGV in gtk_text_buffer_get_iter_at_mark()
UpgradeStatus: Upgraded to oneiric on 2011-08-31 (0 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Tom Hindle (3-launchpad-hindlemail-co-uk) wrote :
visibility: private → public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 gtk_text_buffer_get_iter_at_mark (buffer=0x9e2d3f0, iter=0xbfa2e7b8, mark=0x9f6bf60) at /build/buildd/gtk+3.0-3.1.12/./gtk/gtktextbuffer.c:2207
 hide_search_widget (cancel=<optimized out>, frame=0xb50d6260) at gedit-view-frame.c:196
 hide_search_widget (frame=0xb50d6260, cancel=<optimized out>) at gedit-view-frame.c:159
 start_interactive_search_real (frame=0xb50d6260) at gedit-view-frame.c:1288
 _gedit_cmd_search_find (action=0x9c4d1b8, window=0x9c3d060) at gedit-commands-search.c:568

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in gedit (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for your bug report. This bug has been reported to the developers of the software. You can track it and make comments at:
https://bugzilla.gnome.org/show_bug.cgi?id=657845

Changed in gedit (Ubuntu):
status: New → Triaged
Changed in gedit:
importance: Unknown → Critical
status: Unknown → New
Revision history for this message
Mark Rabideau (manyroads) wrote :

I get the same error when testing globalmenu

mark@Mark-K52F:~$ gnome-globalmenu-manager & GTK_MODULES=globalmenu-gtk gedit
[1] 15954
** Message: manager.vala:105: true

(gedit:15955): GLib-GObject-WARNING **: value "0" of type `guint' is invalid or out of range for property `right-margin-position' of type `guint'
** Message: a new manager occured at org.globalmenu.manager, :1.162

Changed in gedit:
status: New → Incomplete
Revision history for this message
V字龍(Vdragon) (vdragon) wrote :

I met same error when searching "警告" in my rkhunter.log...
?field.comment=I met same error when searching "警告" in my rkhunter.log...

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Is anybody still seeing this with gedit 3.2?

Changed in gedit (Ubuntu):
status: Triaged → Incomplete
Changed in gedit:
status: Incomplete → Expired
Revision history for this message
Mayank Suman (mayanksuman) wrote :

Occurs when : - If the file is too big (running in mbs) and you are going for find tool (ctrl+f).
I think the instant search has problem as the program hang a lot during typing in find box and eventually crashes.
I am using Ubuntu 13.10 right now.

Revision history for this message
Mayank Suman (mayanksuman) wrote :

I think the easiest fix will be to limit the file size after which instant search do not work ... you have to type whole word and press enter to start search

Revision history for this message
dino99 (9d9) wrote :

This version has expired

Changed in gedit (Ubuntu):
status: Incomplete → Invalid
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.