| Summary: | Discover crashed inFlatpakBackend::addAppFromFlatpakRef() after opening a .flatpakref file | ||
|---|---|---|---|
| Product: | [Applications] Discover | Reporter: | Patrick Silva <bugseforuns> |
| Component: | discover | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | crash | CC: | aleixpol, bharadwaj.raju777, nate |
| Priority: | NOR | Keywords: | qt6 |
| Version First Reported In: | 5.27.80 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | test file | ||
|
Description
Patrick Silva
2023-11-20 16:41:18 UTC
Can you share the .flatpakref file which caused this? Created attachment 163369 [details]
test file
Cannot reproduce consistently, I need to repeat the provided steps a few times.
Can reproduce 100% reliably with that file. Backtrace of the crashing thread:
#0 flatpak_remote_get_url (self=<optimized out>) at ../common/flatpak-remote.c:324
#1 0x00007fffd19464c8 in FlatpakBackend::addAppFromFlatpakRef(QUrl const&, ResultsStream*)
(this=0x753690, url=..., stream=0x155e250)
at /home/nate/kde/src/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:831
#2 0x00007fffd1950660 in FlatpakFetchRemoteResourceJob::processFile(QUrl const&)
(this=0x156bea0, fileUrl=...)
at /home/nate/kde/src/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:396
#3 0x00007ffff4df3617 in QObject::event(QEvent*) (this=0x155e250, e=0x1557910)
at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/kernel/qobject.cpp:1437
#4 0x00007ffff75c2b38 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=<optimized out>, receiver=0x155e250, e=0x1557910)
at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/widgets/kernel/qapplication.cpp:3290
#5 0x00007ffff4da0ba8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x155e250, event=0x1557910)
at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/kernel/qcoreapplication.cpp:1118
#6 0x00007ffff4da0dad in QCoreApplication::sendEvent(QObject*, QEvent*)
(receiver=<optimized out>, event=<optimized out>)
at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/kernel/qcoreapplication.cpp:1536
#7 0x00007ffff4da4aa5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
(receiver=0x0, event_type=0, data=0x4a8830)
at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/kernel/qcoreapplication.cpp:1898
#8 0x00007ffff4da4e1d in QCoreApplication::sendPostedEvents(QObject*, int)
(receiver=<optimized out>, event_type=<optimized out>)
at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/kernel/qcoreapplication.cpp:1757
#9 0x00007ffff50410bf in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x536ea0)
at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:243
#10 0x00007ffff43ebe5c in g_main_dispatch (context=0x7fffdc000ef0) at ../glib/gmain.c:3476
#11 g_main_context_dispatch_unlocked (context=0x7fffdc000ef0) at ../glib/gmain.c:4284
#12 0x00007ffff4446dd8 in g_main_context_iterate_unlocked.isra.0
(context=context@entry=0x7fffdc000ef0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4349
#13 0x00007ffff43e9ad3 in g_main_context_iteration (context=0x7fffdc000ef0, may_block=1)
at ../glib/gmain.c:4414
#14 0x00007ffff504096f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x47aef0, flags=...)
at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:393
#15 0x00007ffff4dad9bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7fffffffc960, flags=..., flags@entry=...)
at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/global/qflags.h:34
#16 0x00007ffff4da97bd in QCoreApplication::exec() ()
at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/global/qflags.h:74
#17 0x00007ffff57f8b4d in QGuiApplication::exec() ()
at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/gui/kernel/qguiapplication.cpp:1921
#18 0x00007ffff75c2aa9 in QApplication::exec() ()
at /usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/widgets/kernel/qapplication.cpp:2569
#19 0x0000000000416db0 in main(int, char**) (argc=<optimized out>, argv=<optimized out>)
at /home/nate/kde/src/discover/discover/main.cpp:225
*** This bug has been marked as a duplicate of bug 486057 *** |