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
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
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
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
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
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
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
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
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
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
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
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
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
** 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
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
** 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:
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
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
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.
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
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
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
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
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
** 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
** 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
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-
** 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
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
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:
** 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
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
** 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
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
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:
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.
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
>
>
>
>
>
>
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
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
** 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
40 matches
Mail list logo