Bug 443302

Summary: Discover crashed in ResourcesUpdatesModel::useUnattendedUpdatesChanged() while I was interacting with a GHNS window
Product: [Applications] Discover Reporter: Patrick Silva <bugseforuns>
Component: discoverAssignee: Dan Leinir Turthra Jensen <leinir>
Status: REPORTED ---    
Severity: crash CC: aleixpol, donnie126_2002, nate, woddy68
Priority: NOR    
Version: master   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Patrick Silva 2021-10-04 13:15:57 UTC
SUMMARY
Discover was running, I opened the GNHS window of Plasma Styles KCM, Discover crashed in background while I was switching between the options from comboboxes on top.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.3
Graphics Platform: Wayland

Application: Discover (plasma-discover), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[New LWP 3034]
[New LWP 3111]
[New LWP 3040]
[New LWP 3035]
[New LWP 3036]
[New LWP 3037]
[New LWP 3038]
[New LWP 3043]
[New LWP 3044]
[New LWP 3048]
[New LWP 3052]
[New LWP 3112]
[New LWP 4575]
[New LWP 4591]
[New LWP 4592]
[New LWP 3051]
[New LWP 3039]
[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 0x7f19209d8bc0 (LWP 3034))]
__preamble__

[Current thread is 1 (Thread 0x7f19209d8bc0 (LWP 3034))]

