[Pkg-utopia-maintainers] Bug#775158: policykit-1: memory leak in polkit_authority_enumerate_actions_finish DBUS call results handler

Max A. Dednev dednev at rambler.ru
Mon Jan 12 04:57:56 UTC 2015


Package: libpolkit-gobject-1-0
Version: 0.105-3
Severity: normal
Tags: patch

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 results
handler (polkit_authority_enumerate_actions_finish).

This bug causes huge memory leak in kded4, about 2-3 MB per 10 seconds.
Disabling powerdevil service (which uses DBUS and policykit-1) solves
this problem, but KDE without powerdevil is not functional on laptop.

So in my case attached patch solves my kded4 with enabled powerdevil
extreme memory leak.

Patch is also avaliable at
http://cgit.freedesktop.org/polkit/patch/?id=f4d71e0de885010494b8b0b8d62ca910011d7544



-- System Information:
Debian Release: 7.8
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libpolkit-gobject-1-0 depends on:
ii  libc6              2.13-38+deb7u6
ii  libglib2.0-0       2.33.12+really2.32.4-5
ii  multiarch-support  2.13-38+deb7u6

libpolkit-gobject-1-0 recommends no packages.

libpolkit-gobject-1-0 suggests no packages.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 08_enumerate-actions-leak-fix.patch
Type: text/x-diff
Size: 710 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20150112/e4605a65/attachment.patch>


More information about the Pkg-utopia-maintainers mailing list