Comment 8 for bug 1534963

Revision history for this message
In , No Name Dot C (nonamedotc) wrote :

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
or /org/freedesktop/UPower/devices/battery_BAT0
TRACE[xfpm-power-common.c:190] get_device_icon_name(): icon_suffix -symbolic, icon_base_length 20, upower_icon battery-full-charged-symbo
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
   at 0x4C2BC50: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x7F5A809: g_malloc (gmem.c:97)
   by 0x7F71ED2: g_slice_alloc (gslice.c:1007)
   by 0x7F906BD: g_variant_alloc (gvariant-core.c:476)
   by 0x7F906BD: g_variant_new_from_children (gvariant-core.c:565)
   by 0x7F8D3EB: g_variant_builder_end (gvariant.c:3612)
   by 0x77E4EE5: parse_value_from_blob (gdbusmessage.c:1817)
   by 0x77E6FBB: g_dbus_message_new_from_blob (gdbusmessage.c:2144)
   by 0x77F153C: _g_dbus_worker_do_read_cb (gdbusprivate.c:718)
   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_context_dispatch (gmain.c:3737)
   by 0x7F54FAF: g_main_context_iterate.isra.29 (gmain.c:3808)
   by 0x7F552D1: g_main_loop_run (gmain.c:4002)
   by 0x77EF2E5: gdbus_shared_thread_func (gdbusprivate.c:246)
   by 0x7F7C4E4: g_thread_proxy (gthread.c:764)
   by 0x8CAA609: start_thread (pthread_create.c:333)
   by 0x8FC76BC: clone (clone.S:109)

Version-Release number of selected component (if applicable):
xfce4-power-manager-1.5.2-1.fc23.x86_64

How reproducible:

Steps to Reproduce:
1. just running xfce4 desktop