Thanks for sharing.  You seem to have two fwupd processes running in your
test.  Do you get the same output if you kill -9 them first where the last
thing output was "performing init() on test"?

If so, my suspicion would be some corrupt appstream data.  The only thing
that happens between loading the plugins and loading the configuration file
is that the appstream store is initialized.

Can you check if both of these report successfully?

appstreamcli validate /var/cache/app-info/xmls/fwupd.xml

appstreamcli validate /usr/share/app-info/xmls/org.freedesktop.fwupd.xml


@hughsie, any other thoughts?


On Mon, Jul 18, 2016 at 2:20 PM ZHANG Erkang <kangz...@outlook.com> wrote:

> erkang@erkang-XPS-13-9343:~$ sudo /usr/lib/x86_64-linux-gnu/fwupd/fwupd -v
> 21:07:14        Verbose debugging enabled (on console 1)
> 21:07:14        adding plugin
> /usr/lib/x86_64-linux-gnu/fwupd-plugins-1/libfu_plugin_steelseries.so
> 21:07:14        adding plugin
> /usr/lib/x86_64-linux-gnu/fwupd-plugins-1/libfu_plugin_test.so
> 21:07:14        performing init() on test
>
> erkang@erkang-XPS-13-9343:~$ fwupdmgr get-devices
> Erreur lors de l'appel de StartServiceByName pour org.freedesktop.fwupd :
> GDBus.Error:org.freedesktop.DBus.Error.TimedOut: Failed to activate service
> 'org.freedesktop.fwupd': timed out
>
>
> I can't find the command fwupdmgr monitor
>
> and once again when I tap top:
>
>
>  PID UTIL.     PR  NI    VIRT    RES    SHR S  %CPU %MEM    TEMPS+ COM.
>  3240 root      20   0  238288  11080   9804 R  99,7  0,1   4:20.47 fwupd
>  3274 root      20   0  236256  10796   9520 R  99,3  0,1   3:50.68 fwupd
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1591868
>
> Title:
>   fwupd consuming 100% CPU
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/fwupd/+bug/1591868/+subscriptions
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1591868

Title:
  fwupd consuming 100% CPU

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fwupd/+bug/1591868/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to