Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 621090 - sys-power/upower relies on /proc/timer_stats, which was always optional and has been removed from recent kernels; busy loop and memory leak
Summary: sys-power/upower relies on /proc/timer_stats, which was always optional and h...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2017-06-07 05:26 UTC by Maxim Britov
Modified: 2017-06-18 09:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Britov 2017-06-07 05:26:14 UTC
1. With kernel 4.11 upowerd[pid]: failed to get data: Can't open «/proc/timer_stats»: file not found
2. 100%cpu after gnome-power-statistics

upstream bug https://bugs.freedesktop.org/show_bug.cgi?id=100626
commit: https://cgit.freedesktop.org/upower/commit/?id=798588a480eaae50368bed75fc78f8314523b2a3

On my gentoo it silently applied and compiles fine.

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2017-06-18 09:29:51 UTC
[master 6f35f5790e8] sys-power/upower: Fix critical battery action being ignored (#618038 by Alex Guzman), not rely on /proc/timer_stats (#621090 by Maxim Britov).
 3 files changed, 165 insertions(+)
 create mode 100644 sys-power/upower/files/upower-0.99.4-copy-paste.patch
 create mode 100644 sys-power/upower/files/upower-0.99.4-timer-stats.patch
 create mode 100644 sys-power/upower/upower-0.99.4-r1.ebuild