GNOME Bugzilla – Bug 781088
Massive memory leak and CPU load on recent kernels, probably due to kernel /proc/timer_stats changes
Last modified: 2017-04-23 19:58:48 UTC
Steps to reproduce: 1. have a system with a recent kernel (4.10.x or later) 2. start gnome-power-statistics 3. have a look at gnome-system-monitor or (h)top What happens: gnome-power-statistics has 100% CPU load on one core and consumes a fast increasing amount of memory. See attachment for a backtrace. What should happen: Neither. Additional info: I'm running gnome-power-manager-3.22.2-1.fc25.x86_64 with upower-0.99.4-2.fc25.x86_64. There is also a related bug report in upowerd because the /proc/timer_stats feature has been removed from the kernel: https://bugs.freedesktop.org/show_bug.cgi?id=100626 More additional info: I'm getting a large amount of warnings and some errors from gnome-power-statistics even before this happens: Twice: (gnome-power-statistics:24796): libupower-glib-CRITICAL **: up_device_set_object_path_sync: assertion 'object_path != NULL' failed (gnome-power-statistics:24796): GLib-GIO-CRITICAL **: g_dbus_proxy_get_object_path: assertion 'G_IS_DBUS_PROXY (proxy)' failed (gnome-power-statistics:24796): PowerManager-WARNING **: enum unrecognised: 0 Repeatedly (~30 times), but with different property IDs: (gnome-power-statistics:24796): libupower-glib-WARNING **: Property ID 'energy-rate' (20) was never set
Fixed in https://bugs.freedesktop.org/show_bug.cgi?id=100626