upowerd/gnome-power-statistics crash; high CPU, memory consumption

Bug #1721282 reported by PabloAB
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
upower (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Not sure if necessary here since same bug is already on:
https://bugzilla.redhat.com/show_bug.cgi?id=1427621
https://bugs.freedesktop.org/show_bug.cgi?id=100626
https://bugzilla.gnome.org/show_bug.cgi?id=781088

Tested on Ubuntu 16.04.3, 4.12.0-041200rc3-generic

Steps to reproduce:
1. have a system with a recent kernel (4.10.x or later)
2. start gnome-power-statistics
3. go to Pprocessor tab
4. have a look at gnome-system-monitor or htop

Result:
- On Processor section, Wakeups tab: "Processor wakeups pers second: GDBus.Error:org.freedesktop.UPower.GeneralError: cannot enable timerstats."
- High CPU usage of /usr/lib/upower/upowerd
- Crash gnome-power-statistics

Revision history for this message
PabloAB (pabloab777) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-power-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
Vincent Gerris (vgerris) wrote :

I see the same error but do not seem to get a high load on 18.04 dev.
The package name is gnome-power-statistics 3.25.90-2 (at least the gui).

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1721282

tags: added: iso-testing
Vlad Orlov (monsta)
tags: added: bionic xenial
Revision history for this message
Mauro (mauromol) wrote :

I'm experiencing high CPU usage by upowerd in Linux Mint 18.3 KDE (based on Ubuntu 16.04) with 4.15 kernel. I'm not using gnome-power-statistics, but I see the error message about missing /proc/timer_stats in my syslog.
I think it's bug https://bugs.freedesktop.org/show_bug.cgi?id=100626
Why the fix hasn't been applied to Xenial?

Revision history for this message
Sebastien Bacher (seb128) wrote :

That was fixed with that commit
https://gitlab.freedesktop.org/upower/upower/commit/798588a4

The power statistic is not a main feature and Xenial is not the current LTS, that's rather low priority for a SRU in that serie

affects: gnome-power-manager (Ubuntu) → upower (Ubuntu)
Changed in upower (Ubuntu):
importance: Undecided → High
status: Confirmed → Fix Released
Revision history for this message
Mauro (mauromol) wrote :

But isn't this a sufficiently severe bug for a LTS release, considering that currenntly supported kernels cause this (so I would say it's a regression) and that when this happens the system battery is drained and the user may even hardly realise why?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.