/usr/bin/gnome-software:11:g_source_attach:debconf_accept_cb:socket_source_dispatch:g_main_dispatch:g_main_context_dispatch

Bug #1689425 reported by errors.ubuntu.com bug bridge on 2017-05-09
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-software (Ubuntu)
Status tracked in Artful
Xenial
High
Robert Ancell
Yakkety
High
Robert Ancell
Zesty
High
Robert Ancell
Artful
High
Robert Ancell

Bug Description

[Impact]
The change to add debconf support (bug 1679435) caused new crashes to occur in errors.ubuntu.com. The stacktrace show this crash occurring when a g_socket_accept generates an error. The exact cause of this failing is unknown, but the fix is to handle this error like any other.

[Test Case]
1. Run GNOME Software

Expected result:
Doesn't crash

Observed result:
Crashes reported on errors.ubuntu.com

[Regression Potential]
Low, we not just exit a function when an error occurs instead of crashing.

Robert Ancell (robert-ancell) wrote :

This seems to be due to a missing error check accepting the debconf connection (bug 1679435)

Changed in gnome-software (Ubuntu Artful):
status: New → Fix Committed
Changed in gnome-software (Ubuntu Zesty):
assignee: nobody → Robert Ancell (robert-ancell)
Changed in gnome-software (Ubuntu Artful):
assignee: nobody → Robert Ancell (robert-ancell)
importance: Undecided → High
Changed in gnome-software (Ubuntu Xenial):
assignee: nobody → Robert Ancell (robert-ancell)
Changed in gnome-software (Ubuntu Zesty):
importance: Undecided → High
status: New → Triaged
Changed in gnome-software (Ubuntu Yakkety):
status: New → Triaged
Changed in gnome-software (Ubuntu Xenial):
status: New → Triaged
Changed in gnome-software (Ubuntu Yakkety):
importance: Undecided → High
Changed in gnome-software (Ubuntu Xenial):
importance: Undecided → High
Changed in gnome-software (Ubuntu Yakkety):
assignee: nobody → Robert Ancell (robert-ancell)
Changed in gnome-software (Ubuntu Zesty):
status: Triaged → Fix Committed
Changed in gnome-software (Ubuntu Yakkety):
status: Triaged → Fix Committed
Changed in gnome-software (Ubuntu Xenial):
status: Triaged → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-software - 3.24.1-0ubuntu4

---------------
gnome-software (3.24.1-0ubuntu4) artful; urgency=medium

  * debian/patches/0006-Add-an-APT-plugin.patch:
    - Fix crash when debconf socket fails (LP: #1689425)

 -- Robert Ancell <email address hidden> Tue, 09 May 2017 16:41:57 +1200

Changed in gnome-software (Ubuntu Artful):
status: Fix Committed → Fix Released

An upload of gnome-software to yakkety-proposed has been rejected from the upload queue for the following reason: "The changelog references a patch which does not appear in the diff / upload - debian/patches/0002-Add-an-APT-plugin.patch.".

Łukasz Zemczak (sil2100) wrote :

Please update the bug description to include the relevant SRU information [1]. We at least need to know the impact, possible test case and regression potential - otherwise it's not really easy and reliable to review.

[1] https://wiki.ubuntu.com/StableReleaseUpdates#SRU_Bug_Template

description: updated
Steve Langasek (vorlon) wrote :

Hi Robert, just so you know, we appear to be seeing bug reports also on the package upgrade side as a result of these dropped debconf socket connections, e.g.: bug #1691983. It's sensible for gnome-software not to crash on a failed connection, but I think ultimately what we need are succeeding connections :) so there may be more work to be done here. (unless the failing connections from the other side are because gnome-software has already crashed at that point?)

tags: added: verification-needed

Hello errors.ubuntu.com, or anyone else affected,

Accepted gnome-software into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-software/3.20.1+git20170509.0.8292905-0ubuntu1~xenial1 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 to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. 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!

Steve Langasek (vorlon) wrote :

Hello errors.ubuntu.com, or anyone else affected,

Accepted gnome-software into yakkety-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-software/3.20.1+git20170509.0.8292905-0ubuntu1 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 to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. 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!

Robert Ancell (robert-ancell) wrote :

Confirmed can still install a debconf triggering package with 3.20.1+git20170509.0.8292905-0ubuntu1~xenial1 on Xenial.

tags: added: verification-done-xenial verification-needed-yakkety verification-needed-zesty
removed: verification-needed
Robert Ancell (robert-ancell) wrote :

Confirmed can still install a debconf triggering package with 3.20.1+git20170509.0.8292905-0ubuntu1 on Yakkety.

tags: added: verification-done-yakkety
removed: verification-needed-yakkety
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers