gedit crashed with SIGSEGV in g_menu_model_get_n_items()

Bug #1631725 reported by Antoine-terracol
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
gedit (Ubuntu)
Expired
Medium
Unassigned
gedit-latex-plugin (Ubuntu)
Expired
Undecided
Unassigned
gedit-plugins (Ubuntu)
Expired
Undecided
Unassigned

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
SegvAnalysis:
 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
StacktraceTop:
 g_menu_model_get_n_items () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
 ?? () from /usr/lib/x86_64-linux-gnu/gedit/libgedit.so
 ?? () from /usr/lib/x86_64-linux-gnu/gedit/libgedit.so
 ?? () from /usr/lib/x86_64-linux-gnu/gedit/libgedit.so
 ?? () from /usr/lib/x86_64-linux-gnu/gedit/libgedit.so
Title: gedit crashed with SIGSEGV in g_menu_model_get_n_items()
UpgradeStatus: Upgraded to yakkety on 2016-10-07 (1 days ago)
UserGroups:

Revision history for this message
Antoine-terracol (antoine-terracol) wrote :
information type: Private → Public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_menu_model_get_n_items () from /tmp/apport_sandbox_dfnTjg/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
 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

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in gedit (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Revision history for this message
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)
Changed in gedit-plugins (Ubuntu):
status: New → Confirmed
Revision history for this message
dino99 (9d9) wrote :

This is an unsupported release now. Please think to install the next LTS 'Bionic 18.04'

http://cdimage.ubuntu.com/ubuntu-next/daily-live/current/
https://www.omgubuntu.co.uk/2018/02/ubuntu-18-04-minimal-install-option

Changed in gedit-plugins (Ubuntu):
status: Confirmed → Invalid
Changed in gedit-latex-plugin (Ubuntu):
status: Confirmed → Invalid
Changed in gedit (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Simon Quigley (tsimonq2) wrote :

Marking as Invalid because the release is EOL is not correct. Marking as Incomplete. Also, 18.04 is (at the time of writing) still in development, and you should expect some breakage.
https://wiki.ubuntu.com/Bugs/Responses#Release_has_reached_End_of_Life_.28EOL.29

Reporter, is this still present on 17.10 or 16.04?

Changed in gedit (Ubuntu):
status: Invalid → Incomplete
Changed in gedit-latex-plugin (Ubuntu):
status: Invalid → Incomplete
Changed in gedit-plugins (Ubuntu):
status: Invalid → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gedit-latex-plugin (Ubuntu) because there has been no activity for 60 days.]

Changed in gedit-latex-plugin (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gedit (Ubuntu) because there has been no activity for 60 days.]

Changed in gedit (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gedit-plugins (Ubuntu) because there has been no activity for 60 days.]

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