https://bugs.kde.org/show_bug.cgi?id=419107
Bug ID: 419107 Summary: Discover crashes when opening some app details page Product: Discover Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Flatpak Backend Assignee: lei...@leinir.dk Reporter: jbb.m...@gmx.de CC: aleix...@kde.org, jgrul...@redhat.com Target Milestone: --- Created attachment 126941 --> https://bugs.kde.org/attachment.cgi?id=126941&action=edit gdb backtrace SUMMARY Discover crashes when opening an app details page of an app that is available from a local source, for example because one used flatpak-builder --install. Since the crash references the IconUrlRole, discover might crash on every repository that doesn't have an icon, but I wasn't able to verify that. gdb output of the crash: Thread 1 "plasma-discover" received signal SIGSEGV, Segmentation fault. 0x00007fffc42fbb32 in FlatpakResource::sourceIcon (this=0xce8c70) at /home/jbb/kde/src/discover/libdiscover/backends/FlatpakBackend/FlatpakResource.cpp:573 573 const auto iconUrl = qobject_cast<FlatpakBackend*>(backend())->sources()->sourceById(origin())->data(FlatpakSourcesBackend::IconUrlRole).toString(); STEPS TO REPRODUCE 1. Compile an app locally with flatpak-builder --install 2. open the details page of that app in discover 3. See discover crash OBSERVED RESULT crash EXPECTED RESULT no crash, app details are displayed SOFTWARE/OS VERSIONS Operating System: Debian GNU/Linux KDE Plasma Version: 5.18.80 KDE Frameworks Version: 5.68.0 Qt Version: 5.15.0 Kernel Version: 5.4.0-4-amd64 OS-Type: 64-bit Processor: 4 × Intel® Core™ i5-5200U CPU @ 2.20GHz Memory: 7,8 GiB ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.