fwupd is eating 100% CPU for 30 minutes
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| fwupd (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
The fan of my laptop started going full-throttle and I ran htop to see why. I see a /usr/libexec/
According to ps -o pid,lstart,
perf top attributes all the time to libptrhead-2.31.so, in __pthread_
pstack is unable to extract a stack trace:
86826: /usr/libexec/
(No symbols found)
crawl: Input/output error
Error tracing through process 86826
0x7f1c6e8cbe4a: ????
The journal has some interesting messages from fwupd this morning, but I hope apport will attach them.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: fwupd 1.3.11-1~focal1
ProcVersionSign
Uname: Linux 5.4.0-51-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu27.9
Architecture: amd64
CasperMD5CheckR
Date: Fri Oct 16 11:22:23 2020
ExecutablePath: /usr/libexec/
InstallationDate: Installed on 2020-10-08 (7 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
SourcePackage: fwupd
UpgradeStatus: No upgrade log present (probably fresh install)

So, apport didn't attach the journal, therefore
spal. 16 09:09:34 bigas systemd[1]: Finished Refresh fwupd metadata and update motd. get_id: assertion 'FWUPD_IS_DEVICE (device)' failed ./gobject/ gsignal. c:3482: invalid object type 'GParamInt64' for value type 'FuDevice' get_id: assertion 'FWUPD_IS_DEVICE (device)' failed emit_valist: assertion 'G_TYPE_ CHECK_INSTANCE (instance)' failed
...
spal. 16 10:55:37 bigas fwupd[86826]: 07:55:37:0051 GLib-GObject invalid uninstantiatable type 'GParamInt64' in cast to 'FwupdDevice'
spal. 16 10:55:37 bigas fwupd[86826]: 07:55:37:0052 Fwupd fwupd_device_
spal. 16 10:55:37 bigas fwupd[86826]: 07:55:37:0052 GLib-GObject ../../.
spal. 16 10:55:37 bigas fwupd[86826]: 07:55:37:0059 GLib-GObject invalid unclassed pointer in cast to 'FuDeviceList'
spal. 16 10:55:37 bigas fwupd[86826]: 07:55:37:0059 GLib-GObject invalid unclassed pointer in cast to 'FwupdDevice'
spal. 16 10:55:37 bigas fwupd[86826]: 07:55:37:0059 Fwupd fwupd_device_
spal. 16 10:55:37 bigas fwupd[86826]: 07:55:37:0059 GLib-GObject instance with invalid (NULL) class pointer
spal. 16 10:55:37 bigas fwupd[86826]: 07:55:37:0059 GLib-GObject g_signal_
and nothing since then, except for the 100% CPU loop