Bug 436263

Summary: Plasmashell and KDEinit 5 crash after sending files via KDEConnect
Product: [Plasma] plasmashell Reporter: Ruaraidh <athair_birb>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.21.4   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: kdeinit5 backtrace
backtrace with debug symbols

Description Ruaraidh 2021-04-27 13:20:29 UTC
Application: plasmashell (5.21.4)

Qt Version: 5.15.2
Frameworks Version: 5.81.0
Operating System: Linux 5.4.0-72-generic x86_64
Windowing System: X11
Drkonqi Version: 5.21.4
Distribution: KDE neon User Edition 5.21

-- Information about the crash:
- What I was doing when the application crashed:
I sent two pdf files to my phone via KDEConnect. This appears to have caused kdeinit5 to crash multiple times in quick succession. This happens every time.
The connection is via 5GHz wifi.

This is the information provided for KDEinit5 crash:
Executable: kdeinit5 PID: 17802 Signal: Segmentation fault (11) Time: 27/04/2021 14:16:48 BST

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[New LWP 1571]
[New LWP 1593]
[New LWP 1622]
[New LWP 1623]
[New LWP 1624]
[New LWP 1625]
[New LWP 1668]
[New LWP 1684]
[New LWP 1689]
[New LWP 2114]
[New LWP 2259]
[New LWP 2376]
[New LWP 7811]
[New LWP 7812]
[New LWP 13438]
[New LWP 13659]
[New LWP 13732]
[New LWP 13761]
[New LWP 13764]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fd5dfd36aff in __GI___poll (fds=0x7ffea148bce8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7fd5dbf678c0 (LWP 1544))]

