gedit crashes on autocomplete with SIGSEGV in gtk_text_iter_get_buffer()

Bug #1428333 reported by Seth
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gedit
Fix Released
Critical
gedit (Ubuntu)
Fix Released
High
Unassigned
gtksourceview3 (Ubuntu)
Fix Released
High
Unassigned

Bug Description

When attempting to use gedit's standard autocomplete functionality (e.g. via the included "snippets" plugin), gedit crashes.

Steps to reproduce:

* Make sure you are on Ubuntu 14.10 or 15.04.
* Open gedit and enable the "snippets" plugin.
* Save a new document as "crash.py"
* In this document, type "def" and then press "Ctrl-Spacebar" which is supposed to activate the snippet autocomplete. Instead, gedit will crash.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: gedit-common 3.10.4-0ubuntu6
ProcVersionSignature: Ubuntu 3.16.0-31.41-generic 3.16.7-ckt5
Uname: Linux 3.16.0-31-generic x86_64
ApportVersion: 2.14.7-0ubuntu8.2
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Mar 4 21:19:23 2015
InstallationDate: Installed on 2014-10-25 (130 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
PackageArchitecture: all
SourcePackage: gedit
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Seth (seedifferently) wrote :
Revision history for this message
Ross Gammon (rosco2) wrote :

I get this same crash following the reporters instructions in a Utopic VM.

Changed in gedit (Ubuntu):
status: New → Confirmed
Revision history for this message
Seth (seedifferently) wrote :

FYI I am also getting this crash using the latest Ubuntu 15.04 (see attached).

summary: - gedit crashes on autocomplete
+ gedit crashes on autocomplete with SIGSEGV in gtk_text_iter_get_buffer
Seth (seedifferently)
summary: - gedit crashes on autocomplete with SIGSEGV in gtk_text_iter_get_buffer
+ gedit crashes on autocomplete with SIGSEGV in gtk_text_iter_get_buffer()
description: updated
description: updated
description: updated
description: updated
tags: added: gedit vivid
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

Changed in gedit (Ubuntu):
importance: Undecided → High
Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in gtksourceview3 (Ubuntu):
importance: Undecided → High
Changed in gedit (Ubuntu):
status: Confirmed → Fix Committed
Changed in gtksourceview3 (Ubuntu):
status: New → Fix Committed
Changed in gedit:
importance: Unknown → Critical
status: Unknown → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gtksourceview3 - 3.14.3-1

---------------
gtksourceview3 (3.14.3-1) experimental; urgency=medium

  [ Jackson Doak ]
  * New upstream release. LP: #1423016
    + Resolves crash in completion in gedit's 'snippets' plugin. (LP:
      #1428333)
  * Add git_fix_height_parameter.patch. Fix a typo saying width is height.

  [ Iain Lane ]
  * Don't patch ltmain.sh manually; use dh-autoreconf to do this.

 -- Jackson Doak <email address hidden> Thu, 05 Mar 2015 12:47:03 +0000

Changed in gtksourceview3 (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
RastaPopoulos (flbl) wrote :

It's absolutly not just for Snippet ! It's for all plugin that add "completion" feature. When I uncheck "Snippet" but let "GDP Completion" it continues to crash.

If I unckeck all plugins with completion, it works again. Never crash.

Revision history for this message
RastaPopoulos (flbl) wrote :

And how to work again, when we are just basic users who use the package version of Gedit ? Is there a fixed package ? a PPA ?

Or I just uncheck all completion waiting a classic update ?

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gedit - 3.10.4-0ubuntu9

---------------
gedit (3.10.4-0ubuntu9) vivid; urgency=medium

  * debian/patches/git_select_mispelled_word.patch:
    - select first mispelled word (lp: #645695)
  * debian/patches/git_get_start_sig.patch:
    - use correct get_start_iter() signature (lp: #1428333)
  * debian/patches/git_encoding_combo.patch:
    - chain up constructed() at the beginning (lp: #1390011)
 -- Sebastien Bacher <email address hidden> Wed, 25 Mar 2015 17:25:49 +0100

Changed in gedit (Ubuntu):
status: Fix Committed → Fix Released
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.