[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2017-09-07 Thread Kasun Siyambalapitiya
Hi Sul aga, as Mario suggested I have created a new bug [https://bugs.launchpad.net/ubuntu/+source/appstream-glib/+bug/1707110] please mark it affects to you too. Thank you -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream-glib

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2017-09-07 Thread sul aga
can someone please explain what is the solution. I am having the same issue. I have followed these commands as suggested by "Rémy Montangé" then restarted my system but after restarting the same thing is happening again fwupd is using 100% of my cpu killall gnome-software sudo killall fwupd sudo

Re: [Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2017-07-26 Thread Mario Limonciello
The existing bug is fixed. Please file a new bug. On Wed, Jul 26, 2017, 22:59 Kasun Siyambalapitiya < kasun.siyambalapit...@gmail.com> wrote: > Even though the bug is marked as fixed, I am still having the issue > though the os (Ubuntu 16.04)is up to date > > ** Attachment added: "fwupd is

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2017-07-26 Thread Kasun Siyambalapitiya
Even though the bug is marked as fixed, I am still having the issue though the os (Ubuntu 16.04)is up to date ** Attachment added: "fwupd is consuming 100%" https://bugs.launchpad.net/ubuntu/+source/appstream-glib/+bug/1591868/+attachment/4922155/+files/fwupd.png -- You received this bug

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2017-05-26 Thread Rémy Montangé
To correct the issue : killall gnome-software sudo killall fwupd sudo apt-get update sudo apt-get dist-upgrade sudo apt-get autoremove gnome-software sudo apt-get install gnome-software -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2017-02-15 Thread Jørgen Dokken
I had this similar problem until I uninstalled gnome-software, I have no idea why that did the trick. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream-glib in Ubuntu. https://bugs.launchpad.net/bugs/1591868 Title: fwupd

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2017-01-23 Thread Mario Limonciello
If you're experiencing this bug with a fully updated system, please report a new bug report. In the new bug report please include these details: https://bugs.launchpad.net/ubuntu/+source/appstream- glib/+bug/1591868/comments/4 -- You received this bug notification because you are a member of

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2017-01-20 Thread Jairo Andres Moreno
Hi all, I updated too my files. But, I'm still experiencing high CPU consumption by fwupd and gnome-software. Package: libappstream-glib8 Version: 0.5.13-1ubuntu4 Priority: optional Section: libs Source: appstream-glib Origin: Ubuntu Maintainer: Ubuntu Developers

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2017-01-20 Thread Marcelo Fernandez
Hi, I'm fully updated and still having this issue. Do you know what could be wrong? Thankyou marcelo@marcelo-notebook:~$ apt show libappstream-glib8 Package: libappstream-glib8 Version: 0.5.13-1ubuntu4 Priority: optional Section: libs Source: appstream-glib Origin: Ubuntu Maintainer: Ubuntu

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-09-08 Thread Launchpad Bug Tracker
This bug was fixed in the package appstream-glib - 0.5.13-1ubuntu3 --- appstream-glib (0.5.13-1ubuntu3) xenial; urgency=medium * Catch errors from libyaml and display proper warnings rather than spin on them. (LP: #1591868) -- Mario Limonciello

Re: [Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-09-05 Thread Mario Limonciello
It is currently in the proposed repository. If no problems are reported as regressions in the next few days it will transition into the updates repository. If you would like to enable proposed to test it yourself you can follow the steps here: https://wiki.ubuntu.com/Testing/EnableProposed

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-09-05 Thread Steve Lorimer
How can I get this fix in Xenial? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream-glib in Ubuntu. https://bugs.launchpad.net/bugs/1591868 Title: fwupd consuming 100% CPU Status in appstream-glib package in Ubuntu: Fix

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-08-31 Thread Mario Limonciello
I confirmed the fix is doing as intended on xenial. fwupd doesn't peg the CPU or crash from the bad data. It just exits. $ sudo /usr/lib/x86_64-linux-gnu/fwupd/fwupd -v 16:23:19Verbose debugging enabled (on console 1) 16:23:19adding plugin

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-08-31 Thread Mathew Hodson
** No longer affects: libyaml (Ubuntu Yakkety) ** No longer affects: libyaml (Ubuntu Xenial) ** No longer affects: fwupd (Ubuntu Yakkety) ** No longer affects: fwupd (Ubuntu Xenial) ** No longer affects: fwupd (Ubuntu) -- You received this bug notification because you are a member of Desktop

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-08-31 Thread Chris J Arges
Hello Dustin, or anyone else affected, Accepted appstream-glib into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/appstream- glib/0.5.13-1ubuntu3 in a few hours, and then in the -proposed repository. Please help us by testing this new

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-08-30 Thread Scott Kitterman
** No longer affects: libyaml (Ubuntu) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream-glib in Ubuntu. https://bugs.launchpad.net/bugs/1591868 Title: fwupd consuming 100% CPU Status in appstream-glib package in Ubuntu:

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-08-30 Thread Launchpad Bug Tracker
This bug was fixed in the package appstream-glib - 0.6.2-0ubuntu1 --- appstream-glib (0.6.2-0ubuntu1) yakkety; urgency=medium * New upstream version. * Fixes daemon hangs with corrupt data (LP: #1591868) * Drop gcc shift warnings patch. -- Mario Limonciello

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-08-30 Thread Mario Limonciello
For Yakkety: this is fixed in appstream-glib 0.6.2. For xenial: these are the 3 commits needed to fix the problem: https://github.com/hughsie/appstream-glib/commit/60033e61394562d706e703ad33e0d7e6583d83ce https://github.com/hughsie/appstream-glib/commit/481055cd02c5244bede06ca4a06ab55602d01505

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-08-26 Thread Martin Pitt
It seems the patch here is not sufficient, so unsubscribing sponsors for now. Please resubscribe once there is an uploadable patch. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream-glib in Ubuntu.

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-08-22 Thread Mario Limonciello
Seems still not enough, that one is loading from data, I was having the crash in loading from a file. I've added this which seems to cover it. https://github.com/hughsie/appstream-glib/pull/133 -- You received this bug notification because you are a member of Desktop Packages, which is

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-08-21 Thread Richard Hughes
Agreed; reproduced -- grab this on top of the last patch: commit 481055cd02c5244bede06ca4a06ab55602d01505 Author: Richard Hughes Date: Sun Aug 21 08:59:45 2016 +0100 trivial: Use the correct autoptr cleanup on yaml error :100644 100644 f65f75b... 48e51f0... M

Re: [Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-08-20 Thread Mario Limonciello
I don't have it handy over the weekend but it was just the same test file I was using above put into /var with the extra s. On Sat, Aug 20, 2016, 02:20 Richard Hughes wrote: > Mario, can you upload /home/test/yaml.yml somewhere please. > > -- > You received this bug

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-08-20 Thread Richard Hughes
Mario, can you upload /home/test/yaml.yml somewhere please. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream-glib in Ubuntu. https://bugs.launchpad.net/bugs/1591868 Title: fwupd consuming 100% CPU Status in appstream-glib

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-08-19 Thread Mario Limonciello
I was running some tests with that backport applied to 0.5.13 on Ubuntu as well as running the master branch and was getting segfaults now with that same corrupt file I was working with. Starting program: /usr/bin/appstream-util validate /home/test/yaml.yml [Thread debugging using libthread_db

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-08-19 Thread Mario Limonciello
** Description changed: + [Impact] + + * Corrupt yaml data is causing consumers of appstream data (such as + gnome-software or fwupd) to get stuck in a spin and consume CPU and + battery. + + [Test Case] + + * Introduce corrupt data into /var/lib/app-info/yaml/ + * Execute sudo

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-08-18 Thread Mathew Hodson
** Tags added: patch xenial ** Changed in: appstream-glib (Ubuntu Xenial) Importance: Undecided => Medium ** Changed in: appstream-glib (Ubuntu Yakkety) Importance: Undecided => Medium -- You received this bug notification because you are a member of Desktop Packages, which is subscribed

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-08-18 Thread Richard Hughes
I've further extended Anders patch to return a helpful GError: https://github.com/hughsie/appstream- glib/commit/64029dfe02b85afe611a279380a84fca51208d4c I've rolled up these three patches into one and backported to the stable branch in: https://github.com/hughsie/appstream-

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-08-17 Thread Mario Limonciello
** Changed in: appstream-glib (Ubuntu Xenial) Status: New => Confirmed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream-glib in Ubuntu. https://bugs.launchpad.net/bugs/1591868 Title: fwupd consuming 100% CPU Status in

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-08-17 Thread Anders Kaseorg
Also submitted upstream: https://github.com/hughsie/appstream- glib/pull/129 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream-glib in Ubuntu. https://bugs.launchpad.net/bugs/1591868 Title: fwupd consuming 100% CPU Status in

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-08-17 Thread Anders Kaseorg
The infinite loop is not in libyaml (yaml_parser_parse), but rather in its caller in appstream-glib (as_node_yaml_process_layer), which is ignoring the error code returned by yaml_parser_parse and blindly going around the loop again. This patch fixes it. ** Patch added:

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-08-17 Thread Mario Limonciello
** Also affects: libyaml (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream-glib in Ubuntu. https://bugs.launchpad.net/bugs/1591868 Title: fwupd consuming 100% CPU Status in

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-08-17 Thread Mario Limonciello
Just so it's clear - I haven't randomly reproduced this like all the people in this thread have, I manually inserted an error into a file and ran into identical problems as reported in this thread. I don't know tons about how the YAML that ends up in /var/lib/app- info/yaml is generated, but I

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-08-17 Thread Mario Limonciello
** Also affects: appstream-glib (Ubuntu Yakkety) Importance: Undecided Status: Confirmed ** Also affects: fwupd (Ubuntu Yakkety) Importance: Undecided Status: Incomplete ** Also affects: appstream-glib (Ubuntu Xenial) Importance: Undecided Status: New ** Also

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-08-17 Thread Richard Hughes
There's a workaround here: https://github.com/hughsie/appstream- glib/commit/2ec31bac7bd77e7b39c502276f4acec21ed9d576 Although, whatever wrote that invalid YAML file needs to be fixed, or gnome-software is going to show very few applications... -- You received this bug notification because you

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-08-17 Thread Mario Limonciello
So I think I've come up with a reliable way to reproduce this by placing a corrupted yaml file in /var/lib/app-info. Here is the file I placed (notice the extra s at the start): s--- File: DEP-11 MediaBaseUrl: http://appstream.ubuntu.com/media/main Origin: ubuntu-xenial-backports-main Priority:

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-07-31 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: appstream-glib (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream-glib in Ubuntu.

Re: [Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-07-25 Thread Mario Limonciello
That might not really be the useful bit - but rather the xapian data in /var/cache/app-info. Can you just tar up the whole directory and attach it? On Mon, Jul 25, 2016, 14:05 ZHANG Erkang wrote: > I didn't find yamls, this is the xml file of fwupd > > > > > >

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-07-25 Thread ZHANG Erkang
I didn't find yamls, this is the xml file of fwupd com.dell.uefi124c207d.firmware XPS 15 9550/Precision 5510 System Update Firmware for the Dell XPS 15 9550/Precision 5510 Dell Inc. Updating the system firmware improves performance. proprietary

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-07-25 Thread Richard Hughes
Can you upload a tarball of whatever is in /var/cache/app-info/yamls pls. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream-glib in Ubuntu. https://bugs.launchpad.net/bugs/1591868 Title: fwupd consuming 100% CPU Status in

[Desktop-packages] [Bug 1591868] Re: fwupd consuming 100% CPU

2016-07-25 Thread Mario Limonciello
** Also affects: appstream-glib (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream-glib in Ubuntu. https://bugs.launchpad.net/bugs/1591868 Title: fwupd consuming 100% CPU