← Back to team overview

dx-packages team mailing list archive

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

 

** Description changed:

- Easiest way to see this:
+ [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]
  
- ProblemType: Bug
- DistroRelease: Ubuntu 14.04
- Package: upstart 1.12.1-0ubuntu1
- ProcVersionSignature: Ubuntu 3.13.0-22.44-generic 3.13.8
- Uname: Linux 3.13.0-22-generic x86_64
- ApportVersion: 2.14-0ubuntu1
- Architecture: amd64
- CurrentDesktop: Unity
- Date: Sat Apr  5 18:17:40 2014
- InstallationDate: Installed on 2013-06-22 (287 days ago)
- InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130621)
- SourcePackage: upstart
- UpgradeStatus: Upgraded to trusty on 2013-12-05 (120 days ago)
- UpstartBugCategory: Session
- UpstartRunningSessionCount: 1
- UpstartRunningSessionVersion: init (upstart 1.12.1)
- UpstartRunningSystemVersion: init (upstart 1.12.1)
+ 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.

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
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:
  In Progress

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