*** This bug is a duplicate of bug 1579712 ***
    https://bugs.launchpad.net/bugs/1579712

I noticed the same problem on a fresh 16.04 install. I booted it again
few days later, and noticed "appstreamcli refresh" process using 100%
cpu. Running strace on it doesn't show any activity. Gdb shows that it
seems to be looping in as_yamldata_parse_distro_data ():

(gdb) bt
#0  0x00007eff42d03c4c in as_yamldata_parse_distro_data ()
   from /usr/lib/x86_64-linux-gnu/libappstream.so.3
#1  0x00007eff42d05537 in as_metadata_parse_yaml ()
   from /usr/lib/x86_64-linux-gnu/libappstream.so.3
#2  0x00007eff42d05c55 in as_metadata_parse_file ()
   from /usr/lib/x86_64-linux-gnu/libappstream.so.3
#3  0x00007eff42d08d49 in as_data_pool_update ()
   from /usr/lib/x86_64-linux-gnu/libappstream.so.3
#4  0x00007eff42cfe272 in as_cache_builder_refresh ()
   from /usr/lib/x86_64-linux-gnu/libappstream.so.3
#5  0x00000000004049de in ascli_refresh_cache ()
#6  0x0000000000403ceb in as_client_run ()
#7  0x00007eff4292c830 in __libc_start_main (main=0x403490 <main>, argc=2, 
    argv=0x7ffc131f67c8, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7ffc131f67b8)
    at ../csu/libc-start.c:291
#8  0x0000000000403519 in _start ()

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

Title:
  Can't "apt-get update" - appstreamcli stuck at 100% Processor
  Utilization

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

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

Reply via email to