gnome-software crashed with SIGSEGV in gs_app_has_quirk()

Bug #1557840 reported by Felipe De la Puente
28
This bug affects 3 people
Affects Status Importance Assigned to Milestone
GNOME Software
Fix Released
Medium
gnome-software (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

It happened during an instalation of the googletalk plugin. I think the .deb package is not ready for the new gnome-software? Anyway it shouldn't fatal.

ProblemType: Crash
DistroRelease: Ubuntu 16.04
Package: gnome-software 3.19.93~git20160316.f312890-0ubuntu3
ProcVersionSignature: Ubuntu 4.4.0-13.29-generic 4.4.5
Uname: Linux 4.4.0-13-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Mar 15 23:52:05 2016
ExecutablePath: /usr/bin/gnome-software
InstallationDate: Installed on 2016-02-28 (16 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160228)
ProcCmdline: gnome-software --local-filename=/tmp/mozilla_gloremor0/google-talkplugin_current_amd64.deb
ProcEnviron:
 LANGUAGE=es_CL:es
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=es_CL.UTF-8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x41b962 <gs_app_has_quirk+2>: test %esi,0x174(%rdi)
 PC (0x0041b962) ok
 source "%esi" ok
 destination "0x174(%rdi)" (0x00000174) not located in a known VMA region (needed writable region)!
SegvReason: writing NULL VMA
Signal: 11
SourcePackage: gnome-software
StacktraceTop:
 gs_app_has_quirk ()
 ?? ()
 gs_shell_change_mode ()
 gs_shell_show_filename ()
 ?? ()
Title: gnome-software crashed with SIGSEGV in gs_app_has_quirk()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
Felipe De la Puente (fdelapuente) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 gs_app_has_quirk (app=0x0, quirk=quirk@entry=AS_APP_QUIRK_COMPULSORY) at gs-app.c:2031
 gs_shell_details_switch_to (page=<optimized out>, scroll_up=<optimized out>) at gs-shell-details.c:256
 gs_shell_change_mode (shell=0x193f0a0, mode=GS_SHELL_MODE_DETAILS, app=0x0, data=0x1cbbe10, scroll_up=1) at gs-shell.c:317
 gs_shell_show_filename (shell=0x193f0a0, filename=0x1cbbe10 "/tmp/mozilla_gloremor0/google-talkplugin_current_amd64.deb") at gs-shell.c:949
 filename_activated (action=<optimized out>, parameter=0x7f54a000d780, data=<optimized out>) at gs-application.c:524

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 gnome-software (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
information type: Private → Public
Revision history for this message
Robert Ancell (robert-ancell) wrote :

I think a recent change in gnome-software has exposed this. This gs_app_has_quirk doesn't check if app is NULL, where all the other functions do. It's still an error that app is NULL for some reason, but we can workaround this for now.

Changed in gnome-software (Ubuntu):
status: New → Triaged
Changed in gnome-software:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-software - 3.19.93~git20160316.f312890-0ubuntu6

---------------
gnome-software (3.19.93~git20160316.f312890-0ubuntu6) xenial; urgency=medium

  * debian/patches/sideload-workaround.patch:
    - Workaround a crash when sideloading .debs (LP: #1557840)

 -- Robert Ancell <email address hidden> Wed, 16 Mar 2016 16:50:28 +1300

Changed in gnome-software (Ubuntu):
status: Triaged → Fix Released
Changed in gnome-software:
status: Confirmed → In Progress
Changed in gnome-software:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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