gedit crashed with SIGSEGV in g_menu_model_get_n_items()

Bug #1631725 reported by Antoine-terracol on 2016-10-09
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gedit (Ubuntu)
gedit-latex-plugin (Ubuntu)
gedit-plugins (Ubuntu)

Bug Description

Gedit 3.22 crashes upon launch whenever gedit-latex-plugin AND (the Snippets plugin OR External tools) are enabled.

Gedit works fine with onlt the latex plugin OR the snippet plugin enabled.

Steps to reproduce :

Open gedit
go to edit-preferences-plugins
uncheck all plugins
check only the snippets plugin
close gedit
install gedit-latex-plugin
open gedit
go to edit-preferences-plugins
check Latex plugin in addition to the Snippet plugin
close gedit
when attempting to open gedit again, it should segfault

To be able to launch gedit again uninstall gedit-latex-plugin

ProblemType: Crash
DistroRelease: Ubuntu 16.10
Package: gedit 3.22.0-1ubuntu1
ProcVersionSignature: Ubuntu 4.8.0-21.23-generic 4.8.0
Uname: Linux 4.8.0-19-generic x86_64
ApportVersion: 2.20.3-0ubuntu7
Architecture: amd64
Date: Sat Oct 8 15:45:50 2016
ExecutablePath: /usr/bin/gedit
InstallationDate: Installed on 2014-05-14 (878 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
ProcCmdline: gedit
 Segfault happened at: 0x7efcaac19f80 <g_menu_model_get_n_items>: mov (%rdi),%rax
 PC (0x7efcaac19f80) ok
 source "(%rdi)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%rax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: gedit
 g_menu_model_get_n_items () from /usr/lib/x86_64-linux-gnu/
 ?? () from /usr/lib/x86_64-linux-gnu/gedit/
 ?? () from /usr/lib/x86_64-linux-gnu/gedit/
 ?? () from /usr/lib/x86_64-linux-gnu/gedit/
 ?? () from /usr/lib/x86_64-linux-gnu/gedit/
Title: gedit crashed with SIGSEGV in g_menu_model_get_n_items()
UpgradeStatus: Upgraded to yakkety on 2016-10-07 (1 days ago)

information type: Private → Public

 g_menu_model_get_n_items () from /tmp/apport_sandbox_dfnTjg/usr/lib/x86_64-linux-gnu/
 find_extension_point_section (model=0x561428edcf90, extension_point=extension_point@entry=0x561428be23f0 "preferences-section") at gedit/gedit-app.c:1715
 find_extension_point_section (model=0x561428852520, extension_point=extension_point@entry=0x561428be23f0 "preferences-section") at gedit/gedit-app.c:1722
 find_extension_point_section (model=0x56142884d120, extension_point=extension_point@entry=0x561428be23f0 "preferences-section") at gedit/gedit-app.c:1722
 _gedit_app_extend_menu (app=0x56142871c1e0, extension_point=0x561428be23f0 "preferences-section") at gedit/gedit-app.c:1943

Changed in gedit (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gedit (Ubuntu):
status: New → Confirmed
Changed in gedit-latex-plugin (Ubuntu):
status: New → Confirmed
fcole90 (fcole90) on 2017-02-17
Changed in gedit-plugins (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers