fwupd is consuming 100% of CPU in an upto date Ubuntu 16.04

Bug #1707110 reported by Kasun Siyambalapitiya
82
This bug affects 16 people
Affects Status Importance Assigned to Milestone
appstream-glib (Ubuntu)
Fix Released
High
Unassigned
Xenial
Triaged
Undecided
Unassigned

Bug Description

Even though this bug is reported [https://bugs.launchpad.net/ubuntu/+source/appstream-glib/+bug/1591868] and marked as fixed, I am having the same issue on a up to date Ubuntu 16.04 system (as you can see in the attachment). Rebooting doesn't fix the problem.

Thanks.

Revision history for this message
Kasun Siyambalapitiya (kasun-siyambalapitiya) wrote :
Revision history for this message
Kasun Siyambalapitiya (kasun-siyambalapitiya) wrote :

Experienced the same today morning in upto date Ubuntu 16.04 on Thinkpad X1 carbon 5th gen had to run `killall fwupd` to get rid of it. Please take measures to fix this ASAP.

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

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

Changed in appstream-glib (Ubuntu):
status: New → Confirmed
Revision history for this message
Yikai (yikaig) wrote :

Same issue happens on my Thinkpad x1 carbon 5th laptop. I just installed Ubuntu 16.04.3 alongside with Windows 10. fwupd randomly consumes 100% of the CPU but I didn't find any special err in my syslog. It just happened randomly without a signal (usually a short after booting), and I don't know how to reproduce it.

This problem can draining my laptop battery, therefore I have to disable fwupd.

Revision history for this message
gabrielsz87 (gabrielsz87) wrote :

I have the same issue. This happens after I login. I am running ubuntu 16.04 with 4.13.0-041300-generic kernel on a Thinkpad X1 Carbon (5th gen).

Revision history for this message
gabrielsz87 (gabrielsz87) wrote :

Thinkpad x1 carbon 5th gen users: I upgraded to 17.04 and I don't have the problem anymore. It also fixed other minor issues I was having.

Revision history for this message
Kasun Siyambalapitiya (kasun-siyambalapitiya) wrote :

@gabrielsz87 Ubuntu 17.04 is not a stable released, I need to stick with the latest LTS version which is 16.04, is there a way to get that specific fix installed to Ubuntu 16.04 ? Thanks

Revision history for this message
Dan (duckworthd) wrote :

I also have the same issue. By killing fwupd I was able to temporarily stop the CPU usage. Manually restarting does not cause CPU usage to spike up again. Attached is the output of fwupd after manually restarting with,

> sudo /usr/lib/x86_64-linux-gnu/fwupd/fwupd -v

Here's my system info,

> sudo dmidecode | grep 'System Information' --after-context=10
System Information
        Manufacturer: LENOVO
        Product Name: ______
        Version: ThinkPad X1 Carbon 5th
        Serial Number: ___________
        UUID: ___________
        Wake-up Type: Power Switch
        SKU Number: LENOVO_MT_20HR_BU_Think_FM_ThinkPad X1 Carbon 5th
        Family: ThinkPad X1 Carbon 5th

Changed in appstream-glib (Ubuntu):
importance: Undecided → High
Revision history for this message
Ubungo (ubongouga) wrote :

Same problem with Lenovo ThinkPad X1 Yoga LCD (2nd. Gen.) running on up-to date Ubuntu 16.04

Revision history for this message
Dan (duckworthd) wrote :

Saw this problem again this morning. I was able to capture the following snippet from /var/log/syslog. The final line repeats forever,

Oct 11 16:05:32 goldfinch org.gtk.vfs.AfcVolumeMonitor[1300]: creating volume for device uuid 'd1a75524819ff4aed47e3607f13824185382c319'
Oct 11 16:05:32 goldfinch usbmuxd[7717]: [16:05:32.671][1] config_get_device_record: failed to read '/var/lib/lockdown/d1a75524819ff4aed47e3607f13824185382c319.plist': No such file or directory
Oct 11 16:05:33 goldfinch usbmuxd[7717]: [16:05:33.221][1] config_get_device_record: failed to read '/var/lib/lockdown/d1a75524819ff4aed47e3607f13824185382c319.plist': No such file or directory
Oct 11 16:05:34 goldfinch ModemManager[791]: <info> Couldn't find support for device at '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2': not supported by any plugin
Oct 11 16:05:34 goldfinch usbmuxd[7717]: [16:05:34.222][1] config_get_device_record: failed to read '/var/lib/lockdown/d1a75524819ff4aed47e3607f13824185382c319.plist': No such file or directory
Oct 11 16:05:35 goldfinch usbmuxd[7717]: [16:05:35.219][1] config_get_device_record: failed to read '/var/lib/lockdown/d1a75524819ff4aed47e3607f13824185382c319.plist': No such file or directory
Oct 11 16:05:36 goldfinch usbmuxd[7717]: [16:05:36.221][1] config_get_device_record: failed to read '/var/lib/lockdown/d1a75524819ff4aed47e3607f13824185382c319.plist': No such file or directory

Revision history for this message
Dan (duckworthd) wrote :

Ping on this issue? It happened again today.

Revision history for this message
Fredrik Öhrström (oehrstroem) wrote :

I just allowed the automatic update to do an update. After the required reboot,
then fwupd goes 100% cpu.

Revision history for this message
Fredrik Öhrström (oehrstroem) wrote :

System Information
 Manufacturer: LENOVO
 Product Name: 20F90044MX
 Version: ThinkPad T460s
 Serial Number: ________
 UUID: __________________________
 Wake-up Type: Power Switch
 SKU Number: LENOVO_MT_20F9_BU_Think_FM_ThinkPad T460s
 Family: ThinkPad T460s

Handle 0x0010, DMI type 2, 15 bytes

Revision history for this message
Martin McDowell (martin-mcdowell) wrote :

I have the same problem. Interestingly it is also on a Thinkpad. A Lenovo Thinkpad T440s

Revision history for this message
Mario Limonciello (superm1) wrote :

Hi All,

Those affected by this, can anyone readily reproduce it still?
If so, can you please try to upgrade to the version of fwupd in xenial-proposed to see if it persists?

Thanks,

Changed in fwupd (Ubuntu):
status: New → Confirmed
Revision history for this message
Max Müller (hutsch) wrote :

Hi Mario,

the upgrade solved the problem for me. I am using a
ThinkPad X1 Carbon 5th Gen.

Revision history for this message
Mario Limonciello (superm1) wrote :

Thanks for confirming. I'll close this issue then. If it happens again for anyone, please open a new issue .

Changed in fwupd (Ubuntu):
status: Confirmed → Fix Released
Changed in fwupd (Ubuntu Xenial):
status: New → Fix Released
Changed in appstream-glib (Ubuntu):
status: Confirmed → Invalid
Changed in appstream-glib (Ubuntu Xenial):
status: New → Invalid
Mathew Hodson (mhodson)
no longer affects: fwupd (Ubuntu Xenial)
no longer affects: fwupd (Ubuntu)
Mathew Hodson (mhodson)
Changed in appstream-glib (Ubuntu Xenial):
status: Invalid → Triaged
Changed in appstream-glib (Ubuntu):
status: Invalid → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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