← Back to team overview

touch-packages team mailing list archive

[Bug 710560] Re: unity places race with gdbus to register objects on startup

 

** Changed in: unity (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity in Ubuntu.
https://bugs.launchpad.net/bugs/710560

Title:
  unity places race with gdbus to register objects on startup

Status in Unity:
  Fix Released
Status in Unity Applications Lens:
  Fix Released
Status in Unity Files Lens:
  Fix Released
Status in “unity” package in Ubuntu:
  Fix Released
Status in “unity-place-applications” package in Ubuntu:
  Fix Released
Status in “unity-place-files” package in Ubuntu:
  Fix Released

Bug description:
  See https://bugzilla.gnome.org/show_bug.cgi?id=640714.

  In a nutshell: The Unity places are using g_application_register() on
  startup. This call does a sync DBus call to own the app name on the
  bus. The problem is that this is broken by design because GDBus will
  start processing messages before you've returned to the call site of
  register(). This makes the caller race to register object paths before
  incoming methods are dispatched.

  The (normal) solution would be to always register the objects before
  calling app.register() but we don't want to do that because our
  objects can be very expensive to set up.

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/710560/+subscriptions