kded4 process grows on memory usage

Bug #760877 reported by alfabravoteam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kde4libs (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

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).
This computer is a HP dv6810 laptop, 3 yr old with an old battery that barely charges. 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 ubuntu-bug capture I'm sending was generated after an hour of use. The screenshots relate to previous tests (the last was from last night and today morning). Hopefully it will help you on catching the leak.

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

alfabravo@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@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

Revision history for this message
alfabravoteam (alfabravoteam) wrote :
Revision history for this message
alfabravoteam (alfabravoteam) wrote :

Letting the laptop on, with a firefox, a google chrome and a Dolphin window open... about 12 hours later it shows as seen in the screenshot.

Memory: 2.4GB... Shared memory: 14,926K

Revision history for this message
alfabravoteam (alfabravoteam) wrote :

Killed the kded4 process and wireless was gone.

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

alfabravo@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@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.

Revision history for this message
Harald Sitter (apachelogger) wrote :

we'll need a memory profile log of this...

killall kde4
valgrind --log-file=kded4.memcheck --leak-check=full --show-possibly-lost=no --show-reachable=no --undef-value-errors=no kded4

then let it leak a bit, and finally run hit Ctrl+c, after a while it will terminate and a log file named kded4.memcheck will be in your current directory, please compress this (e.g. xz -9 kded4.memcheck) and attach the compressed version to this bug

TIA

Changed in kde4libs (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for kde4libs (Ubuntu) because there has been no activity for 60 days.]

Changed in kde4libs (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.