[Bug 460758] New: possible memory leak in gnome-panel
https://bugzilla.novell.com/show_bug.cgi?id=460758 Summary: possible memory leak in gnome-panel Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: sassmann@novell.com QAContact: qa@suse.de Found By: Development After an uptime of about 1 week gnome-panel uses a significant amount of memory (possibly a memory leak). PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND after 1 week of uptime 4724 sassmann 20 0 823m 422m 18m S 1 7.1 173:47.93 gnome-panel after restarting gnome-panel 9789 sassmann 20 0 115m 53m 36m S 0 7.3 0:00.46 gnome-panel I'll keep the machine running and see how this develops. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=460758
User vuntz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=460758#c1
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=460758
User sassmann@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=460758#c2
--- Comment #2 from Stefan Assmann
https://bugzilla.novell.com/show_bug.cgi?id=460758
User vuntz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=460758#c3
--- Comment #3 from Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=460758
User sassmann@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=460758#c4
--- Comment #4 from Stefan Assmann
https://bugzilla.novell.com/show_bug.cgi?id=460758
User vuntz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=460758#c5
--- Comment #5 from Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=460758
User sassmann@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=460758#c6
--- Comment #6 from Stefan Assmann
https://bugzilla.novell.com/show_bug.cgi?id=460758
User vuntz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=460758#c7
--- Comment #7 from Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=460758
User sassmann@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=460758#c8
--- Comment #8 from Stefan Assmann
Ah, you need some developer black magic ;-) In 11.1, the best way to do this is... "pkill gnome-panel; pkill gnome-panel; pkill gnome-panel; pkill gnome-panel; pkill gnome-panel; pkill gnome-panel; pkill gnome-panel; pkill gnome-panel; pkill gnome-panel; "
lol Okay valgrind --log-file=/tmp/gnome-panel.valgrind gnome-panel is running. It's horribly slow but I'll try to keep working with it. How long should I run it ? btw, before I left for the holidays I installed an 11.1 on another machine and let it run in it's initial state. There seems to be no memory leak on that machine. Now if I compare that machine to my machine I have a strong feeling that it's the System Monitor which I have running on my machine that eats all the memory. Things that I have running additionally to that other machine - System Monitor - Workspace switcher - Logout buttons - Mini Commandline -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=460758
User vuntz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=460758#c9
--- Comment #9 from Vincent Untz
Okay valgrind --log-file=/tmp/gnome-panel.valgrind gnome-panel is running. It's horribly slow but I'll try to keep working with it. How long should I run it ?
Well, if you can run it for a few days, that'd be great -- I know it's horribly slow, though, so I guess you'll stop it when you'll be really annoyed ;-)
btw, before I left for the holidays I installed an 11.1 on another machine and let it run in it's initial state. There seems to be no memory leak on that machine. Now if I compare that machine to my machine I have a strong feeling that it's the System Monitor which I have running on my machine that eats all the memory.
Things that I have running additionally to that other machine - System Monitor - Workspace switcher - Logout buttons - Mini Commandline
Hrm. The thing is that the only in-process applet is the workspace switcher (and the logout buttons). The commandline and system monitor applets are out-of-process, and so the leak shouldn't appear in gnome-panel for them. But I fail to see how the workspace switcher would leak for one person and not for the thousands of other people out there... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=460758
User sassmann@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=460758#c10
--- Comment #10 from Stefan Assmann
https://bugzilla.novell.com/show_bug.cgi?id=460758
User vuntz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=460758#c11
--- Comment #11 from Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=460758
User sassmann@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=460758#c12
Stefan Assmann
https://bugzilla.novell.com/show_bug.cgi?id=460758
User sassmann@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=460758#c13
Stefan Assmann
https://bugzilla.novell.com/show_bug.cgi?id=460758
User vuntz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=460758#c14
--- Comment #14 from Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=460758
User vuntz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=460758#c15
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=460758
User sassmann@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=460758#c16
--- Comment #16 from Stefan Assmann
Can you try the libgtop package from home:vuntz:11.1-testing in the build service?
been there, installed that.
I'm unsure now if the patch fixes your issue since I can't reproduce the leak here.
If it doesn't fix it, can you tell me what your system monitor applet is monitoring?
Looks like it's still leaky somewhere. I monitor processor, memory, network, disk. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=460758
User sassmann@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=460758#c17
--- Comment #17 from Stefan Assmann
https://bugzilla.novell.com/show_bug.cgi?id=460758
User vuntz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=460758#c18
--- Comment #18 from Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=460758
User sassmann@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=460758#c19
--- Comment #19 from Stefan Assmann
Stefan: it looks less leaky, though.
I thought so too but didn't want to draw a hasty conclusion ;-)
And some stuff is expected if you don't use "G_SLICE=always-malloc G_DEBUG=gc-friendly". Can you set those environment variables and try again?
Uhm, okay if you say so. More of that developer black magic ;) Stay tuned... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=460758
User vuntz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=460758#c20
--- Comment #20 from Vincent Untz
(In reply to comment #18 from Vincent Untz)
And some stuff is expected if you don't use "G_SLICE=always-malloc G_DEBUG=gc-friendly". Can you set those environment variables and try again?
Uhm, okay if you say so. More of that developer black magic ;) Stay tuned...
Heh, you can read http://live.gnome.org/Valgrind to get some background about all this. The important thing is G_SLICE=always-malloc, since glib, by default, handles memory allocations in a smart way that doesn't work well with valgrind. This env var tells glib to just use malloc, and not the smart way. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=460758
User sassmann@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=460758#c21
--- Comment #21 from Stefan Assmann
https://bugzilla.novell.com/show_bug.cgi?id=460758
User vuntz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=460758#c22
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=460758
User vuntz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=460758#c23
--- Comment #23 from Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=460758
User vuntz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=460758#c24
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=460758
User dmueller@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=460758#c25
Dirk Mueller
https://bugzilla.novell.com/show_bug.cgi?id=460758
User vuntz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=460758#c26
Vincent Untz
participants (1)
-
bugzilla_noreply@novell.com