/usr/bin/gnome-software:11:g_variant_is_trusted:g_variant_builder_add_value:g_variant_valist_new:g_variant_new_va:g_variant_new

Bug #1723312 reported by errors.ubuntu.com bug bridge
100
This bug affects 13 people
Affects Status Importance Assigned to Milestone
gnome-software (Ubuntu)
Fix Released
Critical
Robert Ancell
Artful
Fix Released
Critical
Robert Ancell

Bug Description

Test Case
1. Install a snap package from gnome-software
2. When the U1 auth dialog shows up enter your credentials and proceed (with recent snapd you need to cancel the polkit dialog that shows before the auth dialog).

Actual result
This crash

Expected result
The policykit dialog should be displayed.

The Ubuntu Error Tracker has been receiving reports about a problem regarding gnome-software. This problem was most recently seen with package version 3.26.1-0ubuntu1, the problem page at https://errors.ubuntu.com/problem/dfad531f867954b9ad1e56309754d49ce502d31d contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

Tags: artful
Changed in gnome-software (Ubuntu Artful):
importance: Undecided → High
status: New → Confirmed
Changed in gnome-software (Ubuntu Artful):
importance: High → Critical
assignee: nobody → Robert Ancell (robert-ancell)
description: updated
description: updated
Changed in gnome-software (Ubuntu Artful):
status: Confirmed → Fix Committed
Revision history for this message
Robert Ancell (robert-ancell) wrote :

This regression was introduced with the fix for bug 1718170.

Revision history for this message
Robert Ancell (robert-ancell) wrote :

Fix is in lp:~ubuntu-desktop/gnome-software/ubuntu and ppa:ubuntu-desktop/gnome-software (3.26.1-0ubuntu2~ppa1). Tested by installing moon-buggy (crashes with archive version, fixed with new version). Awaiting QA confirmation before release.

The fix is quite simple - it was a NULL pointer access accessing a variable that got moved in the fix for bug 1718170. I think this is a good candidate for uploading pre-release.

Changes upstream in master, gnome-3-26 and wip/ubutu-3-26 branches.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

I tried the version in the PPA and couldn't reproduce this issue.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
gnome-software (3.26.1-0ubuntu2) artful; urgency=medium

  * debian/patches/0001-snap-Fix-crash-authenticating-with-Ubuntu-One.patch:
    - Fix crash authenticating with Ubuntu One (LP: #1723312)

 -- Robert Ancell <email address hidden> Tue, 17 Oct 2017 09:33:05 +1300

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