Looking at the sources of accountsservice 0.6.21-6ubuntu5: there's only
one place where on_get_unix_user_finished invokes
g_cancellable_is_cancelled, and it's introduced by
debian/patches/9001-manage_pending_ck_calls_with_cancellable.patch:

        if (new_session->cancellable == NULL || g_cancellable_is_cancelled 
(new_session->cancellable)) {
                return;
        }

It appears that there's a race: new_session->cancellable is reset to
NULL between the check and the g_cancellable_is_cancelled call.

That patch mentions https://bugs.freedesktop.org/show_bug.cgi?id=50112
and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673185.


** Bug watch added: freedesktop.org Bugzilla #50112
   https://bugs.freedesktop.org/show_bug.cgi?id=50112

** Bug watch added: Debian Bug tracker #673185
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673185

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1028149

Title:
  gnome-shell crashed with SIGSEGV in g_cancellable_is_cancelled()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1028149/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to