Crashes if broken snaps installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-software (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Artful |
Fix Released
|
High
|
Unassigned | ||
Bionic |
Fix Released
|
High
|
Unassigned |
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-
$ printf "name: broken-
$ sudo snap try /tmp/broken-snap
2. Break the snap
$ rm /tmp/broken-
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.
summary: |
- Software (gnome-software) crashes after several seconds. Entirely - unusable. + Crashes if broken snaps installed |
Changed in gnome-software (Ubuntu Artful): | |
importance: | Undecided → High |
Changed in gnome-software (Ubuntu Artful): | |
status: | New → Fix Committed |
Changed in gnome-software (Ubuntu Bionic): | |
status: | New → Fix Committed |
description: | updated |
Relevant snippet of journald log attached.