The unref in BackgroundLoader.ready_cb seems to be the issue here, from
commit http://bazaar.launchpad.net/~unity-greeter-team/unity-
greeter/trunk/revision/367

At least on my system, after the updates to glib 2.32 and gtk 3.4, the
first BackgroundLoader that is created always ends up in ready_cb with
only one ref, so we destroy ourselves before trying to access the images
pixbuf array. This seems to be because there is a size_allocate before
the image finishes loading, so the BackgroundLoader hash table is
cleared, which would destroy the BackgroundLoader if we didn't have the
extra ref in BackgroundLoader.load.

It may be the case that the extra refs, unrefs added in that commit are
no longer needed with the library upgrades (although if that were the
case, I think we would see more duplicates...), but my thought is just
to move the unref in ready_cb to the end, so we can finish up whatever
we are doing in case the unref destroys us.

Either of the above seem to fix the crash here anyway.

** Branch linked: lp:~jconti/unity-greeter/fix_967343

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

Title:
  unity-greeter crashed with SIGSEGV in background_loader_ready_cb()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/967343/+subscriptions

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

Reply via email to