Bug 477291 - Discover crashed inFlatpakBackend::addAppFromFlatpakRef() after opening a .flatpakref file
Summary: Discover crashed inFlatpakBackend::addAppFromFlatpakRef() after opening a .fl...
Status: CONFIRMED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.27.80
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-11-20 16:41 UTC by Patrick Silva
Modified: 2023-11-27 03:43 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
test file (3.92 KB, application/vnd.flatpak.ref)
2023-11-22 16:00 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2023-11-20 16:41:18 UTC
Operating System: Arch Linux 
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Graphics Platform: Wayland


Thread 17 (Thread 0x7fd4e7fff6c0 (LWP 15157)):
#0  0x00007fd53cf20f6f in __GI___poll (fds=0x7fd4dc000b90, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fd53c8ae276 in g_main_context_poll_unlocked (priority=2147483647, n_fds=3, fds=0x7fd4dc000b90, timeout=<optimized out>, context=0x7fd4e000afd0) at ../glib/glib/gmain.c:4653
#2  g_main_context_iterate_unlocked.isra.0 (context=0x7fd4e000afd0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4344
#3  0x00007fd53c850b97 in g_main_loop_run (loop=0x7fd4e000b100) at ../glib/glib/gmain.c:4551
#4  0x00007fd53bad714c in gdbus_shared_thread_func (user_data=0x7fd4e000afa0) at ../glib/gio/gdbusprivate.c:284
#5  0x00007fd53c8819f5 in g_thread_proxy (data=0x7fd4e000b120) at ../glib/glib/gthread.c:831
#6  0x00007fd53ceaa9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#7  0x00007fd53cf2e7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 16 (Thread 0x7fd535ef96c0 (LWP 15148)):
#0  0x00007fd53cea74ae in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55f274bbe0f0) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55f274bbe0f0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007fd53cea752f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55f274bbe0f0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007fd53cea9d40 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55f274bbe0a0, cond=0x55f274bbe0c8) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55f274bbe0c8, mutex=0x55f274bbe0a0) at pthread_cond_wait.c:618
#5  0x00007fd525ed1b5c in cnd_wait () at ../mesa-23.2.1/src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func() () at ../mesa-23.2.1/src/util/u_queue.c:290
#7  0x00007fd525f1ca0c in impl_thrd_routine() () at ../mesa-23.2.1/src/c11/impl/threads_posix.c:67
#8  0x00007fd53ceaa9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#9  0x00007fd53cf2e7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 15 (Thread 0x7fd5372806c0 (LWP 15146)):
#0  0x00007fd53cea74ae in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55f274af98a4) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55f274af98a4, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007fd53cea752f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55f274af98a4, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007fd53cea9d40 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55f274af9850, cond=0x55f274af9878) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55f274af9878, mutex=0x55f274af9850) at pthread_cond_wait.c:618
#5  0x00007fd53d6cc950 in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55f274af9850) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qwaitcondition_unix.cpp:103
#6  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55f274aab540, mutex=mutex@entry=0x55f274aab538, deadline=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qwaitcondition_unix.cpp:181
#7  0x00007fd53857e998 in QtWaylandClient::EventThread::waitForReading() (this=0x55f274aab500) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.6.0/src/client/qwaylanddisplay.cpp:218
#8  QtWaylandClient::EventThread::run() (this=0x55f274aab500) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.6.0/src/client/qwaylanddisplay.cpp:179
#9  0x00007fd53d6c97b3 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:324
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:260
#11 QThreadPrivate::start(void*) (arg=0x55f274aab500) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:283
#12 0x00007fd53ceaa9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#13 0x00007fd53cf2e7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 14 (Thread 0x7fd4e6ffd6c0 (LWP 15159)):
#0  0x00007fd53cea74ae in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7fd4e6ffc820, op=137, expected=0, futex_word=0x55f274f0dcb0) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55f274f0dcb0, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7fd4e6ffc820, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007fd53cea752f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55f274f0dcb0, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7fd4e6ffc820, private=private@entry=0) at futex-internal.c:139
#3  0x00007fd53ceaa055 in __pthread_cond_wait_common (abstime=0x7fd4e6ffc820, clockid=1, mutex=0x55f274f0dc60, cond=0x55f274f0dc88) at pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x55f274f0dc88, mutex=0x55f274f0dc60, abstime=0x7fd4e6ffc820) at pthread_cond_wait.c:643
#5  0x00007fd53d6cc8e4 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (deadline=..., this=0x55f274f0dc60) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qwaitcondition_unix.cpp:93
#6  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55f274f0dc60) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qwaitcondition_unix.cpp:101
#7  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55f274f526b0, mutex=mutex@entry=0x55f274f521d8, deadline=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qwaitcondition_unix.cpp:181
#8  0x00007fd53d6cf40a in QThreadPoolThread::run() (this=0x55f274f526a0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthreadpool.cpp:114
#9  0x00007fd53d6c97b3 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:324
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:260
#11 QThreadPrivate::start(void*) (arg=0x55f274f526a0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:283
#12 0x00007fd53ceaa9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#13 0x00007fd53cf2e7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 13 (Thread 0x7fd5356c36c0 (LWP 15151)):
#0  0x00007fd53cea74ae in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55f274c81228) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55f274c81228, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007fd53cea752f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55f274c81228, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007fd53cea9d40 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55f274c811d8, cond=0x55f274c81200) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55f274c81200, mutex=0x55f274c811d8) at pthread_cond_wait.c:618
#5  0x00007fd525ed1b5c in cnd_wait () at ../mesa-23.2.1/src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func() () at ../mesa-23.2.1/src/util/u_queue.c:290
#7  0x00007fd525f1ca0c in impl_thrd_routine() () at ../mesa-23.2.1/src/c11/impl/threads_posix.c:67
#8  0x00007fd53ceaa9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#9  0x00007fd53cf2e7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 12 (Thread 0x7fd5389ad4c0 (LWP 15144)):
#0  0x00007fd53cf20f6f in __GI___poll (fds=fds@entry=0x7ffdd4dd5a98, nfds=nfds@entry=1, timeout=timeout@entry=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fd53fb95e32 in poll (__timeout=1000, __nfds=1, __fds=0x7ffdd4dd5a98) at /usr/include/bits/poll2.h:39
#2  pollDrKonqiSocket (sockfd=3, pid=<optimized out>) at /usr/src/debug/kcrash/kcrash-5.245.0/src/kcrash.cpp:844
#3  KCrash::startProcess(int, char const**, bool) (argv=argv@entry=0x7ffdd4dd5bd8, waitAndExit=waitAndExit@entry=true, argc=<optimized out>) at /usr/src/debug/kcrash/kcrash-5.245.0/src/kcrash.cpp:706
#4  0x00007fd53fb968f0 in KCrash::defaultCrashHandler(int) (sig=11) at /usr/src/debug/kcrash/kcrash-5.245.0/src/kcrash.cpp:602
#5  0x00007fd53ce5c710 in <signal handler called> () at /usr/lib/libc.so.6
#6  0x00007fd53fde6788 in AbstractResource::backend() const (this=this@entry=0x55f276538d40) at /usr/src/debug/discover/discover-5.27.80/libdiscover/resources/AbstractResource.cpp:87
#7  0x00007fd53fde6dfe in AbstractResource::rating() const (this=0x55f276538d40) at /usr/src/debug/discover/discover-5.27.80/libdiscover/resources/AbstractResource.cpp:125
#8  0x00007fd53fdd5881 in ResourcesProxyModel::roleToValue(StreamResult const&, int) const (this=this@entry=0x55f275299450, result=<optimized out>, role=role@entry=263) at /usr/src/debug/discover/discover-5.27.80/libdiscover/resources/ResourcesProxyModel.cpp:562
#9  0x00007fd53fdd5ce7 in ResourcesProxyModel::lessThan(StreamResult const&, StreamResult const&) const (this=this@entry=0x55f275299450, left=<optimized out>, right=...) at /usr/src/debug/discover/discover-5.27.80/libdiscover/resources/ResourcesProxyModel.cpp:429
#10 0x00007fd53fdd5f2e in ResourcesProxyModel::orderedLessThan(StreamResult const&, StreamResult const&) const (this=0x55f275299450, left=<optimized out>, right=<optimized out>) at /usr/src/debug/discover/discover-5.27.80/libdiscover/resources/ResourcesProxyModel.cpp:414
#11 0x00007fd53fdde56c in operator()<StreamResult, StreamResult> (res2=..., res=..., __closure=<synthetic pointer>) at /usr/src/debug/discover/discover-5.27.80/libdiscover/resources/ResourcesProxyModel.cpp:273
#12 __gnu_cxx::__ops::_Iter_comp_iter<ResourcesProxyModel::addResources(QVector<StreamResult>&)::<lambda(auto:38, auto:39)> >::operator()<QList<StreamResult>::iterator, QList<StreamResult>::iterator> (__it2=..., __it1=..., this=<synthetic pointer>) at /usr/include/c++/13.2.1/bits/predefined_ops.h:158
#13 std::__unguarded_partition<QList<StreamResult>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<ResourcesProxyModel::addResources(QVector<StreamResult>&)::<lambda(auto:38, auto:39)> > > (__comp=..., __pivot=..., __last=..., __first=...) at /usr/include/c++/13.2.1/bits/stl_algo.h:1877
#14 std::__unguarded_partition_pivot<QList<StreamResult>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<ResourcesProxyModel::addResources(QVector<StreamResult>&)::<lambda(auto:38, auto:39)> > > (__comp=..., __last=..., __first=...) at /usr/include/c++/13.2.1/bits/stl_algo.h:1899
#15 std::__introsort_loop<QList<StreamResult>::iterator, long long int, __gnu_cxx::__ops::_Iter_comp_iter<ResourcesProxyModel::addResources(QVector<StreamResult>&)::<lambda(auto:38, auto:39)> > >(QList<StreamResult>::iterator, QList<StreamResult>::iterator, long long, __gnu_cxx::__ops::_Iter_comp_iter<ResourcesProxyModel::addResources(QVector<StreamResult>&)::<lambda(auto:38, auto:39)> >) (__first=__first@entry=..., __last=..., __last@entry=..., __depth_limit=<optimized out>, __depth_limit@entry=12, __comp=__comp@entry=...) at /usr/include/c++/13.2.1/bits/stl_algo.h:1931
#16 0x00007fd53fdde60b in std::__introsort_loop<QList<StreamResult>::iterator, long long int, __gnu_cxx::__ops::_Iter_comp_iter<ResourcesProxyModel::addResources(QVector<StreamResult>&)::<lambda(auto:38, auto:39)> > >(QList<StreamResult>::iterator, QList<StreamResult>::iterator, long long, __gnu_cxx::__ops::_Iter_comp_iter<ResourcesProxyModel::addResources(QVector<StreamResult>&)::<lambda(auto:38, auto:39)> >) (__first=__first@entry=..., __last=..., __last@entry=..., __depth_limit=<optimized out>, __depth_limit@entry=13, __comp=__comp@entry=...) at /usr/include/c++/13.2.1/bits/stl_algo.h:1932
#17 0x00007fd53fdde60b in std::__introsort_loop<QList<StreamResult>::iterator, long long int, __gnu_cxx::__ops::_Iter_comp_iter<ResourcesProxyModel::addResources(QVector<StreamResult>&)::<lambda(auto:38, auto:39)> > >(QList<StreamResult>::iterator, QList<StreamResult>::iterator, long long, __gnu_cxx::__ops::_Iter_comp_iter<ResourcesProxyModel::addResources(QVector<StreamResult>&)::<lambda(auto:38, auto:39)> >) (__first=__first@entry=..., __last=..., __last@entry=..., __depth_limit=<optimized out>, __depth_limit@entry=14, __comp=__comp@entry=...) at /usr/include/c++/13.2.1/bits/stl_algo.h:1932
#18 0x00007fd53fdde60b in std::__introsort_loop<QList<StreamResult>::iterator, long long int, __gnu_cxx::__ops::_Iter_comp_iter<ResourcesProxyModel::addResources(QVector<StreamResult>&)::<lambda(auto:38, auto:39)> > >(QList<StreamResult>::iterator, QList<StreamResult>::iterator, long long, __gnu_cxx::__ops::_Iter_comp_iter<ResourcesProxyModel::addResources(QVector<StreamResult>&)::<lambda(auto:38, auto:39)> >) (__first=__first@entry=..., __last=..., __last@entry=..., __depth_limit=<optimized out>, __depth_limit@entry=15, __comp=__comp@entry=...) at /usr/include/c++/13.2.1/bits/stl_algo.h:1932
#19 0x00007fd53fdde60b in std::__introsort_loop<QList<StreamResult>::iterator, long long int, __gnu_cxx::__ops::_Iter_comp_iter<ResourcesProxyModel::addResources(QVector<StreamResult>&)::<lambda(auto:38, auto:39)> > >(QList<StreamResult>::iterator, QList<StreamResult>::iterator, long long, __gnu_cxx::__ops::_Iter_comp_iter<ResourcesProxyModel::addResources(QVector<StreamResult>&)::<lambda(auto:38, auto:39)> >) (__first=..., __last=..., __depth_limit=<optimized out>, __comp=...) at /usr/include/c++/13.2.1/bits/stl_algo.h:1932
#20 0x00007fd53fdd697f in std::__sort<QList<StreamResult>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<ResourcesProxyModel::addResources(QVector<StreamResult>&)::<lambda(auto:38, auto:39)> > > (__comp=..., __last=..., __first=...) at /usr/include/c++/13.2.1/bits/stl_algo.h:1947
#21 std::sort<QList<StreamResult>::iterator, ResourcesProxyModel::addResources(QVector<StreamResult>&)::<lambda(auto:38, auto:39)> > (__comp=..., __last=..., __first=...) at /usr/include/c++/13.2.1/bits/stl_algo.h:4894
#22 ResourcesProxyModel::addResources(QList<StreamResult> const&) (this=0x55f275299450, _res=<optimized out>) at /usr/src/debug/discover/discover-5.27.80/libdiscover/resources/ResourcesProxyModel.cpp:273
#23 0x00007fd53d5b9a59 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffdd4dd6fb0, r=0x55f275299450, this=0x55f275375690, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qobjectdefs_impl.h:433
#24 doActivate<false>(QObject*, int, void**) (sender=0x55f27530f7e0, signal_index=3, argv=0x7ffdd4dd6fb0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qobject.cpp:4021
#25 0x00007fd53fda6137 in ResultsStream::resourcesFound(QList<StreamResult> const&) (this=<optimized out>, _t1=...) at /usr/src/debug/discover/build/libdiscover/DiscoverCommon_autogen/3YJK5W5UP7/moc_AbstractResourcesBackend.cpp:187
#26 0x00007fd4f44b0706 in operator()() const (__closure=0x55f275375160) at /usr/src/debug/discover/discover-5.27.80/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:1626
#27 0x00007fd53d5b9a59 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffdd4dd7188, r=0x55f27530f7e0, this=0x55f275375150, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qobjectdefs_impl.h:433
#28 doActivate<false>(QObject*, int, void**) (sender=0x55f274ecc790, signal_index=11, argv=0x7ffdd4dd7188) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qobject.cpp:4021
#29 0x00007fd4f44b4c39 in operator() (__closure=0x55f274f84330) at /usr/src/debug/discover/discover-5.27.80/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:1080
#30 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, FlatpakBackend::createPool(QSharedPointer<FlatpakSource>)::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:137
#31 QtPrivate::Functor<FlatpakBackend::createPool(QSharedPointer<FlatpakSource>)::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:339
#32 QtPrivate::QCallableObject<FlatpakBackend::createPool(QSharedPointer<FlatpakSource>)::<lambda()>, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x55f274f84320, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:522
#33 0x00007fd53d5b9a59 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffdd4dd72f8, r=0x55f274ecc790, this=0x55f274f84320, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qobjectdefs_impl.h:433
#34 doActivate<false>(QObject*, int, void**) (sender=0x55f274f84170, signal_index=4, argv=0x7ffdd4dd72f8) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qobject.cpp:4021
#35 0x00007fd53d6d7514 in QFutureWatcherBase::finished() (this=0x55f274f84170) at /usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qfuturewatcher.cpp:454
#36 QFutureWatcherBasePrivate::sendCallOutEvent(QFutureCallOutEvent*) (event=0x7fd4d000c280, this=0x55f274f841a0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qfuturewatcher.cpp:493
#37 QFutureWatcherBase::event(QEvent*) (this=<optimized out>, event=0x7fd4d000c280) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qfuturewatcher.cpp:392
#38 0x00007fd53f57318b in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55f274f84170, e=0x7fd4d000c280) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qapplication.cpp:3290
#39 0x00007fd53d5626d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55f274f84170, event=event@entry=0x7fd4d000c280) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1118
#40 0x00007fd53d562a5b in QCoreApplication::sendEvent(QObject*, QEvent*) (event=0x7fd4d000c280, receiver=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1536
#41 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x55f274a6e1d0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1898
#42 0x00007fd53d799d24 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1757
#43 postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x55f274ade5f0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventdispatcher_glib.cpp:243
#44 0x00007fd53c84ff69 in g_main_dispatch (context=0x7fd530000ef0) at ../glib/glib/gmain.c:3476
#45 0x00007fd53c8ae327 in g_main_context_dispatch_unlocked (context=0x7fd530000ef0) at ../glib/glib/gmain.c:4284
#46 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7fd530000ef0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349
#47 0x00007fd53c84e162 in g_main_context_iteration (context=0x7fd530000ef0, may_block=1) at ../glib/glib/gmain.c:4414
#48 0x00007fd53d797934 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55f274a71bb0, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventdispatcher_glib.cpp:393
#49 0x00007fd53d56cc5e in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=..., this=0x7ffdd4dd7770) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventloop.cpp:100
#50 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffdd4dd7770, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventloop.cpp:182
#51 0x00007fd53d565178 in QCoreApplication::exec() () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/global/qflags.h:74
#52 0x00007fd53f56fd1a in QApplication::exec() () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qapplication.cpp:2569
#53 0x000055f273da8496 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/discover/discover-5.27.80/discover/main.cpp:225

Thread 11 (Thread 0x7fd4e55f96c0 (LWP 15162)):
#0  0x00007fd53cea74ae in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7fd4e55f8820, op=137, expected=0, futex_word=0x55f274f878c0) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55f274f878c0, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7fd4e55f8820, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007fd53cea752f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55f274f878c0, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7fd4e55f8820, private=private@entry=0) at futex-internal.c:139
#3  0x00007fd53ceaa055 in __pthread_cond_wait_common (abstime=0x7fd4e55f8820, clockid=1, mutex=0x55f274f87870, cond=0x55f274f87898) at pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x55f274f87898, mutex=0x55f274f87870, abstime=0x7fd4e55f8820) at pthread_cond_wait.c:643
#5  0x00007fd53d6cc8e4 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (deadline=..., this=0x55f274f87870) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qwaitcondition_unix.cpp:93
#6  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55f274f87870) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qwaitcondition_unix.cpp:101
#7  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55f274f85fe0, mutex=mutex@entry=0x55f274f043c8, deadline=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qwaitcondition_unix.cpp:181
#8  0x00007fd53d6cf40a in QThreadPoolThread::run() (this=0x55f274f85fd0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthreadpool.cpp:114
#9  0x00007fd53d6c97b3 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:324
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:260
#11 QThreadPrivate::start(void*) (arg=0x55f274f85fd0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:283
#12 0x00007fd53ceaa9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#13 0x00007fd53cf2e7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 10 (Thread 0x7fd534e4c6c0 (LWP 15152)):
#0  0x00007fd53cea74ae in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55f274d332a8) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55f274d332a8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007fd53cea752f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55f274d332a8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007fd53cea9d40 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55f274d33258, cond=0x55f274d33280) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55f274d33280, mutex=0x55f274d33258) at pthread_cond_wait.c:618
#5  0x00007fd525ed1b5c in cnd_wait () at ../mesa-23.2.1/src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func() () at ../mesa-23.2.1/src/util/u_queue.c:290
#7  0x00007fd525f1ca0c in impl_thrd_routine() () at ../mesa-23.2.1/src/c11/impl/threads_posix.c:67
#8  0x00007fd53ceaa9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#9  0x00007fd53cf2e7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 9 (Thread 0x7fd4e5dfa6c0 (LWP 15161)):
#0  0x00007fd53cea74ae in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7fd4e5df9820, op=137, expected=0, futex_word=0x55f274f84ed0) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55f274f84ed0, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7fd4e5df9820, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007fd53cea752f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55f274f84ed0, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7fd4e5df9820, private=private@entry=0) at futex-internal.c:139
#3  0x00007fd53ceaa055 in __pthread_cond_wait_common (abstime=0x7fd4e5df9820, clockid=1, mutex=0x55f274f84e80, cond=0x55f274f84ea8) at pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x55f274f84ea8, mutex=0x55f274f84e80, abstime=0x7fd4e5df9820) at pthread_cond_wait.c:643
#5  0x00007fd53d6cc8e4 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (deadline=..., this=0x55f274f84e80) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qwaitcondition_unix.cpp:93
#6  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55f274f84e80) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qwaitcondition_unix.cpp:101
#7  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55f274f83560, mutex=mutex@entry=0x55f274f043c8, deadline=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qwaitcondition_unix.cpp:181
#8  0x00007fd53d6cf40a in QThreadPoolThread::run() (this=0x55f274f83550) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthreadpool.cpp:114
#9  0x00007fd53d6c97b3 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:324
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:260
#11 QThreadPrivate::start(void*) (arg=0x55f274f83550) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:283
#12 0x00007fd53ceaa9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#13 0x00007fd53cf2e7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 8 (Thread 0x7fd4e65fb6c0 (LWP 15160)):
#0  0x00007fd53cea74ae in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7fd4e65fa820, op=137, expected=0, futex_word=0x55f274f82920) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55f274f82920, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7fd4e65fa820, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007fd53cea752f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55f274f82920, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7fd4e65fa820, private=private@entry=0) at futex-internal.c:139
#3  0x00007fd53ceaa055 in __pthread_cond_wait_common (abstime=0x7fd4e65fa820, clockid=1, mutex=0x55f274f828d0, cond=0x55f274f828f8) at pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x55f274f828f8, mutex=0x55f274f828d0, abstime=0x7fd4e65fa820) at pthread_cond_wait.c:643
#5  0x00007fd53d6cc8e4 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (deadline=..., this=0x55f274f828d0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qwaitcondition_unix.cpp:93
#6  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55f274f828d0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qwaitcondition_unix.cpp:101
#7  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55f274f7f460, mutex=mutex@entry=0x55f274f043c8, deadline=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qwaitcondition_unix.cpp:181
#8  0x00007fd53d6cf40a in QThreadPoolThread::run() (this=0x55f274f7f450) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthreadpool.cpp:114
#9  0x00007fd53d6c97b3 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:324
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:260
#11 QThreadPrivate::start(void*) (arg=0x55f274f7f450) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:283
#12 0x00007fd53ceaa9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#13 0x00007fd53cf2e7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 7 (Thread 0x7fd4f5fba6c0 (LWP 15154)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fd53c8a92b7 in g_cond_wait (cond=0x55f274e8ca18, mutex=0x55f274e8ca10) at ../glib/glib/gthread-posix.c:1552
#2  0x00007fd53c81b1b4 in g_async_queue_pop_intern_unlocked (queue=0x55f274e8ca10, wait=1, end_time=-1) at ../glib/glib/gasyncqueue.c:425
#3  0x00007fd53c883a7e in g_thread_pool_spawn_thread (data=<optimized out>) at ../glib/glib/gthreadpool.c:311
#4  0x00007fd53c8819f5 in g_thread_proxy (data=0x55f274e8ca60) at ../glib/glib/gthread.c:831
#5  0x00007fd53ceaa9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#6  0x00007fd53cf2e7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 6 (Thread 0x7fd4e77fe6c0 (LWP 15158)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fd53c8a9c93 in g_cond_wait_until (cond=<optimized out>, mutex=0x55f274e8c9c0, end_time=<optimized out>) at ../glib/glib/gthread-posix.c:1677
#2  0x00007fd53c81b185 in g_async_queue_pop_intern_unlocked (queue=0x55f274e8c9c0, wait=1, end_time=5610455604) at ../glib/glib/gasyncqueue.c:428
#3  0x00007fd53c81b2e7 in g_async_queue_timeout_pop (queue=0x55f274e8c9c0, timeout=<optimized out>) at ../glib/glib/gasyncqueue.c:551
#4  0x00007fd53c88436e in g_thread_pool_wait_for_new_pool () at ../glib/glib/gthreadpool.c:181
#5  g_thread_pool_thread_proxy (data=<optimized out>) at ../glib/glib/gthreadpool.c:408
#6  0x00007fd53c8819f5 in g_thread_proxy (data=0x7fd4e8000b90) at ../glib/glib/gthread.c:831
#7  0x00007fd53ceaa9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#8  0x00007fd53cf2e7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 5 (Thread 0x7fd536a7f6c0 (LWP 15147)):
#0  0x00007fd53cf20f6f in __GI___poll (fds=fds@entry=0x7fd536a7e8b0, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fd53857ea18 in poll (__timeout=-1, __nfds=2, __fds=0x7fd536a7e8b0) at /usr/include/bits/poll2.h:39
#2  QtWaylandClient::EventThread::run() (this=0x55f274ad2c50) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.6.0/src/client/qwaylanddisplay.cpp:184
#3  0x00007fd53d6c97b3 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:324
#4  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:260
#5  QThreadPrivate::start(void*) (arg=0x55f274ad2c50) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:283
#6  0x00007fd53ceaa9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#7  0x00007fd53cf2e7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 4 (Thread 0x7fd4f4fb86c0 (LWP 15156)):
#0  0x00007fd53cf20f6f in __GI___poll (fds=0x7fd4e0000b90, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fd53c8ae276 in g_main_context_poll_unlocked (priority=2147483647, n_fds=1, fds=0x7fd4e0000b90, timeout=<optimized out>, context=0x55f274e80f10) at ../glib/glib/gmain.c:4653
#2  g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x55f274e80f10, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4344
#3  0x00007fd53c84e162 in g_main_context_iteration (context=context@entry=0x55f274e80f10, may_block=may_block@entry=1) at ../glib/glib/gmain.c:4414
#4  0x00007fd4faafdfde in dconf_gdbus_worker_thread (user_data=0x55f274e80f10) at ../dconf/gdbus/dconf-gdbus-thread.c:82
#5  0x00007fd53c8819f5 in g_thread_proxy (data=0x55f274e90210) at ../glib/glib/gthread.c:831
#6  0x00007fd53ceaa9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#7  0x00007fd53cf2e7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x7fd4f71ff6c0 (LWP 15153)):
#0  0x00007fd53cf20f6f in __GI___poll (fds=0x55f274bdded0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fd53c8ae276 in g_main_context_poll_unlocked (priority=2147483647, n_fds=1, fds=0x55f274bdded0, timeout=<optimized out>, context=0x7fd4f0000c60) at ../glib/glib/gmain.c:4653
#2  g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7fd4f0000c60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4344
#3  0x00007fd53c84e162 in g_main_context_iteration (context=0x7fd4f0000c60, may_block=1) at ../glib/glib/gmain.c:4414
#4  0x00007fd53d79795a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fd4f0000b70, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventdispatcher_glib.cpp:395
#5  0x00007fd53d56cc5e in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=..., this=0x7fd4f71fe8d0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventloop.cpp:100
#6  QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fd4f71fe8d0, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventloop.cpp:182
#7  0x00007fd53d649e6f in QThread::exec() (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread.cpp:578
#8  QThread::run() (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread.cpp:699
#9  0x00007fd53d6c97b3 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:324
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:260
#11 QThreadPrivate::start(void*) (arg=0x55f274ddede0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:283
#12 0x00007fd53ceaa9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#13 0x00007fd53cf2e7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x7fd53850b6c0 (LWP 15145)):
#0  g_main_context_iteration (context=0x7fd530000c80, may_block=<optimized out>) at ../glib/glib/gmain.c:4417
#1  0x00007fd53d79795a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fd530000b70, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventdispatcher_glib.cpp:395
#2  0x00007fd53d56cc5e in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=..., this=0x7fd53850a870) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventloop.cpp:100
#3  QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fd53850a870, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventloop.cpp:182
#4  0x00007fd53d649d6f in QThread::exec() (this=this@entry=0x7fd53eb3ab80 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_116Q_QGS__q_managerEEEE8instanceEvE6holder.lto_priv.0>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/global/qflags.h:74
#5  0x00007fd53eab37ff in QDBusConnectionManager::run() (this=0x7fd53eb3ab80 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_116Q_QGS__q_managerEEEE8instanceEvE6holder.lto_priv.0>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/dbus/qdbusconnection.cpp:131
#6  0x00007fd53d6c97b3 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:324
#7  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:260
#8  QThreadPrivate::start(void*) (arg=0x7fd53eb3ab80 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_116Q_QGS__q_managerEEEE8instanceEvE6holder.lto_priv.0>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:283
#9  0x00007fd53ceaa9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#10 0x00007fd53cf2e7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7fd4f57b96c0 (LWP 15155)):
#0  g_log_structured_array (log_level=log_level@entry=G_LOG_LEVEL_ERROR, fields=fields@entry=0x7fd4f57b7510, n_fields=4) at ../glib/glib/gmessages.c:556
#1  0x00007fd53c8575a3 in g_log_default_handler (log_domain=log_domain@entry=0x7fd53bb2416b "GLib-GIO", log_level=log_level@entry=6, message=message@entry=0x55f274e91510 "inotify read(): Bad file descriptor", unused_data=unused_data@entry=0x0) at ../glib/glib/gmessages.c:3284
#2  0x00007fd53c858455 in g_logv (log_domain=0x7fd53bb2416b "GLib-GIO", log_level=G_LOG_LEVEL_ERROR, format=<optimized out>, args=args@entry=0x7fd4f57b7660) at ../glib/glib/gmessages.c:1392
#3  0x00007fd53c858724 in g_log (log_domain=log_domain@entry=0x7fd53bb2416b "GLib-GIO", log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=format@entry=0x7fd53bb306d2 "inotify read(): %s") at ../glib/glib/gmessages.c:1461
#4  0x00007fd53bb020d9 in ik_source_read_some_events (iks=iks@entry=0x55f274ea1ac0, buffer=buffer@entry=0x7fd4f57b77b0 "\001", buffer_len=buffer_len@entry=4096) at ../glib/gio/inotify/inotify-kernel.c:160
#5  0x00007fd53bb0218d in ik_source_read_all_the_events (buffer_len=4096, length_out=<synthetic pointer>, buffer=0x7fd4f57b77b0 "\001", iks=0x55f274ea1ac0) at ../glib/gio/inotify/inotify-kernel.c:176
#6  ik_source_dispatch (source=0x55f274ea1ac0, func=0x7fd53bb03380 <ip_event_callback>, user_data=<optimized out>) at ../glib/gio/inotify/inotify-kernel.c:253
#7  0x00007fd53c84ff69 in g_main_dispatch (context=0x55f274e8ceb0) at ../glib/glib/gmain.c:3476
#8  0x00007fd53c8ae327 in g_main_context_dispatch_unlocked (context=0x55f274e8ceb0) at ../glib/glib/gmain.c:4284
#9  g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x55f274e8ceb0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349
#10 0x00007fd53c84e162 in g_main_context_iteration (context=0x55f274e8ceb0, may_block=may_block@entry=1) at ../glib/glib/gmain.c:4414
#11 0x00007fd53c84e1b2 in glib_worker_main (data=<optimized out>) at ../glib/glib/gmain.c:6574
#12 0x00007fd53c8819f5 in g_thread_proxy (data=0x55f274e8d0e0) at ../glib/glib/gthread.c:831
#13 0x00007fd53ceaa9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#14 0x00007fd53cf2e7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Comment 1 Bharadwaj Raju 2023-11-22 14:40:16 UTC
Can you share the .flatpakref file which caused this?
Comment 2 Patrick Silva 2023-11-22 16:00:49 UTC
Created attachment 163369 [details]
test file

Cannot reproduce consistently, I need to repeat the provided steps a few times.
Comment 3 Nate Graham 2023-11-27 03:43:19 UTC
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