Bug 487088

Summary: Discover crashes when switching between repositories for firefox application
Product: [Applications] Discover Reporter: Robert Riemann <robert>
Component: discoverAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: aleixpol
Priority: NOR Keywords: drkonqi
Version First Reported In: 6.0.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
screencast of the steps that lead to crash

Description Robert Riemann 2024-05-16 08:52:19 UTC
Application: plasma-discover (6.0.4)

Qt Version: 6.7.0
Frameworks Version: 6.2.0
Operating System: Linux 6.8.9-300.fc40.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 40.20240514.0 (Kinoite)"
DrKonqi: 6.0.4 [CoredumpBackend]

-- Information about the crash:
I am on Fedora Kinoite 40 (atomic distro) and have firefox as part of the base image. I was thinking of installing firefox also as flatpak to have h264 playback support. When I wanted to check out firefox from other (flatpak) sources, the app crashed.

The reporter is unsure if this crash is reproducible.

-- Backtrace (Reduced):
#5  FlatpakResource::versionCompare (this=0x55abd99bdce0, resource=0x0) at /usr/src/debug/plasma-discover-6.0.4-2.fc40.x86_64/libdiscover/backends/FlatpakBackend/FlatpakResource.cpp:1009
#6  FlatpakResource::qt_static_metacall (_o=0x55abd99bdce0, _c=<optimized out>, _id=5, _a=0x7ffd0079f5e8) at /usr/src/debug/plasma-discover-6.0.4-2.fc40.x86_64/redhat-linux-build/libdiscover/backends/FlatpakBackend/flatpak-backend_autogen/EWIEGA46WW/moc_FlatpakResource.cpp:221
#7  0x00007f5b68125454 in FlatpakResource::qt_metacall (this=0x55abd99bdce0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7ffd0079f5e8) at /usr/src/debug/plasma-discover-6.0.4-2.fc40.x86_64/redhat-linux-build/libdiscover/backends/FlatpakBackend/flatpak-backend_autogen/EWIEGA46WW/moc_FlatpakResource.cpp:301
#8  0x00007f5ba33aba8a in QQmlObjectOrGadget::metacall (this=this@entry=0x7ffd0079f8b0, type=type@entry=QMetaObject::InvokeMetaMethod, index=<optimized out>, index@entry=22, argv=<optimized out>) at /usr/src/debug/qt6-qtdeclarative-6.7.0-2.fc40.x86_64/src/qml/qml/qqmlobjectorgadget.cpp:14
#9  0x00007f5ba324b3b2 in QV4::CallMethod (object=..., index=<optimized out>, returnType=..., argCount=<optimized out>, argTypes=<optimized out>, engine=<optimized out>, callArgs=<optimized out>, callType=<optimized out>) at /usr/include/qt6/QtCore/qvarlengtharray.h:84


Reported using DrKonqi
Comment 1 Robert Riemann 2024-05-16 08:52:20 UTC
Created attachment 169524 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Robert Riemann 2024-05-16 08:56:22 UTC
I can reproduce this bug. I search for "firefox", I click on the first search result, I switch source from "fedora" to "flathub" and the app crashes after a delay of 2 seconds.
Comment 3 Robert Riemann 2024-05-16 09:01:04 UTC
Created attachment 169525 [details]
screencast of the steps that lead to crash
Comment 4 Aleix Pol 2025-04-12 17:02:47 UTC
This  should have been fixed by 3f1a023d first in 6.2.0.