https://bugs.kde.org/show_bug.cgi?id=510173

--- Comment #4 from Aleix Pol <[email protected]> ---
Hm that other crash you mention is just another assertion but has not much to
do.

Here we're seeing a call to load all packages and it seems like one of them
it's a firmware. Normally firmwares are in fwupd so we'd need to understand if
it's legitimate that there's firmwares here.

Testing with this extra information would help:

diff --git a/libdiscover/backends/PackageKitBackend/PackageKitBackend.cpp
b/libdiscover/backends/PackageKitBackend/PackageKitBackend.cpp
index 2ac52e5d1..76036d136 100644
--- a/libdiscover/backends/PackageKitBackend/PackageKitBackend.cpp
+++ b/libdiscover/backends/PackageKitBackend/PackageKitBackend.cpp
@@ -393,6 +393,7 @@ AppPackageKitResource
*PackageKitBackend::addComponent(const AppStream::Componen
 {
     const QStringList pkgNames = component.packageNames();
     Q_ASSERT(!pkgNames.isEmpty());
+    qWarning() << "BOOM!" << component.id() << component.kind() <<
component.packageNames();
     Q_ASSERT(component.kind() != AppStream::Component::KindFirmware);

     auto appId = makeAppId(component.id());

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to