Created attachment 135410 [details] Report about crash SUMMARY STEPS TO REPRODUCE 1. Open discovery 2. Crashes OBSERVED RESULT Crash in startup EXPECTED RESULT Open without problem SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.20.5 KDE Frameworks Version: 5.78.0 Qt Version: 5.15.2 Kernel Version: 5.10.12-arch1-1 ADDITIONAL INFORMATION When i try run via bash/terminal: ``` $ plasma-discover Cyclic dependency detected between "file:///usr/lib/qt/qml/org/kde/kirigami.2/styles/org.kde.desktop.plasma/Units.qml" and "file:///usr/lib/qt/qml/org/kde/kirigami.2/styles/org.kde.desktop.plasma/Units.qml" file:///usr/lib/qt/qml/org/kde/kirigami.2/GlobalDrawer.qml:265: TypeError: Type error QObject::startTimer: Timers cannot have negative intervals file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:162:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:99:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/OverlayDrawer.qml:284:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:162:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:99:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } file:///usr/lib/qt/qml/org/kde/kirigami.2/private/globaltoolbar/PageRowGlobalToolBarUI.qml:65:9: QML RowLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "maximumWidth" file:///usr/lib/qt/qml/org/kde/kirigami.2/private/globaltoolbar/PageRowGlobalToolBarUI.qml:65:9: QML RowLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "maximumWidth" file:///usr/lib/qt/qml/org/kde/kirigami.2/private/RefreshableScrollView.qml:137:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:162:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:99:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:139:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:139:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:139:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } adding empty sources model QStandardItemModel(0x55a1dbb4bc20) invalid kns backend! "/usr/share/knsrcfiles/ksysguard.knsrc" because: "Config group not found! Check your KNS3 installation." invalid kns backend! "/usr/share/knsrcfiles/servicemenu.knsrc" because: "Config group not found! Check your KNS3 installation." QObject::connect(AbstractReviewsBackend, ResourcesModel): invalid nullptr parameter org.kde.plasma.libdiscover: Couldn't find a category for "fwupd-backend" file:///usr/lib/qt/qml/org/kde/kirigami.2/private/PrivateActionToolButton.qml:71:5: QML Binding: Binding loop detected for property "value" file:///usr/lib/qt/qml/org/kde/kirigami.2/private/globaltoolbar/PageRowGlobalToolBarUI.qml:65:9: QML RowLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "maximumWidth" QSocketNotifier: Invalid socket 35 and type 'Read', disabling... KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = plasma-discover path = /usr/bin pid = 8516 KCrash: Arguments: /usr/bin/plasma-discover KCrash: Attempting to start /usr/lib/drkonqi QSocketNotifier: Invalid socket 256 and type 'Write', disabling... QSocketNotifier: Invalid socket 268 and type 'Write', disabling... QSocketNotifier: Invalid socket 236 and type 'Write', disabling... QSocketNotifier: Invalid socket 155 and type 'Write', disabling... QSocketNotifier: Invalid socket 156 and type 'Read', disabling... QSocketNotifier: Invalid socket 153 and type 'Read', disabling... QSocketNotifier: Invalid socket 157 and type 'Read', disabling... QSocketNotifier: Invalid socket 159 and type 'Read', disabling... QSocketNotifier: Invalid socket 161 and type 'Read', disabling... QSocketNotifier: Invalid socket 284 and type 'Write', disabling... QSocketNotifier: Invalid socket 274 and type 'Write', disabling... QSocketNotifier: Invalid socket 287 and type 'Write', disabling... QSocketNotifier: Invalid socket 291 and type 'Write', disabling... QSocketNotifier: Invalid socket 290 and type 'Write', disabling... Failed to get metadata file: Ref inexistente “app/app.rednotebook.RedNotebook/x86_64/stable” no remoto flathub QSocketNotifier: Invalid socket 7 and type 'Read', disabling... Failed to get metadata file: Ref inexistente “app/au.edu.uq.esys.escript/x86_64/stable” no remoto flathub Failed to get metadata file: Ref inexistente “app/br.gov.cti.invesalius/x86_64/stable” no remoto flathub Failed to get metadata file: Ref inexistente “app/ca._0ldsk00l.Nestopia/x86_64/stable” no remoto flathub Failed to get metadata file: Ref inexistente “app/ca.desrt.dconf-editor/x86_64/stable” no remoto flathub Failed to get metadata file: Ref inexistente “app/ca.littlesvr.asunder/x86_64/stable” no remoto flathub Failed to get metadata file: Ref inexistente “app/cat.xtec.clic.JClic/x86_64/stable” no remoto flathub Failed to get metadata file: Ref inexistente “app/cc.arduino.arduinoide/x86_64/stable” no remoto flathub Failed to get metadata file: Ref inexistente “app/cc.nift.nsm/x86_64/stable” no remoto flathub Failed to get metadata file: Ref inexistente “app/cc.retroshare.retroshare-gui/x86_64/stable” no remoto flathub Failed to get metadata file: Ref inexistente “app/ch.openboard.OpenBoard/x86_64/stable” no remoto flathub Failed to get metadata file: Ref inexistente “app/ch.protonmail.protonmail-bridge/x86_64/stable” no remoto flathub QSocketNotifier: Invalid socket 230 and type 'Write', disabling... ```
*** Bug 432495 has been marked as a duplicate of this bug. ***
Happens after appstream 0.14 update. Complete backtrace: Thread 1 (Thread 0x7ffff130c100 (LWP 24641) "plasma-discover"): #0 0x00007ffff44d0b48 in g_slist_find () at /usr/lib/libglib-2.0.so.0 #1 0x00007ffff3e2f73c in () at /usr/lib/libgobject-2.0.so.0 #2 0x00007ffff3e106fa in () at /usr/lib/libgobject-2.0.so.0 #3 0x00007ffff3e160c4 in () at /usr/lib/libgobject-2.0.so.0 #4 0x00007ffff3e178a4 in g_object_new_valist () at /usr/lib/libgobject-2.0.so.0 #5 0x00007ffff3e17c1a in g_object_new () at /usr/lib/libgobject-2.0.so.0 #6 0x00007fffac183c01 in flatpak_installed_ref_new (decomposed=decomposed@entry=0x555557aee080, commit=commit@entry=0x555557ae9f98 "c73af6d18e25967cf2a98aae9c9633abaeea74eea0f7e0191c66400070b84bda", latest_commit=0x555557aeeb70 "c73af6d18e25967cf2a98aae9c9633abaeea74eea0f7e0191c66400070b84bda", origin=origin@entry=0x555557ae9f90 "flathub", collection_id=collection_id@entry=0x0, subpaths=0x0, subpaths@entry=0x555557af8a60, deploy_dir=0x555555fea290 "/var/lib/flatpak/runtime/org.freedesktop.Platform.GL.default/x86_64/20.08/c73af6d18e25967cf2a98aae9c9633abaeea74eea0f7e0191c66400070b84bda", installed_size=266029568, is_current=0, eol=0x0, eol_rebase=0x0, appdata_name=0x0, appdata_summary=0x0, appdata_version=0x0, appdata_license=0x0, appdata_content_rating_type=0x0, appdata_content_rating=0x0) at common/flatpak-installed-ref.c:722 #7 0x00007fffac17ec33 in get_ref (dir=dir@entry=0x555555fd6140, ref=ref@entry=0x555557aee080, cancellable=cancellable@entry=0x555555fcd2a0, error=error@entry=0x7fffffffdb60) at common/flatpak-installation.c:768 #8 0x00007fffac17fb49 in flatpak_installation_get_installed_ref (self=self@entry=0x7fff8c017f00, kind=kind@entry=FLATPAK_REF_KIND_RUNTIME, name=<optimized out>, arch=<optimized out>, arch@entry=0x555555fea268 "x86_64", branch=branch@entry=0x555557af8928 "20.08", cancellable=cancellable@entry=0x555555fcd2a0, error=0x7fffffffdb60) at common/flatpak-installation.c:832 #9 0x00007fffac539b0d in FlatpakBackend::getInstalledRefForApp(_FlatpakInstallation*, FlatpakResource*) const (this=0x7fffffffdb90, this@entry=0x55555627ef60, flatpakInstallation=flatpakInstallation@entry=0x7fff8c017f00, resource=0x7fffffffdb70, resource@entry=0x555557b04270) at /usr/src/debug/discover-5.20.5/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:223 #10 0x00007fffac53fa4d in FlatpakBackend::updateAppState(_FlatpakInstallation*, FlatpakResource*) (resource=0x555557b04270, flatpakInstallation=0x7fff8c017f00, this=0x55555627ef60) at /usr/src/debug/discover-5.20.5/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:1102 #11 FlatpakBackend::addResource(FlatpakResource*) (this=0x55555627ef60, resource=0x555557b04270) at /usr/src/debug/discover-5.20.5/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:549 #12 0x00007fffac5403b7 in FlatpakBackend::loadInstalledApps(_FlatpakInstallation*) (this=this@entry=0x55555627ef60, flatpakInstallation=flatpakInstallation@entry=0x7fff8c017f00) at /usr/src/debug/discover-5.20.5/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:745 #13 0x00007fffac5405e3 in FlatpakBackend::loadInstalledApps() (this=this@entry=0x55555627ef60) at /usr/src/debug/discover-5.20.5/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:690 #14 0x00007fffac541562 in FlatpakBackend::metadataRefreshed() (this=0x55555627ef60) at /usr/src/debug/discover-5.20.5/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:633 #15 FlatpakBackend::metadataRefreshed() (this=0x55555627ef60) at /usr/src/debug/discover-5.20.5/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:629 #16 operator() (__closure=0x55555606e0c0) at /usr/src/debug/discover-5.20.5/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:668 #17 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, FlatpakBackend::integrateRemote(FlatpakInstallation*, FlatpakRemote*)::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/qt/QtCore/qobjectdefs_impl.h:146 #18 QtPrivate::Functor<FlatpakBackend::integrateRemote(FlatpakInstallation*, FlatpakRemote*)::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/qt/QtCore/qobjectdefs_impl.h:256 #19 QtPrivate::QFunctorSlotObject<FlatpakBackend::integrateRemote(FlatpakInstallation*, FlatpakRemote*)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x55555606e0b0, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt/QtCore/qobjectdefs_impl.h:443 #20 0x00007ffff60a5dd6 in () at /usr/lib/libQt5Core.so.5 #21 0x00007ffff5e91525 in QFutureWatcherBase::event(QEvent*) () at /usr/lib/libQt5Core.so.5 #22 0x00007ffff702c752 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5 #23 0x00007ffff606ea7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5 #24 0x00007ffff6071573 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5 #25 0x00007ffff60c80a4 in () at /usr/lib/libQt5Core.so.5 #26 0x00007ffff44b5a84 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0 #27 0x00007ffff45099b1 in () at /usr/lib/libglib-2.0.so.0 #28 0x00007ffff44b42b1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #29 0x00007ffff60c76e1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #30 0x00007ffff606d3fc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #31 0x00007ffff6075894 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5 #32 0x00005555555698cc in main(int, char**) (argc=<optimized out>, argv=0x7fffffffe460) at /usr/src/debug/discover-5.20.5/discover/main.cpp:173
Caused by https://github.com/ximion/appstream/commit/30a961009208839eb2c33b6984560ef1fb25a538
Crash is somewhere in the flatpak backend: [KCrash Handler] #4 0x00007f82e8f1ed46 in g_slice_alloc () at /usr/lib/libglib-2.0.so.0 #5 0x00007f82e8f1f3a7 in g_slist_prepend () at /usr/lib/libglib-2.0.so.0 #6 0x00007f82e8879764 in () at /usr/lib/libgobject-2.0.so.0 #7 0x00007f82e885a6fa in () at /usr/lib/libgobject-2.0.so.0 #8 0x00007f82e88600c4 in () at /usr/lib/libgobject-2.0.so.0 #9 0x00007f82e88618a4 in g_object_new_valist () at /usr/lib/libgobject-2.0.so.0 #10 0x00007f82e8861c1a in g_object_new () at /usr/lib/libgobject-2.0.so.0 #11 0x00007f82c876cc01 in () at /usr/lib/libflatpak.so.0 #12 0x00007f82c8767c33 in () at /usr/lib/libflatpak.so.0 #13 0x00007f82c8768b49 in flatpak_installation_get_installed_ref () at /usr/lib/libflatpak.so.0 #14 0x00007f82d41cfb0d in () at /usr/lib/qt/plugins/discover/flatpak-backend.so #15 0x00007f82d41d5a4d in () at /usr/lib/qt/plugins/discover/flatpak-backend.so #16 0x00007f82d41d63b7 in () at /usr/lib/qt/plugins/discover/flatpak-backend.so #17 0x00007f82d41d65e3 in () at /usr/lib/qt/plugins/discover/flatpak-backend.so #18 0x00007f82d41d7562 in () at /usr/lib/qt/plugins/discover/flatpak-backend.so #19 0x00007f82eaaefdd6 in () at /usr/lib/libQt5Core.so.5 #20 0x00007f82ea8db525 in QFutureWatcherBase::event(QEvent*) () at /usr/lib/libQt5Core.so.5 #21 0x00007f82eba76752 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5 #22 0x00007f82eaab8a7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5 #23 0x00007f82eaabb573 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5 #24 0x00007f82eab120a4 in () at /usr/lib/libQt5Core.so.5 #25 0x00007f82e8effa84 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0 #26 0x00007f82e8f539b1 in () at /usr/lib/libglib-2.0.so.0 #27 0x00007f82e8efe2b1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #28 0x00007f82eab116e1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #29 0x00007f82eaab73fc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #30 0x00007f82eaabf894 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5 #31 0x000056506a7a18cc in () #32 0x00007f82ea483152 in __libc_start_main () at /usr/lib/libc.so.6 #33 0x000056506a7a1e6e in _start () [Inferior 1 (process 7188) detached] Unfortunately the crash log is missing debug symbols so it's impossible to tell what's happening. Here are Arch's instructions for how you can produce useful crash logs: https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces You'll need to recompile the packages for discover and its flatpak backend after setting up your system for debug symbols, and then reproduce the crash (or re-retrieve it using coredumpctl).
(In reply to Nate Graham from comment #4) > Unfortunately the crash log is missing debug symbols so it's impossible to > tell what's happening. Here are Arch's instructions for how you can produce > useful crash logs: > https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces I already posted a backtrace with debug symbols in Comment 2
So you did! Many thanks. Sorry for missing it. Looks like this could be an issue in Flatpak itself.
Here's a valgrind trace. ==33016== Invalid read of size 4 ==33016== at 0x7F3F01D: AppStream::Metadata::parseFile(QString const&, AppStream::Metadata::FormatKind) (metadata.cpp:142) ==33016== by 0x25DFE32B: FlatpakBackend::loadInstalledApps(_FlatpakInstallation*) (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:727) ==33016== by 0x25DFDB84: FlatpakBackend::loadInstalledApps() (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:690) ==33016== by 0x25DFDAAF: FlatpakBackend::metadataRefreshed() (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:625) ==33016== by 0x25E03E45: FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25::operator()() const (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:668) ==33016== by 0x25E03C25: QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25>::call(FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25&, void**) (devel/kde5/include/QtCore/qobjectdefs_impl.h:146) ==33016== by 0x25E03BF0: void QtPrivate::Functor<FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25, 0>::call<QtPrivate::List<>, void>(FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25&, void*, void**) (devel/kde5/include/QtCore/qobjectdefs_impl.h:256) ==33016== by 0x25E03B7B: QtPrivate::QFunctorSlotObject<FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (devel/kde5/include/QtCore/qobjectdefs_impl.h:443) ==33016== by 0x7456805: call (qobjectdefs_impl.h:398) ==33016== by 0x7456805: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3886) ==33016== by 0x7248F54: QFutureWatcherBase::event(QEvent*) (qfuturewatcher.cpp:334) ==33016== by 0x63F914E: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3632) ==33016== by 0x7420229: QCoreApplication::notifyInternal2(QObject*, QEvent*) (qcoreapplication.cpp:1063) ==33016== Address 0x2fbdc934 is 4 bytes inside a block of size 16 free'd ==33016== at 0x483B9AB: free (vg_replace_malloc.c:538) ==33016== by 0xAB3882F: glib_autoptr_clear_GError (glib-autocleanups.h:52) ==33016== by 0xAB36557: glib_autoptr_cleanup_GError (glib-autocleanups.h:52) ==33016== by 0xAB36426: as_metadata_parse_file (as-metadata.c:730) ==33016== by 0x7F3F008: AppStream::Metadata::parseFile(QString const&, AppStream::Metadata::FormatKind) (metadata.cpp:139) ==33016== by 0x25DFE32B: FlatpakBackend::loadInstalledApps(_FlatpakInstallation*) (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:727) ==33016== by 0x25DFDB84: FlatpakBackend::loadInstalledApps() (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:690) ==33016== by 0x25DFDAAF: FlatpakBackend::metadataRefreshed() (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:625) ==33016== by 0x25E03E45: FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25::operator()() const (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:668) ==33016== by 0x25E03C25: QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25>::call(FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25&, void**) (devel/kde5/include/QtCore/qobjectdefs_impl.h:146) ==33016== by 0x25E03BF0: void QtPrivate::Functor<FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25, 0>::call<QtPrivate::List<>, void>(FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25&, void*, void**) (devel/kde5/include/QtCore/qobjectdefs_impl.h:256) ==33016== by 0x25E03B7B: QtPrivate::QFunctorSlotObject<FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (devel/kde5/include/QtCore/qobjectdefs_impl.h:443) ==33016== Block was alloc'd at ==33016== at 0x483A77F: malloc (vg_replace_malloc.c:307) ==33016== by 0xA80A439: g_malloc (in /usr/lib/libglib-2.0.so.0.6600.4) ==33016== by 0xA82BB9F: g_slice_alloc (in /usr/lib/libglib-2.0.so.0.6600.4) ==33016== by 0xA7F7B9F: g_error_new_valist (in /usr/lib/libglib-2.0.so.0.6600.4) ==33016== by 0xA7F7DAB: g_set_error (in /usr/lib/libglib-2.0.so.0.6600.4) ==33016== by 0xACF6464: ??? (in /usr/lib/libgio-2.0.so.0.6600.4) ==33016== by 0xACF669E: ??? (in /usr/lib/libgio-2.0.so.0.6600.4) ==33016== by 0xAB36231: as_metadata_parse_file (as-metadata.c:683) ==33016== by 0x7F3F008: AppStream::Metadata::parseFile(QString const&, AppStream::Metadata::FormatKind) (metadata.cpp:139) ==33016== by 0x25DFE32B: FlatpakBackend::loadInstalledApps(_FlatpakInstallation*) (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:727) ==33016== by 0x25DFDB84: FlatpakBackend::loadInstalledApps() (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:690) ==33016== by 0x25DFDAAF: FlatpakBackend::metadataRefreshed() (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:625) ==33016== ==33016== Invalid read of size 8 ==33016== at 0xA7F1449: g_error_free (in /usr/lib/libglib-2.0.so.0.6600.4) ==33016== by 0x7F4068F: glib_autoptr_clear_GError(_GError*) (glib-autocleanups.h:52) ==33016== by 0x7F3F0D7: glib_autoptr_cleanup_GError(_GError**) (glib-autocleanups.h:52) ==33016== by 0x7F3F066: AppStream::Metadata::parseFile(QString const&, AppStream::Metadata::FormatKind) (metadata.cpp:146) ==33016== by 0x25DFE32B: FlatpakBackend::loadInstalledApps(_FlatpakInstallation*) (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:727) ==33016== by 0x25DFDB84: FlatpakBackend::loadInstalledApps() (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:690) ==33016== by 0x25DFDAAF: FlatpakBackend::metadataRefreshed() (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:625) ==33016== by 0x25E03E45: FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25::operator()() const (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:668) ==33016== by 0x25E03C25: QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25>::call(FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25&, void**) (devel/kde5/include/QtCore/qobjectdefs_impl.h:146) ==33016== by 0x25E03BF0: void QtPrivate::Functor<FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25, 0>::call<QtPrivate::List<>, void>(FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25&, void*, void**) (devel/kde5/include/QtCore/qobjectdefs_impl.h:256) ==33016== by 0x25E03B7B: QtPrivate::QFunctorSlotObject<FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (devel/kde5/include/QtCore/qobjectdefs_impl.h:443) ==33016== by 0x7456805: call (qobjectdefs_impl.h:398) ==33016== by 0x7456805: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3886) ==33016== Address 0x2fbdc938 is 8 bytes inside a block of size 16 free'd ==33016== at 0x483B9AB: free (vg_replace_malloc.c:538) ==33016== by 0xAB3882F: glib_autoptr_clear_GError (glib-autocleanups.h:52) ==33016== by 0xAB36557: glib_autoptr_cleanup_GError (glib-autocleanups.h:52) ==33016== by 0xAB36426: as_metadata_parse_file (as-metadata.c:730) ==33016== by 0x7F3F008: AppStream::Metadata::parseFile(QString const&, AppStream::Metadata::FormatKind) (metadata.cpp:139) ==33016== by 0x25DFE32B: FlatpakBackend::loadInstalledApps(_FlatpakInstallation*) (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:727) ==33016== by 0x25DFDB84: FlatpakBackend::loadInstalledApps() (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:690) ==33016== by 0x25DFDAAF: FlatpakBackend::metadataRefreshed() (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:625) ==33016== by 0x25E03E45: FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25::operator()() const (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:668) ==33016== by 0x25E03C25: QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25>::call(FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25&, void**) (devel/kde5/include/QtCore/qobjectdefs_impl.h:146) ==33016== by 0x25E03BF0: void QtPrivate::Functor<FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25, 0>::call<QtPrivate::List<>, void>(FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25&, void*, void**) (devel/kde5/include/QtCore/qobjectdefs_impl.h:256) ==33016== by 0x25E03B7B: QtPrivate::QFunctorSlotObject<FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (devel/kde5/include/QtCore/qobjectdefs_impl.h:443) ==33016== Block was alloc'd at ==33016== at 0x483A77F: malloc (vg_replace_malloc.c:307) ==33016== by 0xA80A439: g_malloc (in /usr/lib/libglib-2.0.so.0.6600.4) ==33016== by 0xA82BB9F: g_slice_alloc (in /usr/lib/libglib-2.0.so.0.6600.4) ==33016== by 0xA7F7B9F: g_error_new_valist (in /usr/lib/libglib-2.0.so.0.6600.4) ==33016== by 0xA7F7DAB: g_set_error (in /usr/lib/libglib-2.0.so.0.6600.4) ==33016== by 0xACF6464: ??? (in /usr/lib/libgio-2.0.so.0.6600.4) ==33016== by 0xACF669E: ??? (in /usr/lib/libgio-2.0.so.0.6600.4) ==33016== by 0xAB36231: as_metadata_parse_file (as-metadata.c:683) ==33016== by 0x7F3F008: AppStream::Metadata::parseFile(QString const&, AppStream::Metadata::FormatKind) (metadata.cpp:139) ==33016== by 0x25DFE32B: FlatpakBackend::loadInstalledApps(_FlatpakInstallation*) (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:727) ==33016== by 0x25DFDB84: FlatpakBackend::loadInstalledApps() (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:690) ==33016== by 0x25DFDAAF: FlatpakBackend::metadataRefreshed() (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:625) ==33016== ==33016== Invalid free() / delete / delete[] / realloc() ==33016== at 0x483B9AB: free (vg_replace_malloc.c:538) ==33016== by 0xA7F1452: g_error_free (in /usr/lib/libglib-2.0.so.0.6600.4) ==33016== by 0x7F4068F: glib_autoptr_clear_GError(_GError*) (glib-autocleanups.h:52) ==33016== by 0x7F3F0D7: glib_autoptr_cleanup_GError(_GError**) (glib-autocleanups.h:52) ==33016== by 0x7F3F066: AppStream::Metadata::parseFile(QString const&, AppStream::Metadata::FormatKind) (metadata.cpp:146) ==33016== by 0x25DFE32B: FlatpakBackend::loadInstalledApps(_FlatpakInstallation*) (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:727) ==33016== by 0x25DFDB84: FlatpakBackend::loadInstalledApps() (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:690) ==33016== by 0x25DFDAAF: FlatpakBackend::metadataRefreshed() (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:625) ==33016== by 0x25E03E45: FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25::operator()() const (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:668) ==33016== by 0x25E03C25: QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25>::call(FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25&, void**) (devel/kde5/include/QtCore/qobjectdefs_impl.h:146) ==33016== by 0x25E03BF0: void QtPrivate::Functor<FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25, 0>::call<QtPrivate::List<>, void>(FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25&, void*, void**) (devel/kde5/include/QtCore/qobjectdefs_impl.h:256) ==33016== by 0x25E03B7B: QtPrivate::QFunctorSlotObject<FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (devel/kde5/include/QtCore/qobjectdefs_impl.h:443) ==33016== Address 0x227e5c30 is 0 bytes inside a block of size 135 free'd ==33016== at 0x483B9AB: free (vg_replace_malloc.c:538) ==33016== by 0xA7F1452: g_error_free (in /usr/lib/libglib-2.0.so.0.6600.4) ==33016== by 0xAB3882F: glib_autoptr_clear_GError (glib-autocleanups.h:52) ==33016== by 0xAB36557: glib_autoptr_cleanup_GError (glib-autocleanups.h:52) ==33016== by 0xAB36426: as_metadata_parse_file (as-metadata.c:730) ==33016== by 0x7F3F008: AppStream::Metadata::parseFile(QString const&, AppStream::Metadata::FormatKind) (metadata.cpp:139) ==33016== by 0x25DFE32B: FlatpakBackend::loadInstalledApps(_FlatpakInstallation*) (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:727) ==33016== by 0x25DFDB84: FlatpakBackend::loadInstalledApps() (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:690) ==33016== by 0x25DFDAAF: FlatpakBackend::metadataRefreshed() (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:625) ==33016== by 0x25E03E45: FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25::operator()() const (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:668) ==33016== by 0x25E03C25: QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25>::call(FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25&, void**) (devel/kde5/include/QtCore/qobjectdefs_impl.h:146) ==33016== by 0x25E03BF0: void QtPrivate::Functor<FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25, 0>::call<QtPrivate::List<>, void>(FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25&, void*, void**) (devel/kde5/include/QtCore/qobjectdefs_impl.h:256) ==33016== Block was alloc'd at ==33016== at 0x483A77F: malloc (vg_replace_malloc.c:307) ==33016== by 0x7AE551F: __vasprintf_internal (in /usr/lib/libc-2.32.so) ==33016== by 0xA85C24F: g_vasprintf (in /usr/lib/libglib-2.0.so.0.6600.4) ==33016== by 0xA82CECD: g_strdup_vprintf (in /usr/lib/libglib-2.0.so.0.6600.4) ==33016== by 0xA7F7BB4: g_error_new_valist (in /usr/lib/libglib-2.0.so.0.6600.4) ==33016== by 0xA7F7DAB: g_set_error (in /usr/lib/libglib-2.0.so.0.6600.4) ==33016== by 0xACF6464: ??? (in /usr/lib/libgio-2.0.so.0.6600.4) ==33016== by 0xACF669E: ??? (in /usr/lib/libgio-2.0.so.0.6600.4) ==33016== by 0xAB36231: as_metadata_parse_file (as-metadata.c:683) ==33016== by 0x7F3F008: AppStream::Metadata::parseFile(QString const&, AppStream::Metadata::FormatKind) (metadata.cpp:139) ==33016== by 0x25DFE32B: FlatpakBackend::loadInstalledApps(_FlatpakInstallation*) (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:727) ==33016== by 0x25DFDB84: FlatpakBackend::loadInstalledApps() (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:690) ==33016== ==33016== Invalid free() / delete / delete[] / realloc() ==33016== at 0x483B9AB: free (vg_replace_malloc.c:538) ==33016== by 0x7F4068F: glib_autoptr_clear_GError(_GError*) (glib-autocleanups.h:52) ==33016== by 0x7F3F0D7: glib_autoptr_cleanup_GError(_GError**) (glib-autocleanups.h:52) ==33016== by 0x7F3F066: AppStream::Metadata::parseFile(QString const&, AppStream::Metadata::FormatKind) (metadata.cpp:146) ==33016== by 0x25DFE32B: FlatpakBackend::loadInstalledApps(_FlatpakInstallation*) (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:727) ==33016== by 0x25DFDB84: FlatpakBackend::loadInstalledApps() (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:690) ==33016== by 0x25DFDAAF: FlatpakBackend::metadataRefreshed() (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:625) ==33016== by 0x25E03E45: FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25::operator()() const (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:668) ==33016== by 0x25E03C25: QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25>::call(FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25&, void**) (devel/kde5/include/QtCore/qobjectdefs_impl.h:146) ==33016== by 0x25E03BF0: void QtPrivate::Functor<FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25, 0>::call<QtPrivate::List<>, void>(FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25&, void*, void**) (devel/kde5/include/QtCore/qobjectdefs_impl.h:256) ==33016== by 0x25E03B7B: QtPrivate::QFunctorSlotObject<FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (devel/kde5/include/QtCore/qobjectdefs_impl.h:443) ==33016== by 0x7456805: call (qobjectdefs_impl.h:398) ==33016== by 0x7456805: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3886) ==33016== Address 0x2fbdc930 is 0 bytes inside a block of size 16 free'd ==33016== at 0x483B9AB: free (vg_replace_malloc.c:538) ==33016== by 0xAB3882F: glib_autoptr_clear_GError (glib-autocleanups.h:52) ==33016== by 0xAB36557: glib_autoptr_cleanup_GError (glib-autocleanups.h:52) ==33016== by 0xAB36426: as_metadata_parse_file (as-metadata.c:730) ==33016== by 0x7F3F008: AppStream::Metadata::parseFile(QString const&, AppStream::Metadata::FormatKind) (metadata.cpp:139) ==33016== by 0x25DFE32B: FlatpakBackend::loadInstalledApps(_FlatpakInstallation*) (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:727) ==33016== by 0x25DFDB84: FlatpakBackend::loadInstalledApps() (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:690) ==33016== by 0x25DFDAAF: FlatpakBackend::metadataRefreshed() (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:625) ==33016== by 0x25E03E45: FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25::operator()() const (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:668) ==33016== by 0x25E03C25: QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25>::call(FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25&, void**) (devel/kde5/include/QtCore/qobjectdefs_impl.h:146) ==33016== by 0x25E03BF0: void QtPrivate::Functor<FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25, 0>::call<QtPrivate::List<>, void>(FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25&, void*, void**) (devel/kde5/include/QtCore/qobjectdefs_impl.h:256) ==33016== by 0x25E03B7B: QtPrivate::QFunctorSlotObject<FlatpakBackend::integrateRemote(_FlatpakInstallation*, _FlatpakRemote*)::$_25, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (devel/kde5/include/QtCore/qobjectdefs_impl.h:443) ==33016== Block was alloc'd at ==33016== at 0x483A77F: malloc (vg_replace_malloc.c:307) ==33016== by 0xA80A439: g_malloc (in /usr/lib/libglib-2.0.so.0.6600.4) ==33016== by 0xA82BB9F: g_slice_alloc (in /usr/lib/libglib-2.0.so.0.6600.4) ==33016== by 0xA7F7B9F: g_error_new_valist (in /usr/lib/libglib-2.0.so.0.6600.4) ==33016== by 0xA7F7DAB: g_set_error (in /usr/lib/libglib-2.0.so.0.6600.4) ==33016== by 0xACF6464: ??? (in /usr/lib/libgio-2.0.so.0.6600.4) ==33016== by 0xACF669E: ??? (in /usr/lib/libgio-2.0.so.0.6600.4) ==33016== by 0xAB36231: as_metadata_parse_file (as-metadata.c:683) ==33016== by 0x7F3F008: AppStream::Metadata::parseFile(QString const&, AppStream::Metadata::FormatKind) (metadata.cpp:139) ==33016== by 0x25DFE32B: FlatpakBackend::loadInstalledApps(_FlatpakInstallation*) (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:727) ==33016== by 0x25DFDB84: FlatpakBackend::loadInstalledApps() (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:690) ==33016== by 0x25DFDAAF: FlatpakBackend::metadataRefreshed() (devel/frameworks/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:625)
https://github.com/ximion/appstream/commit/306eb287a36a2779c304fe47b5473e468c7bd0f6 This fixes it, it's upstream already.
*** Bug 432528 has been marked as a duplicate of this bug. ***
I can confirm the latest appstream-0.14.0 fixes the issue. Discover is back. Thanks!