Summary: | upower relies on /proc/timer_stats, which was always optional and has been removed from recent kernels; busy loop and memory leak | ||
---|---|---|---|
Product: | upower | Reporter: | Christian Stadelmann <frdsktp> |
Component: | general | Assignee: | Richard Hughes <richard> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | blocker | ||
Priority: | high | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | A backtrace from upowerd started from systemd and running into a busy loop (gdb) |
Description
Christian Stadelmann
2017-04-09 08:58:12 UTC
I should add that the busy loop in upowerd happens also after gnome-power-statistics is closed, so upowerd is looping itself, and gnome-power-statistics is not to blame. A result of this loop is a massive memory leak. commit 798588a480eaae50368bed75fc78f8314523b2a3 Author: Richard Hughes <richard@hughsie.com> Date: Sun Apr 23 20:22:02 2017 +0100 Do not spin in a loop when /proc/timer_stats cannot be written Only set up the polling once the write has succeeded. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=100626 |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.