[Bug 1720442] Re: Crashes if broken snaps installed
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 AncellWed, 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 Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1720442 Title: Crashes if broken snaps installed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1720442/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1720442] Re: Crashes if broken snaps installed
Hello, The fix works perfectly on my system, using: gnome-software 3.26.1-0ubuntu2.17.10.1 Great stuff, thanks to everyone who worked to fix this bug (and the many thousands of others!). ** Tags removed: verification-needed-artful ** Tags added: verification-done-artful -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1720442 Title: Crashes if broken snaps installed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1720442/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1720442] Re: Crashes if broken snaps installed
Hello Dan, or anyone else affected, Accepted gnome-software into artful-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome- software/3.26.1-0ubuntu2.17.10.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-artful to verification-done-artful. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-artful. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Tags added: verification-needed verification-needed-artful -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1720442 Title: Crashes if broken snaps installed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1720442/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1720442] Re: Crashes if broken snaps installed
Robert, when do you plan to SRU to 17.10? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1720442 Title: Crashes if broken snaps installed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1720442/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1720442] Re: Crashes if broken snaps installed
** Description changed: - Ubuntu version: Ubuntu Artful Aardvark (development branch), Release: 17.10 - gnome-software package version: 3.26.0-0ubuntu2 + [Impact] + GNOME Software crashes if a broken snap is installed. - Expected: To be able to use the application. + [Test Case] - What happened instead: The application crashes after several seconds. - Bug replicated every time the application is opened, rending it entirely - unusable. + 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 - Journald shows a segfault, as per attached snippet. + 2. Break the snap + $ rm /tmp/broken-snap/meta/snap.yaml - ProblemType: Bug - DistroRelease: Ubuntu 17.10 - Package: gnome-software 3.26.0-0ubuntu2 - ProcVersionSignature: Ubuntu 4.13.0-12.13-generic 4.13.3 - Uname: Linux 4.13.0-12-generic x86_64 - ApportVersion: 2.20.7-0ubuntu1 - Architecture: amd64 - CurrentDesktop: ubuntu:GNOME - Date: Fri Sep 29 21:01:06 2017 - EcryptfsInUse: Yes - InstallationDate: Installed on 2017-09-14 (15 days ago) - InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170912) - InstalledPlugins: - gnome-software-plugin-flatpak N/A - gnome-software-plugin-limba N/A - gnome-software-plugin-snap3.26.0-0ubuntu2 - SourcePackage: gnome-software - UpgradeStatus: No upgrade log present (probably fresh install) + 3. Confirm the snap is broken: + $ snap list + Name VersionRev 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. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1720442 Title: Crashes if broken snaps installed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1720442/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1720442] Re: Crashes if broken snaps installed
This bug was fixed in the package gnome-software - 3.26.1-0ubuntu3 --- gnome-software (3.26.1-0ubuntu3) bionic; urgency=medium * debian/patches/0001-snap-Don-t-crash-on-unknown-snap-types.patch: - Fix crash when broken snaps installed (LP: #1720442) -- Robert AncellThu, 26 Oct 2017 14:04:03 +1300 ** Changed in: gnome-software (Ubuntu Bionic) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1720442 Title: Crashes if broken snaps installed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1720442/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1720442] Re: Crashes if broken snaps installed
** Changed in: gnome-software (Ubuntu Bionic) Status: New => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1720442 Title: Crashes if broken snaps installed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1720442/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1720442] Re: Crashes if broken snaps installed
** Branch linked: lp:~ubuntu-desktop/gnome-software/ubuntu-artful -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1720442 Title: Crashes if broken snaps installed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1720442/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1720442] Re: Crashes if broken snaps installed
** Changed in: gnome-software (Ubuntu Artful) Status: New => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1720442 Title: Crashes if broken snaps installed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1720442/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1720442] Re: Crashes if broken snaps installed
** Branch linked: lp:~ubuntu-desktop/gnome-software/ubuntu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1720442 Title: Crashes if broken snaps installed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1720442/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1720442] Re: Crashes if broken snaps installed
** Also affects: gnome-software (Ubuntu Bionic) Importance: High Status: New ** Also affects: gnome-software (Ubuntu Artful) Importance: Undecided Status: New ** Changed in: gnome-software (Ubuntu Artful) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1720442 Title: Crashes if broken snaps installed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1720442/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1720442] Re: Crashes if broken snaps installed
** Summary changed: - Software (gnome-software) crashes after several seconds. Entirely unusable. + Crashes if broken snaps installed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1720442 Title: Crashes if broken snaps installed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1720442/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs