Bug 426732 - Discover crashed when I tried to update addons from KDE Store
Summary: Discover crashed when I tried to update addons from KDE Store
Status: RESOLVED FIXED
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:
Depends on:
Blocks:
 
Reported: 2020-09-19 15:08 UTC by Patrick Silva
Modified: 2021-01-05 15:28 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.75


Attachments
New crash information added by DrKonqi (16.97 KB, patch)
2021-01-05 15:28 UTC, Carldon1987
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-09-19 15:08:09 UTC
SUMMARY
Discover was running, I removed a Plasma Style installed from KDE Store via inline remove button of Plasma Style kcm, then I tried to update the addons listed in "Update" page (previously removed Plasma Style not included) and Discover crashed.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.19.90
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.0


Thread 18 (Thread 0x7f8bc56f5700 (LWP 24888)):
#0  0x00007f8c333a681b in __GI___close (fd=fd@entry=68) at ../sysdeps/unix/sysv/linux/close.c:27
#1  0x00007f8c350a5eda in closeAllFDs() () at ./src/kcrash.cpp:385
#2  0x00007f8c350a6938 in KCrash::defaultCrashHandler(int) (sig=11) at ./src/kcrash.cpp:420
#3  0x00007f8c332db210 in <signal handler called> () at /lib/x86_64-linux-gnu/libc.so.6
#4  brw_bo_reference (bo=0x0) at ../src/mesa/drivers/dri/i965/brw_bufmgr.h:265
#5  brw_upload_indices (brw=0x55d985475de0) at ../src/mesa/drivers/dri/i965/brw_draw_upload.c:762
#6  0x00007f8c25fb4d41 in check_and_emit_atom (atom=0x55d98548cef0, state=<synthetic pointer>, brw=0x55d985475de0) at ../src/mesa/drivers/dri/i965/brw_state_upload.c:600
#7  brw_upload_pipeline_state (pipeline=BRW_RENDER_PIPELINE, brw=0x55d985475de0) at ../src/mesa/drivers/dri/i965/brw_state_upload.c:722
#8  brw_upload_render_state (brw=brw@entry=0x55d985475de0) at ../src/mesa/drivers/dri/i965/brw_state_upload.c:744
#9  0x00007f8c25fa45b4 in brw_draw_single_prim (indirect=0x0, stream=0, xfb_obj=0x0, prim_id=0, prim=<optimized out>, ctx=0x55d985475de0) at ../src/mesa/drivers/dri/i965/brw_draw.c:1062
#10 brw_draw_prims (ctx=0x55d985475de0, prims=<optimized out>, nr_prims=1, ib=<optimized out>, index_bounds_valid=<optimized out>, min_index=<optimized out>, max_index=<optimized out>, gl_xfb_obj=0x0, stream=0, indirect=0x0) at ../src/mesa/drivers/dri/i965/brw_draw.c:1185
#11 0x00007f8c2611d433 in _mesa_validated_drawrangeelements (baseInstance=0, numInstances=1, basevertex=0, indices=0x1090, type=5123, count=<optimized out>, end=<optimized out>, start=<optimized out>, index_bounds_valid=<optimized out>, mode=<optimized out>, ctx=<optimized out>) at ../src/mesa/main/draw.c:816
#12 _mesa_validated_drawrangeelements (ctx=<optimized out>, mode=<optimized out>, index_bounds_valid=<optimized out>, start=<optimized out>, end=<optimized out>, count=<optimized out>, type=5123, indices=0x1090, basevertex=0, numInstances=1, baseInstance=0) at ../src/mesa/main/draw.c:748
#13 0x00007f8c2611d74c in _mesa_DrawElements (mode=4, count=318, type=5123, indices=0x1090) at ../src/mesa/main/draw.c:970
#14 0x00007f8c354d99e5 in QOpenGLFunctions::glDrawElements(unsigned int, int, unsigned int, void const*) (this=0x7f8ba0005710, indices=<optimized out>, type=5123, count=<optimized out>, mode=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtGui/qopenglfunctions.h:760
#15 QSGBatchRenderer::Renderer::renderMergedBatch(QSGBatchRenderer::Batch const*) (batch=0x55d988f58140, this=0x7f8ba00055a0) at scenegraph/coreapi/qsgbatchrenderer.cpp:3092
#16 QSGBatchRenderer::Renderer::renderMergedBatch(QSGBatchRenderer::Batch const*) (this=0x7f8ba00055a0, batch=0x55d988f58140) at scenegraph/coreapi/qsgbatchrenderer.cpp:2987
#17 0x00007f8c354df5e5 in QSGBatchRenderer::Renderer::renderBatches() (this=this@entry=0x7f8ba00055a0) at scenegraph/coreapi/qsgbatchrenderer.cpp:4027
#18 0x00007f8c354dfb42 in QSGBatchRenderer::Renderer::render() (this=<optimized out>) at scenegraph/coreapi/qsgbatchrenderer.cpp:4324
#19 0x00007f8c354c3a94 in QSGRenderer::renderScene(QSGBindable const&) (bindable=..., this=0x7f8ba00055a0) at scenegraph/coreapi/qsgrenderer.cpp:264
#20 QSGRenderer::renderScene(QSGBindable const&) (this=0x7f8ba00055a0, bindable=...) at scenegraph/coreapi/qsgrenderer.cpp:220
#21 0x00007f8c354c3f63 in QSGRenderer::renderScene(unsigned int) (this=<optimized out>, fboId=<optimized out>) at scenegraph/coreapi/qsgrenderer.cpp:212
#22 0x00007f8c355328a7 in QSGDefaultRenderContext::renderNextFrame(QSGRenderer*, unsigned int) (this=0x55d984851fa0, renderer=0x7f8ba00055a0, fboId=<optimized out>) at scenegraph/qsgdefaultrendercontext.cpp:228
#23 0x00007f8c3559ff89 in QQuickWindowPrivate::renderSceneGraph(QSize const&, QSize const&) (this=this@entry=0x55d98440ef30, size=..., surfaceSize=...) at items/qquickwindow.cpp:541
#24 0x00007f8c35540139 in QSGRenderThread::syncAndRender(QImage*) (this=0x55d9851a7880, grabImage=0x0) at /usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.0/QtGui/private/qrhi_p.h:1259
#25 0x00007f8c35544587 in QSGRenderThread::run() (this=0x55d9851a7880) at scenegraph/qsgthreadedrenderloop.cpp:1043
#26 0x00007f8c3373820c in QThreadPrivate::start(void*) (arg=0x55d9851a7880) at thread/qthread_unix.cpp:342
#27 0x00007f8c3268c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#28 0x00007f8c333b7103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 17 (Thread 0x7f8c08ff9700 (LWP 24876)):
#0  0x00007f8c333aa96f in __GI___poll (fds=0x55d984e3e6b0, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8c31d201ae in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8c31d20533 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8c31a7beda in  () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f8c31d49931 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f8c3268c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f8c333b7103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 16 (Thread 0x7f8b9cff9700 (LWP 25013)):
#0  0x00007f8c333aa96f in __GI___poll (fds=0x7f8bd4a363f0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8c31d201ae in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8c31d202e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8be57de99d in  () at /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007f8c31d49931 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f8c3268c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f8c333b7103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 15 (Thread 0x7f8c097fa700 (LWP 24875)):
#0  0x00007f8c333aa96f in __GI___poll (fds=0x55d984e31d40, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8c31d201ae in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8c31d202e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8c31d20331 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f8c31d49931 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f8c3268c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f8c333b7103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x7f8c12dee700 (LWP 24869)):
#0  0x00007f8c333aa96f in __GI___poll (fds=0x7f8c04004a80, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8c31d201ae in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8c31d202e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8c33974e92 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f8c04000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007f8c339191bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f8c12dedc60, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f8c33737082 in QThread::exec() (this=this@entry=0x55d984a75120) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f8c3547f30a in QQuickPixmapReader::run() (this=0x55d984a75120) at util/qquickpixmapcache.cpp:1008
#7  0x00007f8c3373820c in QThreadPrivate::start(void*) (arg=0x55d984a75120) at thread/qthread_unix.cpp:342
#8  0x00007f8c3268c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f8c333b7103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7f8c2df79700 (LWP 24863)):
#0  0x00007f8c333aa96f in __GI___poll (fds=0x7f8c28005240, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8c31d201ae in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8c31d202e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8c33974e92 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f8c28000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007f8c339191bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f8c2df78c70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f8c33737082 in QThread::exec() (this=this@entry=0x7f8c34f9ad80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f8c34f17f2b in QDBusConnectionManager::run() (this=0x7f8c34f9ad80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#7  0x00007f8c3373820c in QThreadPrivate::start(void*) (arg=0x7f8c34f9ad80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:342
#8  0x00007f8c3268c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f8c333b7103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7f8bc67fd700 (LWP 24889)):
#0  0x00007f8c333aa96f in __GI___poll (fds=0x7f8b880ad5d0, nfds=4, timeout=98318) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8c31d201ae in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8c31d202e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8c33974e92 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f8b88000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007f8c339191bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f8bc67fcca0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f8c33737082 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f8c3373820c in QThreadPrivate::start(void*) (arg=0x55d988415120) at thread/qthread_unix.cpp:342
#7  0x00007f8c3268c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007f8c333b7103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f8b96ffd700 (LWP 25057)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f8b96ffcc10, clockid=<optimized out>, expected=0, futex_word=0x7f8c040e5c80) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f8b96ffcc10, clockid=<optimized out>, mutex=0x7f8c040e5c30, cond=0x7f8c040e5c58) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x7f8c040e5c58, mutex=0x7f8c040e5c30, abstime=0x7f8b96ffcc10) at pthread_cond_wait.c:656
#3  0x00007f8c3373e098 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (this=0x7f8c040e5c30, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x7f8c040e5c30) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x7f8c0402fae0, mutex=mutex@entry=0x7f8c040ed878, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f8c3373b6c1 in QThreadPoolThread::run() (this=0x7f8c0402fad0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#7  0x00007f8c3373820c in QThreadPrivate::start(void*) (arg=0x7f8c0402fad0) at thread/qthread_unix.cpp:342
#8  0x00007f8c3268c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f8c333b7103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f8be7fff700 (LWP 24877)):
#0  0x00007f8c333aa96f in __GI___poll (fds=0x7f8be013cff0, nfds=3, timeout=100101) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8c31d201ae in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8c31d202e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8c33974e92 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f8be0000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007f8c339191bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f8be7ffeca0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f8c33737082 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f8c3373820c in QThreadPrivate::start(void*) (arg=0x55d984e73a80) at thread/qthread_unix.cpp:342
#7  0x00007f8c3268c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007f8c333b7103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f8bc7fff700 (LWP 25056)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f8bc7ffec10, clockid=<optimized out>, expected=0, futex_word=0x7f8be0005ac4) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f8bc7ffec10, clockid=<optimized out>, mutex=0x7f8be0005a70, cond=0x7f8be0005a98) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x7f8be0005a98, mutex=0x7f8be0005a70, abstime=0x7f8bc7ffec10) at pthread_cond_wait.c:656
#3  0x00007f8c3373e098 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (this=0x7f8be0005a70, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x7f8be0005a70) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x7f8be00057d0, mutex=mutex@entry=0x7f8be00054e8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f8c3373b6c1 in QThreadPoolThread::run() (this=0x7f8be00057c0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#7  0x00007f8c3373820c in QThreadPrivate::start(void*) (arg=0x7f8be00057c0) at thread/qthread_unix.cpp:342
#8  0x00007f8c3268c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f8c333b7103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f8be67fc700 (LWP 25058)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f8be67fbc10, clockid=<optimized out>, expected=0, futex_word=0x7f8c040f2bc0) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f8be67fbc10, clockid=<optimized out>, mutex=0x7f8c040f2b70, cond=0x7f8c040f2b98) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x7f8c040f2b98, mutex=0x7f8c040f2b70, abstime=0x7f8be67fbc10) at pthread_cond_wait.c:656
#3  0x00007f8c3373e098 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (this=0x7f8c040f2b70, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x7f8c040f2b70) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x7f8c0402fb10, mutex=mutex@entry=0x7f8c040ed878, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f8c3373b6c1 in QThreadPoolThread::run() (this=0x7f8c0402fb00) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#7  0x00007f8c3373820c in QThreadPrivate::start(void*) (arg=0x7f8c0402fb00) at thread/qthread_unix.cpp:342
#8  0x00007f8c3268c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f8c333b7103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f8c09ffb700 (LWP 24874)):
#0  0x00007f8c333aa96f in __GI___poll (fds=0x7f8bf4004a30, nfds=1, timeout=9983) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8c31d201ae in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8c31d202e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8c33974e92 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f8bf4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007f8c339191bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f8c09ffaca0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f8c33737082 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f8c3373820c in QThreadPrivate::start(void*) (arg=0x55d984c203f0) at thread/qthread_unix.cpp:342
#7  0x00007f8c3268c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007f8c333b7103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f8c13fff700 (LWP 24868)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55d9844ee138) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55d9844ee0e8, cond=0x55d9844ee110) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55d9844ee110, mutex=0x55d9844ee0e8) at pthread_cond_wait.c:638
#3  0x00007f8c263b497b in cnd_wait (mtx=0x55d9844ee0e8, cond=0x55d9844ee110) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55d98452aff0) at ../src/util/u_queue.c:275
#5  0x00007f8c263b458b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f8c3268c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f8c333b7103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f8c24c26700 (LWP 24867)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55d9844ee138) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55d9844ee0e8, cond=0x55d9844ee110) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55d9844ee110, mutex=0x55d9844ee0e8) at pthread_cond_wait.c:638
#3  0x00007f8c263b497b in cnd_wait (mtx=0x55d9844ee0e8, cond=0x55d9844ee110) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55d98452b4f0) at ../src/util/u_queue.c:275
#5  0x00007f8c263b458b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f8c3268c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f8c333b7103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f8c25427700 (LWP 24866)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55d9844ee138) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55d9844ee0e8, cond=0x55d9844ee110) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55d9844ee110, mutex=0x55d9844ee0e8) at pthread_cond_wait.c:638
#3  0x00007f8c263b497b in cnd_wait (mtx=0x55d9844ee0e8, cond=0x55d9844ee110) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55d9847c4100) at ../src/util/u_queue.c:275
#5  0x00007f8c263b458b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f8c3268c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f8c333b7103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f8c25c28700 (LWP 24865)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55d9844ee138) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55d9844ee0e8, cond=0x55d9844ee110) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55d9844ee110, mutex=0x55d9844ee0e8) at pthread_cond_wait.c:638
#3  0x00007f8c263b497b in cnd_wait (mtx=0x55d9844ee0e8, cond=0x55d9844ee110) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55d9847cf330) at ../src/util/u_queue.c:275
#5  0x00007f8c263b458b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f8c3268c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f8c333b7103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f8c2cd68700 (LWP 24864)):
#0  0x00007f8c333aa96f in __GI___poll (fds=0x7f8c20004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8c31d201ae in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8c31d202e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8c33974e92 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f8c20000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007f8c339191bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f8c2cd67c80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f8c33737082 in QThread::exec() (this=this@entry=0x55d9843aeab0) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f8c346456c9 in QQmlThreadPrivate::run() (this=0x55d9843aeab0) at qml/ftw/qqmlthread.cpp:155
#7  0x00007f8c3373820c in QThreadPrivate::start(void*) (arg=0x55d9843aeab0) at thread/qthread_unix.cpp:342
#8  0x00007f8c3268c609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f8c333b7103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f8c2f0ae900 (LWP 24861)):
#0  __GI_raise (sig=sig@entry=11) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007f8c350a6f5a in KCrash::defaultCrashHandler(int) (sig=11) at ./src/kcrash.cpp:555
#2  0x00007f8c332db210 in <signal handler called> () at /lib/x86_64-linux-gnu/libc.so.6
#3  0x0000000000000000 in  ()
#4  0x00007f8c11e9d7b9 in KPackageTask::~KPackageTask() (this=0x55d989236a20, __in_chrg=<optimized out>) at ./src/core/jobs/kpackagejob.cpp:63
#5  KPackageTask::~KPackageTask() (this=0x55d989236a20, __in_chrg=<optimized out>) at ./src/core/jobs/kpackagejob.cpp:65
#6  0x00007f8c33944bae in QObjectPrivate::deleteChildren() (this=0x55d988c9c1f0) at kernel/qobject.cpp:2104
#7  0x00007f8c3394f5d6 in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#8  0x00007f8c11e9ce7d in KNSCore::KPackageJob::~KPackageJob() (this=0x55d9890e7c40, __in_chrg=<optimized out>) at ./src/core/jobs/kpackagejob.cpp:133
#9  0x00007f8c33947ec3 in QObject::event(QEvent*) (this=0x55d9890e7c40, e=0x55d988e1b3f0) at kernel/qobject.cpp:1301
#10 0x00007f8c349becc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x55d9843828c0, receiver=receiver@entry=0x55d9890e7c40, e=e@entry=0x55d988e1b3f0) at kernel/qapplication.cpp:3671
#11 0x00007f8c349c7c70 in QApplication::notify(QObject*, QEvent*) (this=0x7ffc0c345970, receiver=0x55d9890e7c40, e=0x55d988e1b3f0) at kernel/qapplication.cpp:3417
#12 0x00007f8c3391a6aa in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55d9890e7c40, event=0x55d988e1b3f0) at ../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#13 0x00007f8c3391cfa1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x55d98437b980) at kernel/qcoreapplication.cpp:1815
#14 0x00007f8c33975837 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x55d9843aec70) at kernel/qeventdispatcher_glib.cpp:277
#15 0x00007f8c31d1ffbd in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f8c31d20240 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f8c31d202e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f8c33974e92 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55d9843c6660, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#19 0x00007f8c339191bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc0c345890, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#20 0x00007f8c33921354 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#21 0x000055d98335f5c7 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./discover/main.cpp:171
Comment 1 Nate Graham 2020-09-23 18:45:59 UTC
Crash in your graphics drivers:

