Comment 46 for bug 569273

Revision history for this message
Dave V (mindkeep) wrote : Re: memory leak in gnome-power-manager on lucid

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 useless compared to others, but included in the conversation below anyway.

Dave V [reporter] 2010-07-11 05:08:07 UTC

The gnome-power-manager process continually grows in size, consuming memory,
pushing other programs into swap and generally killing the system. It takes
around a week or two to eventually fill 1GB of ram. Killing and restarting the
process is an easy enough work around.

I don't see this problem on my i686 laptop, just my amd64 desktop.

I killed the process and ran "valgrind --leak-check=full gnome-power-manager 2>
valgrind-gpm-dump". I allowed it to run for about 8 hours before interrupting
with control-C to output the report. The screen was locked for most of this
time (via GPM's lock screen after 10 minutes). The file is attached. If there's
anything else that you'd like me to attach, please let me know.

$ gnome-power-manager --version
Version 2.30.0

Using Ubuntu 10.04 LTS, Lucid Lynx

 Dave V [reporter] 2010-07-11 05:15:23 UTC

attachment failed as it's slightly too big (1.3M vs the 1.0M max). please see
the text file at:
http://mindkeep.org/valgrind-gpm-dump

 Richard Hughes [gnome-power-manager developer] 2010-07-12 06:24:00 UTC

This is caused by a shitty patch written by ubuntu that is not upstream. Please
file this with launchpad, it's not my problem. Thanks.

 Dave V [reporter] 2010-07-12 12:35:06 UTC

Ha. Will do. Thanks.