Thread 17 (Thread 0x7f19177fe700 (LWP 3039)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55d6b6d15b8c) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55d6b6d15b38, cond=0x55d6b6d15b60) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55d6b6d15b60, mutex=0x55d6b6d15b38) at pthread_cond_wait.c:647
#3  0x00007f191daaba4b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f191daab64b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f19251d4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f1925ab8293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 16 (Thread 0x7f18be7fc700 (LWP 3051)):
#0  0x00007f1925aabaff in __GI___poll (fds=0x7f18a8002950, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f19247c436e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f18a8002950, timeout=<optimized out>, context=0x7f18a8000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f18a8000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f19247c44a3 in g_main_context_iteration (context=0x7f18a8000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f192607b5d2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f18a8000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f192601f87b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f18be7fb9e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f1925e39292 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f1925e3a42c in QThreadPrivate::start(void*) (arg=0x55d6b720d930) at thread/qthread_unix.cpp:329
#8  0x00007f19251d4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f1925ab8293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 15 (Thread 0x7f189e7fc700 (LWP 4592)):
#0  0x00007f1925aabaff in __GI___poll (fds=0x7f188803f6d0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f19247c436e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f188803f6d0, timeout=<optimized out>, context=0x7f1888001e90) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f1888001e90, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f19247c44a3 in g_main_context_iteration (context=0x7f1888001e90, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f192607b5d2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f18881480a0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f192601f87b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f189e7fb9e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f1925e39292 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f1925e3a42c in QThreadPrivate::start(void*) (arg=0x7f18588621e0) at thread/qthread_unix.cpp:329
#8  0x00007f19251d4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f1925ab8293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x7f189c98f700 (LWP 4591)):
#0  0x00007f1925aabaff in __GI___poll (fds=0x7f1880cb3b70, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f19247c436e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f1880cb3b70, timeout=<optimized out>, context=0x7f185b5aec10) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f185b5aec10, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f19247c44a3 in g_main_context_iteration (context=0x7f185b5aec10, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f192607b5d2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f185b146490, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f192601f87b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f189c98e9a0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f1925e39292 in QThread::exec() (this=this@entry=0x55d6bb327dc0) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f1927b413ba in QQuickPixmapReader::run() (this=0x55d6bb327dc0) at util/qquickpixmapcache.cpp:1024
#8  0x00007f1925e3a42c in QThreadPrivate::start(void*) (arg=0x55d6bb327dc0) at thread/qthread_unix.cpp:329
#9  0x00007f19251d4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f1925ab8293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7f1901ffb700 (LWP 4575)):
#0  0x00007f1925aabaff in __GI___poll (fds=0x7f18ec347310, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f19247c436e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f18ec347310, timeout=<optimized out>, context=0x7f18ec33ee00) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f18ec33ee00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f19247c44a3 in g_main_context_iteration (context=0x7f18ec33ee00, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f192607b5d2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f18ec346d70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f192601f87b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f1901ffa9e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f1925e39292 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f1925e3a42c in QThreadPrivate::start(void*) (arg=0x55d6baeed0f0) at thread/qthread_unix.cpp:329
#8  0x00007f19251d4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f1925ab8293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7f189d190700 (LWP 3112)):
#0  0x00007f1925aabaff in __GI___poll (fds=0x7f188c00ca00, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f19247c436e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f188c00ca00, timeout=<optimized out>, context=0x7f188c000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f188c000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f19247c44a3 in g_main_context_iteration (context=0x7f188c000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f192607b5eb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f188c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f192601f87b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f189d18f9e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f1925e39292 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f1925e3a42c in QThreadPrivate::start(void*) (arg=0x55d6b724af10) at thread/qthread_unix.cpp:329
#8  0x00007f19251d4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f1925ab8293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f18bdffb700 (LWP 3052)):
#0  0x00007f1925aabaff in __GI___poll (fds=0x7f18ac0cbcb0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f19247c436e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f18ac0cbcb0, timeout=<optimized out>, context=0x7f18ac000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f18ac000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f19247c44a3 in g_main_context_iteration (context=0x7f18ac000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f192607b5d2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f18ac000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f192601f87b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f18bdffa9e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f1925e39292 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f1925e3a42c in QThreadPrivate::start(void*) (arg=0x55d6b754dd10) at thread/qthread_unix.cpp:329
#8  0x00007f19251d4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f1925ab8293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f18bffff700 (LWP 3048)):
#0  0x00007f1925aabaff in __GI___poll (fds=0x7f18ec011c60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f19247c436e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f18ec011c60, timeout=<optimized out>, context=0x7f18ec31d3f0) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f18ec31d3f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f19247c44a3 in g_main_context_iteration (context=context@entry=0x7f18ec31d3f0, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f190063d99d in dconf_gdbus_worker_thread (user_data=0x7f18ec31d3f0) at ../gdbus/dconf-gdbus-thread.c:82
#5  0x00007f19247edad1 in g_thread_proxy (data=0x7f18ec00c400) at ../../../glib/gthread.c:807
#6  0x00007f19251d4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f1925ab8293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f19027fc700 (LWP 3044)):
#0  0x00007f1925aabaff in __GI___poll (fds=0x7f18e8008940, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f19247c436e in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x7f18e8008940, timeout=<optimized out>, context=0x55d6b74e0230) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=0x55d6b74e0230, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f19247c46f3 in g_main_loop_run (loop=0x55d6b718c310) at ../../../glib/gmain.c:4241
#4  0x00007f19243d8f8a in gdbus_shared_thread_func (user_data=0x55d6b74e0200) at ../../../gio/gdbusprivate.c:279
#5  0x00007f19247edad1 in g_thread_proxy (data=0x7f18f0022d20) at ../../../glib/gthread.c:807
#6  0x00007f19251d4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f1925ab8293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f1902ffd700 (LWP 3043)):
#0  0x00007f1925aabaff in __GI___poll (fds=0x55d6b7189760, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f19247c436e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x55d6b7189760, timeout=<optimized out>, context=0x55d6b74d6ff0) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x55d6b74d6ff0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f19247c44a3 in g_main_context_iteration (context=0x55d6b74d6ff0, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f19247c44f1 in glib_worker_main (data=<optimized out>) at ../../../glib/gmain.c:5996
#5  0x00007f19247edad1 in g_thread_proxy (data=0x7f18f0022e40) at ../../../glib/gthread.c:807
#6  0x00007f19251d4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f1925ab8293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f1917fff700 (LWP 3038)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55d6b6d15b88) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55d6b6d15b38, cond=0x55d6b6d15b60) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55d6b6d15b60, mutex=0x55d6b6d15b38) at pthread_cond_wait.c:647
#3  0x00007f191daaba4b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f191daab64b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f19251d4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f1925ab8293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f191cf10700 (LWP 3037)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55d6b6d15b8c) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55d6b6d15b38, cond=0x55d6b6d15b60) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55d6b6d15b60, mutex=0x55d6b6d15b38) at pthread_cond_wait.c:647
#3  0x00007f191daaba4b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f191daab64b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f19251d4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f1925ab8293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f191d711700 (LWP 3036)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55d6b6d15b8c) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55d6b6d15b38, cond=0x55d6b6d15b60) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55d6b6d15b60, mutex=0x55d6b6d15b38) at pthread_cond_wait.c:647
#3  0x00007f191daaba4b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f191daab64b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f19251d4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f1925ab8293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f191fc87700 (LWP 3035)):
#0  0x00007f1925aabaff in __GI___poll (fds=0x7f1918005240, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f19247c436e in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x7f1918005240, timeout=<optimized out>, context=0x7f1918000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f1918000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f19247c44a3 in g_main_context_iteration (context=0x7f1918000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f192607b5d2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f1918000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f192601f87b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f191fc869b0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f1925e39292 in QThread::exec() (this=this@entry=0x7f1926fa5d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f1926f21f4b in QDBusConnectionManager::run() (this=0x7f1926fa5d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#8  0x00007f1925e3a42c in QThreadPrivate::start(void*) (arg=0x7f1926fa5d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:329
#9  0x00007f19251d4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f1925ab8293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f1915ef8700 (LWP 3040)):
#0  0x00007f1925aabaff in __GI___poll (fds=0x7f18fc004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f19247c436e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f18fc004e60, timeout=<optimized out>, context=0x7f18fc000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f18fc000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f19247c44a3 in g_main_context_iteration (context=0x7f18fc000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f192607b5d2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f18fc000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f192601f87b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f1915ef79c0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f1925e39292 in QThread::exec() (this=this@entry=0x55d6b707b370) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f1926cec549 in QQmlThreadPrivate::run() (this=0x55d6b707b370) at qml/ftw/qqmlthread.cpp:155
#8  0x00007f1925e3a42c in QThreadPrivate::start(void*) (arg=0x55d6b707b370) at thread/qthread_unix.cpp:329
#9  0x00007f19251d4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f1925ab8293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f189effd700 (LWP 3111)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55d6b76ab420) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55d6b76ab3d0, cond=0x55d6b76ab3f8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55d6b76ab3f8, mutex=0x55d6b76ab3d0) at pthread_cond_wait.c:647
#3  0x00007f1925e4059b in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55d6b76ab3d0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55d6b76ab338, mutex=mutex@entry=0x55d6b76ab330, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f1927c06b44 in QSGRenderThreadEventQueue::takeEvent(bool) (wait=true, this=0x55d6b76ab328) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QSGRenderThread::processEventsAndWaitForMore() (this=this@entry=0x55d6b76ab290) at scenegraph/qsgthreadedrenderloop.cpp:936
#7  0x00007f1927c06fb9 in QSGRenderThread::run() (this=0x55d6b76ab290) at scenegraph/qsgthreadedrenderloop.cpp:1053
#8  0x00007f1925e3a42c in QThreadPrivate::start(void*) (arg=0x55d6b76ab290) at thread/qthread_unix.cpp:329
#9  0x00007f19251d4609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f1925ab8293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f19209d8bc0 (LWP 3034)):
[KCrash Handler]
#3  std::__atomic_base<QObjectPrivate::Connection*>::load(std::memory_order) const (__m=std::memory_order_acquire, this=0x8955cc894954420d) at /usr/include/c++/9/bits/atomic_base.h:734
#4  std::atomic<QObjectPrivate::Connection*>::load(std::memory_order) const (__m=std::memory_order_acquire, this=0x8955cc894954420d) at /usr/include/c++/9/atomic:519
#5  QAtomicOps<QObjectPrivate::Connection*>::loadAcquire<QObjectPrivate::Connection*>(std::atomic<QObjectPrivate::Connection*> const&) (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:251
#6  QBasicAtomicPointer<QObjectPrivate::Connection>::loadAcquire() const (this=0x8955cc894954420d) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:255
#7  QObjectPrivate::maybeSignalConnected(unsigned int) const (this=this@entry=0x7f1926e3ba20 <vtable for QQmlComponentPrivate+72>, signalIndex=signalIndex@entry=33) at kernel/qobject.cpp:486
#8  0x00007f1926057954 in doActivate<false>(QObject*, int, void**) (sender=0x55d6b745dd80, signal_index=33, argv=0x7ffd76b30760) at kernel/qobject_p.h:110
#9  0x00007f1926051167 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7f1928004de0 <ResourcesUpdatesModel::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#10 0x00007f1927fa0d87 in ResourcesUpdatesModel::useUnattendedUpdatesChanged() (this=<optimized out>) at ./obj-x86_64-linux-gnu/libdiscover/DiscoverCommon_autogen/3YJK5W5UP7/moc_ResourcesUpdatesModel.cpp:345
#11 0x00007f1927fd0ce5 in ResourcesUpdatesModel::<lambda()>::operator() (__closure=0x55d6b745e000) at ./libdiscover/resources/ResourcesUpdatesModel.cpp:160
#12 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, ResourcesUpdatesModel::init()::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:146
#13 QtPrivate::Functor<ResourcesUpdatesModel::init()::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:256
#14 QtPrivate::QFunctorSlotObject<ResourcesUpdatesModel::init()::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x55d6b745dff0, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443
#15 0x00007f1926057d9e in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffd76b308c0, r=0x55d6b6f9f2d0, this=0x55d6b745dff0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#16 doActivate<false>(QObject*, int, void**) (sender=0x55d6b6f9f2d0, signal_index=3, argv=0x7ffd76b308c0) at kernel/qobject.cpp:3886
#17 0x00007f1926fc3dbb in KConfigWatcher::configChanged(KConfigGroup const&, QList<QByteArray> const&) () at /lib/x86_64-linux-gnu/libKF5ConfigCore.so.5
#18 0x00007f19270064f9 in KConfigWatcher::onConfigChangeNotification(QHash<QString, QList<QByteArray> > const&) () at /lib/x86_64-linux-gnu/libKF5ConfigCore.so.5
#19 0x00007f1926fc4123 in KConfigWatcher::qt_metacall(QMetaObject::Call, int, void**) () at /lib/x86_64-linux-gnu/libKF5ConfigCore.so.5
#20 0x00007f1926f2e55b in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QVector<int> const&, int) (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at qdbusintegrator.cpp:1001
#21 0x00007f192604e919 in QObject::event(QEvent*) (this=0x55d6b6f9f2d0, e=0x55d6bb867600) at kernel/qobject.cpp:1314
#22 0x00007f1927213dc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x55d6b6b1cc20, receiver=receiver@entry=0x55d6b6f9f2d0, e=e@entry=0x55d6bb867600) at kernel/qapplication.cpp:3632
#23 0x00007f192721cbb8 in QApplication::notify(QObject*, QEvent*) (this=0x7ffd76b31160, receiver=0x55d6b6f9f2d0, e=0x55d6bb867600) at kernel/qapplication.cpp:3156
#24 0x00007f1926020d7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55d6b6f9f2d0, event=0x55d6bb867600) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#25 0x00007f1926023681 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x55d6b6b1a080) at kernel/qcoreapplication.cpp:1821
#26 0x00007f192607bf77 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x55d6b6b448d0) at kernel/qeventdispatcher_glib.cpp:277
#27 0x00007f19247c417d in g_main_dispatch (context=0x55d6b6b451b0) at ../../../glib/gmain.c:3309
#28 g_main_context_dispatch (context=context@entry=0x55d6b6b451b0) at ../../../glib/gmain.c:3974
#29 0x00007f19247c4400 in g_main_context_iterate (context=context@entry=0x55d6b6b451b0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4047
#30 0x00007f19247c44a3 in g_main_context_iteration (context=0x55d6b6b451b0, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#31 0x00007f192607b5d2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55d6b6aee730, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#32 0x00007f192601f87b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd76b31080, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#33 0x00007f1926027a34 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#34 0x000055d6b668d5b4 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./discover/main.cpp:213
Comment 1 Nate Graham 2021-10-04 22:29:56 UTC
That's weird, ResourcesUpdatesModel::useUnattendedUpdatesChanged() shouldn't be called here since there's nothing in the GHNS window that can affect that. In fact it's not supposed to get called at all unless you manually alter this setting in the KCM.
Comment 2 Nate Graham 2021-11-09 14:26:09 UTC
*** Bug 445199 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2021-11-10 18:03:04 UTC
*** Bug 445283 has been marked as a duplicate of this bug. ***
Comment 4 carlo 2022-02-06 18:40:44 UTC
Same problem in Tumbleweed using factory repositories, so Plasma 5.23.90 - Frameworks 5.90.0 - qt 5.15.2 - Applications 21.12.2.
Starting Discover from the terminal I get :
plasma-discover %F
QObject::startTimer: Timers cannot have negative intervals
org.kde.plasma.discover: Trying to open unexisting file QUrl("file:///home/carlo/%25F")
adding empty sources model QStandardItemModel(0x561c5bd61b90)
org.kde.plasma.libdiscover: Couldn't find a category for  "fwupd-backend"
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/private/PrivateActionToolButton.qml:74:5: QML Binding: Binding loop detected for property "value"
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/AbstractApplicationWindow.qml:283:5: QML Binding: Not restoring previous value because restoreMode has not been set.
This behavior is deprecated.
You have to import QtQml 2.15 after any QtQuick imports and set
the restoreMode of the binding to fix this warning.
In Qt < 6.0 the default is Binding.RestoreBinding.
In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.

file:///usr/lib64/qt5/qml/org/kde/kirigami.2/BasicListItem.qml:261:18: QML QQuickItem*: Binding loop detected for property "implicitWidth"
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/AbstractApplicationWindow.qml:283:5: QML Binding: Not restoring previous value because restoreMode has not been set.
This behavior is deprecated.
You have to import QtQml 2.15 after any QtQuick imports and set
the restoreMode of the binding to fix this warning.
In Qt < 6.0 the default is Binding.RestoreBinding.
In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.

Errore di segmentazione (core dump creato)

I think it's the same bug, but I'm not sure, in any case Discover doesn't start.