[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-07-26 Thread papukaija
** Tags added: maverick ** Summary changed: - memory leak in gnome-power-manager on lucid + memory leak in gnome-power-manager -- memory leak in gnome-power-manager https://bugs.launchpad.net/bugs/569273 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-07-12 Thread Dave V
Filed: https://bugzilla.gnome.org/show_bug.cgi?id=624082 and got a snarky (though justified) response. :-P (I get pissed when someone breaks my code too.) If ubuntu is going to change/break things at least have the decency to change the version number. The valgrind dump that I have is probably

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-07-06 Thread scottku
Simon: Is there an open bug upstream on the issue you are referring to? ** Also affects: gnome-power-manager (Ubuntu) Importance: Undecided Status: New -- memory leak in gnome-power-manager on lucid https://bugs.launchpad.net/bugs/569273 You received this bug notification because you

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-07-03 Thread Simon B
I have made some progress. It looks like the problem is a combination of an upstream bug, and the addition of application indicators to the Ubuntu version of GPM (gnome-power-manager). First of all this bug is in gnome-power-manager, and should be moved back to that package. Upstream: I built

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-06-29 Thread Toby Murray
For me, it is much slower. This is on a desktop that is attached to an APC UPS via the USB cable. There is no indicator in my panel (unless maybe if the power goes out and I start running on the UPS?). I last restarted gnome-power-manager on the 23rd and it is now using 132MB. Using the same

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-06-29 Thread Simon B
Hi Toby. What you are seeing is consistent with what I am seeing. I would bet that 'upowerd' is transmitting a dbus message every 20 seconds. As an experiment kill the gnome-power-manager 'killall gnome-power-manager'. Then run 'gnome-power-manager --verbose'. You will get a detailed log of

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-06-28 Thread Sebastien Bacher
could you give details on what usage numbers you watch and how? -- memory leak in gnome-power-manager on lucid https://bugs.launchpad.net/bugs/569273 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-06-28 Thread Simon B
Hi Sebastien, I use the command in comment #1: watch -n1 'grep heap -A11 /proc/$( pidof gnome-power-manager )/smaps' The heap of gnome-power-manager grows by 4kB every second (in my case). If I take out the battery from my laptop, the memory leak stops. On my machine upowerd is sending some

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-06-26 Thread Simon B
I tried Maverick and the problem is not fixed in either Maverick or Lucid. -- memory leak in gnome-power-manager on lucid https://bugs.launchpad.net/bugs/569273 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-06-25 Thread David Barth
** Also affects: indicator-application Importance: Undecided Status: New ** Changed in: indicator-application Importance: Undecided = Medium ** Changed in: indicator-application Assignee: (unassigned) = Ted Gould (ted) ** Changed in: indicator-application Milestone: None =

Re: [Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-06-25 Thread Ted Gould
This is fixed in the upstream release 0.0.20 (current in the series is 0.0.21). Closing the upstream task. This fix has also been ported to the current series, so I believe it is fixed in Maverick as well. affects indicator-application status fixreleased ** Changed in:

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-06-24 Thread Simon B
I have some new information (however I do need some help from developers, please). The chain of events is this: 1. upowerd - wakes while monitoring kernel drivers (sysfs/procfs). This can be very infrequent or very often depending on the h/w 2. upowerd - sends resulting message via dbus 3.

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-06-22 Thread Jean-Baptiste Lallement
I'm marking this report verification-failed regarding that 3 users reported that 0.0.19-0ubuntu5 in -proposed doesn't fix the leak. I tried version 0.0.19-0ubuntu4 in lucid and compared with the version 0.0.19-0ubuntu5 in -proposed and didn't see any improvement regarding memory consumption

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-06-21 Thread Jason
Simon B, I do have a UPS but it's not connected in any way besides the power cable. I have a wireless keyboard, but I've never seen anything that could detect the battery in it.. -- memory leak in gnome-power-manager on lucid https://bugs.launchpad.net/bugs/569273 You received this bug

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-06-20 Thread cryptor3
I'm experiencing this on my desktop. top says that virtual memory usage is stable at about 374m. The desktop doesn't have a UPS attached to it, however I did for some time have a wireless mouse/kb attached, and it was tracking that battery. I disconnected the mouse, because it is mostly a

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-06-20 Thread cryptor3
oops. meant to say disconnected both mouse and kb. -- memory leak in gnome-power-manager on lucid https://bugs.launchpad.net/bugs/569273 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-06-19 Thread Simon B
Yes, in my case it is battery related. Jason, I wonder if you have a UPS, or some other power related device like that? I did some more debugging. When I insert the battery, this subroutine is run continually: Breakpoint 1, gpm_tray_icon_devices_changed_cb (engine=0x80a3238,

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-06-18 Thread Simon B
I did a valgrind over about 8 hours(attached). I removed my battery, restarted gnome-power-manager, and now the leak is gone. ** Attachment added: valgrindlog http://launchpadlibrarian.net/50527616/valgrindlog -- memory leak in gnome-power-manager on lucid

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-06-18 Thread Jason
In my case, although I experience the bug, it takes more time for the memory usage to expand, and it is on a PC with no battery (that the OS is aware of). Just want to make it clear that it's not ONLY battery related. -- memory leak in gnome-power-manager on lucid

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-06-17 Thread Compholio
I'm seeing this issue and noticed that it appears to be triggerable by unplugging and plugging in the charger on my laptop. The interesting thing is that it triggers only when I plug the charger back in, and never appears to happen when I unplug it. Convenient command-line for monitoring usage:

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-06-17 Thread scottku
By using the script that Compholio provided in comment #22, I noticed that the Rss amount increases by about 20kB every 30 seconds on my machine. After watching it for several minutes, I'm pretty confident that the leak that I am seeing is caused by an event that happens every 30 seconds. 20kB

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-06-17 Thread scottku
Also, there are two reports about a problem similar to this one in bug #196688 in comments #25 and #26. There is also another report in bug #588383. -- memory leak in gnome-power-manager on lucid https://bugs.launchpad.net/bugs/569273 You received this bug notification because you are a member

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-06-17 Thread Simon B
I used Compholio's script and it is showing 4kB every second (roughly). After three days I am at 670 MB. Possibly related to this is the battery in the laptop I am using does not hold any charge anymore. Maybe something is polling the battery? -- memory leak in gnome-power-manager on lucid

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-06-17 Thread Simon B
One thing I forgot to mention is that I am running the 'proposed' package 'indicator-application 0.0.19-0ubuntu5' and it does not fix the problem. -- memory leak in gnome-power-manager on lucid https://bugs.launchpad.net/bugs/569273 You received this bug notification because you are a member of

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-06-17 Thread Justin Lebar
In response to #25: I also observed this leak on a machine whose battery holds no charge. I haven't tried the proposed fix. -- memory leak in gnome-power-manager on lucid https://bugs.launchpad.net/bugs/569273 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-06-17 Thread Ben Gamari
I too am running indicator-application 0.0.19-0ubuntu5 and yet am still experiencing leakage. ** Changed in: indicator-application (Ubuntu Lucid) Status: Fix Committed = Confirmed -- memory leak in gnome-power-manager on lucid https://bugs.launchpad.net/bugs/569273 You received this bug

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-06-17 Thread Ben Gamari
Just to note an interesting correlation, like #27, my specimen also has a battery which holds no charge. -- memory leak in gnome-power-manager on lucid https://bugs.launchpad.net/bugs/569273 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-06-14 Thread scottku
It doesn't seem like the update fixes the problem for me. I enabled lucid-proposed in the update manager, updated my machine, and rebooted it. I logged in and gnome-power-manager was using: 01456000-0155f000 rw-p 00:00 0 [heap] Size: 1060

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-06-10 Thread Derek
WRT displaying the battery symbol in comment #19 I've been up for 8 days, I noticed I was losing a lot of memory. Part of that was the ubunto one sync client (killed it). 400 megabytes of it though was the gnome-power-manager - and this on a desktop plugged into a UPS. Killed that as well. --

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-06-07 Thread scottku
Paul: you are correct about the test case. Start gnome-power-manager, look at the memory usage, wait several hours (or a day), and look at the memory usage again. The buggy version will consume memory slowly (perhaps around 2MB per hour---which is approximately what I found in my original bug

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-06-07 Thread Christian Ziemann
As for me, gnome-power-manager only seems to be leaking RAM while displaying the battery symbol in the panel (which is, while recharging the battery). However, the leak happens to be much more severe than scottku described, as it takes ~2 hours to eat 3GB of memory. All the above concerns the

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-06-03 Thread Paul Elliott
Can I just verify the test case, is to simply run the gnome-power- manager from -proposed for a while and check if the memory usage is reasonable? -- memory leak in gnome-power-manager on lucid https://bugs.launchpad.net/bugs/569273 You received this bug notification because you are a member of

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-06-01 Thread Martin Pitt
Accepted indicator-application into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Also affects:

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-05-27 Thread Jason
Is there a way to restart gnome-power-manager without restarting the computer? As this grows and grows in swap file usage, it becomes more cripping each time it randomly decides to load ALL of it's swap memory into system memory. For as long as this is happening, the system completely stops

Re: [Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-05-27 Thread Eloy Paris
On 05/27/2010 07:11 AM, Jason wrote: Is there a way to restart gnome-power-manager without restarting the computer? As this grows and grows in swap file usage, it becomes more cripping each time it randomly decides to load ALL of it's swap memory into system memory. For as long as this is

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-05-27 Thread Jason
Thanks Eloy, great advice. Down from almost 400 MB, to 1.9 MB. -- memory leak in gnome-power-manager on lucid https://bugs.launchpad.net/bugs/569273 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-05-20 Thread Ken VanDine
** Package changed: gnome-power-manager (Ubuntu) = indicator- application (Ubuntu) ** Changed in: indicator-application (Ubuntu) Assignee: (unassigned) = Ken VanDine (ken-vandine) ** Changed in: indicator-application (Ubuntu) Importance: Undecided = Medium -- memory leak in

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-05-20 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-desktop/indicator-application/ubuntu -- memory leak in gnome-power-manager on lucid https://bugs.launchpad.net/bugs/569273 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-05-20 Thread Launchpad Bug Tracker
** Branch linked: lp:~indicator-applet-developers/indicator- application/lucid -- memory leak in gnome-power-manager on lucid https://bugs.launchpad.net/bugs/569273 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-05-19 Thread scottku
Here is a valgrind log with --show-reachable=yes that I created by running gpm overnight (11 hours). ** Attachment added: 11 hour run of gpm in valgrind with show-reachable http://launchpadlibrarian.net/48727458/gpm-reachable.log -- memory leak in gnome-power-manager on lucid

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-05-19 Thread Justin Lebar
Richard Hughes identified in the Gnome bug that the problem is the app_indicator_set_menu() call, which is Ubuntu-specific. Can we get an Ubuntu dev to look at this? -- memory leak in gnome-power-manager on lucid https://bugs.launchpad.net/bugs/569273 You received this bug notification because

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-05-18 Thread Chris Coulson
The valgrind log isn't much use with all those missing symbols, and it doesn't show any big leaks that would explain your memory usage anyway -- memory leak in gnome-power-manager on lucid https://bugs.launchpad.net/bugs/569273 You received this bug notification because you are a member of

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-05-18 Thread Justin Lebar
What about the blocks marked as possibly lost? There are a lot of them -- I had to cut 22k lines out of my log just so Launchpad wouldn't choke on the attachment. In my experience, Valgrind doesn't usually have so many false positives, even for that category. I'll try and get symbols. In the

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-05-18 Thread scottku
I installed some of the dbgsym packages and got a valgrind log. I ran the following for about 1.5 hours: valgrind --leak-check=full --log- file=gpm.log gnome-power-manager Let me know if there is anything else I can do to help figure out this problem. ** Attachment added: 1.5 hour run of gpm in

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-05-18 Thread Justin Lebar
scottku, It might be helpful to post a log with --show-reachable=yes so we can have a full(ish) accounting of where the program is using memory. Perhaps it's hanging onto some memory with a valid pointer that it should be freeing. -- memory leak in gnome-power-manager on lucid

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-05-17 Thread Justin Lebar
Here's the (abbreviated) output from running Valgrind for a few minutes. Lots of leaks. Unfortunately gnome-power-manager doesn't have debug symbols. Can we file upstream? ** Attachment added: out http://launchpadlibrarian.net/48635684/out -- memory leak in gnome-power-manager on lucid

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-05-17 Thread Justin Lebar
Filed: https://bugzilla.gnome.org/show_bug.cgi?id=618952 ** Bug watch added: GNOME Bug Tracker #618952 https://bugzilla.gnome.org/show_bug.cgi?id=618952 -- memory leak in gnome-power-manager on lucid https://bugs.launchpad.net/bugs/569273 You received this bug notification because you are a

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-05-16 Thread Justin Lebar
This bug rendered a friend's laptop basically unusable for a few weeks. I can try running GPM on her machine under valgrind, if that would help. -- memory leak in gnome-power-manager on lucid https://bugs.launchpad.net/bugs/569273 You received this bug notification because you are a member of

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-05-11 Thread malp
I also think gnome-power-manager takes a bit much memory. $ ps uwww 1793 USER PID %CPU %MEMVSZ RSS TTY STAT START TIME COMMAND userna 1793 0.0 4.3 190604 177600 ? SApr30 1:28 gnome-power-manager Mem: 167.7 MiB $ uname -a Linux ws7862 2.6.32-21-generic-pae

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-04-30 Thread alexanghh
Hi, I am also affected by this bug. Not sure what I should attach so I just copied the stats from top. top - 23:10:09 up 7 days, 19:28, 2 users, load average: 1.65, 1.79, 1.86 Tasks: 236 total, 2 running, 234 sleeping, 0 stopped, 0 zombie Cpu(s): 8.2%us, 18.8%sy, 0.5%ni, 72.2%id,

[Bug 569273] Re: memory leak in gnome-power-manager on lucid

2010-04-23 Thread scottku
** Attachment added: BootDmesg.txt http://launchpadlibrarian.net/45139105/BootDmesg.txt ** Attachment added: CurrentDmesg.txt http://launchpadlibrarian.net/45139106/CurrentDmesg.txt ** Attachment added: Dependencies.txt http://launchpadlibrarian.net/45139107/Dependencies.txt **