This was fixed in 1.4: commit 904bc196e3e3c8b5ca0a4da218c1da942b3255aa Author: Robert Ancell <robert.anc...@canonical.com> Date: Tue Dec 6 15:16:22 2016 +1300
Correctly remove read source when SnapdClient unreffed diff --git a/snapd-glib/snapd-client.c b/snapd-glib/snapd-client.c index 88a541d..7a0271b 100644 --- a/snapd-glib/snapd-client.c +++ b/snapd-glib/snapd-client.c @@ -3900,6 +3900,8 @@ snapd_client_finalize (GObject *object) g_clear_object (&priv->auth_data); g_list_free_full (priv->requests, g_object_unref); priv->requests = NULL; + if (priv->read_source != NULL) + g_source_destroy (priv->read_source); g_clear_pointer (&priv->read_source, g_source_unref); g_byte_array_unref (priv->buffer); priv->buffer = NULL; -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1652472 Title: snapd-login-service crashed with SIGSEGV in read_data() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd-glib/+bug/1652472/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs