https://bugs.kde.org/show_bug.cgi?id=470655
Bug ID: 470655 Summary: Open .flatpakref file in Discover crashes it inFlatpakBackend::addAppFromFlatpakRef() Classification: Applications Product: Discover Version: master Platform: Other OS: Linux Status: REPORTED Keywords: qt6 Severity: normal Priority: NOR Component: Flatpak Backend Assignee: plasma-b...@kde.org Reporter: n...@kde.org CC: aleix...@kde.org, jgrul...@redhat.com, trav...@redhat.com Target Milestone: --- Did not see this in Plasma 5; seems to be a Plasma 6 regression. Tested with https://dl.flathub.org/repo/appstream/com.jetbrains.PyCharm-Community.flatpakref while attempting to reproduce Bug 470437. Just download that file and open it in Discover. Backtrace: #0 flatpak_remote_get_url (self=<optimized out>) at ../common/flatpak-remote.c:324 #1 0x00007fffd84de5f9 in FlatpakBackend::addAppFromFlatpakRef(QUrl const&, ResultsStream*) (this=0x7da910, url=..., stream=0x5c9eec0) at /home/nate/kde/src/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:840 #2 0x00007fffd84e9b10 in FlatpakFetchRemoteResourceJob::processFile(QUrl const&) (this=0x420a1d0, fileUrl=...) at /home/nate/kde/src/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:404 #3 0x00007ffff4fcf797 in QObject::event(QEvent*) (this=0x5c9eec0, e=0x420a500) at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/corelib/kernel/qobject.cpp:1391 #4 0x00007ffff75c0b08 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x5c9eec0, e=0x420a500) at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/widgets/kernel/qapplication.cpp:3287 #5 0x00007ffff4f7c308 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5c9eec0, event=0x420a500) at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/corelib/kernel/qcoreapplication.cpp:1115 #6 0x00007ffff4f7c50d in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/corelib/kernel/qcoreapplication.cpp:1533 #7 0x00007ffff4f7fd75 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x4a0810) at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/corelib/kernel/qcoreapplication.cpp:1895 #8 0x00007ffff4f800ad in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=<optimized out>, event_type=<optimized out>) at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/corelib/kernel/qcoreapplication.cpp:1754 #9 0x00007ffff52206df in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x5506f0) at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:243 #10 0x00007ffff44b639c in g_main_dispatch (context=0x7fffdc000f10) at ../glib/gmain.c:3460 #11 g_main_context_dispatch (context=0x7fffdc000f10) at ../glib/gmain.c:4200 #12 0x00007ffff4514438 in g_main_context_iterate.isra.0 (context=0x7fffdc000f10, block=1, dispatch=1, self=<optimized out>) at ../glib/gmain.c:4276 #13 0x00007ffff44b3a23 in g_main_context_iteration (context=0x7fffdc000f10, may_block=1) at ../glib/gmain.c:4343 #14 0x00007ffff521ff7f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x543730, flags=...) at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:393 #15 0x00007ffff4f88e93 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffcdb0, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/corelib/global/qflags.h:34 #16 0x00007ffff4f84b3d in QCoreApplication::exec() () at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/corelib/global/qflags.h:74 #17 0x00007ffff59f85cd in QGuiApplication::exec() () at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/gui/kernel/qguiapplication.cpp:1894 #18 0x00007ffff75c0a79 in QApplication::exec() () at /usr/src/debug/qt6-qtbase-6.5.1-1.fc38.x86_64/src/widgets/kernel/qapplication.cpp:2566 #19 0x0000000000416c75 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /home/nate/kde/src/discover/discover/main.cpp:224 -- You are receiving this mail because: You are watching all bug changes.