unity-panel-service memory leak

Bug #830287 reported by Hernando Torque
90
This bug affects 21 people
Affects Status Importance Assigned to Milestone
Unity
Invalid
High
Unassigned
unity (Ubuntu)
Invalid
High
Unassigned

Bug Description

There are a couple of similar bugs, this one is about the network indicator (nm-applet). Opening and closing repeatedly will increase the memory consumption by

TEST CASE:
1. Run while true; do ps aux | grep unity-panel-service | grep -v grep; sleep 1; done
2. Monitor the sixth column
3. Open and close the network indicator
4. Go to 3.

→ memory consumption should rise pretty fast.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: unity 4.8.2-0ubuntu4
ProcVersionSignature: Ubuntu 3.0.0-8.10-generic 3.0.1
Uname: Linux 3.0.0-8-generic x86_64
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,compiztoolbox,decor,move,vpswitch,place,mousepoll,resize,imgpng,regex,gnomecompat,grid,snap,wall,session,unitymtgrabhandles,animation,expo,workarounds,ezoom,staticswitcher,fade,scale,unityshell]
Date: Sun Aug 21 00:17:16 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110112)
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Hernando Torque (htorque) wrote :
Revision history for this message
Hernando Torque (htorque) wrote :

Valgrind log of opening and closing the network indicator a couple of times (total runtime 5 minutes).

==22345== LEAK SUMMARY:
==22345== definitely lost: 24,729 bytes in 639 blocks
==22345== indirectly lost: 179,398 bytes in 3,705 blocks
==22345== possibly lost: 21,661 bytes in 368 blocks
==22345== still reachable: 18,664,408 bytes in 391,092 blocks

Revision history for this message
Marco Biscaro (marcobiscaro2112) wrote :

Confirmed following the test case.

Changed in unity:
status: New → Confirmed
Changed in unity (Ubuntu):
status: New → Confirmed
Revision history for this message
Omer Akram (om26er) wrote :

Easily reproduce able. nm-applet might also be related in the cause of the problem.

Changed in unity:
importance: Undecided → High
Changed in unity (Ubuntu):
importance: Undecided → High
Revision history for this message
Omer Akram (om26er) wrote :

Also scrubbing though the menubar also causes memory leak to a great deal

tags: added: testcase
Revision history for this message
Stephen A. Goss (postfuturist) wrote :

I use the panel all day at work. After 7 days uptime, unity-panel-service is using 2 GB of memory. Ubuntu 11.10 64 bit, Unity 2D.

Revision history for this message
dazza5000 (darran-kelinske) wrote :

Running 12.04 with repos updated multiple times daily - my unity-panel-service is at 652 MiB . Please let me know if there is anything you need for debug.

Revision history for this message
Stephen A. Goss (postfuturist) wrote :

unity-panel-service was up to 3 GB when I killed it today on my work machine. I've been running Linux Mint on personal machines these days because of the extreme nature of this memory leak.

Revision history for this message
abitwise (abitwise) wrote :

I just browsed a bit of net with Firefox and then the machine was idle most of the time. When i returned unity-panel-service takes 6.4 GB of result set and 11.9 GB of virtual memory. This all consumes my 8 Gb of RAM and 8 Gb of swap space.

I have 64-bit Ubuntu 11.10 with latest updates. This problem has occured at least 3 times in the past month.

uname -a
Linux 3.0.0-15-generic #26-Ubuntu SMP Fri Jan 20 17:23:00 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Omer Akram (om26er) wrote :

I don't seem to be able to reproduce the bug with the test case in the description in precise. Hernando is that still an issue for you?

Changed in unity:
status: Confirmed → Incomplete
Changed in unity (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Hernando Torque (htorque) wrote :

Sorry for the late answer → no, I cannot reproduce the leak anymore. nm-applet seems to be busy producing bug 930491. ;-)

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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