← Back to team overview

touch-packages team mailing list archive

[Bug 1302955] Re: upstart user session leaks all the dbus events it receives

 

Hello Michael, or anyone else affected,

Accepted unity into trusty-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/unity/7.2.4+14.04.20150316-0ubuntu1
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: unity (Ubuntu Trusty)
       Status: In Progress => Fix Committed

** Tags added: verification-needed

-- 
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/1302955

Title:
  upstart user session leaks all the dbus events it receives

Status in Unity:
  Fix Released
Status in Unity 7.2 series:
  In Progress
Status in unity package in Ubuntu:
  Fix Released
Status in upstart package in Ubuntu:
  Confirmed
Status in unity source package in Trusty:
  Fix Committed

Bug description:
  [Impact]

  The unity-panel-service process has been caching D-Bus messages sent
  from upstart, effectively leaking memory.  The solution replaces the
  offending code with a single upstart event emission.

  [Test Case]

  0. Make sure there is a user session job with a dbus rule (eg unity-greeter-session-broadcast)
  1. Install and run system-load-indicator (indicator-multiload)
  2. Set the update interval to 100ms
  3. Now watch the memory use of init --user increase by 100kb per second
  4. Also open up upstart-monitor to see all the dbus messages being sent

  [Regression Potential]

  Some kind of hidden functionality depending on upstart events sent
  through D-Bus to the unity-panel-service may have become disconnected.
  Unlikely.

  [Other Info]

  The fix for Ubuntu 14.04 LTS was cherry picked from the Ubuntu "Vivid
  Vervet" dev release where it has been in regular use for some time
  without apparent regression.

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