Crash installing from snap:// URL

Bug #1752645 reported by Антон Дерлюк
66
This bug affects 8 people
Affects Status Importance Assigned to Milestone
gnome-software (Ubuntu)
Fix Released
Critical
Robert Ancell
Bionic
Fix Released
Critical
Robert Ancell

Bug Description

Test Case:
1. Open https://snapcraft.io/store in a webbrowser
2. Search for discord and select the entry
3. Click on Install

Expected result
It installs discord.

Actual Result
This crash

-

ProblemType: Crash
DistroRelease: Ubuntu 18.04
Package: gnome-software 3.27.90-1ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-11.12-generic 4.15.5
Uname: Linux 4.15.0-11-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
CurrentDesktop: Unity:Unity7:ubuntu
Date: Wed Feb 28 23:18:23 2018
ExecutablePath: /usr/bin/gnome-software
InstallationDate: Installed on 2017-06-18 (255 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170618)
InstalledPlugins:
 gnome-software-plugin-flatpak 3.27.90-1ubuntu1
 gnome-software-plugin-limba N/A
 gnome-software-plugin-snap 3.27.90-1ubuntu1
ProcCmdline: /usr/bin/gnome-software --gapplication-service
SegvAnalysis:
 Segfault happened at: 0x7fe66804f17d <g_type_check_instance+13>: mov (%rdi),%rax
 PC (0x7fe66804f17d) ok
 source "(%rdi)" (0x00000001) not located in a known VMA region (needed readable region)!
 destination "%rax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: gnome-software
StacktraceTop:
 g_type_check_instance () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
 g_signal_handlers_disconnect_matched () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
 ?? ()
 ?? ()
 ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
Title: gnome-software crashed with SIGSEGV in g_type_check_instance()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
Антон Дерлюк (gespenst-vs) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_type_check_instance (type_instance=type_instance@entry=0x1) at ../../../../gobject/gtype.c:4129
 g_signal_handlers_disconnect_matched (instance=0x1, mask=mask@entry=(G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), signal_id=signal_id@entry=0, detail=detail@entry=0, closure=closure@entry=0x0, func=func@entry=0x56466afd2300 <gs_details_page_notify_state_changed_cb>, data=0x56466fa65570) at ../../../../gobject/gsignal.c:2931
 set_app (self=self@entry=0x56466fa65570, app=0x7fe6140213d0) at ../src/gs-details-page.c:1600
 gs_details_page_url_to_app_cb (source=<optimized out>, res=<optimized out>, user_data=0x56466fa68950) at ../src/gs-details-page.c:1724
 g_task_return_now (task=0x56466db2ac30) at ../../../../gio/gtask.c:1148

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
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: gnome-software crashed with SIGSEGV in g_type_check_instance()

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

Changed in gnome-software (Ubuntu):
status: New → Confirmed
information type: Private → Public
Changed in gnome-software (Ubuntu):
importance: Medium → High
Revision history for this message
Sebastien Bacher (seb128) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Setting to critical because snap packages cannot be installed from snapcraft.io

description: updated
Changed in gnome-software (Ubuntu):
importance: High → Critical
Changed in gnome-software (Ubuntu Bionic):
assignee: nobody → Robert Ancell (robert-ancell)
summary: - gnome-software crashed with SIGSEGV in g_type_check_instance()
+ Crash installing from snap:// URL
Revision history for this message
Robert Ancell (robert-ancell) wrote :

Turned out to be a typo in 0005-details-Show-an-in-app-notification-when-passed-an-i.patch.

Changed in gnome-software (Ubuntu Bionic):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-software - 3.28.0-0ubuntu2

---------------
gnome-software (3.28.0-0ubuntu2) bionic; urgency=medium

  * debian/patches/0014-Add-a-basic-permissions-system.patch:
    - Fix spelling mistakes (LP: #1755395)
  * debian/patches/0005-details-Show-an-in-app-notification-when-passed-an-i.patch:
    - Fix crash following snap URLs (LP: #1752645)

 -- Robert Ancell <email address hidden> Wed, 14 Mar 2018 15:27:10 +1300

Changed in gnome-software (Ubuntu Bionic):
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.