[Bug 271934] New: kded4 process grows on memory usage (possible leak)

Andres Salcedo alfabravoteam at gmail.com
Thu Apr 28 18:09:48 BST 2011


https://bugs.kde.org/show_bug.cgi?id=271934

           Summary: kded4 process grows on memory usage (possible leak)
           Product: kde
           Version: 4.6
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: alfabravoteam at gmail.com


Version:           4.6 (using KDE 4.6.2) 
OS:                Linux

I've installed Kubuntu 11.04 beta updating from a previous kubuntu (which was
just installed from a 10.10 standard ubuntu, installing kubuntu-desktop and
uninstalling all the gnome stuff). Leaving the thing overnight showed me that
the kded4 process possibly is eating memory. The only workaround is to kill it
(in the first beta it just "rebooted" the system tray, while in the second it
kills networking and probably other things... running kded4 --check is the only
way to bring things back)

This computer is a HP dv6810 laptop, 3 yr old with an old battery that barely
charges (often, the gnome's battery monitor had troubles stating the current
charge). Hence, I guessed this was related to the same thing as gnome's
battery-indicator problem eating memory... and I removed it system tray. No
good. Disabled Stagi and nepomuk as well... the 100% processor is no more (heh)
but this problem still appears.
Now I'm testing with the whole system tray gone (maybe notifications...) but it
looks like it grows as well.

The bug capture I'm sending was generated after an hour of use. The screenshots
relate to previous tests. Hopefully it will help you on catching the leak.

alfabravo at alfabravoTiger:~$ lsb_release -rd
Description: Ubuntu Natty (development branch)
Release: 11.04

alfabravo at alfabravoTiger:~$ sudo apt-cache policy kdelibs
kdelibs:
  Installed: (none)
  Candidate: 4:3.5.10.dfsg.1-5ubuntu2
  Version table:
     4:3.5.10.dfsg.1-5ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages

alfabravo at alfabravoTiger:~$ sudo apt-cache policy kdelibs5
kdelibs5:
  Installed: (none)
  Candidate: 4:4.6.2-0ubuntu3
  Version table:
     4:4.6.2-0ubuntu3 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: kdelibs-bin 4:4.6.2-0ubuntu3
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Thu Apr 14 11:20:35 2011
ExecutablePath: /usr/bin/kdeinit4
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: kde4libs
UpgradeStatus: Upgraded to natty on 2011-04-11 (3 days ago)
XsessionErrors: (knotify4:7886): GStreamer-CRITICAL **:
gst_debug_add_log_function: assertion `func != NULL' failed



Reproducible: Always

Steps to Reproduce:
* start session with kde.
* leave the session opened, even idle.
* check the memory usage in process manager

Actual Results:  
kded4 process grows in memory usage up to 2.4GB as far as I have seen (when I
kill the process in order to use something).

Expected Results:  
Not eating all the available RAM.

When killed the kded4 process, wireless was gone.

Then I ran kded4 --check and this was the output:

alfabravo at alfabravoTiger:~$ kded4 --check
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
ntrack backend selected and created: ntrack-libnl1.so
kbuildsycoca4 running...
X Error: BadValue (integer parameter out of range for operation) 2
  Major opcode: 102 (X_ChangeKeyboardControl)
  Resource id: 0xffffff80
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)

No outputs have backlight property
kbuildsycoca4 running...
alfabravo at alfabravoTiger:~$ QDBusConnection: name
'org.kde.powerdevil.backlighthelper' had owner '' but we thought it was
':1.2011'
Object::connect: No such signal QDBusAbstractInterface::Changed()
Invalid D-BUS member name 'idle-hint' found in interface
'org.freedesktop.ConsoleKit.Session' while parsing introspection
Invalid D-BUS member name 'is-local' found in interface
'org.freedesktop.ConsoleKit.Session' while parsing introspection
Invalid D-BUS member name 'x11-display-device' found in interface
'org.freedesktop.ConsoleKit.Session' while parsing introspection
Invalid D-BUS member name 'x11-display' found in interface
'org.freedesktop.ConsoleKit.Session' while parsing introspection
Invalid D-BUS member name 'display-device' found in interface
'org.freedesktop.ConsoleKit.Session' while parsing introspection
Invalid D-BUS member name 'remote-host-name' found in interface
'org.freedesktop.ConsoleKit.Session' while parsing introspection
Invalid D-BUS member name 'session-type' found in interface
'org.freedesktop.ConsoleKit.Session' while parsing introspection
Invalid D-BUS member name 'unix-user' found in interface
'org.freedesktop.ConsoleKit.Session' while parsing introspection

In the end, wireless came back to life as the kded4 process restarted again
with "healthy" 23MB in RAM.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list