Bug 442709 - Discover crashes in flatpak_remote_get_appstream_dir() when I try to open a flatpakref file
Summary: Discover crashes in flatpak_remote_get_appstream_dir() when I try to open a f...
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.22.90
Platform: Neon Linux
: VHI crash
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2021-09-19 21:13 UTC by Patrick Silva
Modified: 2022-04-01 01:09 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.23


Attachments
New crash information added by DrKonqi (3.56 KB, text/plain)
2022-03-31 15:04 UTC, hib
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2021-09-19 21:13:57 UTC
SUMMARY
This occurs on Arch (Plasma 5.23 beta) and neon unstable.

STEPS TO REPRODUCE
1. try to open a flatpakref file with Discover
2. 
3. 

Application: plasma-discover (5.23.80)

Qt Version: 5.15.3
Frameworks Version: 5.86.0
Operating System: Linux 5.11.0-27-generic x86_64
Windowing System: X11
Distribution: KDE neon Unstable Edition
DrKonqi: 5.23.80 [CoredumpBackend]

-- Information about the crash:
<In detail, tell us what you were doing  when the application crashed.>

The crash can be reproduced every time.

-- Backtrace:
Application: Discover (plasma-discover), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[New LWP 12664]
[New LWP 12665]
[New LWP 12683]
[New LWP 12669]
[New LWP 12678]
[New LWP 12670]
[New LWP 12684]
[New LWP 12682]
[New LWP 12685]
[New LWP 12688]
[New LWP 12690]
[New LWP 12692]
[New LWP 12696]
[New LWP 12689]
[New LWP 12679]
[New LWP 12677]
[New LWP 12676]
[New LWP 12667]
[New LWP 12671]
[New LWP 12668]
[New LWP 12691]
[New LWP 12687]
[New LWP 12681]
[New LWP 12680]
[New LWP 12686]
[New LWP 12666]
[New LWP 12699]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/plasma-discover /home/stalker/Documents/org.blender.Blender.flatpakref'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __GI_raise (sig=sig@entry=11) at ../sysdeps/unix/sysv/linux/raise.c:50
[Current thread is 1 (Thread 0x7fa79c562480 (LWP 12664))]
__preamble__

[Current thread is 1 (Thread 0x7fa79c562480 (LWP 12664))]

Thread 27 (Thread 0x7fa7067fc700 (LWP 12699)):
#0  0x00007fa7a1696aff in __GI___poll (fds=0x7fa6f00194a0, nfds=2, timeout=60000) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa79ff4836e in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x7fa6f00194a0, timeout=<optimized out>, context=0x7fa75435abd0) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7fa75435abd0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fa79ff484a3 in g_main_context_iteration (context=0x7fa75435abd0, may_block=1) at ../../../glib/gmain.c:4108
#4  0x00007fa77540d046 in  () at /lib/x86_64-linux-gnu/libostree-1.so.1
#5  0x00007fa79ff71ad1 in g_thread_proxy (data=0x7fa7543598c0) at ../../../glib/gthread.c:807
#6  0x00007fa7a09a4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fa7a16a3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 26 (Thread 0x7fa79ab48700 (LWP 12666)):
#0  0x00007fa7a1696aff in __GI___poll (fds=0x7fa78c011c30, nfds=4, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa79ff4836e in g_main_context_poll (priority=<optimized out>, n_fds=4, fds=0x7fa78c011c30, timeout=<optimized out>, context=0x7fa78c000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7fa78c000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fa79ff484a3 in g_main_context_iteration (context=0x7fa78c000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007fa7a1c645d2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fa78c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007fa7a1c0887b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fa79ab479b0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007fa7a1a22292 in QThread::exec() (this=this@entry=0x7fa7a329cd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007fa7a3218f4b in QDBusConnectionManager::run() (this=0x7fa7a329cd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#8  0x00007fa7a1a2342c in QThreadPrivate::start(void*) (arg=0x7fa7a329cd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:329
#9  0x00007fa7a09a4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007fa7a16a3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 25 (Thread 0x7fa76e7fc700 (LWP 12686)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fa79ff95746 in g_cond_wait_until (cond=cond@entry=0x56029c691498, mutex=mutex@entry=0x56029c691490, end_time=end_time@entry=5178685736) at ../../../glib/gthread-posix.c:1588
#2  0x00007fa79ff18581 in g_async_queue_pop_intern_unlocked (queue=0x56029c691490, wait=wait@entry=1, end_time=5178685736) at ../../../glib/gasyncqueue.c:422
#3  0x00007fa79ff18c21 in g_async_queue_timeout_pop_unlocked (queue=<optimized out>, timeout=timeout@entry=500000) at ../../../glib/gasyncqueue.c:574
#4  0x00007fa79ff724ca in g_thread_pool_wait_for_new_task (pool=<optimized out>) at ../../../glib/gthreadpool.c:278
#5  g_thread_pool_thread_proxy (data=<optimized out>) at ../../../glib/gthreadpool.c:343
#6  0x00007fa79ff71ad1 in g_thread_proxy (data=0x7fa75803d520) at ../../../glib/gthread.c:807
#7  0x00007fa7a09a4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007fa7a16a3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 24 (Thread 0x7fa775ee0700 (LWP 12680)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fa775edf950, clockid=<optimized out>, expected=0, futex_word=0x56029c678f20) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fa775edf950, clockid=<optimized out>, mutex=0x56029c678ed0, cond=0x56029c678ef8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x56029c678ef8, mutex=0x56029c678ed0, abstime=0x7fa775edf950) at pthread_cond_wait.c:665
#3  0x00007fa7a1a29528 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (this=0x56029c678ed0, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x56029c678ed0) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x56029c678e40, mutex=mutex@entry=0x56029c676418, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007fa7a1a26a31 in QThreadPoolThread::run() (this=0x56029c678e30) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007fa7a1a2342c in QThreadPrivate::start(void*) (arg=0x56029c678e30) at thread/qthread_unix.cpp:329
#8  0x00007fa7a09a4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fa7a16a3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 23 (Thread 0x7fa7752a9700 (LWP 12681)):
#0  0x00007fa7a1696aff in __GI___poll (fds=0x56029c691500, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa79ff4836e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x56029c691500, timeout=<optimized out>, context=0x56029c692de0) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x56029c692de0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fa79ff484a3 in g_main_context_iteration (context=0x56029c692de0, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007fa79ff484f1 in glib_worker_main (data=<optimized out>) at ../../../glib/gmain.c:5996
#5  0x00007fa79ff71ad1 in g_thread_proxy (data=0x7fa758002120) at ../../../glib/gthread.c:807
#6  0x00007fa7a09a4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fa7a16a3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 22 (Thread 0x7fa76dffb700 (LWP 12687)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fa76dffa950, clockid=<optimized out>, expected=0, futex_word=0x56029c67e3c0) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fa76dffa950, clockid=<optimized out>, mutex=0x56029c67e370, cond=0x56029c67e398) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x56029c67e398, mutex=0x56029c67e370, abstime=0x7fa76dffa950) at pthread_cond_wait.c:665
#3  0x00007fa7a1a29528 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (this=0x56029c67e370, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x56029c67e370) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x56029cce1a70, mutex=mutex@entry=0x56029ccd3678, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007fa7a1a26a31 in QThreadPoolThread::run() (this=0x56029cce1a60) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007fa7a1a2342c in QThreadPrivate::start(void*) (arg=0x56029cce1a60) at thread/qthread_unix.cpp:329
#8  0x00007fa7a09a4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fa7a16a3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 21 (Thread 0x7fa7077fe700 (LWP 12691)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fa7077fd950, clockid=<optimized out>, expected=0, futex_word=0x7fa70c007c40) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fa7077fd950, clockid=<optimized out>, mutex=0x7fa70c007bf0, cond=0x7fa70c007c18) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x7fa70c007c18, mutex=0x7fa70c007bf0, abstime=0x7fa7077fd950) at pthread_cond_wait.c:665
#3  0x00007fa7a1a29528 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (this=0x7fa70c007bf0, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x7fa70c007bf0) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x7fa70c007930, mutex=mutex@entry=0x7fa70c005518, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007fa7a1a26a31 in QThreadPoolThread::run() (this=0x7fa70c007920) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007fa7a1a2342c in QThreadPrivate::start(void*) (arg=0x7fa70c007920) at thread/qthread_unix.cpp:329
#8  0x00007fa7a09a4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fa7a16a3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 20 (Thread 0x7fa7937fe700 (LWP 12668)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x56029c0df788) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56029c0df738, cond=0x56029c0df760) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x56029c0df760, mutex=0x56029c0df738) at pthread_cond_wait.c:647
#3  0x00007fa798957a4b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fa79895764b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fa7a09a4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fa7a16a3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 19 (Thread 0x7fa791ffb700 (LWP 12671)):
#0  0x00007fa7a1696aff in __GI___poll (fds=0x7fa77c004a60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa79ff4836e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fa77c004a60, timeout=<optimized out>, context=0x7fa77c000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7fa77c000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fa79ff484a3 in g_main_context_iteration (context=0x7fa77c000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007fa7a1c645d2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fa77c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007fa7a1c0887b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fa791ffa9c0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007fa7a1a22292 in QThread::exec() (this=this@entry=0x56029c0f15b0) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007fa7a28d7549 in QQmlThreadPrivate::run() (this=0x56029c0f15b0) at qml/ftw/qqmlthread.cpp:155
#8  0x00007fa7a1a2342c in QThreadPrivate::start(void*) (arg=0x56029c0f15b0) at thread/qthread_unix.cpp:329
#9  0x00007fa7a09a4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007fa7a16a3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 18 (Thread 0x7fa793fff700 (LWP 12667)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x56029c0df78c) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56029c0df738, cond=0x56029c0df760) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x56029c0df760, mutex=0x56029c0df738) at pthread_cond_wait.c:647
#3  0x00007fa798957a4b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fa79895764b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fa7a09a4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fa7a16a3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 17 (Thread 0x7fa777fff700 (LWP 12676)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fa777ffe950, clockid=<optimized out>, expected=0, futex_word=0x56029c52c600) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fa777ffe950, clockid=<optimized out>, mutex=0x56029c52c5b0, cond=0x56029c52c5d8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x56029c52c5d8, mutex=0x56029c52c5b0, abstime=0x7fa777ffe950) at pthread_cond_wait.c:665
#3  0x00007fa7a1a29528 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (this=0x56029c52c5b0, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x56029c52c5b0) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x56029c52c4d0, mutex=mutex@entry=0x56029c516c98, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007fa7a1a26a31 in QThreadPoolThread::run() (this=0x56029c52c4c0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007fa7a1a2342c in QThreadPrivate::start(void*) (arg=0x56029c52c4c0) at thread/qthread_unix.cpp:329
#8  0x00007fa7a09a4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fa7a16a3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 16 (Thread 0x7fa7777fe700 (LWP 12677)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fa7777fd950, clockid=<optimized out>, expected=0, futex_word=0x56029c5330c4) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fa7777fd950, clockid=<optimized out>, mutex=0x56029c533070, cond=0x56029c533098) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x56029c533098, mutex=0x56029c533070, abstime=0x7fa7777fd950) at pthread_cond_wait.c:665
#3  0x00007fa7a1a29528 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (this=0x56029c533070, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x56029c533070) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x56029c52c590, mutex=mutex@entry=0x56029c516c98, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007fa7a1a26a31 in QThreadPoolThread::run() (this=0x56029c52c580) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007fa7a1a2342c in QThreadPrivate::start(void*) (arg=0x56029c52c580) at thread/qthread_unix.cpp:329
#8  0x00007fa7a09a4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fa7a16a3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 15 (Thread 0x7fa7767fc700 (LWP 12679)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fa7767fb950, clockid=<optimized out>, expected=0, futex_word=0x56029c52c304) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fa7767fb950, clockid=<optimized out>, mutex=0x56029c52c2b0, cond=0x56029c52c2d8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x56029c52c2d8, mutex=0x56029c52c2b0, abstime=0x7fa7767fb950) at pthread_cond_wait.c:665
#3  0x00007fa7a1a29528 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (this=0x56029c52c2b0, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x56029c52c2b0) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x56029c516340, mutex=mutex@entry=0x56029c516c98, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007fa7a1a26a31 in QThreadPoolThread::run() (this=0x56029c516330) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007fa7a1a2342c in QThreadPrivate::start(void*) (arg=0x56029c516330) at thread/qthread_unix.cpp:329
#8  0x00007fa7a09a4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fa7a16a3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x7fa76ccd6700 (LWP 12689)):
#0  0x00007fa7a1696aff in __GI___poll (fds=0x7fa70c00f400, nfds=1, timeout=29796) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa79ff4836e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fa70c00f400, timeout=<optimized out>, context=0x7fa70c000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7fa70c000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fa79ff484a3 in g_main_context_iteration (context=0x7fa70c000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007fa7a1c645eb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fa70c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fa7a1c0887b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fa76ccd59e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007fa7a1a22292 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007fa7a1a2342c in QThreadPrivate::start(void*) (arg=0x56029ca1d2d0) at thread/qthread_unix.cpp:329
#8  0x00007fa7a09a4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fa7a16a3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7fa705ffb700 (LWP 12696)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x56029c741ca0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56029c741c50, cond=0x56029c741c78) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x56029c741c78, mutex=0x56029c741c50) at pthread_cond_wait.c:647
#3  0x00007fa7a1a2959b in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x56029c741c50) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x56029c741bc8, mutex=mutex@entry=0x56029c741bc0, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007fa7a3884b44 in QSGRenderThreadEventQueue::takeEvent(bool) (wait=true, this=0x56029c741bb8) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QSGRenderThread::processEventsAndWaitForMore() (this=this@entry=0x56029c741b20) at scenegraph/qsgthreadedrenderloop.cpp:936
#7  0x00007fa7a3884fb9 in QSGRenderThread::run() (this=0x56029c741b20) at scenegraph/qsgthreadedrenderloop.cpp:1053
#8  0x00007fa7a1a2342c in QThreadPrivate::start(void*) (arg=0x56029c741b20) at thread/qthread_unix.cpp:329
#9  0x00007fa7a09a4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007fa7a16a3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7fa706ffd700 (LWP 12692)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fa79ff95746 in g_cond_wait_until (cond=cond@entry=0x56029c691498, mutex=mutex@entry=0x56029c691490, end_time=end_time@entry=5178552692) at ../../../glib/gthread-posix.c:1588
#2  0x00007fa79ff18581 in g_async_queue_pop_intern_unlocked (queue=0x56029c691490, wait=wait@entry=1, end_time=5178552692) at ../../../glib/gasyncqueue.c:422
#3  0x00007fa79ff18c21 in g_async_queue_timeout_pop_unlocked (queue=<optimized out>, timeout=timeout@entry=500000) at ../../../glib/gasyncqueue.c:574
#4  0x00007fa79ff724ca in g_thread_pool_wait_for_new_task (pool=<optimized out>) at ../../../glib/gthreadpool.c:278
#5  g_thread_pool_thread_proxy (data=<optimized out>) at ../../../glib/gthreadpool.c:343
#6  0x00007fa79ff71ad1 in g_thread_proxy (data=0x7fa7540022a0) at ../../../glib/gthread.c:807
#7  0x00007fa7a09a4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007fa7a16a3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7fa707fff700 (LWP 12690)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fa707ffe950, clockid=<optimized out>, expected=0, futex_word=0x7fa70c005bf4) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fa707ffe950, clockid=<optimized out>, mutex=0x7fa70c005ba0, cond=0x7fa70c005bc8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x7fa70c005bc8, mutex=0x7fa70c005ba0, abstime=0x7fa707ffe950) at pthread_cond_wait.c:665
#3  0x00007fa7a1a29528 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (this=0x7fa70c005ba0, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x7fa70c005ba0) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x7fa70c005880, mutex=mutex@entry=0x7fa70c005518, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007fa7a1a26a31 in QThreadPoolThread::run() (this=0x7fa70c005870) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007fa7a1a2342c in QThreadPrivate::start(void*) (arg=0x7fa70c005870) at thread/qthread_unix.cpp:329
#8  0x00007fa7a09a4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fa7a16a3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7fa76d610700 (LWP 12688)):
#0  0x00007fa7a1696aff in __GI___poll (fds=0x7fa708002950, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa79ff4836e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fa708002950, timeout=<optimized out>, context=0x7fa708000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7fa708000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fa79ff484a3 in g_main_context_iteration (context=0x7fa708000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007fa7a1c645d2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fa708000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007fa7a1c0887b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fa76d60f9e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007fa7a1a22292 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007fa7a1a2342c in QThreadPrivate::start(void*) (arg=0x56029c9c4440) at thread/qthread_unix.cpp:329
#8  0x00007fa7a09a4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fa7a16a3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fa76effd700 (LWP 12685)):
#0  0x00007fa7a1696aff in __GI___poll (fds=0x7fa75403cf00, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa79ff4836e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fa75403cf00, timeout=<optimized out>, context=0x7fa75432cdd0) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7fa75432cdd0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fa79ff484a3 in g_main_context_iteration (context=context@entry=0x7fa75432cdd0, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007fa77418e99d in dconf_gdbus_worker_thread (user_data=0x7fa75432cdd0) at ../gdbus/dconf-gdbus-thread.c:82
#5  0x00007fa79ff71ad1 in g_thread_proxy (data=0x7fa75803d700) at ../../../glib/gthread.c:807
#6  0x00007fa7a09a4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fa7a16a3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fa774aa8700 (LWP 12682)):
#0  0x00007fa79ff954dd in g_mutex_lock (mutex=mutex@entry=0x56029c69e170) at ../../../glib/gthread-posix.c:1481
#1  0x00007fa79ff47af5 in g_main_context_query (context=context@entry=0x56029c69e170, max_priority=2147483647, timeout=timeout@entry=0x7fa774aa79e4, fds=fds@entry=0x7fa75000a040, n_fds=n_fds@entry=3) at ../../../glib/gmain.c:3724
#2  0x00007fa79ff482e8 in g_main_context_iterate (context=0x56029c69e170, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4029
#3  0x00007fa79ff486f3 in g_main_loop_run (loop=0x56029c69e260) at ../../../glib/gmain.c:4241
#4  0x00007fa79fae6f8a in gdbus_shared_thread_func (user_data=0x56029c69e140) at ../../../gio/gdbusprivate.c:279
#5  0x00007fa79ff71ad1 in g_thread_proxy (data=0x56029c693180) at ../../../glib/gthread.c:807
#6  0x00007fa7a09a4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fa7a16a3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fa76f7fe700 (LWP 12684)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fa76f7fd950, clockid=<optimized out>, expected=0, futex_word=0x56029c9c4c00) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fa76f7fd950, clockid=<optimized out>, mutex=0x56029c9c4bb0, cond=0x56029c9c4bd8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x56029c9c4bd8, mutex=0x56029c9c4bb0, abstime=0x7fa76f7fd950) at pthread_cond_wait.c:665
#3  0x00007fa7a1a29528 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (this=0x56029c9c4bb0, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x56029c9c4bb0) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x56029c9c4470, mutex=mutex@entry=0x56029c684eb8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007fa7a1a26a31 in QThreadPoolThread::run() (this=0x56029c9c4460) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007fa7a1a2342c in QThreadPrivate::start(void*) (arg=0x56029c9c4460) at thread/qthread_unix.cpp:329
#8  0x00007fa7a09a4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fa7a16a3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fa7927fc700 (LWP 12670)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x56029c0df788) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56029c0df738, cond=0x56029c0df760) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x56029c0df760, mutex=0x56029c0df738) at pthread_cond_wait.c:647
#3  0x00007fa798957a4b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fa79895764b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fa7a09a4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fa7a16a3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fa776ffd700 (LWP 12678)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fa776ffc950, clockid=<optimized out>, expected=0, futex_word=0x56029c5333d4) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fa776ffc950, clockid=<optimized out>, mutex=0x56029c533380, cond=0x56029c5333a8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x56029c5333a8, mutex=0x56029c533380, abstime=0x7fa776ffc950) at pthread_cond_wait.c:665
#3  0x00007fa7a1a29528 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (this=0x56029c533380, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x56029c533380) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x56029c532db0, mutex=mutex@entry=0x56029c516c98, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007fa7a1a26a31 in QThreadPoolThread::run() (this=0x56029c532da0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007fa7a1a2342c in QThreadPrivate::start(void*) (arg=0x56029c532da0) at thread/qthread_unix.cpp:329
#8  0x00007fa7a09a4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fa7a16a3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fa792ffd700 (LWP 12669)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x56029c0df788) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56029c0df738, cond=0x56029c0df760) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x56029c0df760, mutex=0x56029c0df738) at pthread_cond_wait.c:647
#3  0x00007fa798957a4b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fa79895764b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fa7a09a4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fa7a16a3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fa76ffff700 (LWP 12683)):
#0  0x00007fa7a1696aff in __GI___poll (fds=0x7fa75435aa50, nfds=1, timeout=100) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa79ff4836e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fa75435aa50, timeout=<optimized out>, context=0x7fa75434cec0) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7fa75434cec0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fa79ff484a3 in g_main_context_iteration (context=0x7fa75434cec0, may_block=1) at ../../../glib/gmain.c:4108
#4  0x00007fa7753d1e09 in ostree_repo_pull_with_options () at /lib/x86_64-linux-gnu/libostree-1.so.1
#5  0x00007fa7755dc5ce in repo_pull (self=self@entry=0x56029c6b2f70, state=state@entry=0x7fa754008510, dirs_to_pull=<optimized out>, ref_to_fetch=ref_to_fetch@entry=0x7fa754005d30 "appstream2/x86_64", rev_to_fetch=0x7fa754346e00 "b4a2081374ade97b4447b0b77b2f7dfb11ec1b876295e70cddca0cf4823be5e4", sideload_repo=sideload_repo@entry=0x0, token=0x0, flatpak_flags=FLATPAK_PULL_FLAGS_NONE, flags=OSTREE_REPO_PULL_FLAGS_BAREUSERONLY_FILES, progress=0x0, cancellable=0x56029c678960 [GCancellable], error=0x7fa76fffe9a8) at common/flatpak-dir.c:5196
#6  0x00007fa7755fa109 in flatpak_dir_pull (self=self@entry=0x56029c69d9c0 [FlatpakDir], state=state@entry=0x7fa754008510, ref=ref@entry=0x7fa754005d30 "appstream2/x86_64", opt_rev=<optimized out>, subpaths=subpaths@entry=0x0, sideload_repo=0x0, require_metadata=0x0, token=0x0, repo=0x56029c6b2f70, flatpak_flags=FLATPAK_PULL_FLAGS_NONE, flags=OSTREE_REPO_PULL_FLAGS_NONE, progress=0x0, cancellable=0x56029c678960 [GCancellable], error=0x7fa76fffe9a8) at common/flatpak-dir.c:5787
#7  0x00007fa775601961 in flatpak_dir_update_appstream (self=self@entry=0x56029c69d9c0 [FlatpakDir], remote=remote@entry=0x56029c6ba2c0 "flathub", arch=0x7fa77566fc02 "x86_64", arch@entry=0x0, out_changed=out_changed@entry=0x0, progress=progress@entry=0x0, cancellable=cancellable@entry=0x56029c678960 [GCancellable], error=0x7fa76fffe9a8) at common/flatpak-dir.c:4931
#8  0x00007fa775610652 in flatpak_installation_update_appstream_full_sync (self=<optimized out>, remote_name=0x56029c6ba2c0 "flathub", arch=arch@entry=0x0, progress_cb=progress_cb@entry=0x0, progress_data=progress_data@entry=0x0, out_changed=out_changed@entry=0x0, cancellable=0x56029c678960 [GCancellable], error=0x7fa76fffe9a8) at common/flatpak-installation.c:2626
#9  0x00007fa7756c82d6 in FlatpakRefreshAppstreamMetadataJob::run() (this=0x56029c6b9f90) at ./libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:910
#10 0x00007fa7a1a2342c in QThreadPrivate::start(void*) (arg=0x56029c6b9f90) at thread/qthread_unix.cpp:329
#11 0x00007fa7a09a4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007fa7a16a3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fa79b9f1700 (LWP 12665)):
#0  0x00007fa7a1696aff in __GI___poll (fds=fds@entry=0x7fa79b9f08e8, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa7a0929c1a in poll (__timeout=-1, __nfds=1, __fds=0x7fa79b9f08e8) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x56029be5e590, cond=cond@entry=0x56029be5e5d0, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:480
#3  0x00007fa7a092b90a in xcb_wait_for_event (c=c@entry=0x56029be5e590) at ../../src/xcb_in.c:697
#4  0x00007fa79c127e88 in QXcbEventQueue::run() (this=0x56029be4f120) at qxcbeventqueue.cpp:228
#5  0x00007fa7a1a2342c in QThreadPrivate::start(void*) (arg=0x56029be4f120) at thread/qthread_unix.cpp:329
#6  0x00007fa7a09a4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fa7a16a3293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fa79c562480 (LWP 12664)):
[KCrash Handler]
#3  flatpak_remote_get_appstream_dir (self=0x0, arch=arch@entry=0x0) at common/flatpak-remote.c:262
#4  0x00007fa7756c8aaf in FlatpakSource::appstreamDir() const (this=0x56029d56a880) at ./libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:81
#5  FlatpakSource::FlatpakSource(FlatpakBackend*, _FlatpakInstallation*, _FlatpakRemote*) (this=0x56029d56a880, backend=<optimized out>, installation=<optimized out>, remote=<optimized out>) at ./libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:60
#6  0x00007fa7756c2add in QSharedPointer<FlatpakSource>::create<FlatpakBackend*, _FlatpakInstallation*, decltype(nullptr)>(FlatpakBackend*&&, _FlatpakInstallation*&&, decltype(nullptr)&&) () at /usr/include/c++/9/new:174
#7  FlatpakBackend::addAppFromFlatpakRef(QUrl const&, ResultsStream*) (this=<optimized out>, url=..., stream=<optimized out>) at ./libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:640
#8  0x00007fa7756cb19d in FlatpakFetchRemoteResourceJob::processFile(QUrl const&) (this=0x56029cb2afc0, fileUrl=...) at ./libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:280
#9  0x00007fa7a1c37919 in QObject::event(QEvent*) (this=0x56029cb302b0, e=0x56029cb2b520) at kernel/qobject.cpp:1314
#10 0x00007fa7a2c68dc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x56029be4d9c0, receiver=receiver@entry=0x56029cb302b0, e=e@entry=0x56029cb2b520) at kernel/qapplication.cpp:3632
#11 0x00007fa7a2c71bb8 in QApplication::notify(QObject*, QEvent*) (this=0x7ffd5ca21ea0, receiver=0x56029cb302b0, e=0x56029cb2b520) at kernel/qapplication.cpp:3156
#12 0x00007fa7a1c09d7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x56029cb302b0, event=0x56029cb2b520) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#13 0x00007fa7a1c0c681 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x56029be4a050) at kernel/qcoreapplication.cpp:1821
#14 0x00007fa7a1c64f77 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x56029befa5e0) at kernel/qeventdispatcher_glib.cpp:277
#15 0x00007fa79ff4817d in g_main_dispatch (context=0x7fa794005000) at ../../../glib/gmain.c:3309
#16 g_main_context_dispatch (context=context@entry=0x7fa794005000) at ../../../glib/gmain.c:3974
#17 0x00007fa79ff48400 in g_main_context_iterate (context=context@entry=0x7fa794005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4047
#18 0x00007fa79ff484a3 in g_main_context_iteration (context=0x7fa794005000, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#19 0x00007fa7a1c645d2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x56029bf02b90, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#20 0x00007fa7a1c0887b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd5ca21dc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#21 0x00007fa7a1c10a34 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#22 0x000056029a6aa694 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./discover/main.cpp:213

Report to https://bugs.kde.org/enter_bug.cgi?product=Discover
Comment 1 Nate Graham 2021-09-21 21:47:16 UTC
Can reproduce.
Comment 2 Bug Janitor Service 2021-09-24 16:23:27 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/167
Comment 3 Aleix Pol 2021-09-27 14:37:37 UTC
Git commit dd49cd41e9264ee9ad902796eff52fd5dd63df11 by Aleix Pol Gonzalez, on behalf of Aleix Pol.
Committed on 27/09/2021 at 14:15.
Pushed by apol into branch 'master'.

flatpak: Do not crash when using a flatpakref file

Delays the use of FlatpakSource::m_remote. Needs more work

M  +22   -9    libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp

https://invent.kde.org/plasma/discover/commit/dd49cd41e9264ee9ad902796eff52fd5dd63df11
Comment 4 Aleix Pol 2021-09-27 14:38:19 UTC
Git commit a4d3783bc142f0dc866697078c719b4d818d25ea by Aleix Pol.
Committed on 27/09/2021 at 14:38.
Pushed by apol into branch 'Plasma/5.23'.

flatpak: Do not crash when using a flatpakref file

Delays the use of FlatpakSource::m_remote. Needs more work

M  +22   -9    libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp

https://invent.kde.org/plasma/discover/commit/a4d3783bc142f0dc866697078c719b4d818d25ea
Comment 5 Patrick Silva 2021-09-28 12:09:42 UTC
Discover no longer crashes when I open a flatpakref file on neon unstable after your patch, now it freezes instead.


Thread 16 (Thread 0x7fbf2aba3700 (LWP 37958)):
#0  0x00007fbfc3b53aff in __GI___poll (fds=0x7fbf04001910, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fbfc286c36e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fbf04001910, timeout=<optimized out>, context=0x7fbf04000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7fbf04000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fbfc286c4a3 in g_main_context_iteration (context=0x7fbf04000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007fbfc41235d2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fbf04000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007fbfc40c787b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fbf2aba29e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007fbfc3ee1292 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007fbfc3ee242c in QThreadPrivate::start(void*) (arg=0x7fbf00003f80) at thread/qthread_unix.cpp:329
#8  0x00007fbfc327c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fbfc3b60293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 15 (Thread 0x7fbf2b3a4700 (LWP 37957)):
#0  0x00007fbfc3b53aff in __GI___poll (fds=0x7fbf00008e00, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fbfc286c36e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fbf00008e00, timeout=<optimized out>, context=0x7fbf00000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7fbf00000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fbfc286c4a3 in g_main_context_iteration (context=0x7fbf00000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007fbfc41235d2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fbf00000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007fbfc40c787b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fbf2b3a39a0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007fbfc3ee1292 in QThread::exec() (this=this@entry=0x55fd15287130) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007fbfc5be93ba in QQuickPixmapReader::run() (this=0x55fd15287130) at util/qquickpixmapcache.cpp:1024
#8  0x00007fbfc3ee242c in QThreadPrivate::start(void*) (arg=0x55fd15287130) at thread/qthread_unix.cpp:329
#9  0x00007fbfc327c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007fbfc3b60293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x7fbf1f422700 (LWP 37933)):
#0  0x00007fbfc3b53aff in __GI___poll (fds=0x55fd14d0b640, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fbfc286c36e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x55fd14d0b640, timeout=<optimized out>, context=0x55fd14ceac80) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x55fd14ceac80, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fbfc286c4a3 in g_main_context_iteration (context=context@entry=0x55fd14ceac80, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007fbf8c00c99d in dconf_gdbus_worker_thread (user_data=0x55fd14ceac80) at ../gdbus/dconf-gdbus-thread.c:82
#5  0x00007fbfc2895ad1 in g_thread_proxy (data=0x7fbf0c046c60) at ../../../glib/gthread.c:807
#6  0x00007fbfc327c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fbfc3b60293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7fbf1fc23700 (LWP 36504)):
#0  0x00007fbfc3b53aff in __GI___poll (fds=0x7fbf140029a0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fbfc286c36e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fbf140029a0, timeout=<optimized out>, context=0x7fbf14000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7fbf14000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fbfc286c4a3 in g_main_context_iteration (context=0x7fbf14000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007fbfc41235d2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fbf14000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007fbfc40c787b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fbf1fc229e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007fbfc3ee1292 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007fbfc3ee242c in QThreadPrivate::start(void*) (arg=0x55fd113ac870) at thread/qthread_unix.cpp:329
#8  0x00007fbfc327c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fbfc3b60293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7fbf297fd700 (LWP 36502)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55fd117c6af0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55fd117c6aa0, cond=0x55fd117c6ac8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55fd117c6ac8, mutex=0x55fd117c6aa0) at pthread_cond_wait.c:647
#3  0x00007fbfc3ee859b in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55fd117c6aa0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55fd117c6928, mutex=mutex@entry=0x55fd117c6920, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007fbfc5caeb44 in QSGRenderThreadEventQueue::takeEvent(bool) (wait=true, this=0x55fd117c6918) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QSGRenderThread::processEventsAndWaitForMore() (this=this@entry=0x55fd117c6880) at scenegraph/qsgthreadedrenderloop.cpp:936
#7  0x00007fbfc5caefb9 in QSGRenderThread::run() (this=0x55fd117c6880) at scenegraph/qsgthreadedrenderloop.cpp:1053
#8  0x00007fbfc3ee242c in QThreadPrivate::start(void*) (arg=0x55fd117c6880) at thread/qthread_unix.cpp:329
#9  0x00007fbfc327c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007fbfc3b60293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7fbf8dccc700 (LWP 36491)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fbfc3ee46d1 in QtLinuxFutex::_q_futex(int*, int, int, unsigned long long, int*, int) (val3=0, addr2=0x0, val2=0, val=<optimized out>, op=0, addr=<optimized out>) at thread/qfutex_p.h:133
#2  QtLinuxFutex::futexWait<QBasicAtomicInteger<unsigned int> >(QBasicAtomicInteger<unsigned int>&, QBasicAtomicInteger<unsigned int>::Type) (expectedValue=<optimized out>, futex=...) at thread/qfutex_p.h:135
#3  futexSemaphoreTryAcquire_loop<false>(QBasicAtomicInteger<unsigned long long>&, unsigned long long, unsigned long long, int) (timeout=-1, nn=8589934593, curValue=<optimized out>, u=...) at thread/qsemaphore.cpp:219
#4  futexSemaphoreTryAcquire<false>(QBasicAtomicInteger<unsigned long long>&, int, int) (timeout=-1, n=1, u=...) at thread/qsemaphore.cpp:262
#5  QSemaphore::acquire(int) (this=this@entry=0x7fbf8dcc9ec0, n=n@entry=1) at thread/qsemaphore.cpp:326
#6  0x00007fbfc40ffd02 in doActivate<false>(QObject*, int, void**) (sender=0x55fd1492f830, signal_index=5, argv=0x7fbf8dcc9ee0) at /usr/include/c++/9/bits/atomic_base.h:769
#7  0x00007fbfc40f9167 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55fd1492f830, m=m@entry=0x7fbfc3961360 <QHttpThreadDelegate::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#8  0x00007fbfc3903887 in QHttpThreadDelegate::encrypted() (this=this@entry=0x55fd1492f830) at .moc/moc_qhttpthreaddelegate_p.cpp:516
#9  0x00007fbfc38494f0 in QHttpThreadDelegate::encryptedSlot() (this=0x55fd1492f830) at access/qhttpthreaddelegate.cpp:715
#10 0x00007fbfc3904264 in QHttpThreadDelegate::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qhttpthreaddelegate_p.cpp:247
#11 0x00007fbfc40ffdd0 in doActivate<false>(QObject*, int, void**) (sender=0x7fbf38072970, signal_index=3, argv=0x7fbf8dcca090) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#12 0x00007fbfc40f9167 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7fbfc39611a0 <QHttpNetworkReply::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#13 0x00007fbfc39028f4 in QHttpNetworkReply::encrypted() (this=<optimized out>) at .moc/moc_qhttpnetworkreply_p.cpp:343
#14 0x00007fbfc383eb15 in QHttpNetworkConnectionChannel::_q_encrypted() (this=0x7fbf38035fc0) at access/qhttpnetworkconnectionchannel.cpp:1297
#15 0x00007fbfc383fb7b in QHttpNetworkConnectionChannel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qhttpnetworkconnectionchannel_p.cpp:133
#16 0x00007fbfc40ffdd0 in doActivate<false>(QObject*, int, void**) (sender=0x7fbf3803f710, signal_index=16, argv=0x7fbf8dcca210) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#17 0x00007fbfc40f9167 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x7fbf3803f710, m=m@entry=0x7fbfc39600e0 <QSslSocket::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#18 0x00007fbfc38bc2d4 in QSslSocket::encrypted() (this=this@entry=0x7fbf3803f710) at .moc/moc_qsslsocket.cpp:317
#19 0x00007fbfc38eb913 in QSslSocketBackendPrivate::continueHandshake() (this=0x7fbf3807cc70) at ssl/qsslsocket_openssl.cpp:1995
#20 0x00007fbfc38f20f0 in QSslSocketBackendPrivate::startHandshake() (this=this@entry=0x7fbf3807cc70) at ssl/qsslsocket_openssl.cpp:1440
#21 0x00007fbfc38f2646 in QSslSocketBackendPrivate::transmit() (this=0x7fbf3807cc70) at ssl/qsslsocket_openssl.cpp:1114
#22 0x00007fbfc38c4cf0 in QSslSocket::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ssl/qsslsocket.h:227
#23 0x00007fbfc40ffdd0 in doActivate<false>(QObject*, int, void**) (sender=0x7fbf3807c350, signal_index=3, argv=0x7fbf8dccb4c0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#24 0x00007fbfc40f9167 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x7fbf3807c350, m=m@entry=0x7fbfc4361300 <QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#25 0x00007fbfc3ff9214 in QIODevice::readyRead() (this=this@entry=0x7fbf3807c350) at .moc/moc_qiodevice.cpp:190
#26 0x00007fbfc38888e4 in QAbstractSocketPrivate::emitReadyRead(int) (this=this@entry=0x7fbf380733e0, channel=channel@entry=0) at socket/qabstractsocket.cpp:1323
#27 0x00007fbfc3888979 in QAbstractSocketPrivate::canReadNotification() (this=0x7fbf380733e0) at socket/qabstractsocket.cpp:748
#28 0x00007fbfc389ac89 in QReadNotifier::event(QEvent*) (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1274
#29 0x00007fbfc52bbdc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x55fd10c36c20, receiver=receiver@entry=0x55fd1492aa40, e=e@entry=0x7fbf8dccb7d0) at kernel/qapplication.cpp:3632
#30 0x00007fbfc52c4bb8 in QApplication::notify(QObject*, QEvent*) (this=0x7ffcb1855a50, receiver=0x55fd1492aa40, e=0x7fbf8dccb7d0) at kernel/qapplication.cpp:3156
#31 0x00007fbfc40c8d7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55fd1492aa40, event=0x7fbf8dccb7d0) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#32 0x00007fbfc41241d5 in socketNotifierSourceDispatch(GSource*, GSourceFunc, gpointer) (source=0x7fbf38005060) at kernel/qeventdispatcher_glib.cpp:107
#33 0x00007fbfc286c17d in g_main_dispatch (context=0x7fbf38000c20) at ../../../glib/gmain.c:3309
#34 g_main_context_dispatch (context=context@entry=0x7fbf38000c20) at ../../../glib/gmain.c:3974
#35 0x00007fbfc286c400 in g_main_context_iterate (context=context@entry=0x7fbf38000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4047
#36 0x00007fbfc286c4a3 in g_main_context_iteration (context=0x7fbf38000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#37 0x00007fbfc41235d2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fbf38000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#38 0x00007fbfc40c787b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fbf8dccb9e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#39 0x00007fbfc3ee1292 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#40 0x00007fbfc3ee242c in QThreadPrivate::start(void*) (arg=0x55fd11a3f2b0) at thread/qthread_unix.cpp:329
#41 0x00007fbfc327c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#42 0x00007fbfc3b60293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7fbf8e606700 (LWP 36488)):
#0  0x00007fbfc3b53aff in __GI___poll (fds=0x7fbf34003150, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fbfc286c36e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fbf34003150, timeout=<optimized out>, context=0x7fbf34000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7fbf34000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fbfc286c4a3 in g_main_context_iteration (context=0x7fbf34000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007fbfc41235d2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fbf34000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007fbfc40c787b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fbf8e6059e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007fbfc3ee1292 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007fbfc3ee242c in QThreadPrivate::start(void*) (arg=0x55fd118da130) at thread/qthread_unix.cpp:329
#8  0x00007fbfc327c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fbfc3b60293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fbfa4a10700 (LWP 36481)):
#0  0x00007fbfc3b53aff in __GI___poll (fds=0x7fbf88006350, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fbfc286c36e in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x7fbf88006350, timeout=<optimized out>, context=0x55fd115ba110) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=0x55fd115ba110, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fbfc286c6f3 in g_main_loop_run (loop=0x55fd115ba200) at ../../../glib/gmain.c:4241
#4  0x00007fbfc2481f8a in gdbus_shared_thread_func (user_data=0x55fd115bc340) at ../../../gio/gdbusprivate.c:279
#5  0x00007fbfc2895ad1 in g_thread_proxy (data=0x55fd115af0c0) at ../../../glib/gthread.c:807
#6  0x00007fbfc327c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fbfc3b60293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fbfa5211700 (LWP 36480)):
#0  0x00007fbfc3b53aff in __GI___poll (fds=0x55fd115ace30, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fbfc286c36e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x55fd115ace30, timeout=<optimized out>, context=0x55fd115ae6e0) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x55fd115ae6e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fbfc286c4a3 in g_main_context_iteration (context=0x55fd115ae6e0, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007fbfc286c4f1 in glib_worker_main (data=<optimized out>) at ../../../glib/gmain.c:5996
#5  0x00007fbfc2895ad1 in g_thread_proxy (data=0x7fbf90002240) at ../../../glib/gthread.c:807
#6  0x00007fbfc327c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fbfc3b60293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fbfb4876700 (LWP 36476)):
#0  0x00007fbfc3b53aff in __GI___poll (fds=0x7fbf98004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fbfc286c36e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fbf98004e60, timeout=<optimized out>, context=0x7fbf98000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7fbf98000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fbfc286c4a3 in g_main_context_iteration (context=0x7fbf98000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007fbfc41235d2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fbf98000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007fbfc40c787b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fbfb48759c0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007fbfc3ee1292 in QThread::exec() (this=this@entry=0x55fd1119cb70) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007fbfc4d94549 in QQmlThreadPrivate::run() (this=0x55fd1119cb70) at qml/ftw/qqmlthread.cpp:155
#8  0x00007fbfc3ee242c in QThreadPrivate::start(void*) (arg=0x55fd1119cb70) at thread/qthread_unix.cpp:329
#9  0x00007fbfc327c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007fbfc3b60293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fbfb617c700 (LWP 36475)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55fd10e2ee3c) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55fd10e2ede8, cond=0x55fd10e2ee10) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55fd10e2ee10, mutex=0x55fd10e2ede8) at pthread_cond_wait.c:647
#3  0x00007fbfb734ca4b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fbfb734c64b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fbfc327c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fbfc3b60293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fbfa7fff700 (LWP 36474)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55fd10e2ee3c) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55fd10e2ede8, cond=0x55fd10e2ee10) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55fd10e2ee10, mutex=0x55fd10e2ede8) at pthread_cond_wait.c:647
#3  0x00007fbfb734ca4b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fbfb734c64b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fbfc327c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fbfc3b60293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fbfb697d700 (LWP 36473)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55fd10e2ee3c) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55fd10e2ede8, cond=0x55fd10e2ee10) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55fd10e2ee10, mutex=0x55fd10e2ede8) at pthread_cond_wait.c:647
#3  0x00007fbfb734ca4b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fbfb734c64b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fbfc327c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fbfc3b60293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fbfb717e700 (LWP 36472)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55fd10e2ee3c) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55fd10e2ede8, cond=0x55fd10e2ee10) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55fd10e2ee10, mutex=0x55fd10e2ede8) at pthread_cond_wait.c:647
#3  0x00007fbfb734ca4b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fbfb734c64b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fbfc327c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fbfc3b60293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fbfbdd30700 (LWP 36471)):
#0  0x00007fbfc3b53aff in __GI___poll (fds=0x7fbfb8005240, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fbfc286c36e in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x7fbfb8005240, timeout=<optimized out>, context=0x7fbfb8000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7fbfb8000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fbfc286c4a3 in g_main_context_iteration (context=0x7fbfb8000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007fbfc41235d2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fbfb8000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007fbfc40c787b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fbfbdd2f9b0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007fbfc3ee1292 in QThread::exec() (this=this@entry=0x7fbfc504dd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007fbfc4fc9f4b in QDBusConnectionManager::run() (this=0x7fbfc504dd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#8  0x00007fbfc3ee242c in QThreadPrivate::start(void*) (arg=0x7fbfc504dd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:329
#9  0x00007fbfc327c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007fbfc3b60293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fbfbea81bc0 (LWP 36468)):
#0  0x00007fbfc3ad93d1 in _int_malloc (av=av@entry=0x7fbfc3c29b80 <main_arena>, bytes=bytes@entry=1040) at malloc.c:3922
#1  0x00007fbfc3adb419 in __GI___libc_malloc (bytes=1040) at malloc.c:3066
#2  0x00007fbfc3cdab39 in operator new(unsigned long) () at /lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007fbfc475e79d in QRasterPaintEngine::createState(QPainterState*) const (this=<optimized out>, orig=0x55fd1552c6c0) at painting/qpaintengine_raster.cpp:660
#4  0x00007fbfc476ed89 in QPainter::save() (this=this@entry=0x7ffcb1854e10) at ../../include/QtCore/../../src/corelib/tools/qvarlengtharray.h:234
#5  0x00007fbfbdda536d in Breeze::Style::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const (this=0x55fd10c4e720, element=QStyle::CE_ScrollBarSubLine, option=0x7ffcb1854a70, painter=0x7ffcb1854e10, widget=0x0) at ./kstyle/breezestyle.cpp:1035
#6  0x00007fbfc534c890 in QCommonStyle::drawComplexControl(QStyle::ComplexControl, QStyleOptionComplex const*, QPainter*, QWidget const*) const (this=this@entry=0x55fd10c4e720, cc=cc@entry=QStyle::CC_ScrollBar, opt=opt@entry=0x55fd15496430, p=p@entry=0x7ffcb1854e10, widget=widget@entry=0x0) at styles/qcommonstyle.cpp:3316
#7  0x00007fbfbdda60b9 in Breeze::Style::drawScrollBarComplexControl(QStyleOptionComplex const*, QPainter*, QWidget const*) const (this=0x55fd10c4e720, option=0x55fd15496430, painter=0x7ffcb1854e10, widget=0x0) at ./kstyle/breezestyle.cpp:6627
#8  0x00007fbfbdda5b30 in std::function<bool (Breeze::Style const&, QStyleOptionComplex const*, QPainter*, QWidget const*)>::operator()(Breeze::Style const&, QStyleOptionComplex const*, QPainter*, QWidget const*) const (__args#3=<optimized out>, __args#2=<optimized out>, __args#1=<optimized out>, __args#0=..., this=0x7ffcb1854cb0) at /usr/include/c++/9/bits/std_function.h:683
#9  Breeze::Style::drawComplexControl(QStyle::ComplexControl, QStyleOptionComplex const*, QPainter*, QWidget const*) const (this=0x55fd10c4e720, element=QStyle::CC_ScrollBar, option=0x55fd15496430, painter=0x7ffcb1854e10, widget=0x0) at ./kstyle/breezestyle.cpp:1069
#10 0x00007fbfbc0a20ff in  () at /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/qqc2desktopstyle/private/libqqc2desktopstyleplugin.so
#11 0x00007fbfbc0a2e84 in  () at /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/qqc2desktopstyle/private/libqqc2desktopstyleplugin.so
#12 0x00007fbfc5d0bc5c in QQuickWindowPrivate::polishItems() (this=0x55fd10fc9e60) at items/qquickwindow.cpp:393
#13 0x00007fbfc5cacfa5 in QSGThreadedRenderLoop::polishAndSync(QSGThreadedRenderLoop::Window*, bool) (this=this@entry=0x55fd10ff1640, w=0x55fd117c6b40, inExpose=inExpose@entry=false) at scenegraph/qsgthreadedrenderloop.cpp:1577
#14 0x00007fbfc5cadd14 in QSGThreadedRenderLoop::handleUpdateRequest(QQuickWindow*) (this=0x55fd10ff1640, window=0x55fd1119a390) at scenegraph/qsgthreadedrenderloop.cpp:1430
#15 0x00007fbfc5d18e67 in QQuickWindow::event(QEvent*) (this=0x55fd1119a390, e=0x7ffcb1855360) at items/qquickwindow.cpp:1858
#16 0x00007fbfc52bbdc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x55fd10c36c20, receiver=receiver@entry=0x55fd1119a390, e=e@entry=0x7ffcb1855360) at kernel/qapplication.cpp:3632
#17 0x00007fbfc52c4bb8 in QApplication::notify(QObject*, QEvent*) (this=0x7ffcb1855a50, receiver=0x55fd1119a390, e=0x7ffcb1855360) at kernel/qapplication.cpp:3156
#18 0x00007fbfc40c8d7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55fd1119a390, event=0x7ffcb1855360) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#19 0x00007fbfc449bc7d in QPlatformWindow::deliverUpdateRequest() (this=this@entry=0x55fd112b8f80) at kernel/qplatformwindow.cpp:789
#20 0x00007fbfbf9e85ee in QtWaylandClient::QWaylandWindow::deliverUpdateRequest() (this=0x55fd112b8f70) at qwaylandwindow.cpp:1208
#21 0x00007fbfc40f6919 in QObject::event(QEvent*) (this=0x55fd112b8f70, e=0x55fd155c4170) at kernel/qobject.cpp:1314
#22 0x00007fbfc52bbdc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x55fd10c36c20, receiver=receiver@entry=0x55fd112b8f70, e=e@entry=0x55fd155c4170) at kernel/qapplication.cpp:3632
#23 0x00007fbfc52c4bb8 in QApplication::notify(QObject*, QEvent*) (this=0x7ffcb1855a50, receiver=0x55fd112b8f70, e=0x55fd155c4170) at kernel/qapplication.cpp:3156
#24 0x00007fbfc40c8d7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55fd112b8f70, event=0x55fd155c4170) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#25 0x00007fbfc40cb681 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x55fd10c34080) at kernel/qcoreapplication.cpp:1821
#26 0x00007fbfc4123f77 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x55fd10c57620) at kernel/qeventdispatcher_glib.cpp:277
#27 0x00007fbfc286c17d in g_main_dispatch (context=0x55fd10c5efc0) at ../../../glib/gmain.c:3309
#28 g_main_context_dispatch (context=context@entry=0x55fd10c5efc0) at ../../../glib/gmain.c:3974
#29 0x00007fbfc286c400 in g_main_context_iterate (context=context@entry=0x55fd10c5efc0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4047
#30 0x00007fbfc286c4a3 in g_main_context_iteration (context=0x55fd10c5efc0, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#31 0x00007fbfc41235d2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55fd10c088b0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#32 0x00007fbfc40c787b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffcb1855970, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#33 0x00007fbfc40cfa34 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#34 0x000055fd10b315b4 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./discover/main.cpp:213
Detaching from program: /usr/bin/plasma-discover, process 36468
[Inferior 1 (process 36468) detached]
Comment 6 Aleix Pol 2021-09-28 17:37:18 UTC
Could you maybe reopen a new one? This is a very weird freeze too where Qt seems locked with itself (???)
Comment 7 Aleix Pol 2021-09-28 17:37:29 UTC
PS: I cannot reproduce
Comment 8 hib 2022-03-31 15:04:59 UTC
Created attachment 147862 [details]
New crash information added by DrKonqi

plasma-discover (5.24.3) using Qt 5.15.2

- What I was doing when the application crashed:
Click install and open the .ref on https://flathub.org/apps/details/us.zoom.Zoom

-- Backtrace (Reduced):
#6  g_type_check_instance_is_fundamentally_a (type_instance=type_instance@entry=0x7f43c4bcdd80, fundamental_type=fundamental_type@entry=80) at ../gobject/gtype.c:4093
[...]
#8  0x00007f43fac522b5 in FlatpakResource::FlatpakResource (this=<optimized out>, component=..., installation=<optimized out>, parent=<optimized out>, this=<optimized out>, component=..., installation=<optimized out>, parent=<optimized out>) at /usr/src/debug/discover-5.24.3-1.2.x86_64/libdiscover/backends/FlatpakBackend/FlatpakResource.cpp:46
#9  0x00007f43fac599b3 in FlatpakBackend::addAppFromFlatpakRef (this=0x564e3260c010, url=..., stream=0x564e32677150) at /usr/src/debug/discover-5.24.3-1.2.x86_64/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:730
#10 0x00007f43fac5b01d in FlatpakFetchRemoteResourceJob::processFile (this=0x564e326a4370, fileUrl=...) at /usr/src/debug/discover-5.24.3-1.2.x86_64/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:297
#11 0x00007f441bd024ae in QObject::event (this=0x564e32677150, e=0x564e326a4a60) at kernel/qobject.cpp:1314
Comment 9 Aleix Pol 2022-04-01 01:09:33 UTC
Git commit 176db6c331ad1c3bd3f39abf546fd22a659c4f9a by Aleix Pol.
Committed on 01/04/2022 at 01:08.
Pushed by apol into branch 'master'.

flatpak: Ensure we fall back to appending .desktop

AppStream still cannot do it itself for some reason, found this trying
to open Zoom's flatpakref.

M  +22   -14   libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp

https://invent.kde.org/plasma/discover/commit/176db6c331ad1c3bd3f39abf546fd22a659c4f9a
Comment 10 Aleix Pol 2022-04-01 01:09:34 UTC
Git commit 176db6c331ad1c3bd3f39abf546fd22a659c4f9a by Aleix Pol.
Committed on 01/04/2022 at 01:08.
Pushed by apol into branch 'master'.

flatpak: Ensure we fall back to appending .desktop

AppStream still cannot do it itself for some reason, found this trying
to open Zoom's flatpakref.

M  +22   -14   libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp

https://invent.kde.org/plasma/discover/commit/176db6c331ad1c3bd3f39abf546fd22a659c4f9a