← Back to team overview

desktop-packages team mailing list archive

[Bug 1417637] Re: Kdeinit4 is leaking memory on every ssh login due to known bug on policykit-1


Hello Luis, or anyone else affected,

Accepted policykit-1 into utopic-proposed. The package will build now
and be available at
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

** Changed in: policykit-1 (Ubuntu Utopic)
       Status: In Progress => Fix Committed

** Tags added: verification-needed

** Changed in: policykit-1 (Ubuntu Trusty)
       Status: In Progress => Fix Committed

You received this bug notification because you are a member of Desktop
Packages, which is subscribed to policykit-1 in Ubuntu.

  Kdeinit4 is leaking memory on every ssh login due to known bug on

Status in System policy:
  Fix Released
Status in policykit-1 package in Ubuntu:
  Fix Released
Status in policykit-1 source package in Trusty:
  Fix Committed
Status in policykit-1 source package in Utopic:
  Fix Committed
Status in policykit-1 source package in Vivid:
  Fix Released

Bug description:
  A memory leak in policykit causes memory exhaustion over time in

  [Test Case]
  1- check memory usage of kdeinit4 under htop (RES column)
  2- ssh in
  3- check to make sure it stays constant

  [Regression Potential]
  If the patch is incorrect, policykit could possibly crash.

  Every time ssh login is made on ubuntu 14.04, kdeinit4 leaks 2-3 Mb (when kde is installed).
  According to previous bug report in: https://bugs.kde.org/show_bug.cgi?id=271934
  this is a bug in policykit-1 package, and it has been already  fixed on upstream.
  Update of policykit-1 should fix this problem on kubuntu 14.04 and Ubuntu 14.04 + Kde.

  This bug is severe in some specific scenarios where ssh is often used.
  In my case, I have a lot of scripts running processes every hour between ubuntu and kubuntu machines using passwordless ssh login. In few days kubuntu machines don't have free memory, due to the referred leak.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: policykit-1 0.105-4ubuntu2
  ProcVersionSignature: Ubuntu 3.13.0-43.72-generic
  Uname: Linux 3.13.0-43-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.14.1-0ubuntu3.6
  Architecture: amd64
  CurrentDesktop: KDE
  Date: Tue Feb  3 15:33:04 2015
  InstallationDate: Installed on 2013-09-26 (494 days ago)
  InstallationMedia: Kubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902.2)
  SourcePackage: policykit-1
  UpgradeStatus: Upgraded to trusty on 2014-04-14 (294 days ago)

To manage notifications about this bug go to:

Follow ups