#4  brw_bo_reference (bo=0x0) at ../src/mesa/drivers/dri/i965/brw_bufmgr.h:265
#5  brw_upload_indices (brw=0x55d985475de0) at ../src/mesa/drivers/dri/i965/brw_draw_upload.c:762
#6  0x00007f8c25fb4d41 in check_and_emit_atom (atom=0x55d98548cef0, state=<synthetic pointer>, brw=0x55d985475de0) at ../src/mesa/drivers/dri/i965/brw_state_upload.c:600

Yikes.
Comment 2 Aleix Pol 2020-10-01 10:05:18 UTC
I could reproduce this crash as well.
Ran it through valgrind for further information.

 kf.newstuff.core: KNSCore::Installation::installDownloadedFileAndUncompress About to attempt to install "online.knowmad.shaderwallpaper" into "/home/apol/.local/share/plasma/wallpapers/"
 kf.newstuff.core: KPackageTask::run Attempting to perform an installation operation of type 2 on the package "/tmp/kJCBhO-online.knowmad.shaderwallpaper-1.3.tar.gz" of type "Plasma/Wallpaper" in the package root "/home/apol/.local/share/plasma/wallpapers/"
 kf.newstuff.core: KPackageTask::run Service type understood
 kf.newstuff.core: KPackageTask::run Installer successfully created and has a valid structure
 kf.newstuff.core: KPackageTask::run Created job, now let's wait for it to do its thing...
