← 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

 

Launchpad has imported 3 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=88288.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2015-01-11T10:41:26+00:00 Dednev wrote:

Created attachment 112087
Fix for memory leak in EnumerateActions call results handler.

I've found, that policykit-1-0.105 in my Debian Wheezy doesn't release
reference counters of GVariant data for
org.freedesktop.PolicyKit1.Authority.EnumerateActions DBUS call
resulting data.

See patch in attachment.
g_variant_ref_sink (child) call was odd in case of iterating array child items.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/1417637/comments/0

------------------------------------------------------------------------
On 2015-01-11T10:44:40+00:00 Dednev wrote:

There is high possibility that this bug causes memory leaking in kded4
(see https://bugs.kde.org/show_bug.cgi?id=271934) and other policykit-1
client software.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/1417637/comments/1

------------------------------------------------------------------------
On 2015-01-12T01:04:37+00:00 Colin Walters wrote:

Looks good to me, thanks!  I tweaked the commit message to match the
standard style, and pushed.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/1417637/comments/2


** Changed in: policykit-1
       Status: Unknown => Fix Released

** Changed in: policykit-1
   Importance: Unknown => High

** Bug watch added: KDE Bug Tracking System #271934
   https://bugs.kde.org/show_bug.cgi?id=271934

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to policykit-1 in Ubuntu.
https://bugs.launchpad.net/bugs/1417637

Title:
  Kdeinit4 is leaking memory on every ssh login due to known bug on
  policykit-1

Status in System policy:
  Fix Released
Status in policykit-1 package in Ubuntu:
  Confirmed

Bug description:
  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 3.13.11.11
  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:
https://bugs.launchpad.net/policykit-1/+bug/1417637/+subscriptions


References