snapd-login-service crashed with SIGABRT in g_mutex_clear()

Bug #1714486 reported by Bernard J. Girardot
70
This bug affects 10 people
Affects Status Importance Assigned to Milestone
snapd-glib (Ubuntu)
Fix Released
Critical
Robert Ancell

Bug Description

None.

ProblemType: Crash
DistroRelease: Ubuntu 17.10
Package: snapd-login-service 1.18-0ubuntu1
ProcVersionSignature: Ubuntu 4.12.0-11.12-generic 4.12.5
Uname: Linux 4.12.0-11-generic i686
ApportVersion: 2.20.7-0ubuntu1
Architecture: i386
Date: Fri Sep 1 07:14:14 2017
ExecutablePath: /usr/lib/snapd-glib/snapd-login-service
InstallationDate: Installed on 2017-08-12 (19 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha i386 (20170811)
ProcCmdline: /usr/lib/snapd-glib/snapd-login-service
ProcEnviron:

Signal: 6
SourcePackage: snapd-glib
StacktraceTop:
 g_mutex_clear () from /lib/i386-linux-gnu/libglib-2.0.so.0
 ?? () from /usr/lib/i386-linux-gnu/libsnapd-glib.so.1
 g_object_unref () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
 ?? ()
 ?? ()
Title: snapd-login-service crashed with SIGABRT in g_mutex_clear()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Revision history for this message
Bernard J. Girardot (bgirardo) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_mutex_clear (mutex=0x2491b80) at ../../../../glib/gthread-posix.c:1300
 snapd_client_finalize (object=0x2491ba0) at snapd-client.c:5937
 g_object_unref (_object=0x2491ba0) at ../../../../gobject/gobject.c:3314
 free_login_request (request=0xb3903350) at snapd-login-service.c:50
 glib_autoptr_cleanup_LoginRequest (_ptr=<synthetic pointer>) at snapd-login-service.c:54

Changed in snapd-glib (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in snapd-glib (Ubuntu):
status: New → Confirmed
Revision history for this message
Robert Ancell (robert-ancell) wrote :

This seems to be a crash due to deleting the SnapdClient while a mutex is in use.

information type: Private → Public
Changed in snapd-glib (Ubuntu):
importance: Medium → Critical
assignee: nobody → Robert Ancell (robert-ancell)
status: Confirmed → Triaged
Revision history for this message
Robert Ancell (robert-ancell) wrote :

This seems to have been introduced in snapd-glib 1.18

Changed in snapd-glib (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Robert Ancell (robert-ancell) wrote :

Causes gnome-software to fail to log into the store (bug 1713912)

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

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

---------------
snapd-glib (1.23-0ubuntu1) artful; urgency=medium

  * New upstream release:
    [ 1.23 ]
    - Fix snapd-login-service crash (LP: #1714486)
    - Improve failure handling when snapd socket read/writes fail
    [ 1.22 ]
    - Make QML module depend on snapd-qt being compiled first
    - Fix compile warning
    [ 1.21 ]
    - Fix MOC detection in Fedora
    - Handle Qt configure failures
    [ 1.20 ]
    - Stop distributing generated files

 -- Robert Ancell <email address hidden> Fri, 15 Sep 2017 14:15:28 +1200

Changed in snapd-glib (Ubuntu):
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.