Debian Bug report logs -
#778642
xfce4-power-manager-plugins: Serious memory leak in libxfce4powermanager.so
Reported by: John Goerzen <jgoerzen@complete.org>
Date: Tue, 17 Feb 2015 19:30:02 UTC
Severity: important
Tags: moreinfo, patch, unreproducible
Found in version xfce4-power-manager/1.4.1-1
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#778642; Package xfce4-power-manager-plugins.
(Tue, 17 Feb 2015 19:30:07 GMT) (full text, mbox, link).
Acknowledgement sent
to John Goerzen <jgoerzen@complete.org>:
New Bug report received and forwarded. Copy sent to Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Tue, 17 Feb 2015 19:30:07 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: xfce4-power-manager-plugins
Version: 1.4.1-1
Severity: critical
This package has caused my system to hang on multiple occasions. Right now, I am seeing this:
$ ps auxww | egrep 27036\|USER
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
jgoerzen 3262 0.0 0.0 12720 2016 pts/1 S+ 13:27 0:00 grep -E 27036|USER
jgoerzen 27036 0.0 20.3 1865132 1640052 ? Sl Jan20 8:50 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libxfce4powermanager.so 3 23068717 power-manager-plugin Power Manager Plugin Display the battery levels of your devices and control the brightness of your display
Yep, using 1.6GB RAM. And this laptop has been suspended most of the time since Jan. 20. Also:
jgoerzen@athena:~$ free
total used free shared buffers cached
Mem: 8072628 7651112 421516 283484 3960 824748
-/+ buffers/cache: 6822404 1250224
Swap: 0 0 0
jgoerzen@athena:~$ kill 27036
jgoerzen@athena:~$ free
total used free shared buffers cached
Mem: 8072628 6026416 2046212 282212 3960 823860
-/+ buffers/cache: 5198596 2874032
Swap: 0 0 0
Thanks,
John
-- System Information:
Debian Release: 8.0
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages xfce4-power-manager-plugins depends on:
ii libatk1.0-0 2.14.0-1
ii libc6 2.19-13
ii libcairo2 1.14.0-2.1
ii libdbus-1-3 1.8.12-3
ii libdbus-glib-1-2 0.102-1
ii libfontconfig1 2.11.0-6.3
ii libfreetype6 2.5.2-2
ii libgdk-pixbuf2.0-0 2.31.1-2+b1
ii libglib2.0-0 2.42.1-1
ii libgtk2.0-0 2.24.25-1
ii libpango-1.0-0 1.36.8-3
ii libpangocairo-1.0-0 1.36.8-3
ii libpangoft2-1.0-0 1.36.8-3
ii libupower-glib3 0.99.1-3.1
ii libx11-6 2:1.6.2-3
ii libxfce4ui-1-0 4.10.0-6
ii libxfce4util6 4.10.1-2
ii libxfconf-0-2 4.10.0-3
ii libxrandr2 2:1.4.2-1+b1
ii xfce4-panel 4.10.1-1
ii xfce4-power-manager 1.4.1-1
xfce4-power-manager-plugins recommends no packages.
xfce4-power-manager-plugins suggests no packages.
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#778642; Package xfce4-power-manager-plugins.
(Wed, 18 Feb 2015 16:09:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Yves-Alexis Perez <corsac@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Wed, 18 Feb 2015 16:09:05 GMT) (full text, mbox, link).
Message #10 received at 778642@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
control: severity -1 import
control: tag -1 unreproducible moreinfo
On mar., 2015-02-17 at 13:28 -0600, John Goerzen wrote:
> Package: xfce4-power-manager-plugins
> Version: 1.4.1-1
> Severity: critical
>
> This package has caused my system to hang on multiple occasions. Right now, I am seeing this:
>
> $ ps auxww | egrep 27036\|USER
> USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
> jgoerzen 3262 0.0 0.0 12720 2016 pts/1 S+ 13:27 0:00 grep -E 27036|USER
> jgoerzen 27036 0.0 20.3 1865132 1640052 ? Sl Jan20 8:50 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libxfce4powermanager.so 3 23068717 power-manager-plugin Power Manager Plugin Display the battery levels of your devices and control the brightness of your display
>
> Yep, using 1.6GB RAM. And this laptop has been suspended most of the time since Jan. 20. Also:
>
> jgoerzen@athena:~$ free
> total used free shared buffers cached
> Mem: 8072628 7651112 421516 283484 3960 824748
> -/+ buffers/cache: 6822404 1250224
> Swap: 0 0 0
> jgoerzen@athena:~$ kill 27036
> jgoerzen@athena:~$ free
> total used free shared buffers cached
> Mem: 8072628 6026416 2046212 282212 3960 823860
> -/+ buffers/cache: 5198596 2874032
> Swap: 0 0 0
>
There's just nothing useful for us to help you here. You could try to
run it through valgrind or something like that.
Regards,
--
Yves-Alexis
[signature.asc (application/pgp-signature, inline)]
Added tag(s) unreproducible and moreinfo.
Request was from Yves-Alexis Perez <corsac@debian.org>
to 778642-submit@bugs.debian.org.
(Wed, 18 Feb 2015 16:09:05 GMT) (full text, mbox, link).
Severity set to 'important' from 'critical'
Request was from Yves-Alexis Perez <corsac@debian.org>
to control@bugs.debian.org.
(Wed, 18 Feb 2015 16:48:05 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#778642; Package xfce4-power-manager-plugins.
(Thu, 26 Feb 2015 21:36:09 GMT) (full text, mbox, link).
Acknowledgement sent
to John Goerzen <jgoerzen@complete.org>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Thu, 26 Feb 2015 21:36:09 GMT) (full text, mbox, link).
Message #19 received at 778642@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
I would be happy to do that, but I have no idea how to do so for something launched by the panel. Help?
--
Sent from my phone. Please excuse my brevity.
On February 18, 2015 10:05:48 AM CST, Yves-Alexis Perez <corsac@debian.org> wrote:
>control: severity -1 import
>control: tag -1 unreproducible moreinfo
>
>On mar., 2015-02-17 at 13:28 -0600, John Goerzen wrote:
>> Package: xfce4-power-manager-plugins
>> Version: 1.4.1-1
>> Severity: critical
>>
>> This package has caused my system to hang on multiple occasions.
>Right now, I am seeing this:
>>
>> $ ps auxww | egrep 27036\|USER
>> USER PID %CPU %MEM VSZ RSS TTY STAT START TIME
>COMMAND
>> jgoerzen 3262 0.0 0.0 12720 2016 pts/1 S+ 13:27 0:00 grep
>-E 27036|USER
>> jgoerzen 27036 0.0 20.3 1865132 1640052 ? Sl Jan20 8:50
>/usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper
>/usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libxfce4powermanager.so 3
>23068717 power-manager-plugin Power Manager Plugin Display the battery
>levels of your devices and control the brightness of your display
>>
>> Yep, using 1.6GB RAM. And this laptop has been suspended most of the
>time since Jan. 20. Also:
>>
>> jgoerzen@athena:~$ free
>> total used free shared buffers
>cached
>> Mem: 8072628 7651112 421516 283484 3960
>824748
>> -/+ buffers/cache: 6822404 1250224
>> Swap: 0 0 0
>> jgoerzen@athena:~$ kill 27036
>> jgoerzen@athena:~$ free
>> total used free shared buffers
>cached
>> Mem: 8072628 6026416 2046212 282212 3960
>823860
>> -/+ buffers/cache: 5198596 2874032
>> Swap: 0 0 0
>>
>
>There's just nothing useful for us to help you here. You could try to
>run it through valgrind or something like that.
>
>Regards,
>--
>Yves-Alexis
[Message part 2 (text/html, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#778642; Package xfce4-power-manager-plugins.
(Thu, 26 Feb 2015 21:39:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Yves-Alexis Perez <corsac@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Thu, 26 Feb 2015 21:39:05 GMT) (full text, mbox, link).
Message #24 received at 778642@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On jeu., 2015-02-26 at 15:32 -0600, John Goerzen wrote:
> I would be happy to do that, but I have no idea how to do so for
> something launched by the panel. Help?
http://docs.xfce.org/xfce/xfce4-panel/debugging has some pointers.
Regards,
--
Yves-Alexis
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#778642; Package xfce4-power-manager-plugins.
(Thu, 23 Apr 2015 18:57:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Phil Davidov <davidovp@davidov.net>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
Your message did not contain a Subject field. They are recommended and
useful because the title of a Bug is determined using this field.
Please remember to include a Subject field in your messages in future.
(Thu, 23 Apr 2015 18:57:05 GMT) (full text, mbox, link).
Message #29 received at 778642@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
A little more helpful valgrind log w/ debug build of xfce4-power-manager.
-Phil Davidov
[1429814328_valgrind_power-manager-plugin_29.log.bz2 (application/x-bzip, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#778642; Package xfce4-power-manager-plugins.
(Fri, 24 Apr 2015 16:21:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Phil Davidov <davidovp@davidov.net>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Fri, 24 Apr 2015 16:21:05 GMT) (full text, mbox, link).
Message #34 received at 778642@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
I put together a patch for memory leaks in xfce4-power-manager-1.4.1
based on a back-port of upstream fix
(https://github.com/xfce-mirror/xfce4-power-manager/commit/18ead01edbc013abf620e3a9ea31eabcad1ae267)
and additional memory leak found using valgrind.
Tested & appears that the plugin memory footprint is now stable.
-Phil Davidov
[0002-memory-leak-fix.patch (text/x-patch, attachment)]
Added tag(s) patch.
Request was from Phil Davidov <davidovp@davidov.net>
to control@bugs.debian.org.
(Fri, 24 Apr 2015 16:45:12 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#778642; Package xfce4-power-manager-plugins.
(Mon, 12 Oct 2015 16:27:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Zlatko Calusic <zcalusic@bitsync.net>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Mon, 12 Oct 2015 16:27:04 GMT) (full text, mbox, link).
Message #41 received at 778642@bugs.debian.org (full text, mbox, reply):
Funny thing, I was so happy to see a patch that would fix serious memory
leak that I also detected recently, but I've just found out that I have
1.4.4-4, and the patch has already been applied. Yet, the memory is
still leaking, half a gig of RAM is gone if I stay logged in for about
24h. :(
I'l see if I can compile the version with debug symbols to pinpoint
where the next memory leak is.
This app is haunted, missing images, missing memory... :)
--
Zlatko
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#778642; Package xfce4-power-manager-plugins.
(Tue, 08 Mar 2016 02:09:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Kevin Kratzer <kratzer.kevin@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Tue, 08 Mar 2016 02:09:04 GMT) (full text, mbox, link).
Message #46 received at 778642@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
I'm experiencing the same for Xubuntu 15.10 on a Surface Pro 3 and added a
comment to the ubuntu bug tracker where an issue was already present.
For reference:
https://bugs.launchpad.net/ubuntu/+source/xfce4-power-manager/+bug/1534963
Thanks,
Kevin
[Message part 2 (text/html, inline)]
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed Jan 3 23:07:52 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.