gedit SIGSEGV in scroll_to_cursor() in file opening

Bug #928420 reported by Daniel Winzen on 2012-02-07
This bug affects 13 people
Affects Status Importance Assigned to Milestone
Fix Released
gedit (Ubuntu)

Bug Description

gedit crashed, while opening a file from Firefox. gedit run in background with an open file, after I downloaded a file with Firefox, it should be automatically open a new gedit tab, but it only crashed.

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: gedit 3.3.3-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-14.23-generic-pae 3.2.3
Uname: Linux 3.2.0-14-generic-pae i686
ApportVersion: 1.91-0ubuntu1
Architecture: i386
Date: Tue Feb 7 19:31:52 2012
ExecutablePath: /usr/bin/gedit
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
ProcCmdline: gedit /home/username/Downloads/udeb.list
 PATH=(custom, no user)
 Segfault happened at: 0x80836d6 <scroll_to_cursor+22>: mov 0x8(%eax),%eax
 PC (0x080836d6) ok
 source "0x8(%eax)" (0xaaaaaab2) not located in a known VMA region (needed readable region)!
 destination "%eax" ok
SegvReason: reading unknown VMA
Signal: 11
SourcePackage: gedit
 scroll_to_cursor (tab=0x998f818) at gedit-tab.c:947
 g_idle_dispatch (source=0xaf663740, callback=0x80836c0 <scroll_to_cursor>, user_data=0x998f818) at /build/buildd/glib2.0-2.31.17+git20120205.b98b6318/./glib/gmain.c:4629
 g_main_dispatch (context=0x9717fd8) at /build/buildd/glib2.0-2.31.17+git20120205.b98b6318/./glib/gmain.c:2510
 g_main_context_dispatch (context=0x9717fd8) at /build/buildd/glib2.0-2.31.17+git20120205.b98b6318/./glib/gmain.c:3047
 g_main_context_iterate (dispatch=1, block=-1228814368, context=0x9717fd8, self=<optimized out>) at /build/buildd/glib2.0-2.31.17+git20120205.b98b6318/./glib/gmain.c:3118
Title: gedit crashed with SIGSEGV in scroll_to_cursor()
UpgradeStatus: Upgraded to precise on 2012-01-12 (26 days ago)
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse lpadmin netdev plugdev sambashare tape video

visibility: private → public

 scroll_to_cursor (tab=0x998f818) at gedit-tab.c:947
 g_list_insert_before (list=0xbfc74e80, sibling=0xb6c4de66, data=0x1) at /build/buildd/glib2.0-2.31.16/./glib/glist.c:351
 ?? ()
 ?? () from /tmp/tmphBgB51/lib/i386-linux-gnu/

Changed in gedit (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
summary: - gedit crashed with SIGSEGV in scroll_to_cursor()
+ gedit SIGSEGV in scroll_to_cursor() in file opening
Changed in gedit (Ubuntu):
status: New → Triaged
Changed in gedit:
importance: Unknown → Medium
status: Unknown → New
Changed in gedit (Ubuntu):
importance: Medium → High
Changed in gedit:
importance: Medium → Critical
Changed in gedit:
status: New → Fix Released
Launchpad Janitor (janitor) wrote :
Download full text (7.6 KiB)

This bug was fixed in the package gedit - 3.18.1-1ubuntu1

gedit (3.18.1-1ubuntu1) xenial; urgency=medium

  * Newer upstream version and merge on Debian, includes those changes
    - code snippets plugin improvements (lp: #1335613)
    - implements a minimap widget (lp: #1302451)
    - don't close infobar after print preview is dismissed (lp: #929554)
    - some segfault fixes (lp: #928420)
    - save files even when backups can't be created (lp: #867923)
    - let you edit binary files (lp: #848253, #575500)
    - count underscores are part of a word (lp: #615506, #413360)
    - don't display warnings when saving after foccusing out (lp: #589906)
    - use correct printing margins (lp: #331077)
    - ctrl-T opens new tabs (lp: #301942)
    - hide print preview tooltips when moving the cursor (lp: #234711)
    - include word wrap option in the statusbar popover (lp: #118522)
  * debian/
    - don't Build-Depends on gnome-icon-theme-symbolic it's deprecated
    - gedit replaces gedit-common (<< 3.18.1-1ubuntu1)
    - updated the requirements
  * debian/patches/06_lp_401692.patch:
    - dropped, the change is included upstream now
  * debian/rules:
    - create compatiblity desktop file for upgraders
  * Remaining other changes
  * debian/rules:
    - Build without --Bsymbolic-functions to fix issues
  * debian/patches/0001-Use-the-OSX-menubar-layout-for-XFCE-Unity-etc.patch:
    - add traditional menubar (GNOME bug #741904)
  * debian/patches/02_add_keywords.patch:
    - Add new keywords for unity and gnome-shell
  * debian/patches/05_menu_label.patch:
    - Don't display in menu as "gedit Text Editor"
  * debian/patches/07_use_del_instead_ctrl_del.patch:
    - Use Delete, not Ctrl+Delete, to delete files in file browser
      side panel to match our Nautilus behavior (LP: #1163287)

  [ Lars Uebernickel ]
  * New upstream version (lp: #1339371)
  * debian/patches/01_gedit-bugreport-location.patch,
    - update for new desktop file name
  * debian/patches/03_no_gnu_gettext.patch,
    - refresh
  * debian/patches/disable-warnings.patch:
    - dropped - should be fewer deprecation warnings now
  * debian/patches/00git_state_property_type.patch,
    - dropped - applied upstream
  * debian/patches/git_zeitgeist_crash.patch:
    - dropped - moved to ge...


Changed in gedit (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.