==105967== Invalid read of size 8
==105967==    at 0x639BAA8: KJob::d_func() const (kjob.h:655)
==105967==    by 0x6399697: KJob::errorText() const (kjob.cpp:197)
==105967==    by 0x220F3012: KPackageTask::run()::{lambda(KJob*)#1}::operator()(KJob*) const (kpackagejob.cpp:99)
==105967==    by 0x220F3AEB: QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<KJob*>, void, KPackageTask::run()::{lambda(KJob*)#1}>::call({lambda(KJob*)#1}&, void**) (qobjectdefs_impl.h:146)
==105967==    by 0x220F39BE: void QtPrivate::Functor<KPackageTask::run()::{lambda(KJob*)#1}, 1>::call<QtPrivate::List<KJob*>, void>({lambda(KJob*)#1}&, void*, {lambda(KJob*)#1}&*) (qobjectdefs_impl.h:256)
==105967==    by 0x220F3943: QtPrivate::QFunctorSlotObject<KPackageTask::run()::{lambda(KJob*)#1}, 1, QtPrivate::List<KJob*>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (qobjectdefs_impl.h:443)
==105967==    by 0x73B2550: QObject::event(QEvent*) (qobject.cpp:1314)
==105967==    by 0x5E2214E: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3630)
==105967==    by 0x7386529: QCoreApplication::notifyInternal2(QObject*, QEvent*) (qcoreapplication.cpp:1063)
==105967==    by 0x7388F60: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (qcoreapplication.cpp:1817)
==105967==    by 0x73DE3F2: postEventSourceDispatch(_GSource*, int (*)(void*), void*) (qeventdispatcher_glib.cpp:277)
==105967==    by 0xA6F4BFB: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.6600.0)
==105967==  Address 0x11bfe210 is 16 bytes inside a block of size 32 free'd
==105967==    at 0x483BEAB: operator delete(void*) (vg_replace_malloc.c:584)
==105967==    by 0x7DFEC93: KPackage::PackageJob::~PackageJob() (packagejob.cpp:53)
==105967==    by 0x73B230E: QObject::event(QEvent*) (qobject.cpp:1301)
==105967==    by 0x5E2214E: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3630)
==105967==    by 0x7386529: QCoreApplication::notifyInternal2(QObject*, QEvent*) (qcoreapplication.cpp:1063)
==105967==    by 0x7388F60: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (qcoreapplication.cpp:1817)
==105967==    by 0x73DE3F2: postEventSourceDispatch(_GSource*, int (*)(void*), void*) (qeventdispatcher_glib.cpp:277)
==105967==    by 0xA6F4BFB: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.6600.0)
==105967==    by 0xA7461F8: ??? (in /usr/lib/libglib-2.0.so.0.6600.0)
==105967==    by 0xA6F3420: g_main_context_iteration (in /usr/lib/libglib-2.0.so.0.6600.0)
==105967==    by 0x73DDA7E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:423)
==105967==    by 0x7384EEA: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:232)
==105967==  Block was alloc'd at
==105967==    at 0x483ADEF: operator new(unsigned long) (vg_replace_malloc.c:342)
==105967==    by 0x7DF5FC0: KPackage::PackageStructure::update(KPackage::Package*, QString const&, QString const&) (packagestructure.cpp:45)
==105967==    by 0x7DED518: KPackage::Package::update(QString const&, QString const&) (package.cpp:848)
==105967==    by 0x220F33D0: KPackageTask::run() (kpackagejob.cpp:84)
==105967==    by 0x71AAAB1: QThreadPoolThread::run() (qthreadpool.cpp:100)
==105967==    by 0x71A6CD0: QThreadPrivate::start(void*) (qthread_unix.cpp:329)
==105967==    by 0x7E7F3E8: start_thread (in /usr/lib/libpthread-2.32.so)
==105967==    by 0x7ACD292: clone (in /usr/lib/libc-2.32.so)
==105967== 
==105967== Invalid read of size 8
==105967==    at 0x6373B98: QString::QString(QString const&) (qstring.h:1088)
==105967==    by 0x63996AA: KJob::errorText() const (kjob.cpp:197)
==105967==    by 0x220F3012: KPackageTask::run()::{lambda(KJob*)#1}::operator()(KJob*) const (kpackagejob.cpp:99)
==105967==    by 0x220F3AEB: QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<KJob*>, void, KPackageTask::run()::{lambda(KJob*)#1}>::call({lambda(KJob*)#1}&, void**) (qobjectdefs_impl.h:146)
==105967==    by 0x220F39BE: void QtPrivate::Functor<KPackageTask::run()::{lambda(KJob*)#1}, 1>::call<QtPrivate::List<KJob*>, void>({lambda(KJob*)#1}&, void*, {lambda(KJob*)#1}&*) (qobjectdefs_impl.h:256)
==105967==    by 0x220F3943: QtPrivate::QFunctorSlotObject<KPackageTask::run()::{lambda(KJob*)#1}, 1, QtPrivate::List<KJob*>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (qobjectdefs_impl.h:443)
==105967==    by 0x73B2550: QObject::event(QEvent*) (qobject.cpp:1314)
==105967==    by 0x5E2214E: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3630)
==105967==    by 0x7386529: QCoreApplication::notifyInternal2(QObject*, QEvent*) (qcoreapplication.cpp:1063)
==105967==    by 0x7388F60: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (qcoreapplication.cpp:1817)
==105967==    by 0x73DE3F2: postEventSourceDispatch(_GSource*, int (*)(void*), void*) (qeventdispatcher_glib.cpp:277)
==105967==    by 0xA6F4BFB: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.6600.0)
==105967==  Address 0xccbbb58 is 24 bytes inside a block of size 96 free'd
==105967==    at 0x483BEAB: operator delete(void*) (vg_replace_malloc.c:584)
==105967==    by 0x639900B: KJobPrivate::~KJobPrivate() (kjob.cpp:25)
==105967==    by 0x63991AF: KJob::~KJob() (kjob.cpp:47)
==105967==    by 0x7DFEC6C: KPackage::PackageJob::~PackageJob() (packagejob.cpp:50)
==105967==    by 0x7DFEC87: KPackage::PackageJob::~PackageJob() (packagejob.cpp:53)
==105967==    by 0x73B230E: QObject::event(QEvent*) (qobject.cpp:1301)
==105967==    by 0x5E2214E: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3630)
==105967==    by 0x7386529: QCoreApplication::notifyInternal2(QObject*, QEvent*) (qcoreapplication.cpp:1063)
==105967==    by 0x7388F60: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (qcoreapplication.cpp:1817)
==105967==    by 0x73DE3F2: postEventSourceDispatch(_GSource*, int (*)(void*), void*) (qeventdispatcher_glib.cpp:277)
==105967==    by 0xA6F4BFB: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.6600.0)
==105967==    by 0xA7461F8: ??? (in /usr/lib/libglib-2.0.so.0.6600.0)
==105967==  Block was alloc'd at
==105967==    at 0x483ADEF: operator new(unsigned long) (vg_replace_malloc.c:342)
==105967==    by 0x639904F: KJob::KJob(QObject*) (kjob.cpp:28)
==105967==    by 0x7DFEAEE: KPackage::PackageJob::PackageJob(KPackage::Package*, QObject*) (packagejob.cpp:30)
==105967==    by 0x7DF5FD7: KPackage::PackageStructure::update(KPackage::Package*, QString const&, QString const&) (packagestructure.cpp:45)
==105967==    by 0x7DED518: KPackage::Package::update(QString const&, QString const&) (package.cpp:848)
==105967==    by 0x220F33D0: KPackageTask::run() (kpackagejob.cpp:84)
==105967==    by 0x71AAAB1: QThreadPoolThread::run() (qthreadpool.cpp:100)
==105967==    by 0x71A6CD0: QThreadPrivate::start(void*) (qthread_unix.cpp:329)
==105967==    by 0x7E7F3E8: start_thread (in /usr/lib/libpthread-2.32.so)
==105967==    by 0x7ACD292: clone (in /usr/lib/libc-2.32.so)
==105967== 
==105967== Invalid read of size 4
==105967==    at 0x636B8F5: load (atomic_base.h:426)
==105967==    by 0x636B8F5: int QAtomicOps<int>::loadRelaxed<int>(std::atomic<int> const&) (qatomic_cxx11.h:239)
==105967==    by 0x636B5E3: QBasicAtomicInteger<int>::loadRelaxed() const (qbasicatomic.h:107)
==105967==    by 0x63732BF: QtPrivate::RefCount::ref() (qrefcount.h:55)
==105967==    by 0x6373BD2: QString::QString(QString const&) (qstring.h:1089)
==105967==    by 0x63996AA: KJob::errorText() const (kjob.cpp:197)
==105967==    by 0x220F3012: KPackageTask::run()::{lambda(KJob*)#1}::operator()(KJob*) const (kpackagejob.cpp:99)
==105967==    by 0x220F3AEB: QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<KJob*>, void, KPackageTask::run()::{lambda(KJob*)#1}>::call({lambda(KJob*)#1}&, void**) (qobjectdefs_impl.h:146)
==105967==    by 0x220F39BE: void QtPrivate::Functor<KPackageTask::run()::{lambda(KJob*)#1}, 1>::call<QtPrivate::List<KJob*>, void>({lambda(KJob*)#1}&, void*, {lambda(KJob*)#1}&*) (qobjectdefs_impl.h:256)
==105967==    by 0x220F3943: QtPrivate::QFunctorSlotObject<KPackageTask::run()::{lambda(KJob*)#1}, 1, QtPrivate::List<KJob*>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (qobjectdefs_impl.h:443)
==105967==    by 0x73B2550: QObject::event(QEvent*) (qobject.cpp:1314)
==105967==    by 0x5E2214E: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3630)
==105967==    by 0x7386529: QCoreApplication::notifyInternal2(QObject*, QEvent*) (qcoreapplication.cpp:1063)
==105967==  Address 0xb830e10 is 0 bytes inside a block of size 256 free'd
==105967==    at 0x483B9AB: free (vg_replace_malloc.c:538)
==105967==    by 0x7DF0F47: QTypedArrayData<unsigned short>::deallocate(QArrayData*) (qarraydata.h:239)
==105967==    by 0x7DEFEEE: QString::~QString() (qstring.h:1302)
==105967==    by 0x7E04E91: KPackage::PackageJobThreadPrivate::~PackageJobThreadPrivate() (packagejobthread.cpp:150)
==105967==    by 0x7E019EB: KPackage::PackageJobThread::~PackageJobThread() (packagejobthread.cpp:167)
==105967==    by 0x7E01A1F: KPackage::PackageJobThread::~PackageJobThread() (packagejobthread.cpp:168)
==105967==    by 0x73B013D: QObjectPrivate::deleteChildren() (qobject.cpp:2104)
==105967==    by 0x73BAD13: QObject::~QObject() (qobject.cpp:1082)
==105967==    by 0x63991BB: KJob::~KJob() (kjob.cpp:39)
==105967==    by 0x7DFEC6C: KPackage::PackageJob::~PackageJob() (packagejob.cpp:50)
==105967==    by 0x7DFEC87: KPackage::PackageJob::~PackageJob() (packagejob.cpp:53)
==105967==    by 0x73B230E: QObject::event(QEvent*) (qobject.cpp:1301)
==105967==  Block was alloc'd at
==105967==    at 0x483CD7B: realloc (vg_replace_malloc.c:834)
==105967==    by 0x71B239B: reallocateData (qarraydata.cpp:183)
==105967==    by 0x71B239B: QArrayData::reallocateUnaligned(QArrayData*, unsigned long, unsigned long, QFlags<QArrayData::AllocationOption>) (qarraydata.cpp:246)
==105967==    by 0x7228011: reallocateUnaligned (qarraydata.h:232)
==105967==    by 0x7228011: QString::reallocData(unsigned int, bool) (qstring.cpp:2380)
==105967==    by 0x7228591: QString::append(QString const&) (qstring.cpp:2674)
==105967==    by 0x57DE09D: KLocalizedStringPrivate::substituteSimple(QString const&, QStringList const&, QChar, bool) const (klocalizedstring.cpp:744)
==105967==    by 0x57DD5EA: KLocalizedStringPrivate::toString(QByteArray const&, QStringList const&, Kuit::VisualFormat, bool) const (klocalizedstring.cpp:608)
==105967==    by 0x57DC89B: KLocalizedString::toString() const (klocalizedstring.cpp:481)
==105967==    by 0x7E05506: QString i18nd<QString, QString, QString>(char const*, char const*, QString const&, QString const&, QString const&) (klocalizedstring.h:1371)
==105967==    by 0x7E03765: KPackage::PackageJobThread::installPackage(QString const&, QString const&, KPackage::PackageJobThread::OperationType) (packagejobthread.cpp:347)
==105967==    by 0x7E03DA4: KPackage::PackageJobThread::update(QString const&, QString const&) (packagejobthread.cpp:406)
==105967==    by 0x7DFEF00: KPackage::PackageJob::update(QString const&, QString const&) (packagejob.cpp:81)
==105967==    by 0x7DF5FF2: KPackage::PackageStructure::update(KPackage::Package*, QString const&, QString const&) (packagestructure.cpp:46)
==105967== 
==105967== Invalid read of size 8
==105967==    at 0x639BAA8: KJob::d_func() const (kjob.h:655)
==105967==    by 0x6399675: KJob::error() const (kjob.cpp:192)
==105967==    by 0x220F3048: KPackageTask::run()::{lambda(KJob*)#1}::operator()(KJob*) const (kpackagejob.cpp:100)
==105967==    by 0x220F3AEB: QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<KJob*>, void, KPackageTask::run()::{lambda(KJob*)#1}>::call({lambda(KJob*)#1}&, void**) (qobjectdefs_impl.h:146)
==105967==    by 0x220F39BE: void QtPrivate::Functor<KPackageTask::run()::{lambda(KJob*)#1}, 1>::call<QtPrivate::List<KJob*>, void>({lambda(KJob*)#1}&, void*, {lambda(KJob*)#1}&*) (qobjectdefs_impl.h:256)
==105967==    by 0x220F3943: QtPrivate::QFunctorSlotObject<KPackageTask::run()::{lambda(KJob*)#1}, 1, QtPrivate::List<KJob*>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (qobjectdefs_impl.h:443)
==105967==    by 0x73B2550: QObject::event(QEvent*) (qobject.cpp:1314)
==105967==    by 0x5E2214E: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3630)
==105967==    by 0x7386529: QCoreApplication::notifyInternal2(QObject*, QEvent*) (qcoreapplication.cpp:1063)
==105967==    by 0x7388F60: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (qcoreapplication.cpp:1817)
==105967==    by 0x73DE3F2: postEventSourceDispatch(_GSource*, int (*)(void*), void*) (qeventdispatcher_glib.cpp:277)
==105967==    by 0xA6F4BFB: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.6600.0)
==105967==  Address 0x11bfe210 is 16 bytes inside a block of size 32 free'd
==105967==    at 0x483BEAB: operator delete(void*) (vg_replace_malloc.c:584)
==105967==    by 0x7DFEC93: KPackage::PackageJob::~PackageJob() (packagejob.cpp:53)
==105967==    by 0x73B230E: QObject::event(QEvent*) (qobject.cpp:1301)
==105967==    by 0x5E2214E: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3630)
==105967==    by 0x7386529: QCoreApplication::notifyInternal2(QObject*, QEvent*) (qcoreapplication.cpp:1063)
==105967==    by 0x7388F60: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (qcoreapplication.cpp:1817)
==105967==    by 0x73DE3F2: postEventSourceDispatch(_GSource*, int (*)(void*), void*) (qeventdispatcher_glib.cpp:277)
==105967==    by 0xA6F4BFB: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.6600.0)
==105967==    by 0xA7461F8: ??? (in /usr/lib/libglib-2.0.so.0.6600.0)
==105967==    by 0xA6F3420: g_main_context_iteration (in /usr/lib/libglib-2.0.so.0.6600.0)
==105967==    by 0x73DDA7E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:423)
==105967==    by 0x7384EEA: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:232)
==105967==  Block was alloc'd at
==105967==    at 0x483ADEF: operator new(unsigned long) (vg_replace_malloc.c:342)
==105967==    by 0x7DF5FC0: KPackage::PackageStructure::update(KPackage::Package*, QString const&, QString const&) (packagestructure.cpp:45)
==105967==    by 0x7DED518: KPackage::Package::update(QString const&, QString const&) (package.cpp:848)
==105967==    by 0x220F33D0: KPackageTask::run() (kpackagejob.cpp:84)
==105967==    by 0x71AAAB1: QThreadPoolThread::run() (qthreadpool.cpp:100)
==105967==    by 0x71A6CD0: QThreadPrivate::start(void*) (qthread_unix.cpp:329)
==105967==    by 0x7E7F3E8: start_thread (in /usr/lib/libpthread-2.32.so)
==105967==    by 0x7ACD292: clone (in /usr/lib/libc-2.32.so)
==105967== 
==105967== Invalid read of size 4
==105967==    at 0x6399676: KJob::error() const (kjob.cpp:192)
==105967==    by 0x220F3048: KPackageTask::run()::{lambda(KJob*)#1}::operator()(KJob*) const (kpackagejob.cpp:100)
==105967==    by 0x220F3AEB: QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<KJob*>, void, KPackageTask::run()::{lambda(KJob*)#1}>::call({lambda(KJob*)#1}&, void**) (qobjectdefs_impl.h:146)
==105967==    by 0x220F39BE: void QtPrivate::Functor<KPackageTask::run()::{lambda(KJob*)#1}, 1>::call<QtPrivate::List<KJob*>, void>({lambda(KJob*)#1}&, void*, {lambda(KJob*)#1}&*) (qobjectdefs_impl.h:256)
==105967==    by 0x220F3943: QtPrivate::QFunctorSlotObject<KPackageTask::run()::{lambda(KJob*)#1}, 1, QtPrivate::List<KJob*>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (qobjectdefs_impl.h:443)
==105967==    by 0x73B2550: QObject::event(QEvent*) (qobject.cpp:1314)
==105967==    by 0x5E2214E: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3630)
==105967==    by 0x7386529: QCoreApplication::notifyInternal2(QObject*, QEvent*) (qcoreapplication.cpp:1063)
==105967==    by 0x7388F60: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (qcoreapplication.cpp:1817)
==105967==    by 0x73DE3F2: postEventSourceDispatch(_GSource*, int (*)(void*), void*) (qeventdispatcher_glib.cpp:277)
==105967==    by 0xA6F4BFB: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.6600.0)
==105967==    by 0xA7461F8: ??? (in /usr/lib/libglib-2.0.so.0.6600.0)
==105967==  Address 0xccbbb60 is 32 bytes inside a block of size 96 free'd
==105967==    at 0x483BEAB: operator delete(void*) (vg_replace_malloc.c:584)
==105967==    by 0x639900B: KJobPrivate::~KJobPrivate() (kjob.cpp:25)
==105967==    by 0x63991AF: KJob::~KJob() (kjob.cpp:47)
==105967==    by 0x7DFEC6C: KPackage::PackageJob::~PackageJob() (packagejob.cpp:50)
==105967==    by 0x7DFEC87: KPackage::PackageJob::~PackageJob() (packagejob.cpp:53)
==105967==    by 0x73B230E: QObject::event(QEvent*) (qobject.cpp:1301)
==105967==    by 0x5E2214E: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3630)
==105967==    by 0x7386529: QCoreApplication::notifyInternal2(QObject*, QEvent*) (qcoreapplication.cpp:1063)
==105967==    by 0x7388F60: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (qcoreapplication.cpp:1817)
==105967==    by 0x73DE3F2: postEventSourceDispatch(_GSource*, int (*)(void*), void*) (qeventdispatcher_glib.cpp:277)
==105967==    by 0xA6F4BFB: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.6600.0)
==105967==    by 0xA7461F8: ??? (in /usr/lib/libglib-2.0.so.0.6600.0)
==105967==  Block was alloc'd at
==105967==    at 0x483ADEF: operator new(unsigned long) (vg_replace_malloc.c:342)
==105967==    by 0x639904F: KJob::KJob(QObject*) (kjob.cpp:28)
==105967==    by 0x7DFEAEE: KPackage::PackageJob::PackageJob(KPackage::Package*, QObject*) (packagejob.cpp:30)
==105967==    by 0x7DF5FD7: KPackage::PackageStructure::update(KPackage::Package*, QString const&, QString const&) (packagestructure.cpp:45)
==105967==    by 0x7DED518: KPackage::Package::update(QString const&, QString const&) (package.cpp:848)
==105967==    by 0x220F33D0: KPackageTask::run() (kpackagejob.cpp:84)
==105967==    by 0x71AAAB1: QThreadPoolThread::run() (qthreadpool.cpp:100)
==105967==    by 0x71A6CD0: QThreadPrivate::start(void*) (qthread_unix.cpp:329)
==105967==    by 0x7E7F3E8: start_thread (in /usr/lib/libpthread-2.32.so)
==105967==    by 0x7ACD292: clone (in /usr/lib/libc-2.32.so)
==105967== 
==105967== Thread 10 Thread (pooled):
==105967== Invalid read of size 4
==105967==    at 0x73A198E: load (atomic_base.h:426)
==105967==    by 0x73A198E: loadRelaxed<int> (qatomic_cxx11.h:239)
==105967==    by 0x73A198E: loadRelaxed (qbasicatomic.h:107)
==105967==    by 0x73A198E: ref (qrefcount.h:55)
==105967==    by 0x73A198E: QString (qstring.h:1089)
==105967==    by 0x73A198E: QtMetaTypePrivate::QMetaTypeFunctionHelper<QString, true>::Construct(void*, void const*) (qmetatype.h:825)
==105967==    by 0x739C8A0: construct (qmetatype.h:2366)
==105967==    by 0x739C8A0: QMetaType::create(int, void const*) (qmetatype.cpp:1652)
==105967==    by 0x73B1FB1: queued_activate(QObject*, int, QObjectPrivate::Connection*, void**) (qobject.cpp:3749)
==105967==    by 0x73BCAA4: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3846)
==105967==    by 0x220F28D8: KPackageTask::error(int, QString const&) (kpackagejob.moc:152)
==105967==    by 0x220F3642: KPackageTask::run() (kpackagejob.cpp:116)
==105967==    by 0x71AAAB1: QThreadPoolThread::run() (qthreadpool.cpp:100)
==105967==    by 0x71A6CD0: QThreadPrivate::start(void*) (qthread_unix.cpp:329)
==105967==    by 0x7E7F3E8: start_thread (in /usr/lib/libpthread-2.32.so)
==105967==    by 0x7ACD292: clone (in /usr/lib/libc-2.32.so)
==105967==  Address 0xb830e10 is 0 bytes inside a block of size 256 free'd
==105967==    at 0x483B9AB: free (vg_replace_malloc.c:538)
==105967==    by 0x7DF0F47: QTypedArrayData<unsigned short>::deallocate(QArrayData*) (qarraydata.h:239)
==105967==    by 0x7DEFEEE: QString::~QString() (qstring.h:1302)
==105967==    by 0x7E04E91: KPackage::PackageJobThreadPrivate::~PackageJobThreadPrivate() (packagejobthread.cpp:150)
==105967==    by 0x7E019EB: KPackage::PackageJobThread::~PackageJobThread() (packagejobthread.cpp:167)
==105967==    by 0x7E01A1F: KPackage::PackageJobThread::~PackageJobThread() (packagejobthread.cpp:168)
==105967==    by 0x73B013D: QObjectPrivate::deleteChildren() (qobject.cpp:2104)
==105967==    by 0x73BAD13: QObject::~QObject() (qobject.cpp:1082)
==105967==    by 0x63991BB: KJob::~KJob() (kjob.cpp:39)
==105967==    by 0x7DFEC6C: KPackage::PackageJob::~PackageJob() (packagejob.cpp:50)
==105967==    by 0x7DFEC87: KPackage::PackageJob::~PackageJob() (packagejob.cpp:53)
==105967==    by 0x73B230E: QObject::event(QEvent*) (qobject.cpp:1301)
==105967==  Block was alloc'd at
==105967==    at 0x483CD7B: realloc (vg_replace_malloc.c:834)
==105967==    by 0x71B239B: reallocateData (qarraydata.cpp:183)
==105967==    by 0x71B239B: QArrayData::reallocateUnaligned(QArrayData*, unsigned long, unsigned long, QFlags<QArrayData::AllocationOption>) (qarraydata.cpp:246)
==105967==    by 0x7228011: reallocateUnaligned (qarraydata.h:232)
==105967==    by 0x7228011: QString::reallocData(unsigned int, bool) (qstring.cpp:2380)
==105967==    by 0x7228591: QString::append(QString const&) (qstring.cpp:2674)
==105967==    by 0x57DE09D: KLocalizedStringPrivate::substituteSimple(QString const&, QStringList const&, QChar, bool) const (klocalizedstring.cpp:744)
==105967==    by 0x57DD5EA: KLocalizedStringPrivate::toString(QByteArray const&, QStringList const&, Kuit::VisualFormat, bool) const (klocalizedstring.cpp:608)
==105967==    by 0x57DC89B: KLocalizedString::toString() const (klocalizedstring.cpp:481)
==105967==    by 0x7E05506: QString i18nd<QString, QString, QString>(char const*, char const*, QString const&, QString const&, QString const&) (klocalizedstring.h:1371)
==105967==    by 0x7E03765: KPackage::PackageJobThread::installPackage(QString const&, QString const&, KPackage::PackageJobThread::OperationType) (packagejobthread.cpp:347)
==105967==    by 0x7E03DA4: KPackage::PackageJobThread::update(QString const&, QString const&) (packagejobthread.cpp:406)
==105967==    by 0x7DFEF00: KPackage::PackageJob::update(QString const&, QString const&) (packagejob.cpp:81)
==105967==    by 0x7DF5FF2: KPackage::PackageStructure::update(KPackage::Package*, QString const&, QString const&) (packagestructure.cpp:46)
==105967== 
==105967== Thread 1:
==105967== Invalid read of size 4
==105967==    at 0x72281E0: load (atomic_base.h:426)
==105967==    by 0x72281E0: loadRelaxed<int> (qatomic_cxx11.h:239)
==105967==    by 0x72281E0: loadRelaxed (qbasicatomic.h:107)
==105967==    by 0x72281E0: ref (qrefcount.h:55)
==105967==    by 0x72281E0: QString::operator=(QString const&) (qstring.cpp:2408)
==105967==    by 0x63997C8: KJob::setErrorText(QString const&) (kjob.cpp:229)
==105967==    by 0x220F2146: KNSCore::KPackageJob::start()::{lambda(int, QString const&)#1}::operator()(int, QString const&) const (kpackagejob.cpp:151)
==105967==    by 0x220F2CF4: QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1>, QtPrivate::List<int, QString const&>, void, KNSCore::KPackageJob::start()::{lambda(int, QString const&)#1}>::call({lambda(int, QString const&)#1}&, void**) (qobjectdefs_impl.h:146)
==105967==    by 0x220F2C82: void QtPrivate::Functor<KNSCore::KPackageJob::start()::{lambda(int, QString const&)#1}, 2>::call<QtPrivate::List<int, QString const&>, void>({lambda(int, QString const&)#1}&, void*, {lambda(int, QString const&)#1}&*) (qobjectdefs_impl.h:256)
==105967==    by 0x220F2BC7: QtPrivate::QFunctorSlotObject<KNSCore::KPackageJob::start()::{lambda(int, QString const&)#1}, 2, QtPrivate::List<int, QString const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (qobjectdefs_impl.h:443)
==105967==    by 0x73B2550: QObject::event(QEvent*) (qobject.cpp:1314)
==105967==    by 0x5E2214E: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3630)
==105967==    by 0x7386529: QCoreApplication::notifyInternal2(QObject*, QEvent*) (qcoreapplication.cpp:1063)
==105967==    by 0x7388F60: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (qcoreapplication.cpp:1817)
==105967==    by 0x73DE3F2: postEventSourceDispatch(_GSource*, int (*)(void*), void*) (qeventdispatcher_glib.cpp:277)
==105967==    by 0xA6F4BFB: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.6600.0)
==105967==  Address 0xb830e10 is 0 bytes inside a block of size 256 free'd
Comment 3 Bug Janitor Service 2020-10-01 10:18:58 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/knewstuff/-/merge_requests/59
Comment 4 Aleix Pol 2020-10-01 10:30:41 UTC
Git commit 68824589fe8a1356f06e80098556b77914f96824 by Aleix Pol Gonzalez, on behalf of Aleix Pol.
Committed on 01/10/2020 at 10:30.
Pushed by apol into branch 'master'.

Fix crash when installing kpackages

We can't delay the connection because when we get there the object might
already be gone.

M  +1    -1    src/core/jobs/kpackagejob.cpp

https://invent.kde.org/frameworks/knewstuff/commit/68824589fe8a1356f06e80098556b77914f96824
Comment 5 Carldon1987 2021-01-05 15:28:18 UTC
Created attachment 134578 [details]
New crash information added by DrKonqi

plasma-discover (5.18.5) using Qt 5.12.8

Once downloading packahes update finishes, the application crashes

-- Backtrace (Reduced):
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#7  0x00007f4606884859 in __GI_abort () at abort.c:79
#8  0x00007f4606cb9aad in QMessageLogger::fatal(char const*, ...) const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f4608962065 in QSGRenderLoop::handleContextCreationFailure(QQuickWindow*, bool) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
[...]
#12 0x00007f460783a9ad in QWindow::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5