Apparent Xfce Power manager memory leak in Xubuntu Xenial daily
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Xfce4 Power Manager |
Invalid
|
Medium
|
|||
Xubuntu Xfce Daily Builds |
New
|
Undecided
|
Unassigned | ||
xfce4-power-manager (Debian) |
Incomplete
|
Unknown
|
|||
xfce4-power-manager (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm running the 20160115 daily xubuntu build, xenial-
I boot with AC power connected, and the task memory starts growing immediately. It stops increasing and remains constant, when I unplug AC power. When I boot and run from battery, the problem does not appear: the task uses about 17MB and is steady.
I've never seen anything like this in previous xubuntu releases.
Task Manager reports the task as
"/usr/lib/
Top Output:
=======
Tasks: 205 total, 2 running, 203 sleeping, 0 stopped, 0 zombie
%Cpu(s): 1.7 us, 0.3 sy, 0.0 ni, 98.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 97.5/3968004 [||||||
KiB Swap: 10.9
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1848 xubuntu 20 0 3904128 3.190g 6640 S 3.0 84.3 5:30.16 panel-5-power-m
3273 xubuntu 20 0 312640 16008 10220 S 3.0 0.4 9:00.46 xfce4-taskmanag
43 root 20 0 0 0 0 R 0.7 0.0 1:01.17 kworker/0:1
1362 message+ 20 0 44196 3160 2044 S 0.7 0.1 1:45.51 dbus-daemon
1702 root 20 0 348824 4396 3680 S 0.7 0.1 0:55.97 upowerd
1386 root 20 0 173512 3432 3272 S 0.3 0.1 0:02.84 thermald
1461 root 20 0 274492 38212 26664 S 0.3 1.0 4:35.72 Xorg
1696 xubuntu 20 0 328484 8568 5692 S 0.3 0.2 0:12.63 xfce4-power-man
1 root 20 0 119832 3632 2800 S 0.0 0.1 0:11.43 systemd
=======
affects: | ubuntu → xfce4-power-manager (Ubuntu) |
Changed in xfce4-power-manager (Debian): | |
status: | Unknown → Incomplete |
Changed in xfce4-power-manager: | |
importance: | Unknown → Medium |
status: | Unknown → Invalid |
This issue is probably related to bug#11538.
Downstream users (Fedora 22 and 23) seem to be experiencing memory leak with xfpm-1.5.2.
Downstream bug report - https:/ /bugzilla. redhat. com/show_ bug.cgi? id=1241899
Comment 1 from the bug report linked -
While running xfce4 desktop - this xfce4-power-manager gets quite noticeable after a while in memory-eater hit-parade.
Wit just couple short uptime:
509180 45752 24144 S 0,0 1,2 0:01.87 xfce4-power-man
now after few minutes:
520096 48168 26168 S 0,0 1,2 0:01.95 xfce4-power-man
and growing continuously....
From plain --debug log:
TRACE[. ./panel- plugins/ power-manager- plugin/ power-manager- button. c:441] power_manager_ button_ update_ device_ icon_and_ details( ): entering f p/UPower/ devices/ battery_ BAT0 power-common. c:190] get_device_ icon_name( ): icon_suffix -symbolic, icon_base_length 20, upower_icon battery- full-charged- symbo
or /org/freedeskto
TRACE[xfpm-
lic
Valgrind seemes to be pointing to some 'dbus' code:
162,189 (880 direct, 161,309 indirect) bytes in 22 blocks are definitely lost in loss record 11,280 of 11,281 valgrind/ vgpreload_ memcheck- amd64-linux. so) core.c: 476) new_from_ children (gvariant- core.c: 565) builder_ end (gvariant.c:3612) from_blob (gdbusmessage. c:1817) message_ new_from_ blob (gdbusmessage. c:2144) worker_ do_read_ cb (gdbusprivate. c:718) context_ dispatch (gmain.c:3737) context_ iterate. isra.29 (gmain.c:3808) thread_ func (gdbusprivate. c:246) create. c:333)
at 0x4C2BC50: malloc (in /usr/lib64/
by 0x7F5A809: g_malloc (gmem.c:97)
by 0x7F71ED2: g_slice_alloc (gslice.c:1007)
by 0x7F906BD: g_variant_alloc (gvariant-
by 0x7F906BD: g_variant_
by 0x7F8D3EB: g_variant_
by 0x77E4EE5: parse_value_
by 0x77E6FBB: g_dbus_
by 0x77F153C: _g_dbus_
by 0x7791718: g_task_return_now (gtask.c:1106)
by 0x7791758: complete_in_idle_cb (gtask.c:1120)
by 0x7F54C19: g_main_dispatch (gmain.c:3122)
by 0x7F54C19: g_main_
by 0x7F54FAF: g_main_
by 0x7F552D1: g_main_loop_run (gmain.c:4002)
by 0x77EF2E5: gdbus_shared_
by 0x7F7C4E4: g_thread_proxy (gthread.c:764)
by 0x8CAA609: start_thread (pthread_
by 0x8FC76BC: clone (clone.S:109)
Version-Release number of selected component (if applicable): manager- 1.5.2-1. fc23.x86_ 64
xfce4-power-
How reproducible:
Steps to Reproduce:
1. just running xfce4 desktop