Bug #1646784 reported by errors.ubuntu.com bug bridge on 2016-12-02
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
snapd-glib (Ubuntu)

Bug Description

The Ubuntu Error Tracker has been receiving reports about a problem regarding snapd-glib. This problem was most recently seen with package version 1.3-0ubuntu1, the problem page at https://errors.ubuntu.com/problem/f6f7a1014bf13b394285650a50d00752e05f427b 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 you can request it at http://forms.canonical.com/reports/.

Changed in snapd-glib (Ubuntu):
status: New → Fix Committed
importance: Undecided → Medium
Changed in snapd-glib:
status: New → Fix Committed
importance: Undecided → Medium
Robert Ancell (robert-ancell) wrote :

This can be reproduced by:
1. Attempting a login, e.g. using Python:
$ python
>>> from gi.repository import Snapd
>>> Snapd.login_sync ("", "", "")
2. Entering your password in the PolicyKit dialog
3. Killing snapd, i.e:
$ sudo killall snapd

Step 1 causes snapd-login-service to start, 2 to make a connection to snapd and 3 to cause the socket to be closed. Because snapd-glib wasn't correctly disabling the socket callback it would be called on a destroyed object.

Robert Ancell (robert-ancell) wrote :

This is a relatively low risk bug, since snapd-login-service crashing will just cause it to be restarted on the next call.

Changed in snapd-glib:
milestone: none → 1.4
status: Fix Committed → Fix Released
Changed in snapd-glib (Ubuntu Xenial):
importance: Undecided → Medium
Changed in snapd-glib (Ubuntu Yakkety):
importance: Undecided → Medium
Changed in snapd-glib (Ubuntu Xenial):
status: New → Triaged
Changed in snapd-glib (Ubuntu Yakkety):
status: New → Triaged
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package snapd-glib - 1.4-0ubuntu1

snapd-glib (1.4-0ubuntu1) zesty; urgency=medium

  * New upstream release:
    - Fix crash in snapd-login-service when snapd stops (LP: #1646784)

 -- Robert Ancell <email address hidden> Tue, 06 Dec 2016 15:50:17 +1300

Changed in snapd-glib (Ubuntu):
status: Fix Committed → Fix Released

Thanks for uploading the fix for this bug report to -proposed. However, when reviewing the package in -proposed and the details of this bug report I noticed that the bug description is missing information required for the SRU process. You can find full details at http://wiki.ubuntu.com/StableReleaseUpdates#Procedure but essentially this bug is missing some of the following: a statement of impact, a test case and details regarding the regression potential. Thanks in advance!

Changed in snapd-glib (Ubuntu Xenial):
status: Triaged → Incomplete
Changed in snapd-glib (Ubuntu Yakkety):
status: Triaged → Incomplete

An upload of snapd-glib to xenial-proposed has been rejected from the upload queue for the following reason: "Please provide SRU information in the relevant bug, and particualrly mention that this is updating to 1.4 rather than just fixing a particular bug. It might be worth getting the TB to look at a special SRU process for snapd-glib alongside the existing snapd and snapcraft processes.".

Giovanni (aresclaw) on 2017-02-03
Changed in snapd-glib (Ubuntu):
assignee: nobody → Giovanni (aresclaw)
assignee: Giovanni (aresclaw) → nobody
Changed in snapd-glib (Ubuntu Xenial):
status: Incomplete → Fix Released
Changed in snapd-glib (Ubuntu Xenial):
status: Fix Released → Triaged
Changed in snapd-glib (Ubuntu Yakkety):
status: Incomplete → Triaged

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

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

Changed in snapd-glib (Ubuntu Xenial):
status: Triaged → Fix Committed
tags: added: verification-needed verification-needed-xenial
Robert Ancell (robert-ancell) wrote :

errors.ubuntu.com is not showing any occurrences of this in Xenial.

tags: added: verification-done-xenial
removed: verification-needed-xenial
Launchpad Janitor (janitor) wrote :
Download full text (4.9 KiB)

This bug was fixed in the package snapd-glib - 1.13-0ubuntu0.16.04.1

snapd-glib (1.13-0ubuntu0.16.04.1) xenial; urgency=medium

  * New upstream release: (LP: #1699005)
    - New API:
      - snapd_alias_get_app
      - snapd_alias_get_name
      - snapd_alias_get_snap
      - snapd_alias_get_status
      - snapd_alias_get_type
      - snapd_alias_status_get_type
      - snapd_app_get_aliases
      - snapd_app_get_daemon_type
      - snapd_assertion_get_body
      - snapd_assertion_get_header
      - snapd_assertion_get_headers
      - snapd_assertion_get_signature
      - snapd_assertion_get_type
      - snapd_assertion_new
      - snapd_change_get_id
      - snapd_change_get_kind
      - snapd_change_get_ready
      - snapd_change_get_ready_time
      - snapd_change_get_spawn_time
      - snapd_change_get_status
      - snapd_change_get_summary
      - snapd_change_get_tasks
      - snapd_change_get_type
      - snapd_client_add_assertions_async
      - snapd_client_add_assertions_finish
      - snapd_client_add_assertions_sync
      - snapd_client_check_buy_async
      - snapd_client_check_buy_finish
      - snapd_client_check_buy_sync
      - snapd_client_connect_async
      - snapd_client_connect_finish
      - snapd_client_create_user_async
      - snapd_client_create_user_finish
      - snapd_client_create_user_sync
      - snapd_client_create_users_async
      - snapd_client_create_users_finish
      - snapd_client_create_users_sync
      - snapd_client_disable_aliases_async
      - snapd_client_disable_aliases_finish
      - snapd_client_disable_aliases_sync
      - snapd_client_enable_aliases_async
      - snapd_client_enable_aliases_finish
      - snapd_client_enable_aliases_sync
      - snapd_client_find_refreshable_async
      - snapd_client_find_refreshable_finish
      - snapd_client_find_refreshable_sync
      - snapd_client_find_section_async
      - snapd_client_find_section_finish
      - snapd_client_find_section_sync
      - snapd_client_get_aliases_async
      - snapd_client_get_aliases_finish
      - snapd_client_get_aliases_sync
      - snapd_client_get_assertions_async
      - snapd_client_get_assertions_finish
      - snapd_client_get_assertions_sync
      - snapd_client_get_sections_async
      - snapd_client_get_sections_finish
      - snapd_client_get_sections_sync
      - snapd_client_install2_async
      - snapd_client_install2_finish
      - snapd_client_install2_sync
      - snapd_client_install_stream_async
      - snapd_client_install_stream_finish
      - snapd_client_install_stream_sync
      - snapd_client_new_from_socket
      - snapd_client_refresh_all_async
      - snapd_client_refresh_all_finish
      - snapd_client_refresh_all_sync
      - snapd_client_reset_aliases_async
      - snapd_client_reset_aliases_finish
      - snapd_client_reset_aliases_sync
      - snapd_client_run_snapctl_async
      - snapd_client_run_snapctl_finish
      - snapd_client_run_snapctl_sync
      - snapd_client_try_async
      - snapd_client_try_finish
      - snapd_client_try_sync
      - snapd_create_user_flags_get_type
      - snapd_daemon_type_get_type
      - snapd_install_flags_get_type
      - snapd_...


Changed in snapd-glib (Ubuntu Xenial):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for snapd-glib has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers