Bug 454471 - Discover crashed when closed while it was fetching updates
Summary: Discover crashed when closed while it was fetching updates
Status: RESOLVED DUPLICATE of bug 422855
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-05-27 09:01 UTC by Patrick Silva
Modified: 2022-05-27 14:30 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2022-05-27 09:01:58 UTC
Application: plasma-discover (5.25.80)

Qt Version: 5.15.4
Frameworks Version: 5.95.0
Operating System: Linux 5.13.0-41-generic x86_64
Windowing System: Wayland
Distribution: KDE neon Unstable Edition
DrKonqi: 5.25.80 [CoredumpBackend]

-- Information about the crash:
openied Discover via systray icon, closed it while fetching opdates, Plasma shown a crash notification.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Discover (plasma-discover), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[New LWP 3933]
[New LWP 3929]
[New LWP 3924]
[New LWP 3931]
[New LWP 3935]
[New LWP 3923]
[New LWP 3928]
[New LWP 3927]
[New LWP 3934]
[New LWP 3936]
[New LWP 3943]
[New LWP 3944]
[New LWP 3945]
[New LWP 3947]
[New LWP 3948]
[New LWP 3932]
[New LWP 3926]
[New LWP 3925]
[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 --mode update'.
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 0x7f4a58d24700 (LWP 3933))]
__preamble__

[Current thread is 1 (Thread 0x7f4a58d24700 (LWP 3933))]

Thread 18 (Thread 0x7f4a6cc54700 (LWP 3925)):
#0  0x00007f4a732e999f in __GI___poll (fds=fds@entry=0x7f4a6cc53a20, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f4a6e23ebd6 in poll (__timeout=-1, __nfds=2, __fds=0x7f4a6cc53a20) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  QtWaylandClient::EventThread::run (this=0x5561ef480920) at qwaylanddisplay.cpp:208
#3  0x00007f4a7367b643 in QThreadPrivate::start (arg=0x5561ef480920) at thread/qthread_unix.cpp:331
#4  0x00007f4a728c9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#5  0x00007f4a732f6133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 17 (Thread 0x7f4a67fff700 (LWP 3926)):
#0  0x00007f4a732e999f in __GI___poll (fds=0x7f4a5c004a60, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f4a71eb936e in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x7f4a5c004a60, timeout=<optimized out>, context=0x7f4a5c000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f4a5c000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f4a71eb94a3 in g_main_context_iteration (context=0x7f4a5c000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f4a738bcc72 in QEventDispatcherGlib::processEvents (this=0x7f4a5c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f4a73860eab in QEventLoop::exec (this=this@entry=0x7f4a67ffe9f0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f4a7367a462 in QThread::exec (this=this@entry=0x7f4a747fad80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f4a74776f4b in QDBusConnectionManager::run (this=0x7f4a747fad80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#8  0x00007f4a7367b643 in QThreadPrivate::start (arg=0x7f4a747fad80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:331
#9  0x00007f4a728c9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f4a732f6133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 16 (Thread 0x7f4a59566700 (LWP 3932)):
#0  0x00007f4a732e999f in __GI___poll (fds=0x5561efbb1910, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f4a71eb936e in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x5561efbb1910, timeout=<optimized out>, context=0x5561efba3470) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=0x5561efba3470, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f4a71eb96f3 in g_main_loop_run (loop=0x5561efba3560) at ../../../glib/gmain.c:4241
#4  0x00007f4a71c8ff8a in gdbus_shared_thread_func (user_data=0x5561efba3440) at ../../../gio/gdbusprivate.c:279
#5  0x00007f4a71ee2ad1 in g_thread_proxy (data=0x5561efb9da40) at ../../../glib/gthread.c:807
#6  0x00007f4a728c9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f4a732f6133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 15 (Thread 0x7f4a21c82700 (LWP 3948)):
#0  0x00007f4a732e999f in __GI___poll (fds=0x7f49f8001910, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f4a71eb936e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f49f8001910, timeout=<optimized out>, context=0x7f49f8000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f49f8000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f4a71eb94a3 in g_main_context_iteration (context=0x7f49f8000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f4a738bcc72 in QEventDispatcherGlib::processEvents (this=0x7f49f8000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f4a73860eab in QEventLoop::exec (this=this@entry=0x7f4a21c81a20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f4a7367a462 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f4a7367b643 in QThreadPrivate::start (arg=0x5561f0c3abb0) at thread/qthread_unix.cpp:331
#8  0x00007f4a728c9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f4a732f6133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x7f4a227fc700 (LWP 3947)):
#0  0x00007f4a732e999f in __GI___poll (fds=0x7f4a04001a10, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f4a71eb936e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f4a04001a10, timeout=<optimized out>, context=0x7f4a04000c70) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f4a04000c70, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f4a71eb94a3 in g_main_context_iteration (context=0x7f4a04000c70, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f4a738bcc72 in QEventDispatcherGlib::processEvents (this=0x7f4a04000bb0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f4a73860eab in QEventLoop::exec (this=this@entry=0x7f4a227fba20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f4a7367a462 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f4a7367b643 in QThreadPrivate::start (arg=0x5561efc80330) at thread/qthread_unix.cpp:331
#8  0x00007f4a728c9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f4a732f6133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7f4a22ffd700 (LWP 3945)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f4a71f06746 in g_cond_wait_until (cond=cond@entry=0x5561efb655e8, mutex=mutex@entry=0x5561efb655e0, end_time=end_time@entry=120818167) at ../../../glib/gthread-posix.c:1588
#2  0x00007f4a71e89581 in g_async_queue_pop_intern_unlocked (queue=queue@entry=0x5561efb655e0, wait=wait@entry=1, end_time=end_time@entry=120818167) at ../../../glib/gasyncqueue.c:422
#3  0x00007f4a71e89ba6 in g_async_queue_timeout_pop (queue=0x5561efb655e0, timeout=timeout@entry=15000000) at ../../../glib/gasyncqueue.c:545
#4  0x00007f4a71ee3419 in g_thread_pool_wait_for_new_pool () at ../../../glib/gthreadpool.c:183
#5  g_thread_pool_thread_proxy (data=<optimized out>) at ../../../glib/gthreadpool.c:411
#6  0x00007f4a71ee2ad1 in g_thread_proxy (data=0x7f4a240020c0) at ../../../glib/gthread.c:807
#7  0x00007f4a728c9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007f4a732f6133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7f4a237fe700 (LWP 3944)):
#0  0x00007f4a732e999f in __GI___poll (fds=0x7f4a0c001910, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f4a71eb936e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f4a0c001910, timeout=<optimized out>, context=0x7f4a0c000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f4a0c000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f4a71eb94a3 in g_main_context_iteration (context=0x7f4a0c000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f4a738bcc72 in QEventDispatcherGlib::processEvents (this=0x7f4a0c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f4a73860eab in QEventLoop::exec (this=this@entry=0x7f4a237fda20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f4a7367a462 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f4a7367b643 in QThreadPrivate::start (arg=0x5561f174b740) at thread/qthread_unix.cpp:331
#8  0x00007f4a728c9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f4a732f6133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f4a23fff700 (LWP 3943)):
#0  0x00007f4a732e999f in __GI___poll (fds=0x7f4a080018f0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f4a71eb936e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f4a080018f0, timeout=<optimized out>, context=0x7f4a08000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f4a08000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f4a71eb94a3 in g_main_context_iteration (context=0x7f4a08000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f4a738bcc72 in QEventDispatcherGlib::processEvents (this=0x7f4a08000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f4a73860eab in QEventLoop::exec (this=this@entry=0x7f4a23ffea20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f4a7367a462 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f4a7367b643 in QThreadPrivate::start (arg=0x5561efb5d000) at thread/qthread_unix.cpp:331
#8  0x00007f4a728c9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f4a732f6133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f4a3cf23700 (LWP 3936)):
#0  0x00007f4a732e999f in __GI___poll (fds=0x5561efd24850, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f4a71eb936e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x5561efd24850, timeout=<optimized out>, context=0x5561efd24950) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x5561efd24950, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f4a71eb94a3 in g_main_context_iteration (context=context@entry=0x5561efd24950, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f4a5aa4299d in dconf_gdbus_worker_thread (user_data=0x5561efd24950) at ../gdbus/dconf-gdbus-thread.c:82
#5  0x00007f4a71ee2ad1 in g_thread_proxy (data=0x5561efbcbcc0) at ../../../glib/gthread.c:807
#6  0x00007f4a728c9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f4a732f6133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f4a3ffff700 (LWP 3934)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f4a3fffe990, clockid=<optimized out>, expected=0, futex_word=0x5561efbfd250) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f4a3fffe990, clockid=<optimized out>, mutex=0x5561efbfd200, cond=0x5561efbfd228) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x5561efbfd228, mutex=0x5561efbfd200, abstime=0x7f4a3fffe990) at pthread_cond_wait.c:665
#3  0x00007f4a73681668 in QWaitConditionPrivate::wait_relative (this=0x5561efbfd200, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x5561efbfd200) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x5561efbfa180, mutex=mutex@entry=0x5561efb987f8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f4a7367eb71 in QThreadPoolThread::run (this=0x5561efbfa170) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007f4a7367b643 in QThreadPrivate::start (arg=0x5561efbfa170) at thread/qthread_unix.cpp:331
#8  0x00007f4a728c9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f4a732f6133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f4a66dee700 (LWP 3927)):
#0  0x00007f4a732e999f in __GI___poll (fds=0x7f4a54004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f4a71eb936e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f4a54004e60, timeout=<optimized out>, context=0x7f4a54000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f4a54000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f4a71eb94a3 in g_main_context_iteration (context=0x7f4a54000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f4a738bcc72 in QEventDispatcherGlib::processEvents (this=0x7f4a54000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f4a73860eab in QEventLoop::exec (this=this@entry=0x7f4a66deda00, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f4a7367a462 in QThread::exec (this=this@entry=0x5561ef4cc4b0) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f4a74538689 in QQmlThreadPrivate::run (this=0x5561ef4cc4b0) at qml/ftw/qqmlthread.cpp:155
#8  0x00007f4a7367b643 in QThreadPrivate::start (arg=0x5561ef4cc4b0) at thread/qthread_unix.cpp:331
#9  0x00007f4a728c9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f4a732f6133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f4a5bfff700 (LWP 3928)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5561ef4be08c) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5561ef4be038, cond=0x5561ef4be060) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5561ef4be060, mutex=0x5561ef4be038) at pthread_cond_wait.c:647
#3  0x00007f4a647965eb in cnd_wait (mtx=0x5561ef4be038, cond=0x5561ef4be060) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x5561ef595a00) at ../src/util/u_queue.c:294
#5  0x00007f4a647961eb in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f4a728c9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f4a732f6133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f4a6e8cdb80 (LWP 3923)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7ffc22bff620, clockid=<optimized out>, expected=0, futex_word=0x5561efb988a0) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7ffc22bff620, clockid=<optimized out>, mutex=0x5561efb98850, cond=0x5561efb98878) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x5561efb98878, mutex=0x5561efb98850, abstime=0x7ffc22bff620) at pthread_cond_wait.c:665
#3  0x00007f4a73681668 in QWaitConditionPrivate::wait_relative (this=0x5561efb98850, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x5561efb98850) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x5561efb98820, mutex=mutex@entry=0x5561efb987f8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f4a7367df7f in QThreadPoolPrivate::waitForDone (this=this@entry=0x5561efb987a0, timer=...) at thread/qthreadpool.cpp:305
#7  0x00007f4a7367e3cf in QThreadPoolPrivate::waitForDone (this=0x5561efb987a0, msecs=<optimized out>) at thread/qthreadpool.cpp:315
#8  0x00007f4a5a1860b2 in FlatpakBackend::~FlatpakBackend (this=0x5561efba7110, __in_chrg=<optimized out>) at ./libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:298
#9  0x00007f4a5a18627d in FlatpakBackend::~FlatpakBackend (this=0x5561efba7110, __in_chrg=<optimized out>) at ./libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:293
#10 0x00007f4a757b5486 in qDeleteAll<AbstractResourcesBackend* const*> (end=0x5561efcf4990, begin=0x5561efcf4880) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:319
#11 qDeleteAll<QVector<AbstractResourcesBackend*> > (c=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:328
#12 ResourcesModel::~ResourcesModel (this=0x5561ef4b76e0, __in_chrg=<optimized out>) at ./libdiscover/resources/ResourcesModel.cpp:120
#13 0x00007f4a757b554d in ResourcesModel::~ResourcesModel (this=0x5561ef4b76e0, __in_chrg=<optimized out>) at ./libdiscover/resources/ResourcesModel.cpp:117
#14 0x00007f4a7388fd23 in QObject::event (this=0x5561ef4b76e0, e=0x5561f071a3d0) at kernel/qobject.cpp:1301
#15 0x00007f4a74a5fdc3 in QApplicationPrivate::notify_helper (this=this@entry=0x5561ef45e980, receiver=receiver@entry=0x5561ef4b76e0, e=e@entry=0x5561f071a3d0) at kernel/qapplication.cpp:3637
#16 0x00007f4a74a68bd8 in QApplication::notify (this=0x7ffc22bffc20, receiver=0x5561ef4b76e0, e=0x5561f071a3d0) at kernel/qapplication.cpp:3161
#17 0x00007f4a738623aa in QCoreApplication::notifyInternal2 (receiver=0x5561ef4b76e0, event=0x5561f071a3d0) at ../../include/QtCore/5.15.4/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:332
#18 0x00007f4a73864cb1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=52, data=0x5561ef4586f0) at kernel/qcoreapplication.cpp:1821
#19 0x00007f4a7386906c in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:86
#20 0x00005561ed76b745 in main (argc=<optimized out>, argv=<optimized out>) at ./discover/main.cpp:216

Thread 5 (Thread 0x7f4a3ea95700 (LWP 3935)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f4a3ea94990, clockid=<optimized out>, expected=0, futex_word=0x5561efc068d0) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f4a3ea94990, clockid=<optimized out>, mutex=0x5561efc06880, cond=0x5561efc068a8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x5561efc068a8, mutex=0x5561efc06880, abstime=0x7f4a3ea94990) at pthread_cond_wait.c:665
#3  0x00007f4a73681668 in QWaitConditionPrivate::wait_relative (this=0x5561efc06880, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x5561efc06880) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x5561efc12430, mutex=mutex@entry=0x5561efc044b8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f4a7367eb71 in QThreadPoolThread::run (this=0x5561efc12420) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007f4a7367b643 in QThreadPrivate::start (arg=0x5561efc12420) at thread/qthread_unix.cpp:331
#8  0x00007f4a728c9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f4a732f6133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f4a59da8700 (LWP 3931)):
#0  0x00007f4a732e999f in __GI___poll (fds=0x5561efbad270, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f4a71eb936e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x5561efbad270, timeout=<optimized out>, context=0x5561efbbc1e0) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x5561efbbc1e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f4a71eb94a3 in g_main_context_iteration (context=0x5561efbbc1e0, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f4a71eb94f1 in glib_worker_main (data=<optimized out>) at ../../../glib/gmain.c:5996
#5  0x00007f4a71ee2ad1 in g_thread_proxy (data=0x5561efb9d000) at ../../../glib/gthread.c:807
#6  0x00007f4a728c9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f4a732f6133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f4a6d455700 (LWP 3924)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5561ef4843d4) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5561ef484380, cond=0x5561ef4843a8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5561ef4843a8, mutex=0x5561ef484380) at pthread_cond_wait.c:647
#3  0x00007f4a736816db in QWaitConditionPrivate::wait (deadline=..., this=0x5561ef484380) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=this@entry=0x5561ef486d80, mutex=mutex@entry=0x5561ef486d78, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f4a6e23eb7d in QtWaylandClient::EventThread::waitForReading (this=0x5561ef486d40) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QtWaylandClient::EventThread::run (this=0x5561ef486d40) at qwaylanddisplay.cpp:206
#7  0x00007f4a7367b643 in QThreadPrivate::start (arg=0x5561ef486d40) at thread/qthread_unix.cpp:331
#8  0x00007f4a728c9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f4a732f6133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f4a5b2f2700 (LWP 3929)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f4a5b2f1990, clockid=<optimized out>, expected=0, futex_word=0x5561efbe81b0) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f4a5b2f1990, clockid=<optimized out>, mutex=0x5561efbe8160, cond=0x5561efbe8188) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x5561efbe8188, mutex=0x5561efbe8160, abstime=0x7f4a5b2f1990) at pthread_cond_wait.c:665
#3  0x00007f4a73681668 in QWaitConditionPrivate::wait_relative (this=0x5561efbe8160, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x5561efbe8160) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x5561efb6a150, mutex=mutex@entry=0x5561efb9b488, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f4a7367eb71 in QThreadPoolThread::run (this=0x5561efb6a140) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007f4a7367b643 in QThreadPrivate::start (arg=0x5561efb6a140) at thread/qthread_unix.cpp:331
#8  0x00007f4a728c9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f4a732f6133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f4a58d24700 (LWP 3933)):
[KCrash Handler]
#3  flatpak_dir_list_refs (self=self@entry=0x0, kinds=kinds@entry=FLATPAK_KINDS_APP, cancellable=cancellable@entry=0x5561efbb0860, error=error@entry=0x7f4a58d23938) at common/flatpak-dir.c:6381
#4  0x00007f4a5a0a29bd in flatpak_installation_list_installed_refs (self=self@entry=0x7f4a4400fa50, cancellable=cancellable@entry=0x5561efbb0860, error=error@entry=0x7f4a58d23938) at common/flatpak-installation.c:901
#5  0x00007f4a5a0a2d7b in flatpak_installation_list_installed_refs_for_update (self=self@entry=0x7f4a4400fa50, cancellable=0x5561efbb0860, error=error@entry=0x7f4a58d23938) at common/flatpak-installation.c:1078
#6  0x00007f4a5a1858b6 in FlatpakBackend::<lambda()>::<lambda()>::operator() (__closure=0x5561f17f0ef8) at ./libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:1411
#7  QtConcurrent::StoredFunctorCall0<QHash<_FlatpakInstallation*, QVector<_FlatpakInstalledRef*> >, FlatpakBackend::search(const AbstractResourcesBackend::Filters&)::<lambda()>::<lambda()> >::runFunctor(void) (this=0x5561f17f0ed0) at /usr/include/x86_64-linux-gnu/qt5/QtConcurrent/qtconcurrentstoredfunctioncall.h:60
#8  0x00007f4a5a18f51d in non-virtual thunk to QtConcurrent::RunFunctionTask<QHash<_FlatpakInstallation*, QVector<_FlatpakInstalledRef*> > >::run() () at /usr/include/x86_64-linux-gnu/qt5/QtCore/qrefcount.h:102
#9  0x00007f4a7367e972 in QThreadPoolThread::run (this=0x5561efbf84b0) at thread/qthreadpool.cpp:100
#10 0x00007f4a7367b643 in QThreadPrivate::start (arg=0x5561efbf84b0) at thread/qthread_unix.cpp:331
#11 0x00007f4a728c9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007f4a732f6133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Reported using DrKonqi
Comment 1 Nate Graham 2022-05-27 14:30:06 UTC
#3  flatpak_dir_list_refs (self=self@entry=0x0, kinds=kinds@entry=FLATPAK_KINDS_APP, cancellable=cancellable@entry=0x5561efbb0860, error=error@entry=0x7f4a58d23938) at common/flatpak-dir.c:6381
#4  0x00007f4a5a0a29bd in flatpak_installation_list_installed_refs (self=self@entry=0x7f4a4400fa50, cancellable=cancellable@entry=0x5561efbb0860, error=error@entry=0x7f4a58d23938) at common/flatpak-installation.c:901
#5  0x00007f4a5a0a2d7b in flatpak_installation_list_installed_refs_for_update (self=self@entry=0x7f4a4400fa50, cancellable=0x5561efbb0860, error=error@entry=0x7f4a58d23938) at common/flatpak-installation.c:1078
#6  0x00007f4a5a1858b6 in FlatpakBackend::<lambda()>::<lambda()>::operator() (__closure=0x5561f17f0ef8) at ./libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:1411

*** This bug has been marked as a duplicate of bug 422855 ***