Thread 20 (Thread 0x7fd54577a700 (LWP 13764)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55c273dc5d20) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55c273dc5cd0, cond=0x55c273dc5cf8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55c273dc5cf8, mutex=0x55c273dc5cd0) at pthread_cond_wait.c:647
#3  0x00007fd5e00c9d5b in QWaitConditionPrivate::wait (deadline=..., this=0x55c273dc5cd0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=this@entry=0x55c27435cd78, mutex=mutex@entry=0x55c27435cd70, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007fd5e1e66814 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x55c27435cd68) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x55c27435ccd0) at scenegraph/qsgthreadedrenderloop.cpp:936
#7  0x00007fd5e1e66c89 in QSGRenderThread::run (this=0x55c27435ccd0) at scenegraph/qsgthreadedrenderloop.cpp:1053
#8  0x00007fd5e00c3bec in QThreadPrivate::start (arg=0x55c27435ccd0) at thread/qthread_unix.cpp:329
#9  0x00007fd5df112609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007fd5dfd43293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 19 (Thread 0x7fd545ffb700 (LWP 13761)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55c273819c84) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55c273819c30, cond=0x55c273819c58) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55c273819c58, mutex=0x55c273819c30) at pthread_cond_wait.c:647
#3  0x00007fd5e00c9d5b in QWaitConditionPrivate::wait (deadline=..., this=0x55c273819c30) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=this@entry=0x55c274055508, mutex=mutex@entry=0x55c274055500, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007fd5e1e66814 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x55c2740554f8) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x55c274055460) at scenegraph/qsgthreadedrenderloop.cpp:936
#7  0x00007fd5e1e66c89 in QSGRenderThread::run (this=0x55c274055460) at scenegraph/qsgthreadedrenderloop.cpp:1053
#8  0x00007fd5e00c3bec in QThreadPrivate::start (arg=0x55c274055460) at thread/qthread_unix.cpp:329
#9  0x00007fd5df112609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007fd5dfd43293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 18 (Thread 0x7fd544cb9700 (LWP 13732)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55c2739d7a10) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55c2739d79c0, cond=0x55c2739d79e8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55c2739d79e8, mutex=0x55c2739d79c0) at pthread_cond_wait.c:647
#3  0x00007fd5e00c9d5b in QWaitConditionPrivate::wait (deadline=..., this=0x55c2739d79c0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=this@entry=0x55c2739d7808, mutex=mutex@entry=0x55c2739d7800, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007fd5e1e66814 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x55c2739d77f8) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x55c2739d7760) at scenegraph/qsgthreadedrenderloop.cpp:936
#7  0x00007fd5e1e66c89 in QSGRenderThread::run (this=0x55c2739d7760) at scenegraph/qsgthreadedrenderloop.cpp:1053
#8  0x00007fd5e00c3bec in QThreadPrivate::start (arg=0x55c2739d7760) at thread/qthread_unix.cpp:329
#9  0x00007fd5df112609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007fd5dfd43293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 17 (Thread 0x7fd5477fe700 (LWP 13659)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55c272c659b0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55c272c65960, cond=0x55c272c65988) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55c272c65988, mutex=0x55c272c65960) at pthread_cond_wait.c:647
#3  0x00007fd5e00c9d5b in QWaitConditionPrivate::wait (deadline=..., this=0x55c272c65960) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x55c272ea4158, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007fd59c00f140 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/Qt/labs/folderlistmodel/libqmlfolderlistmodelplugin.so
#6  0x00007fd5e00c3bec in QThreadPrivate::start (arg=0x55c272ea4148) at thread/qthread_unix.cpp:329
#7  0x00007fd5df112609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007fd5dfd43293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 16 (Thread 0x7fd54ffff700 (LWP 13438)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55c2722a0634) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55c2722a05e0, cond=0x55c2722a0608) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55c2722a0608, mutex=0x55c2722a05e0) at pthread_cond_wait.c:647
#3  0x00007fd5e00c9d5b in QWaitConditionPrivate::wait (deadline=..., this=0x55c2722a05e0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=this@entry=0x55c272f93158, mutex=mutex@entry=0x55c272f93150, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007fd5e1e66814 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x55c272f93148) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x55c272f930b0) at scenegraph/qsgthreadedrenderloop.cpp:936
#7  0x00007fd5e1e66c89 in QSGRenderThread::run (this=0x55c272f930b0) at scenegraph/qsgthreadedrenderloop.cpp:1053
#8  0x00007fd5e00c3bec in QThreadPrivate::start (arg=0x55c272f930b0) at thread/qthread_unix.cpp:329
#9  0x00007fd5df112609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007fd5dfd43293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 15 (Thread 0x7fd59e902700 (LWP 7812)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55c271a88724) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55c271a886d0, cond=0x55c271a886f8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55c271a886f8, mutex=0x55c271a886d0) at pthread_cond_wait.c:647
#3  0x00007fd5e00c9d5b in QWaitConditionPrivate::wait (deadline=..., this=0x55c271a886d0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=this@entry=0x55c2714266b8, mutex=mutex@entry=0x55c2714266b0, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007fd5e1e66814 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x55c2714266a8) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x55c271426610) at scenegraph/qsgthreadedrenderloop.cpp:936
#7  0x00007fd5e1e66c89 in QSGRenderThread::run (this=0x55c271426610) at scenegraph/qsgthreadedrenderloop.cpp:1053
#8  0x00007fd5e00c3bec in QThreadPrivate::start (arg=0x55c271426610) at thread/qthread_unix.cpp:329
#9  0x00007fd5df112609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007fd5dfd43293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x7fd59d0ff700 (LWP 7811)):
#0  0x00007fd5dfd36aff in __GI___poll (fds=0x7fd5940032b0, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fd5a2d761d6 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007fd5a2d67841 in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007fd5a2d67ec3 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007fd5a2d67f70 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007fd5a2d7611d in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007fd5a2d1272c in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so
#7  0x00007fd5df112609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007fd5dfd43293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7fd5661ef700 (LWP 2376)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55c271a9fe64) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55c271a9fe10, cond=0x55c271a9fe38) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55c271a9fe38, mutex=0x55c271a9fe10) at pthread_cond_wait.c:647
#3  0x00007fd5e00c9d5b in QWaitConditionPrivate::wait (deadline=..., this=0x55c271a9fe10) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=this@entry=0x55c271a94e88, mutex=mutex@entry=0x55c271a94e80, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007fd5e1e66814 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x55c271a94e78) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x55c271a94de0) at scenegraph/qsgthreadedrenderloop.cpp:936
#7  0x00007fd5e1e66c89 in QSGRenderThread::run (this=0x55c271a94de0) at scenegraph/qsgthreadedrenderloop.cpp:1053
#8  0x00007fd5e00c3bec in QThreadPrivate::start (arg=0x55c271a94de0) at thread/qthread_unix.cpp:329
#9  0x00007fd5df112609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007fd5dfd43293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7fd5ae731700 (LWP 2259)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55c270d23ff4) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55c270d23fa0, cond=0x55c270d23fc8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55c270d23fc8, mutex=0x55c270d23fa0) at pthread_cond_wait.c:647
#3  0x00007fd5e00c9d5b in QWaitConditionPrivate::wait (deadline=..., this=0x55c270d23fa0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=this@entry=0x55c270f63bb8, mutex=mutex@entry=0x55c270f63bb0, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007fd5e1e66814 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x55c270f63ba8) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x55c270f63b10) at scenegraph/qsgthreadedrenderloop.cpp:936
#7  0x00007fd5e1e66c89 in QSGRenderThread::run (this=0x55c270f63b10) at scenegraph/qsgthreadedrenderloop.cpp:1053
#8  0x00007fd5e00c3bec in QThreadPrivate::start (arg=0x55c270f63b10) at thread/qthread_unix.cpp:329
#9  0x00007fd5df112609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007fd5dfd43293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7fd58ffff700 (LWP 2114)):
#0  0x00007fd5dfd36aff in __GI___poll (fds=0x7fd584006320, nfds=1, timeout=1070528) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fd5de5a136e in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd5de5a14a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd5e0303ffb in QEventDispatcherGlib::processEvents (this=0x7fd584000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fd5e02a81eb in QEventLoop::exec (this=this@entry=0x7fd58fffeca0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007fd5e00c2a52 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fd59c87f07c in KCupsConnection::run() () from /usr/lib/x86_64-linux-gnu/libkcupslib.so
#7  0x00007fd5e00c3bec in QThreadPrivate::start (arg=0x55c270938540) at thread/qthread_unix.cpp:329
#8  0x00007fd5df112609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fd5dfd43293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7fd5ad7d8700 (LWP 1689)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55c2701e2d94) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55c2701e2d40, cond=0x55c2701e2d68) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55c2701e2d68, mutex=0x55c2701e2d40) at pthread_cond_wait.c:647
#3  0x00007fd5e00c9d5b in QWaitConditionPrivate::wait (deadline=..., this=0x55c2701e2d40) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=this@entry=0x7fd5cc009f18, mutex=mutex@entry=0x7fd5cc009f10, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007fd5e1e66814 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x7fd5cc009f08) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x7fd5cc009e70) at scenegraph/qsgthreadedrenderloop.cpp:936
#7  0x00007fd5e1e66c89 in QSGRenderThread::run (this=0x7fd5cc009e70) at scenegraph/qsgthreadedrenderloop.cpp:1053
#8  0x00007fd5e00c3bec in QThreadPrivate::start (arg=0x7fd5cc009e70) at thread/qthread_unix.cpp:329
#9  0x00007fd5df112609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007fd5dfd43293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fd5c4d71700 (LWP 1684)):
#0  0x00007fd5de5a0dc3 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fd5de5a1312 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd5de5a14a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd5e0303ffb in QEventDispatcherGlib::processEvents (this=0x7fd5a8012260, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fd5e02a81eb in QEventLoop::exec (this=this@entry=0x7fd5c4d70ca0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007fd5e00c2a52 in QThread::exec (this=this@entry=0x55c26ff824e0) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fd5e1da138a in QQuickPixmapReader::run (this=0x55c26ff824e0) at util/qquickpixmapcache.cpp:1024
#7  0x00007fd5e00c3bec in QThreadPrivate::start (arg=0x55c26ff824e0) at thread/qthread_unix.cpp:329
#8  0x00007fd5df112609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fd5dfd43293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fd5d148f700 (LWP 1668)):
#0  0x00007fd5dfd36aff in __GI___poll (fds=0x7fd5b4004a60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fd5de5a136e in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd5de5a14a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd5e0303ffb in QEventDispatcherGlib::processEvents (this=0x7fd5b4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fd5e02a81eb in QEventLoop::exec (this=this@entry=0x7fd5d148ecc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007fd5e00c2a52 in QThread::exec (this=this@entry=0x55c26fd220d0) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fd5e199cfa9 in QQmlThreadPrivate::run (this=0x55c26fd220d0) at qml/ftw/qqmlthread.cpp:155
#7  0x00007fd5e00c3bec in QThreadPrivate::start (arg=0x55c26fd220d0) at thread/qthread_unix.cpp:329
#8  0x00007fd5df112609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fd5dfd43293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fd5d27fc700 (LWP 1625)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fd5d40054f8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7fd5d40054a8, cond=0x7fd5d40054d0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7fd5d40054d0, mutex=0x7fd5d40054a8) at pthread_cond_wait.c:647
#3  0x00007fd5d8779b5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007fd5d877975b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007fd5df112609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fd5dfd43293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fd5d2ffd700 (LWP 1624)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fd5d40054f8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7fd5d40054a8, cond=0x7fd5d40054d0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7fd5d40054d0, mutex=0x7fd5d40054a8) at pthread_cond_wait.c:647
#3  0x00007fd5d8779b5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007fd5d877975b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007fd5df112609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fd5dfd43293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fd5d37fe700 (LWP 1623)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fd5d40054f8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7fd5d40054a8, cond=0x7fd5d40054d0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7fd5d40054d0, mutex=0x7fd5d40054a8) at pthread_cond_wait.c:647
#3  0x00007fd5d8779b5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007fd5d877975b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007fd5df112609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fd5dfd43293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fd5d3fff700 (LWP 1622)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fd5d40054f8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7fd5d40054a8, cond=0x7fd5d40054d0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7fd5d40054d0, mutex=0x7fd5d40054a8) at pthread_cond_wait.c:647
#3  0x00007fd5d8779b5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007fd5d877975b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007fd5df112609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fd5dfd43293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fd5da54c700 (LWP 1593)):
#0  0x00007fd5dfd36aff in __GI___poll (fds=0x7fd5cc004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fd5de5a136e in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd5de5a14a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd5e0303ffb in QEventDispatcherGlib::processEvents (this=0x7fd5cc000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fd5e02a81eb in QEventLoop::exec (this=this@entry=0x7fd5da54bcb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007fd5e00c2a52 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fd5e0c2bf4b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fd5e00c3bec in QThreadPrivate::start (arg=0x7fd5e0cafd80) at thread/qthread_unix.cpp:329
#8  0x00007fd5df112609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fd5dfd43293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fd5db3bc700 (LWP 1571)):
#0  0x00007fd5dfd36aff in __GI___poll (fds=0x7fd5db3bbbe8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fd5e232dc1a in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fd5e232f90a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fd5db8dcd58 in QXcbEventQueue::run (this=0x55c26f7756d0) at qxcbeventqueue.cpp:228
#4  0x00007fd5e00c3bec in QThreadPrivate::start (arg=0x55c26f7756d0) at thread/qthread_unix.cpp:329
#5  0x00007fd5df112609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fd5dfd43293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fd5dbf678c0 (LWP 1544)):
[KCrash Handler]
#4  __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:262
#5  0x00007fd5e06d9f2c in memcpy (__len=47616, __src=0x7fd5adccb000, __dest=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34
#6  QImage::copy (this=0x7ffea148c730, r=...) at image/qimage.cpp:1182
#7  0x00007fd5df8ba14c in ?? () from /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#8  0x00007fd5e02e06fe in QtPrivate::QSlotObjectBase::call (a=0x7ffea148c8b0, r=0x7fd5d401ec60, this=0x55c2743f4e00) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#9  doActivate<false> (sender=0x55c27329cc90, signal_index=25, argv=0x7ffea148c8b0) at kernel/qobject.cpp:3886
#10 0x00007fd5de416cb8 in KIO::TransferJob::data(KIO::Job*, QByteArray const&) () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#11 0x00007fd5de41730d in KIO::TransferJob::slotData(QByteArray const&) () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#12 0x00007fd5e02e06fe in QtPrivate::QSlotObjectBase::call (a=0x7ffea148ca60, r=0x55c27329cc90, this=0x55c270fc5090) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#13 doActivate<false> (sender=0x55c270190590, signal_index=3, argv=0x7ffea148ca60) at kernel/qobject.cpp:3886
#14 0x00007fd5de3d8716 in KIO::SlaveInterface::data(QByteArray const&) () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#15 0x00007fd5de3db42d in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#16 0x00007fd5de3d8f3f in KIO::SlaveInterface::dispatch() () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#17 0x00007fd5de3e2142 in KIO::Slave::gotInput() () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#18 0x00007fd5e02e06fe in QtPrivate::QSlotObjectBase::call (a=0x7ffea148ccb0, r=0x55c270190590, this=0x55c273231ce0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#19 doActivate<false> (sender=0x55c2733a7ba0, signal_index=3, argv=0x7ffea148ccb0) at kernel/qobject.cpp:3886
#20 0x00007fd5e02d7279 in QObject::event (this=0x55c2733a7ba0, e=0x7fd5cc057410) at kernel/qobject.cpp:1314
#21 0x00007fd5e0fa6dc3 in QApplicationPrivate::notify_helper (this=this@entry=0x55c26f771360, receiver=receiver@entry=0x55c2733a7ba0, e=e@entry=0x7fd5cc057410) at kernel/qapplication.cpp:3632
#22 0x00007fd5e0fafbb8 in QApplication::notify (this=0x7ffea148d3b0, receiver=0x55c2733a7ba0, e=0x7fd5cc057410) at kernel/qapplication.cpp:3156
#23 0x00007fd5e02a96da in QCoreApplication::notifyInternal2 (receiver=0x55c2733a7ba0, event=0x7fd5cc057410) at ../../include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#24 0x00007fd5e02abfe1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55c26f7662c0) at kernel/qcoreapplication.cpp:1817
#25 0x00007fd5e0304987 in postEventSourceDispatch (s=0x55c26f8400f0) at kernel/qeventdispatcher_glib.cpp:277
#26 0x00007fd5de5a117d in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fd5de5a1400 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fd5de5a14a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fd5e0303fe2 in QEventDispatcherGlib::processEvents (this=0x55c26f849850, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#30 0x00007fd5e02a81eb in QEventLoop::exec (this=this@entry=0x7ffea148d260, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#31 0x00007fd5e02b0394 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#32 0x000055c26d6f8e5e in main (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:251
[Inferior 1 (process 1544) detached]

Possible duplicates by query: bug 436222, bug 435190, bug 435180, bug 434799, bug 434664.

Reported using DrKonqi
Comment 1 Ruaraidh 2021-04-27 13:22:57 UTC
Created attachment 137957 [details]
kdeinit5 backtrace

This is a backtrace from me attempting, and succeeding, to cause kdeinit5 to crash again. This time via sending a jpg via KDEConnect in the notification panel.
Comment 2 Nate Graham 2021-04-27 19:27:18 UTC
Unfortunately the backtrace is incomplete and missing debug symbols that we need to figure out exactly what's going wrong:

> #7  0x00007fd5df8ba14c in ?? () from /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
If this crash is reproducible in the latest Plasma version, could you please install debug symbols for the kio library (search for libKF5KIOWidgets in your package manager and find the one with "debug" or "dbg" in the name), reproduce the crash, and attach a new symbolicated backtrace? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Thanks!
Comment 3 Ruaraidh 2021-04-28 11:43:05 UTC
Created attachment 137976 [details]
backtrace with debug symbols

I reproduced the crash as before. This time with bug symbols.

I hope it proves useful.
Comment 4 Nate Graham 2021-04-28 16:29:04 UTC
There we go:

[KCrash Handler]
#4  __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:262
#5  0x00007f64c1e89061 in memcpy (__len=33120, __src=<optimized out>, __dest=0x7f64ac05a000) at /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34
#6  ThumbnailProtocol::get (this=0x7fff2bf82140, url=...) at ./thumbnail/thumbnail.cpp:301
#7  0x00007f64bd3e8ab6 in KIO::SlaveBase::dispatch(int, QByteArray const&) () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#8  0x00007f64bd3e9156 in KIO::SlaveBase::dispatchLoop() () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#9  0x00007f64c1e85c42 in kdemain (argc=<optimized out>, argv=0x55942a5630f0) at ./thumbnail/thumbnail.cpp:124
#10 0x00005594299cc076 in launch (argc=4, _name=0x55942a562db8 "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/thumbnail.so", args=0x55942a562e67 "", cwd=<optimized out>, envc=0, envs=<optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x5594299cf187 "0") at ./src/kdeinit/kinit.cpp:692
#11 0x00005594299cd4da in handle_launcher_request (sock=8, who=<optimized out>) at ./src/kdeinit/kinit.cpp:1130
#12 0x00005594299cdeca in handle_requests (waitForPid=0) at ./src/kdeinit/kinit.cpp:1323
#13 0x00005594299c90ff in main (argc=3, argv=<optimized out>) at ./src/kdeinit/kinit.cpp:1761
[Inferior 1 (process 2230) detached]


I had a feeling it was going to turn out to be Bug 430862, but wanted to be sure. :)

*** This bug has been marked as a duplicate of bug 430862 ***
Comment 5 Ruaraidh 2021-04-28 17:41:28 UTC
(In reply to Nate Graham from comment #4)
> There we go:
> 
> [KCrash Handler]
> #4  __memmove_avx_unaligned_erms () at
> ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:262
> #5  0x00007f64c1e89061 in memcpy (__len=33120, __src=<optimized out>,
> __dest=0x7f64ac05a000) at
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34
> #6  ThumbnailProtocol::get (this=0x7fff2bf82140, url=...) at
> ./thumbnail/thumbnail.cpp:301
> #7  0x00007f64bd3e8ab6 in KIO::SlaveBase::dispatch(int, QByteArray const&)
> () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
> #8  0x00007f64bd3e9156 in KIO::SlaveBase::dispatchLoop() () from
> /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
> #9  0x00007f64c1e85c42 in kdemain (argc=<optimized out>,
> argv=0x55942a5630f0) at ./thumbnail/thumbnail.cpp:124
> #10 0x00005594299cc076 in launch (argc=4, _name=0x55942a562db8
> "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/thumbnail.so",
> args=0x55942a562e67 "", cwd=<optimized out>, envc=0, envs=<optimized out>,
> reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x5594299cf187
> "0") at ./src/kdeinit/kinit.cpp:692
> #11 0x00005594299cd4da in handle_launcher_request (sock=8, who=<optimized
> out>) at ./src/kdeinit/kinit.cpp:1130
> #12 0x00005594299cdeca in handle_requests (waitForPid=0) at
> ./src/kdeinit/kinit.cpp:1323
> #13 0x00005594299c90ff in main (argc=3, argv=<optimized out>) at
> ./src/kdeinit/kinit.cpp:1761
> [Inferior 1 (process 2230) detached]
> 
> 
> I had a feeling it was going to turn out to be Bug 430862, but wanted to be
> sure. :)
> 
> *** This bug has been marked as a duplicate of bug 430862 ***

Magic!

I had a look at the duplicates provided but couldn't see one that was the same. I'm not really sure what to look for to be honest.

Thanks for your work here!