This bug was fixed in the package gnome-software -
3.26.1-0ubuntu2.17.10.1
---------------
gnome-software (3.26.1-0ubuntu2.17.10.1) artful; urgency=medium
[ Robert Ancell ]
* debian/patches/0001-snap-Don-t-crash-on-unknown-snap-types.patch:
- Fix crash when broken snaps installed (LP: #1720442)
* debian/patches/0001-snap-Protect-store-cache-with-a-lock.patch:
- Fix crash due to multiple threads accessing a cache (LP: #1716633)
*
debian/patches/0001-snap-Don-t-attempt-to-refine-snaps-without-a-valid-n.patch:
- Fix potential crash from invalid snaps
* debian/patches/0001-snap-Remove-unused-variables.patch:
- Trivial patch added to make above patches apply cleanly
* debian/patches/0001-Add-a-cancellable-to-GsApp-objects.patch:
*
debian/patches/0001-Allow-to-cancel-app-ops-in-the-details-view-that-wer.patch:
- Fix cancelling with multiple installs (LP: #1722183)
* debian/control:
- Add Vcs-Bzr link
[ Jeremy Bicha ]
* Cherry-pick 0001-Don-t-error-out-for-over-500-results.patch:
- Fix empty Addons > Shell Extensions category (LP: #1722809)
-- Robert Ancell <[email protected]> Wed, 15 Nov 2017
11:58:57 +1300
** Changed in: gnome-software (Ubuntu Artful)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1720442
Title:
Crashes if broken snaps installed
Status in gnome-software package in Ubuntu:
Fix Released
Status in gnome-software source package in Artful:
Fix Released
Status in gnome-software source package in Bionic:
Fix Released
Bug description:
[Impact]
GNOME Software crashes if a broken snap is installed.
[Test Case]
1. Create and install a local snap:
$ mkdir -p /tmp/broken-snap/meta
$ printf "name: broken-snap\nversion: 1\n" > /tmp/broken-snap/meta/snap.yaml
$ sudo snap try /tmp/broken-snap
2. Break the snap
$ rm /tmp/broken-snap/meta/snap.yaml
3. Confirm the snap is broken:
$ snap list
Name Version Rev Developer Notes
broken-snap x1 try,broken
4. Restart gnome-software
$ killall gnome-software
5. Open GNOME Software and go to installed tab. Wait for items to
load.
Expected result:
Installed snaps are shown
Observed result:
GNOME Software crashes.
[Regression Potential]
Fix is to handle fields missing in broken snaps. Some risk of breaking
related code.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1720442/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp