*** Error in `appstreamcli': double free or corruption (fasttop): 0x00000000031a3510 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x77725)[0x7fbad882b725]
/lib/x86_64-linux-gnu/libc.so.6(+0x7ff4a)[0x7fbad8833f4a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fbad8837abc]
/usr/lib/x86_64-linux-gnu/libappstream.so.3(as_component_complete+0x439)[0x7fbad8bafd19]
/usr/lib/x86_64-linux-gnu/libappstream.so.3(as_data_pool_update+0x44a)[0x7fbad8bb0f0a]
/usr/lib/x86_64-linux-gnu/libappstream.so.3(as_cache_builder_refresh+0x1c2)[0x7fbad8ba6272]
appstreamcli(ascli_refresh_cache+0x12e)[0x4049de]
appstreamcli(as_client_run+0x6fb)[0x403ceb]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7fbad87d4830]
appstreamcli(_start+0x29)[0x403519]
======= Memory map: ========
00400000-00408000 r-xp 00000000 08:01 4747155 /usr/bin/appstreamcli
00607000-00608000 r--p 00007000 08:01 4747155 /usr/bin/appstreamcli
00608000-00609000 rw-p 00008000 08:01 4747155 /usr/bin/appstreamcli
0256f000-04086000 rw-p 00000000 00:00 0 [heap]
7fbacc000000-7fbacc021000 rw-p 00000000 00:00 0
7fbacc021000-7fbad0000000 ---p 00000000 00:00 0
7fbad34b6000-7fbad34ec000 r-xp 00000000 08:01 4769242 /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so
7fbad34ec000-7fbad36ec000 ---p 00036000 08:01 4769242 /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so
7fbad36ec000-7fbad36f1000 r--p 00036000 08:01 4769242 /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so
7fbad36f1000-7fbad36f2000 rw-p 0003b000 08:01 4769242 /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so
7fbad36f2000-7fbad370b000 r-xp 00000000 08:01 4768759 /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so
7fbad370b000-7fbad390b000 ---p 00019000 08:01 4768759 /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so
7fbad390b000-7fbad390e000 r--p 00019000 08:01 4768759 /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so
7fbad390e000-7fbad390f000 rw-p 0001c000 08:01 4768759 /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so
7fbad390f000-7fbad391a000 r-xp 00000000 08:01 4768755 /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
7fbad391a000-7fbad3b1a000 ---p 0000b000 08:01 4768755 /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
7fbad3b1a000-7fbad3b1b000 r--p 0000b000 08:01 4768755 /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
7fbad3b1b000-7fbad3b1c000 rw-p 0000c000 08:01 4768755 /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
7fbad3b1c000-7fbad3fa7000 r--p 00000000 08:01 4756938 /usr/lib/locale/locale-archive
7fbad3fa7000-7fbad585d000 r-xp 00000000 08:01 4765938 /usr/lib/x86_64-linux-gnu/libicudata.so.55.1
7fbad585d000-7fbad5a5c000 ---p 018b6000 08:01 4765938 /usr/lib/x86_64-linux-gnu/libicudata.so.55.1
7fbad5a5c000-7fbad5a5d000 r--p 018b5000 08:01 4765938 /usr/lib/x86_64-linux-gnu/libicudata.so.55.1
7fbad5a5d000-7fbad5a5e000 rw-p 018b6000 08:01 4765938 /usr/lib/x86_64-linux-gnu/libicudata.so.55.1
7fbad5a5e000-7fbad5a62000 r-xp 00000000 08:01 4746690 /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7fbad5a62000-7fbad5c61000 ---p 00004000 08:01 4746690 /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7fbad5c61000-7fbad5c62000 r--p 00003000 08:01 4746690 /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7fbad5c62000-7fbad5c63000 rw-p 00004000 08:01 4746690 /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7fbad5c63000-7fbad5d6b000 r-xp 00000000 08:01 4746576 /lib/x86_64-linux-gnu/libm-2.23.so
7fbad5d6b000-7fbad5f6a000 ---p 00108000 08:01 4746576 /lib/x86_64-linux-gnu/libm-2.23.so
7fbad5f6a000-7fbad5f6b000 r--p 00107000 08:01 4746576 /lib/x86_64-linux-gnu/libm-2.23.so
7fbad5f6b000-7fbad5f6c000 rw-p 00108000 08:01 4746576 /lib/x86_64-linux-gnu/libm-2.23.so
7fbad5f6c000-7fbad5f8d000 r-xp 00000000 08:01 4746573 /lib/x86_64-linux-gnu/liblzma.so.5.0.0
7fbad5f8d000-7fbad618c000 ---p 00021000 08:01 4746573 /lib/x86_64-linux-gnu/liblzma.so.5.0.0
7fbad618c000-7fbad618d000 r--p 00020000 08:01 4746573 /lib/x86_64-linux-gnu/liblzma.so.5.0.0
7fbad618d000-7fbad618e000 rw-p 00021000 08:01 4746573 /lib/x86_64-linux-gnu/liblzma.so.5.0.0
7fbad618e000-7fbad630d000 r-xp 00000000 08:01 4765952 /usr/lib/x86_64-linux-gnu/libicuuc.so.55.1
7fbad630d000-7fbad650d000 ---p 0017f000 08:01 4765952 /usr/lib/x86_64-linux-gnu/libicuuc.so.55.1
7fbad650d000-7fbad651d000 r--p 0017f000 08:01 4765952 /usr/lib/x86_64-linux-gnu/libicuuc.so.55.1
7fbad651d000-7fbad651e000 rw-p 0018f000 08:01 4765952 /usr/lib/x86_64-linux-gnu/libicuuc.so.55.1
7fbad651e000-7fbad6522000 rw-p 00000000 00:00 0
7fbad6522000-7fbad6525000 r-xp 00000000 08:01 4746530 /lib/x86_64-linux-gnu/libdl-2.23.so
7fbad6525000-7fbad6724000 ---p 00003000 08:01 4746530 /lib/x86_64-linux-gnu/libdl-2.23.so
7fbad6724000-7fbad6725000 r--p 00002000 08:01 4746530 /lib/x86_64-linux-gnu/libdl-2.23.so
7fbad6725000-7fbad6726000 rw-p 00003000 08:01 4746530 /lib/x86_64-linux-gnu/libdl-2.23.so
7fbad6726000-7fbad673c000 r-xp 00000000 08:01 4746544 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fbad673c000-7fbad693b000 ---p 00016000 08:01 4746544 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fbad693b000-7fbad693c000 rw-p 00015000 08:01 4746544 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fbad693c000-7fbad6aae000 r-xp 00000000 08:01 4766437 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7fbad6aae000-7fbad6cae000 ---p 00172000 08:01 4766437 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7fbad6cae000-7fbad6cb8000 r--p 00172000 08:01 4766437 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7fbad6cb8000-7fbad6cba000 rw-p 0017c000 08:01 4766437 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7fbad6cba000-7fbad6cbe000 rw-p 00000000 00:00 0
7fbad6cbe000-7fbad6cee000 r-xp 00000000 08:01 4766263 /usr/lib/x86_64-linux-gnu/libprotobuf-lite.so.9.0.1
7fbad6cee000-7fbad6eed000 ---p 00030000 08:01 4766263 /usr/lib/x86_64-linux-gnu/libprotobuf-lite.so.9.0.1
7fbad6eed000-7fbad6eee000 r--p 0002f000 08:01 4766263 /usr/lib/x86_64-linux-gnu/libprotobuf-lite.so.9.0.1
7fbad6eee000-7fbad6eef000 rw-p 00030000 08:01 4766263 /usr/lib/x86_64-linux-gnu/libprotobuf-lite.so.9.0.1
7fbad6eef000-7fbad70e3000 r-xp 00000000 08:01 4766661 /usr/lib/x86_64-linux-gnu/libxapian.so.22.7.0
7fbad70e3000-7fbad72e3000 ---p 001f4000 08:01 4766661 /usr/lib/x86_64-linux-gnu/libxapian.so.22.7.0
7fbad72e3000-7fbad72ea000 r--p 001f4000 08:01 4766661 /usr/lib/x86_64-linux-gnu/libxapian.so.22.7.0
7fbad72ea000-7fbad72eb000 rw-p 001fb000 08:01 4766661 /usr/lib/x86_64-linux-gnu/libxapian.so.22.7.0
7fbad72eb000-7fbad7308000 r-xp 00000000 08:01 4766717 /usr/lib/x86_64-linux-gnu/libyaml-0.so.2.0.4
7fbad7308000-7fbad7508000 ---p 0001d000 08:01 4766717 /usr/lib/x86_64-linux-gnu/libyaml-0.so.2.0.4
7fbad7508000-7fbad7509000 r--p 0001d000 08:01 4766717 /usr/lib/x86_64-linux-gnu/libyaml-0.so.2.0.4
7fbad7509000-7fbad750a000 rw-p 0001e000 08:01 4766717 /usr/lib/x86_64-linux-gnu/libyaml-0.so.2.0.4
7fbad750a000-7fbad76ba000 r-xp 00000000 08:01 4766707 /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.3
7fbad76ba000-7fbad78b9000 ---p 001b0000 08:01 4766707 /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.3
7fbad78b9000-7fbad78c1000 r--p 001af000 08:01 4766707 /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.3
7fbad78c1000-7fbad78c3000 rw-p 001b7000 08:01 4766707 /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.3
7fbad78c3000-7fbad78c4000 rw-p 00000000 00:00 0
7fbad78c4000-7fbad78cb000 r-xp 00000000 08:01 4765607 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7fbad78cb000-7fbad7aca000 ---p 00007000 08:01 4765607 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7fbad7aca000-7fbad7acb000 r--p 00006000 08:01 4765607 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7fbad7acb000-7fbad7acc000 rw-p 00007000 08:01 4765607 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7fbad7acc000-7fbad7ae3000 r-xp 00000000 08:01 4746658 /lib/x86_64-linux-gnu/libresolv-2.23.so
7fbad7ae3000-7fbad7ce3000 ---p 00017000 08:01 4746658 /lib/x86_64-linux-gnu/libresolv-2.23.so
7fbad7ce3000-7fbad7ce4000 r--p 00017000 08:01 4746658 /lib/x86_64-linux-gnu/libresolv-2.23.so
7fbad7ce4000-7fbad7ce5000 rw-p 00018000 08:01 4746658 /lib/x86_64-linux-gnu/libresolv-2.23.so
7fbad7ce5000-7fbad7ce7000 rw-p 00000000 00:00 0
7fbad7ce7000-7fbad7d06000 r-xp 00000000 08:01 4746664 /lib/x86_64-linux-gnu/libselinux.so.1
7fbad7d06000-7fbad7f05000 ---p 0001f000 08:01 4746664 /lib/x86_64-linux-gnu/libselinux.so.1
7fbad7f05000-7fbad7f06000 r--p 0001e000 08:01 4746664 /lib/x86_64-linux-gnu/libselinux.so.1
7fbad7f06000-7fbad7f07000 rw-p 0001f000 08:01 4746664 /lib/x86_64-linux-gnu/libselinux.so.1
7fbad7f07000-7fbad7f09000 rw-p 00000000 00:00 0
7fbad7f09000-7fbad7f22000 r-xp 00000000 08:01 4746697 /lib/x86_64-linux-gnu/libz.so.1.2.8
7fbad7f22000-7fbad8121000 ---p 00019000 08:01 4746697 /lib/x86_64-linux-gnu/libz.so.1.2.8
7fbad8121000-7fbad8122000 r--p 00018000 08:01 4746697 /lib/x86_64-linux-gnu/libz.so.1.2.8
7fbad8122000-7fbad8123000 rw-p 00019000 08:01 4746697 /lib/x86_64-linux-gnu/libz.so.1.2.8
7fbad8123000-7fbad8126000 r-xp 00000000 08:01 4765768 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4800.0
7fbad8126000-7fbad8325000 ---p 00003000 08:01 4765768 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4800.0
7fbad8325000-7fbad8326000 r--p 00002000 08:01 4765768 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4800.0
7fbad8326000-7fbad8327000 rw-p 00003000 08:01 4765768 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4800.0
7fbad8327000-7fbad833f000 r-xp 00000000 08:01 4746652 /lib/x86_64-linux-gnu/libpthread-2.23.so
7fbad833f000-7fbad853e000 ---p 00018000 08:01 4746652 /lib/x86_64-linux-gnu/libpthread-2.23.so
7fbad853e000-7fbad853f000 r--p 00017000 08:01 4746652 /lib/x86_64-linux-gnu/libpthread-2.23.so
7fbad853f000-7fbad8540000 rw-p 00018000 08:01 4746652 /lib/x86_64-linux-gnu/libpthread-2.23.so
7fbad8540000-7fbad8544000 rw-p 00000000 00:00 0
7fbad8544000-7fbad85b2000 r-xp 00000000 08:01 4746635 /lib/x86_64-linux-gnu/libpcre.so.3.13.2
7fbad85b2000-7fbad87b2000 ---p 0006e000 08:01 4746635 /lib/x86_64-linux-gnu/libpcre.so.3.13.2
7fbad87b2000-7fbad87b3000 r--p 0006e000 08:01 4746635 /lib/x86_64-linux-gnu/libpcre.so.3.13.2
7fbad87b3000-7fbad87b4000 rw-p 0006f000 08:01 4746635 /lib/x86_64-linux-gnu/libpcre.so.3.13.2
7fbad87b4000-7fbad8974000 r-xp 00000000 08:01 4746506 /lib/x86_64-linux-gnu/libc-2.23.so
7fbad8974000-7fbad8b73000 ---p 001c0000 08:01 4746506 /lib/x86_64-linux-gnu/libc-2.23.so
7fbad8b73000-7fbad8b77000 r--p 001bf000 08:01 4746506 /lib/x86_64-linux-gnu/libc-2.23.so
7fbad8b77000-7fbad8b79000 rw-p 001c3000 08:01 4746506 /lib/x86_64-linux-gnu/libc-2.23.so
7fbad8b79000-7fbad8b7d000 rw-p 00000000 00:00 0
7fbad8b7d000-7fbad8bc8000 r-xp 00000000 08:01 4765270 /usr/lib/x86_64-linux-gnu/libappstream.so.0.9.4
7fbad8bc8000-7fbad8dc8000 ---p 0004b000 08:01 4765270 /usr/lib/x86_64-linux-gnu/libappstream.so.0.9.4
7fbad8dc8000-7fbad8dc9000 r--p 0004b000 08:01 4765270 /usr/lib/x86_64-linux-gnu/libappstream.so.0.9.4
7fbad8dc9000-7fbad8dca000 rw-p 0004c000 08:01 4765270 /usr/lib/x86_64-linux-gnu/libappstream.so.0.9.4
7fbad8dca000-7fbad8e1c000 r-xp 00000000 08:01 4765792 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0
7fbad8e1c000-7fbad901b000 ---p 00052000 08:01 4765792 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0
7fbad901b000-7fbad901c000 r--p 00051000 08:01 4765792 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0
7fbad901c000-7fbad901d000 rw-p 00052000 08:01 4765792 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.0
7fbad901d000-7fbad919d000 r-xp 00000000 08:01 4765752 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4800.0
7fbad919d000-7fbad939d000 ---p 00180000 08:01 4765752 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4800.0
7fbad939d000-7fbad93a1000 r--p 00180000 08:01 4765752 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4800.0
7fbad93a1000-7fbad93a3000 rw-p 00184000 08:01 4765752 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4800.0
7fbad93a3000-7fbad93a5000 rw-p 00000000 00:00 0
7fbad93a5000-7fbad94b3000 r-xp 00000000 08:01 4746548 /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.0
7fbad94b3000-7fbad96b3000 ---p 0010e000 08:01 4746548 /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.0
7fbad96b3000-7fbad96b4000 r--p 0010e000 08:01 4746548 /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.0
7fbad96b4000-7fbad96b5000 rw-p 0010f000 08:01 4746548 /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.0
7fbad96b5000-7fbad96b6000 rw-p 00000000 00:00 0
7fbad96b6000-7fbad96dc000 r-xp 00000000 08:01 4746478 /lib/x86_64-linux-gnu/ld-2.23.so
7fbad9873000-7fbad9892000 r--s 00000000 08:01 4843688 /usr/share/mime/mime.cache
7fbad9892000-7fbad98b3000 r--p 00000000 08:01 4926112 /usr/share/locale-langpack/zh_CN/LC_MESSAGES/libc.mo
7fbad98b3000-7fbad98c1000 rw-p 00000000 00:00 0
7fbad98d1000-7fbad98d2000 rw-p 00000000 00:00 0
7fbad98d2000-7fbad98d9000 r--s 00000000 08:01 4768669 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
7fbad98d9000-7fbad98db000 rw-p 00000000 00:00 0
7fbad98db000-7fbad98dc000 r--p 00025000 08:01 4746478 /lib/x86_64-linux-gnu/ld-2.23.so
7fbad98dc000-7fbad98dd000 rw-p 00026000 08:01 4746478 /lib/x86_64-linux-gnu/ld-2.23.so
7fbad98dd000-7fbad98de000 rw-p 00000000 00:00 0
7ffe81ffd000-7ffe8201e000 rw-p 00000000 00:00 0 [stack]
7ffe820a4000-7ffe820a6000 r--p 00000000 00:00 0 [vvar]
7ffe820a6000-7ffe820a8000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Aborted (core dumped)
$sudo apt-get purge libappstream3
然后
$sudo apt-get update
From: https://blog.csdn.net/taosera/article/details/78148845