After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 781088 - Massive memory leak and CPU load on recent kernels, probably due to kernel /proc/timer_stats changes
Massive memory leak and CPU load on recent kernels, probably due to kernel /p...
Status: RESOLVED FIXED
Product: gnome-power-manager
Classification: Deprecated
Component: gnome-power-statistics
3.22.x
Other Linux
: Normal major
: ---
Assigned To: GNOME Power Manager Maintainer(s)
GNOME Power Manager Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-04-09 09:25 UTC by Christian Stadelmann
Modified: 2017-04-23 19:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Stadelmann 2017-04-09 09:25:43 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
Comment 1 Richard Hughes 2017-04-23 19:58:48 UTC
Fixed in https://bugs.freedesktop.org/show_bug.cgi?id=100626