Bug 381006 - Crash after switching activities (QSortFilterProxyModelPrivate::updateChildrenMapping)
Summary: Crash after switching activities (QSortFilterProxyModelPrivate::updateChildre...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager (show other bugs)
Version: 5.10.1
Platform: unspecified Linux
: NOR crash
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords: drkonqi
: 381317 381322 381454 381950 382564 382665 383235 383647 383945 383947 383999 384257 384360 385515 387501 388459 391005 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-06-09 08:36 UTC by zbygniukas
Modified: 2018-03-15 02:38 UTC (History)
21 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zbygniukas 2017-06-09 08:36:43 UTC
Application: plasmashell (5.10.1)

Qt Version: 5.7.1
Frameworks Version: 5.34.0
Operating System: Linux 4.4.0-79-generic x86_64
Distribution: KDE neon User Edition 5.10

-- Information about the crash:
- What I was doing when the application crashed:
Plasma crashed when I swithed to another activity using shortcut (meta+tab)

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f08c3fcf8c0 (LWP 3158))]

Thread 25 (Thread 0x7f07a3cab700 (LWP 5448)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007f089c436e44 in ?? () from /usr/lib/nvidia-378/libGLX_nvidia.so.0
#2  0x00007f0816dd1394 in ?? () from /usr/lib/nvidia-378/libnvidia-glcore.so.378.13
#3  0x00007f089c43612c in ?? () from /usr/lib/nvidia-378/libGLX_nvidia.so.0
#4  0x00007f08bdeb66ba in start_thread (arg=0x7f07a3cab700) at pthread_create.c:333
#5  0x00007f08be91d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 24 (Thread 0x7f07e10f9700 (LWP 5447)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f08bf0119fb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x44731b0) at thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x4473190, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007f08c203347d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007f08c2033d55 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007f08bf010b48 in QThreadPrivate::start (arg=0x4473110) at thread/qthread_unix.cpp:368
#6  0x00007f08bdeb66ba in start_thread (arg=0x7f07e10f9700) at pthread_create.c:333
#7  0x00007f08be91d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 23 (Thread 0x7f07d1a24700 (LWP 4287)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007f089c436e44 in ?? () from /usr/lib/nvidia-378/libGLX_nvidia.so.0
#2  0x00007f0816dd1394 in ?? () from /usr/lib/nvidia-378/libnvidia-glcore.so.378.13
#3  0x00007f089c43612c in ?? () from /usr/lib/nvidia-378/libGLX_nvidia.so.0
#4  0x00007f08bdeb66ba in start_thread (arg=0x7f07d1a24700) at pthread_create.c:333
#5  0x00007f08be91d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 22 (Thread 0x7f07d2225700 (LWP 4286)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f08bf0119fb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x3f680f0) at thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x3f68390, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007f08c203347d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007f08c2033d55 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007f08bf010b48 in QThreadPrivate::start (arg=0x3f68310) at thread/qthread_unix.cpp:368
#6  0x00007f08bdeb66ba in start_thread (arg=0x7f07d2225700) at pthread_create.c:333
#7  0x00007f08be91d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 21 (Thread 0x7f07d2db1700 (LWP 4285)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007f089c436e44 in ?? () from /usr/lib/nvidia-378/libGLX_nvidia.so.0
#2  0x00007f0816dd1394 in ?? () from /usr/lib/nvidia-378/libnvidia-glcore.so.378.13
#3  0x00007f089c43612c in ?? () from /usr/lib/nvidia-378/libGLX_nvidia.so.0
#4  0x00007f08bdeb66ba in start_thread (arg=0x7f07d2db1700) at pthread_create.c:333
#5  0x00007f08be91d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 20 (Thread 0x7f07d35b2700 (LWP 4284)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f08bf0119fb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x340f7b0) at thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x258d9c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007f08c203347d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007f08c2033d55 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007f08bf010b48 in QThreadPrivate::start (arg=0x258d940) at thread/qthread_unix.cpp:368
#6  0x00007f08bdeb66ba in start_thread (arg=0x7f07d35b2700) at pthread_create.c:333
#7  0x00007f08be91d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 19 (Thread 0x7f07d3ffe700 (LWP 4274)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007f089c436e44 in ?? () from /usr/lib/nvidia-378/libGLX_nvidia.so.0
#2  0x00007f0816dd1394 in ?? () from /usr/lib/nvidia-378/libnvidia-glcore.so.378.13
#3  0x00007f089c43612c in ?? () from /usr/lib/nvidia-378/libGLX_nvidia.so.0
#4  0x00007f08bdeb66ba in start_thread (arg=0x7f07d3ffe700) at pthread_create.c:333
#5  0x00007f08be91d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 18 (Thread 0x7f07e0878700 (LWP 4273)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f08bf0119fb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x2f95de0) at thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2d86f60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007f08c203347d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007f08c2033d55 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007f08bf010b48 in QThreadPrivate::start (arg=0x2d86ee0) at thread/qthread_unix.cpp:368
#6  0x00007f08bdeb66ba in start_thread (arg=0x7f07e0878700) at pthread_create.c:333
#7  0x00007f08be91d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 17 (Thread 0x7f07e19fa700 (LWP 4048)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007f089c436e44 in ?? () from /usr/lib/nvidia-378/libGLX_nvidia.so.0
#2  0x00007f0816dd1394 in ?? () from /usr/lib/nvidia-378/libnvidia-glcore.so.378.13
#3  0x00007f089c43612c in ?? () from /usr/lib/nvidia-378/libGLX_nvidia.so.0
#4  0x00007f08bdeb66ba in start_thread (arg=0x7f07e19fa700) at pthread_create.c:333
#5  0x00007f08be91d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 16 (Thread 0x7f07e21fb700 (LWP 4047)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f08bf0119fb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x3053d60) at thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x374c220, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007f08c203347d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007f08c2033d55 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007f08bf010b48 in QThreadPrivate::start (arg=0x374c1a0) at thread/qthread_unix.cpp:368
#6  0x00007f08bdeb66ba in start_thread (arg=0x7f07e21fb700) at pthread_create.c:333
#7  0x00007f08be91d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 15 (Thread 0x7f07e2bfc700 (LWP 4035)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007f089c436e44 in ?? () from /usr/lib/nvidia-378/libGLX_nvidia.so.0
#2  0x00007f0816dd1394 in ?? () from /usr/lib/nvidia-378/libnvidia-glcore.so.378.13
#3  0x00007f089c43612c in ?? () from /usr/lib/nvidia-378/libGLX_nvidia.so.0
#4  0x00007f08bdeb66ba in start_thread (arg=0x7f07e2bfc700) at pthread_create.c:333
#5  0x00007f08be91d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 14 (Thread 0x7f07e33fd700 (LWP 4033)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f08bf0119fb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x379ade0) at thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x379ac30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007f08c203347d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007f08c2033d55 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007f08bf010b48 in QThreadPrivate::start (arg=0x379abb0) at thread/qthread_unix.cpp:368
#6  0x00007f08bdeb66ba in start_thread (arg=0x7f07e33fd700) at pthread_create.c:333
#7  0x00007f08be91d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 13 (Thread 0x7f07e3fff700 (LWP 4022)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007f089c436e44 in ?? () from /usr/lib/nvidia-378/libGLX_nvidia.so.0
#2  0x00007f0816dd1394 in ?? () from /usr/lib/nvidia-378/libnvidia-glcore.so.378.13
#3  0x00007f089c43612c in ?? () from /usr/lib/nvidia-378/libGLX_nvidia.so.0
#4  0x00007f08bdeb66ba in start_thread (arg=0x7f07e3fff700) at pthread_create.c:333
#5  0x00007f08be91d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 12 (Thread 0x7f07e8de6700 (LWP 4021)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f08bf0119fb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x33fb010) at thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x3461f90, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007f08c203347d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007f08c2033d55 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007f08bf010b48 in QThreadPrivate::start (arg=0x3461f10) at thread/qthread_unix.cpp:368
#6  0x00007f08bdeb66ba in start_thread (arg=0x7f07e8de6700) at pthread_create.c:333
#7  0x00007f08be91d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 11 (Thread 0x7f07eb855700 (LWP 3998)):
#0  0x00007f08ba088423 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f08ba08a988 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f08ba08b2bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f08ba08b49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f08bf23175b in QEventDispatcherGlib::processEvents (this=0x7f07e40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f08bf1dc0ba in QEventLoop::exec (this=this@entry=0x7f07eb854cc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f08bf00bf64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#7  0x00007f07edd33587 in KCupsConnection::run() () from /usr/lib/x86_64-linux-gnu/libkcupslib.so
#8  0x00007f08bf010b48 in QThreadPrivate::start (arg=0x2df8510) at thread/qthread_unix.cpp:368
#9  0x00007f08bdeb66ba in start_thread (arg=0x7f07eb855700) at pthread_create.c:333
#10 0x00007f08be91d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 10 (Thread 0x7f08098f5700 (LWP 3661)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007f089c436e44 in ?? () from /usr/lib/nvidia-378/libGLX_nvidia.so.0
#2  0x00007f0816dd1394 in ?? () from /usr/lib/nvidia-378/libnvidia-glcore.so.378.13
#3  0x00007f089c43612c in ?? () from /usr/lib/nvidia-378/libGLX_nvidia.so.0
#4  0x00007f08bdeb66ba in start_thread (arg=0x7f08098f5700) at pthread_create.c:333
#5  0x00007f08be91d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7f080a0f6700 (LWP 3657)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f08bf0119fb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1a387f0) at thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2304ea0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007f08c203347d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007f08c2033d55 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007f08bf010b48 in QThreadPrivate::start (arg=0x2304e20) at thread/qthread_unix.cpp:368
#6  0x00007f08bdeb66ba in start_thread (arg=0x7f080a0f6700) at pthread_create.c:333
#7  0x00007f08be91d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f080a8f7700 (LWP 3646)):
#0  0x00007f08bf230e71 in postEventSourcePrepare (s=0x7f08040012d0, timeout=0x7f080a8f6ac4) at kernel/qeventdispatcher_glib.cpp:251
#1  0x00007f08ba08a91d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f08ba08b2bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f08ba08b49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f08bf23175b in QEventDispatcherGlib::processEvents (this=0x7f08040008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f08bf1dc0ba in QEventLoop::exec (this=this@entry=0x7f080a8f6c90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f08bf00bf64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#7  0x00007f08c1fc3fc6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f08bf010b48 in QThreadPrivate::start (arg=0x2421b70) at thread/qthread_unix.cpp:368
#9  0x00007f08bdeb66ba in start_thread (arg=0x7f080a8f7700) at pthread_create.c:333
#10 0x00007f08be91d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f0816005700 (LWP 3506)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007f089c436e44 in ?? () from /usr/lib/nvidia-378/libGLX_nvidia.so.0
#2  0x00007f0816dd1394 in ?? () from /usr/lib/nvidia-378/libnvidia-glcore.so.378.13
#3  0x00007f089c43612c in ?? () from /usr/lib/nvidia-378/libGLX_nvidia.so.0
#4  0x00007f08bdeb66ba in start_thread (arg=0x7f0816005700) at pthread_create.c:333
#5  0x00007f08be91d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f089cfee700 (LWP 3502)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f08c3a286f4 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007f08c3a28739 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007f08bdeb66ba in start_thread (arg=0x7f089cfee700) at pthread_create.c:333
#4  0x00007f08be91d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f089ef9f700 (LWP 3381)):
#0  0x00007f08be911b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f08ba08b38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f08ba08b49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f08bf23175b in QEventDispatcherGlib::processEvents (this=0x7f08980008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f08bf1dc0ba in QEventLoop::exec (this=this@entry=0x7f089ef9ece0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f08bf00bf64 in QThread::exec (this=this@entry=0x1a3ba90) at thread/qthread.cpp:507
#6  0x00007f08c163cbf5 in QQmlThreadPrivate::run (this=0x1a3ba90) at qml/ftw/qqmlthread.cpp:147
#7  0x00007f08bf010b48 in QThreadPrivate::start (arg=0x1a3ba90) at thread/qthread_unix.cpp:368
#8  0x00007f08bdeb66ba in start_thread (arg=0x7f089ef9f700) at pthread_create.c:333
#9  0x00007f08be91d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f08acd4e700 (LWP 3221)):
#0  0x00007f08ba088468 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f08ba08a8bb in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f08ba08b2bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f08ba08b49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f08bf23175b in QEventDispatcherGlib::processEvents (this=0x7f08a40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f08bf1dc0ba in QEventLoop::exec (this=this@entry=0x7f08acd4dce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f08bf00bf64 in QThread::exec (this=this@entry=0x19fcbe0) at thread/qthread.cpp:507
#7  0x00007f08c163cbf5 in QQmlThreadPrivate::run (this=0x19fcbe0) at qml/ftw/qqmlthread.cpp:147
#8  0x00007f08bf010b48 in QThreadPrivate::start (arg=0x19fcbe0) at thread/qthread_unix.cpp:368
#9  0x00007f08bdeb66ba in start_thread (arg=0x7f08acd4e700) at pthread_create.c:333
#10 0x00007f08be91d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f08ae793700 (LWP 3193)):
#0  0x00007f08be911b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f08ba08b38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f08ba08b49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f08bf23175b in QEventDispatcherGlib::processEvents (this=0x7f08a00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f08bf1dc0ba in QEventLoop::exec (this=this@entry=0x7f08ae792cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f08bf00bf64 in QThread::exec (this=this@entry=0x7f08c417bd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:507
#6  0x00007f08c4107735 in QDBusConnectionManager::run (this=0x7f08c417bd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#7  0x00007f08bf010b48 in QThreadPrivate::start (arg=0x7f08c417bd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#8  0x00007f08bdeb66ba in start_thread (arg=0x7f08ae793700) at pthread_create.c:333
#9  0x00007f08be91d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f08b03d0700 (LWP 3173)):
#0  0x00007f08be911b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f08c2989c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f08c298b8d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f08b2b48d79 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f08bf010b48 in QThreadPrivate::start (arg=0x1941a20) at thread/qthread_unix.cpp:368
#5  0x00007f08bdeb66ba in start_thread (arg=0x7f08b03d0700) at pthread_create.c:333
#6  0x00007f08be91d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f08c3fcf8c0 (LWP 3158)):
[KCrash Handler]
#6  QSortFilterProxyModelPrivate::updateChildrenMapping (this=this@entry=0x26abf50, source_parent=..., parent_mapping=parent_mapping@entry=0x25d41a0, start=start@entry=0, end=end@entry=0, delta_item_count=delta_item_count@entry=1, remove=true, orient=Qt::Vertical) at itemmodels/qsortfilterproxymodel.cpp:975
#7  0x00007f08bf1a49e9 in QSortFilterProxyModelPrivate::source_items_removed (orient=Qt::Vertical, end=<optimized out>, start=0, source_parent=..., this=0x26abf50) at itemmodels/qsortfilterproxymodel.cpp:917
#8  QSortFilterProxyModelPrivate::_q_sourceRowsRemoved (this=0x26abf50, source_parent=..., start=0, end=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:1424
#9  0x00007f08bf1ace39 in QSortFilterProxyModel::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qsortfilterproxymodel.cpp:211
#10 0x00007f08bf208e89 in QMetaObject::activate (sender=sender@entry=0x26f4800, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=12, argv=argv@entry=0x7ffe5c1cb350) at kernel/qobject.cpp:3740
#11 0x00007f08bf209837 in QMetaObject::activate (sender=sender@entry=0x26f4800, m=m@entry=0x7f08bf422d80 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=12, argv=argv@entry=0x7ffe5c1cb350) at kernel/qobject.cpp:3602
#12 0x00007f08bf27ed84 in QAbstractItemModel::rowsRemoved (this=this@entry=0x26f4800, _t1=..., _t2=0, _t3=0) at .moc/moc_qabstractitemmodel.cpp:615
#13 0x00007f08bf185dbb in QAbstractItemModel::endRemoveRows (this=0x26f4800) at itemmodels/qabstractitemmodel.cpp:2715
#14 0x00007f07f9dc353d in TaskManager::TaskGroupingProxyModel::Private::sourceRowsAboutToBeRemoved (this=0x26ac5a0, first=<optimized out>, last=24, parent=...) at /workspace/build/libtaskmanager/taskgroupingproxymodel.cpp:197
#15 0x00007f07f9dc6589 in TaskManager::TaskGroupingProxyModel::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /workspace/build/obj-x86_64-linux-gnu/libtaskmanager/moc_taskgroupingproxymodel.cpp:152
#16 0x00007f08bf208e89 in QMetaObject::activate (sender=sender@entry=0x26f62f0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=11, argv=argv@entry=0x7ffe5c1cb650) at kernel/qobject.cpp:3740
#17 0x00007f08bf209837 in QMetaObject::activate (sender=sender@entry=0x26f62f0, m=m@entry=0x7f08bf422d80 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=11, argv=argv@entry=0x7ffe5c1cb650) at kernel/qobject.cpp:3602
#18 0x00007f08bf27ed14 in QAbstractItemModel::rowsAboutToBeRemoved (this=this@entry=0x26f62f0, _t1=..., _t2=_t2@entry=0, _t3=_t3@entry=24) at .moc/moc_qabstractitemmodel.cpp:608
#19 0x00007f08bf185663 in QAbstractItemModel::beginRemoveRows (this=0x26f62f0, parent=..., first=0, last=24) at itemmodels/qabstractitemmodel.cpp:2698
#20 0x00007f08bf1aa63d in QSortFilterProxyModelPrivate::remove_proxy_interval (emit_signal=true, orient=Qt::Vertical, proxy_parent=..., proxy_end=24, proxy_start=0, proxy_to_source=..., source_to_proxy=..., this=0x26c34a0) at itemmodels/qsortfilterproxymodel.cpp:583
#21 QSortFilterProxyModelPrivate::remove_source_items (this=this@entry=0x26c34a0, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=orient@entry=Qt::Vertical, emit_signal=true) at itemmodels/qsortfilterproxymodel.cpp:565
#22 0x00007f08bf1aba83 in QSortFilterProxyModelPrivate::handle_filter_changed (orient=Qt::Vertical, source_parent=..., proxy_to_source=..., source_to_proxy=..., this=0x26c34a0) at itemmodels/qsortfilterproxymodel.cpp:1149
#23 QSortFilterProxyModelPrivate::filter_changed (this=0x26c34a0, source_parent=...) at itemmodels/qsortfilterproxymodel.cpp:1081
#24 0x00007f08bf1ac3d1 in QSortFilterProxyModel::invalidateFilter (this=this@entry=0x26f62f0) at itemmodels/qsortfilterproxymodel.cpp:2612
#25 0x00007f07f9dbf798 in TaskManager::TaskFilterProxyModel::setActivity (this=0x26f62f0, activity=...) at /workspace/build/libtaskmanager/taskfilterproxymodel.cpp:118
#26 0x00007f07f9dc966d in TaskManager::TasksModel::setActivity (this=<optimized out>, activity=...) at /workspace/build/libtaskmanager/tasksmodel.cpp:1007
#27 0x00007f07f9de8cb6 in TaskManager::TasksModel::qt_static_metacall (_o=_o@entry=0x26abc50, _c=_c@entry=QMetaObject::WriteProperty, _id=_id@entry=6, _a=_a@entry=0x7ffe5c1cbb30) at /workspace/build/obj-x86_64-linux-gnu/libtaskmanager/moc_tasksmodel.cpp:611
#28 0x00007f07f9de9b9b in TaskManager::TasksModel::qt_metacall (this=0x26abc50, _c=QMetaObject::WriteProperty, _id=6, _a=0x7ffe5c1cbb30) at /workspace/build/obj-x86_64-linux-gnu/libtaskmanager/moc_tasksmodel.cpp:669
#29 0x00007f08c15a8940 in QQmlVMEMetaObject::metaCall (this=0x26b50b0, o=<optimized out>, c=QMetaObject::WriteProperty, _id=16, a=0x7ffe5c1cbb30) at qml/qqmlvmemetaobject.cpp:885
#30 0x00007f08c162914d in QQmlBinding::write (this=this@entry=0x2730750, core=..., result=..., isUndefined=<optimized out>, flags=...) at qml/qqmlbinding.cpp:257
#31 0x00007f08c1629fd8 in QQmlBinding::update (this=0x2730750, flags=...) at qml/qqmlbinding.cpp:197
#32 0x00007f08c162a88e in QQmlBinding::refresh (this=<optimized out>) at qml/qqmlbinding.cpp:409
#33 0x00007f08c1600f8e in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=a@entry=0x0) at qml/qqmlnotifier.cpp:100
#34 0x00007f08c15acf1c in QQmlData::signalEmitted (object=0x26afbd0, index=3, a=0x0) at qml/qqmlengine.cpp:779
#35 0x00007f08bf2095d6 in QMetaObject::activate (sender=0x26afbd0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3618
#36 0x00007f08bf2091f6 in QtPrivate::QSlotObjectBase::call (a=0x7ffe5c1cd810, r=0x26afbd0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#37 QMetaObject::activate (sender=0x2731390, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe5c1cd810) at kernel/qobject.cpp:3723
#38 0x00007f08bf209837 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f08c35ceb60 <KActivities::Consumer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe5c1cd810) at kernel/qobject.cpp:3602
#39 0x00007f08c33bf342 in KActivities::Consumer::currentActivityChanged (this=<optimized out>, _t1=...) at /workspace/build/obj-x86_64-linux-gnu/src/lib/moc_consumer.cpp:240
#40 0x00007f08c33c08a9 in KActivities::Consumer::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /workspace/build/obj-x86_64-linux-gnu/src/lib/moc_consumer.cpp:111
#41 0x00007f08bf208e89 in QMetaObject::activate (sender=0x19c1620, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7ffe5c1cd990) at kernel/qobject.cpp:3740
#42 0x00007f08bf209837 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f08c35cec20 <KActivities::ActivitiesCache::staticMetaObject>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7ffe5c1cd990) at kernel/qobject.cpp:3602
#43 0x00007f08c33bf205 in KActivities::ActivitiesCache::currentActivityChanged (this=<optimized out>, _t1=...) at /workspace/build/obj-x86_64-linux-gnu/src/lib/moc_activitiescache_p.cpp:399
#44 0x00007f08bf2091f6 in QtPrivate::QSlotObjectBase::call (a=0x7ffe5c1cdb40, r=0x19c1620, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#45 QMetaObject::activate (sender=sender@entry=0x1993d60, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=9, argv=argv@entry=0x7ffe5c1cdb40) at kernel/qobject.cpp:3723
#46 0x00007f08bf209837 in QMetaObject::activate (sender=sender@entry=0x1993d60, m=m@entry=0x7f08c35ce100 <OrgKdeActivityManagerActivitiesInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=9, argv=argv@entry=0x7ffe5c1cdb40) at kernel/qobject.cpp:3602
#47 0x00007f08c33bc130 in OrgKdeActivityManagerActivitiesInterface::CurrentActivityChanged (_t1=..., this=0x1993d60) at /workspace/build/obj-x86_64-linux-gnu/src/lib/activities_interface.moc:406
#48 OrgKdeActivityManagerActivitiesInterface::qt_static_metacall (_o=_o@entry=0x1993d60, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=9, _a=_a@entry=0x7ffe5c1cdcc0) at /workspace/build/obj-x86_64-linux-gnu/src/lib/activities_interface.moc:190
#49 0x00007f08c33bd025 in OrgKdeActivityManagerActivitiesInterface::qt_metacall (this=0x1993d60, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7ffe5c1cdcc0) at /workspace/build/obj-x86_64-linux-gnu/src/lib/activities_interface.moc:329
#50 0x00007f08c4113923 in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at qdbusintegrator.cpp:995
#51 0x00007f08bf209d99 in QObject::event (this=0x1993d60, e=<optimized out>) at kernel/qobject.cpp:1263
#52 0x00007f08bfabcecc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x1993d60, e=0x7f08a0019880) at kernel/qapplication.cpp:3799
#53 0x00007f08bfac48c6 in QApplication::notify (this=0x7ffe5c1ce3f0, receiver=0x1993d60, e=0x7f08a0019880) at kernel/qapplication.cpp:3556
#54 0x00007f08bf1de0c8 in QCoreApplication::notifyInternal2 (receiver=0x1993d60, event=event@entry=0x7f08a0019880) at kernel/qcoreapplication.cpp:988
#55 0x00007f08bf1e078b in QCoreApplication::sendEvent (event=0x7f08a0019880, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#56 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x191a880) at kernel/qcoreapplication.cpp:1649
#57 0x00007f08bf1e0bf8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1503
#58 0x00007f08bf231333 in postEventSourceDispatch (s=0x195dee0) at kernel/qeventdispatcher_glib.cpp:276
#59 0x00007f08ba08b197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#60 0x00007f08ba08b3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#61 0x00007f08ba08b49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#62 0x00007f08bf23173f in QEventDispatcherGlib::processEvents (this=0x1978050, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#63 0x00007f08bf1dc0ba in QEventLoop::exec (this=this@entry=0x7ffe5c1ce280, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#64 0x00007f08bf1e46cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261
#65 0x000000000041ce18 in main (argc=1, argv=<optimized out>) at /workspace/build/shell/main.cpp:166

Possible duplicates by query: bug 380918, bug 380242, bug 379340, bug 378635, bug 378516.

Reported using DrKonqi
Comment 1 Marco Martin 2017-06-09 11:20:30 UTC
backtrace points to task manager models (after digging trough enough layers of proxy models)
Comment 2 Marco Martin 2017-06-20 14:05:11 UTC
*** Bug 381322 has been marked as a duplicate of this bug. ***
Comment 3 David Edmundson 2017-06-21 12:49:16 UTC
*** Bug 381454 has been marked as a duplicate of this bug. ***
Comment 4 Friedrich W. H. Kossebau 2017-06-22 12:58:09 UTC
Application: plasmashell (5.10.2)

Qt Version: 5.9.0
Frameworks Version: 5.34.0
Operating System: Linux 4.11.6-1.ge566a4a-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
84	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f792542a8c0 (LWP 4796))]

Thread 10 (Thread 0x7f783d530700 (LWP 4808)):
#0  0x00007f791ea53dfd in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f79198ca7e0 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f79198867cb in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f7919886c90 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f7919886dfc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f791f37375b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f791f31cd0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f791f14f05a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007f783fdc7f37 in KCupsConnection::run() () at /usr/lib64/libkcupslib.so
#9  0x00007f791f15373e in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#10 0x00007f791e31b4e7 in start_thread (arg=0x7f783d530700) at pthread_create.c:456
#11 0x00007f791ea61a2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 9 (Thread 0x7f7847e27700 (LWP 4805)):
#0  0x00007f791ea5808d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f7919886ce9 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f7919886dfc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f791f37375b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f791f31cd0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f791f14f05a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f791f15373e in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f791e31b4e7 in start_thread (arg=0x7f7847e27700) at pthread_create.c:456
#8  0x00007f791ea61a2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 8 (Thread 0x7f786602a700 (LWP 4803)):
#0  0x00007f79198cbb34 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f7919886218 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f7919886c1b in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f7919886dfc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f791f37375b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f791f31cd0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f791f14f05a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007f7922e3f292 in  () at /usr/lib64/libQt5Quick.so.5
#8  0x00007f791f15373e in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#9  0x00007f791e31b4e7 in start_thread (arg=0x7f786602a700) at pthread_create.c:456
#10 0x00007f791ea61a2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 7 (Thread 0x7f78f9e81700 (LWP 4802)):
#0  0x00007f791e3215ed in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f7924e0efb8 <QTWTF::pageheap_memory+57592>) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f791e3215ed in __pthread_cond_wait_common (abstime=0x0, mutex=0x7f7924e0ef68 <QTWTF::pageheap_memory+57512>, cond=0x7f7924e0ef90 <QTWTF::pageheap_memory+57552>) at pthread_cond_wait.c:502
#2  0x00007f791e3215ed in __pthread_cond_wait (cond=0x7f7924e0ef90 <QTWTF::pageheap_memory+57552>, mutex=0x7f7924e0ef68 <QTWTF::pageheap_memory+57512>) at pthread_cond_wait.c:655
#3  0x00007f7924b18a04 in QTWTF::TCMalloc_PageHeap::scavengerThread() (this=0x7f7924e00ec0 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0x00007f7924b18a49 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0x00007f791e31b4e7 in start_thread (arg=0x7f78f9e81700) at pthread_create.c:456
#6  0x00007f791ea61a2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 6 (Thread 0x7f78fb35b700 (LWP 4801)):
#0  0x00007f791ea5808d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f7919886ce9 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f7919886dfc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f791f37375b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f791f31cd0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f791f14f05a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f791f15373e in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f791e31b4e7 in start_thread (arg=0x7f78fb35b700) at pthread_create.c:456
#8  0x00007f791ea61a2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 5 (Thread 0x7f7905fa4700 (LWP 4800)):
#0  0x00007f79198cbb34 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f7919886218 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f7919886c1b in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f7919886dfc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f791f37375b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f791f31cd0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f791f14f05a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007f7922298d45 in  () at /usr/lib64/libQt5Qml.so.5
#8  0x00007f791f15373e in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#9  0x00007f791e31b4e7 in start_thread (arg=0x7f7905fa4700) at pthread_create.c:456
#10 0x00007f791ea61a2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 4 (Thread 0x7f7907bf2700 (LWP 4799)):
#0  0x00007f791f14bc2f in QMutex::unlock() () at /usr/lib64/libQt5Core.so.5
#1  0x00007f791f372f3f in postEventSourcePrepare(_GSource*, int*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f7919886228 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f7919886c1b in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f7919886dfc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f791f37375b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f791f31cd0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f791f14f05a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007f7922298d45 in  () at /usr/lib64/libQt5Qml.so.5
#9  0x00007f791f15373e in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#10 0x00007f791e31b4e7 in start_thread (arg=0x7f7907bf2700) at pthread_create.c:456
#11 0x00007f791ea61a2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 3 (Thread 0x7f790d668700 (LWP 4798)):
#0  0x00007f791ea53dfd in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f79198ca7e0 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f79198867cb in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f7919886c90 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f7919886dfc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f791f37375b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f791f31cd0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f791f14f05a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007f791f7fca45 in QDBusConnectionManager::run() () at /usr/lib64/libQt5DBus.so.5
#9  0x00007f791f15373e in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#10 0x00007f791e31b4e7 in start_thread (arg=0x7f790d668700) at pthread_create.c:456
#11 0x00007f791ea61a2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 2 (Thread 0x7f790f725700 (LWP 4797)):
#0  0x00007f791ea5808d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f7923a40387 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f7923a4217a in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f79120c8249 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f791f15373e in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f791e31b4e7 in start_thread (arg=0x7f790f725700) at pthread_create.c:456
#6  0x00007f791ea61a2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 1 (Thread 0x7f792542a8c0 (LWP 4796)):
[KCrash Handler]
#6  0x00007f791f2e3b81 in QSortFilterProxyModelPrivate::updateChildrenMapping(QModelIndex const&, QSortFilterProxyModelPrivate::Mapping*, Qt::Orientation, int, int, int, bool) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f791f2e3ebc in QSortFilterProxyModelPrivate::source_items_removed(QModelIndex const&, int, int, Qt::Orientation) [clone .part.94] () at /usr/lib64/libQt5Core.so.5
#8  0x00007f791f2ea141 in QSortFilterProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /usr/lib64/libQt5Core.so.5
#9  0x00007f791f34b57a in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#10 0x00007f791f3c0c7e in QAbstractItemModel::rowsRemoved(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) () at /usr/lib64/libQt5Core.so.5
#11 0x00007f791f2c43fb in QAbstractItemModel::endRemoveRows() () at /usr/lib64/libQt5Core.so.5
#12 0x00007f7864690a4b in TaskManager::TaskGroupingProxyModel::Private::sourceRowsAboutToBeRemoved(QModelIndex const&, int, int) (this=0x5630af3e70c0, parent=..., first=<optimized out>, last=56) at /usr/src/debug/plasma-workspace-5.10.2/libtaskmanager/taskgroupingproxymodel.cpp:197
#13 0x00007f78646933e9 in TaskManager::TaskGroupingProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/plasma-workspace-5.10.2/build/libtaskmanager/taskmanager_autogen/include/moc_taskgroupingproxymodel.cpp:154
#14 0x00007f791f34b57a in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#15 0x00007f791f3c0c1e in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) () at /usr/lib64/libQt5Core.so.5
#16 0x00007f791f2c3ddb in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) () at /usr/lib64/libQt5Core.so.5
#17 0x00007f791f2e7c35 in QSortFilterProxyModelPrivate::remove_source_items(QVector<int>&, QVector<int>&, QVector<int> const&, QModelIndex const&, Qt::Orientation, bool) () at /usr/lib64/libQt5Core.so.5
#18 0x00007f791f2e8132 in QSortFilterProxyModelPrivate::handle_filter_changed(QVector<int>&, QVector<int>&, QModelIndex const&, Qt::Orientation) () at /usr/lib64/libQt5Core.so.5
#19 0x00007f791f2e8499 in QSortFilterProxyModelPrivate::filter_changed(QModelIndex const&) () at /usr/lib64/libQt5Core.so.5
#20 0x00007f791f2e8bca in QSortFilterProxyModel::invalidateFilter() () at /usr/lib64/libQt5Core.so.5
#21 0x00007f786468cb55 in TaskManager::TaskFilterProxyModel::setVirtualDesktop(unsigned int) (this=0x5630af402350, virtualDesktop=<optimized out>) at /usr/src/debug/plasma-workspace-5.10.2/libtaskmanager/taskfilterproxymodel.cpp:82
#22 0x00007f78646967ed in TaskManager::TasksModel::setVirtualDesktop(int) (this=<optimized out>, virtualDesktop=<optimized out>) at /usr/src/debug/plasma-workspace-5.10.2/libtaskmanager/tasksmodel.cpp:987
#23 0x00007f78646b61d6 in TaskManager::TasksModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7ffd8b5df060) at /usr/src/debug/plasma-workspace-5.10.2/build/libtaskmanager/taskmanager_autogen/EWIEGA46WW/moc_tasksmodel.cpp:611
#24 0x00007f7922283aaa in  () at /usr/lib64/libQt5Qml.so.5
#25 0x00007f7922283e66 in  () at /usr/lib64/libQt5Qml.so.5
#26 0x00007f7922280dd3 in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#27 0x00007f79222593e3 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /usr/lib64/libQt5Qml.so.5
#28 0x00007f79221fbf45 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () at /usr/lib64/libQt5Qml.so.5
#29 0x00007f791f34aea0 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#30 0x00007f791f34b67c in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#31 0x00007f7921dbdd1e in KWindowSystem::currentDesktopChanged(int) () at /usr/lib64/libKF5WindowSystem.so.5
#32 0x00007f790c0424b4 in  () at /usr/lib64/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so
#33 0x00007f791f31b96f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /usr/lib64/libQt5Core.so.5
#34 0x00007f79120c9760 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib64/libQt5XcbQpa.so.5
#35 0x00007f79120ca3ac in QXcbConnection::processXcbEvents() () at /usr/lib64/libQt5XcbQpa.so.5
#36 0x00007f791f34bf62 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#37 0x00007f792033193c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#38 0x00007f7920338cb4 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#39 0x00007f791f31e578 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#40 0x00007f791f3208b5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#41 0x00007f791f373323 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /usr/lib64/libQt5Core.so.5
#42 0x00007f7919886b37 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#43 0x00007f7919886d68 in  () at /usr/lib64/libglib-2.0.so.0
#44 0x00007f7919886dfc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#45 0x00007f791f37373f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#46 0x00007f791f31cd0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#47 0x00007f791f325164 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#48 0x00005630abf36cf2 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.10.2/shell/main.cpp:166
Comment 5 Christoph Feck 2017-06-22 14:02:37 UTC
Crash in comment #4 caused by KWindowSystem::currentDesktopChanged(), not by KActivities::Consumer::currentActivityChanged().

Probably needs a separate ticket, unless someone confirms all those TaskManager::TasksModel crashes have the same cause.
Comment 6 Eike Hein 2017-07-03 10:11:15 UTC
*** Bug 381317 has been marked as a duplicate of this bug. ***
Comment 7 Eike Hein 2017-07-04 06:29:48 UTC
*** Bug 381950 has been marked as a duplicate of this bug. ***
Comment 8 Marco Martin 2017-07-05 14:20:09 UTC

*** This bug has been marked as a duplicate of bug 381974 ***
Comment 9 Christoph Feck 2017-07-17 16:25:51 UTC
According to bug 381317 comment #11, this is the master bug for all TaskManager model crashes. Reopening, because it is not resolved.
Comment 10 Christoph Feck 2017-07-17 17:25:17 UTC
Eike, bug 381974 comment #3 has some good investigation for bug 381317 (originating from KWindowSystem::windowRemoved).
Comment 11 Eike Hein 2017-07-18 10:04:00 UTC
Thanks, very good indeed.
Comment 12 Eike Hein 2017-07-22 08:56:44 UTC
*** Bug 382564 has been marked as a duplicate of this bug. ***
Comment 13 Eike Hein 2017-07-25 21:52:42 UTC
*** Bug 382665 has been marked as a duplicate of this bug. ***
Comment 14 Gatoso 2017-07-30 08:42:00 UTC
Plasma crashes when I have many open windows and I try to sort them

The Backtrace have the parameter QSortFilterProxyModelPrivate::updateChildrenMapping

Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9f952038c0 (LWP 1537))]

Thread 18 (Thread 0x7f9e9bfff700 (LWP 3081)):
#0  0x00007f9f8f90170d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f9f84f65861 in poll_func (__timeout=-1, __nfds=3, __fds=0x7f9e90001f40) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  0x00007f9f84f65861 in poll_func (ufds=0x7f9e90001f40, nfds=3, timeout=-1, userdata=0x3bec2d0) at pulse/thread-mainloop.c:69
#3  0x00007f9f84f56e11 in pa_mainloop_poll (m=m@entry=0x3beb150) at pulse/mainloop.c:844
#4  0x00007f9f84f574ae in pa_mainloop_iterate (m=0x3beb150, block=<optimized out>, retval=0x0) at pulse/mainloop.c:926
#5  0x00007f9f84f57560 in pa_mainloop_run (m=0x3beb150, retval=retval@entry=0x0) at pulse/mainloop.c:944
#6  0x00007f9f84f657a9 in thread (userdata=0x549cc20) at pulse/thread-mainloop.c:100
#7  0x00007f9f841ed078 in internal_thread_func (userdata=0x49620d0) at pulsecore/thread-posix.c:81
#8  0x00007f9f8f0e36ba in start_thread (arg=0x7f9e9bfff700) at pthread_create.c:333
#9  0x00007f9f8f90d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 17 (Thread 0x7f9eb17fa700 (LWP 2654)):
#0  0x00007f9f8f0e9360 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f9f900019fb in QWaitCondition::wait(QMutex*, unsigned long) (time=18446744073709551615, this=0x577dd80) at thread/qwaitcondition_unix.cpp:143
#2  0x00007f9f900019fb in QWaitCondition::wait(QMutex*, unsigned long) (this=<optimized out>, mutex=0x59691e0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007f9ed23b830b in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(ThreadWeaver::Thread*) (this=this@entry=0x59691b0, th=<optimized out>) at /workspace/build/src/weaver.cpp:594
#4  0x00007f9ed23b907f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) (this=0x59691b0, th=th@entry=0x7f9e94002f90, threadWasBusy=threadWasBusy@entry=false, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at /workspace/build/src/weaver.cpp:554
#5  0x00007f9ed23bd078 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) (this=0x4b00db0, th=0x7f9e94002f90, wasBusy=<optimized out>) at /workspace/build/src/workinghardstate.cpp:66
#6  0x00007f9ed23b826d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) (this=<optimized out>, th=0x7f9e94002f90, wasBusy=<optimized out>) at /workspace/build/src/weaver.cpp:568
#7  0x00007f9ed23bd0d2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) (this=0x4b00db0, th=0x7f9e94002f90, wasBusy=<optimized out>) at /workspace/build/src/workinghardstate.cpp:73
#8  0x00007f9ed23b826d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) (this=<optimized out>, th=0x7f9e94002f90, wasBusy=<optimized out>) at /workspace/build/src/weaver.cpp:568
#9  0x00007f9ed23babf0 in ThreadWeaver::Thread::run() (this=0x7f9e94002f90) at /workspace/build/src/thread.cpp:103
#10 0x00007f9f90000b48 in QThreadPrivate::start(void*) (arg=0x7f9e94002f90) at thread/qthread_unix.cpp:368
#11 0x00007f9f8f0e36ba in start_thread (arg=0x7f9eb17fa700) at pthread_create.c:333
#12 0x00007f9f8f90d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 16 (Thread 0x7f9eb1ffb700 (LWP 2653)):
#0  0x00007f9f8f0e9360 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f9f900019fb in QWaitCondition::wait(QMutex*, unsigned long) (time=18446744073709551615, this=0x577dd80) at thread/qwaitcondition_unix.cpp:143
#2  0x00007f9f900019fb in QWaitCondition::wait(QMutex*, unsigned long) (this=<optimized out>, mutex=0x59691e0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007f9ed23b830b in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(ThreadWeaver::Thread*) (this=this@entry=0x59691b0, th=<optimized out>) at /workspace/build/src/weaver.cpp:594
#4  0x00007f9ed23b907f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) (this=0x59691b0, th=th@entry=0x59cb080, threadWasBusy=threadWasBusy@entry=false, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at /workspace/build/src/weaver.cpp:554
#5  0x00007f9ed23bd078 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) (this=0x4b00db0, th=0x59cb080, wasBusy=<optimized out>) at /workspace/build/src/workinghardstate.cpp:66
#6  0x00007f9ed23b826d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) (this=<optimized out>, th=0x59cb080, wasBusy=<optimized out>) at /workspace/build/src/weaver.cpp:568
#7  0x00007f9ed23bd0d2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) (this=0x4b00db0, th=0x59cb080, wasBusy=<optimized out>) at /workspace/build/src/workinghardstate.cpp:73
#8  0x00007f9ed23b826d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) (this=<optimized out>, th=0x59cb080, wasBusy=<optimized out>) at /workspace/build/src/weaver.cpp:568
#9  0x00007f9ed23babf0 in ThreadWeaver::Thread::run() (this=0x59cb080) at /workspace/build/src/thread.cpp:103
#10 0x00007f9f90000b48 in QThreadPrivate::start(void*) (arg=0x59cb080) at thread/qthread_unix.cpp:368
#11 0x00007f9f8f0e36ba in start_thread (arg=0x7f9eb1ffb700) at pthread_create.c:333
#12 0x00007f9f8f90d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 15 (Thread 0x7f9eb27fc700 (LWP 2652)):
#0  0x00007f9f8f0e9360 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f9f900019fb in QWaitCondition::wait(QMutex*, unsigned long) (time=18446744073709551615, this=0x577dd80) at thread/qwaitcondition_unix.cpp:143
#2  0x00007f9f900019fb in QWaitCondition::wait(QMutex*, unsigned long) (this=<optimized out>, mutex=0x59691e0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007f9ed23b830b in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(ThreadWeaver::Thread*) (this=this@entry=0x59691b0, th=<optimized out>) at /workspace/build/src/weaver.cpp:594
#4  0x00007f9ed23b907f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) (this=0x59691b0, th=th@entry=0x7f9eac0021d0, threadWasBusy=threadWasBusy@entry=false, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at /workspace/build/src/weaver.cpp:554
#5  0x00007f9ed23bd078 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) (this=0x4b00db0, th=0x7f9eac0021d0, wasBusy=<optimized out>) at /workspace/build/src/workinghardstate.cpp:66
#6  0x00007f9ed23b826d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) (this=<optimized out>, th=0x7f9eac0021d0, wasBusy=<optimized out>) at /workspace/build/src/weaver.cpp:568
#7  0x00007f9ed23bd0d2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) (this=0x4b00db0, th=0x7f9eac0021d0, wasBusy=<optimized out>) at /workspace/build/src/workinghardstate.cpp:73
#8  0x00007f9ed23b826d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) (this=<optimized out>, th=0x7f9eac0021d0, wasBusy=<optimized out>) at /workspace/build/src/weaver.cpp:568
#9  0x00007f9ed23babf0 in ThreadWeaver::Thread::run() (this=0x7f9eac0021d0) at /workspace/build/src/thread.cpp:103
#10 0x00007f9f90000b48 in QThreadPrivate::start(void*) (arg=0x7f9eac0021d0) at thread/qthread_unix.cpp:368
#11 0x00007f9f8f0e36ba in start_thread (arg=0x7f9eb27fc700) at pthread_create.c:333
#12 0x00007f9f8f90d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 14 (Thread 0x7f9eb2ffd700 (LWP 2651)):
#0  0x00007f9f8f0e9360 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f9f900019fb in QWaitCondition::wait(QMutex*, unsigned long) (time=18446744073709551615, this=0x577dd80) at thread/qwaitcondition_unix.cpp:143
#2  0x00007f9f900019fb in QWaitCondition::wait(QMutex*, unsigned long) (this=<optimized out>, mutex=0x59691e0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007f9ed23b830b in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(ThreadWeaver::Thread*) (this=this@entry=0x59691b0, th=<optimized out>) at /workspace/build/src/weaver.cpp:594
#4  0x00007f9ed23b907f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) (this=0x59691b0, th=th@entry=0x5781660, threadWasBusy=threadWasBusy@entry=false, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at /workspace/build/src/weaver.cpp:554
#5  0x00007f9ed23bd078 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) (this=0x4b00db0, th=0x5781660, wasBusy=<optimized out>) at /workspace/build/src/workinghardstate.cpp:66
#6  0x00007f9ed23b826d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) (this=<optimized out>, th=0x5781660, wasBusy=<optimized out>) at /workspace/build/src/weaver.cpp:568
#7  0x00007f9ed23bd0d2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) (this=0x4b00db0, th=0x5781660, wasBusy=<optimized out>) at /workspace/build/src/workinghardstate.cpp:73
#8  0x00007f9ed23b826d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) (this=<optimized out>, th=0x5781660, wasBusy=<optimized out>) at /workspace/build/src/weaver.cpp:568
#9  0x00007f9ed23babf0 in ThreadWeaver::Thread::run() (this=0x5781660) at /workspace/build/src/thread.cpp:103
#10 0x00007f9f90000b48 in QThreadPrivate::start(void*) (arg=0x5781660) at thread/qthread_unix.cpp:368
#11 0x00007f9f8f0e36ba in start_thread (arg=0x7f9eb2ffd700) at pthread_create.c:333
#12 0x00007f9f8f90d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 13 (Thread 0x7f9eb37fe700 (LWP 2650)):
#0  0x00007f9f8f0e9360 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f9f900019fb in QWaitCondition::wait(QMutex*, unsigned long) (time=18446744073709551615, this=0x577dd80) at thread/qwaitcondition_unix.cpp:143
#2  0x00007f9f900019fb in QWaitCondition::wait(QMutex*, unsigned long) (this=<optimized out>, mutex=0x59691e0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007f9ed23b830b in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(ThreadWeaver::Thread*) (this=this@entry=0x59691b0, th=<optimized out>) at /workspace/build/src/weaver.cpp:594
#4  0x00007f9ed23b907f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) (this=0x59691b0, th=th@entry=0x57800b0, threadWasBusy=threadWasBusy@entry=false, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at /workspace/build/src/weaver.cpp:554
#5  0x00007f9ed23bd078 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) (this=0x4b00db0, th=0x57800b0, wasBusy=<optimized out>) at /workspace/build/src/workinghardstate.cpp:66
#6  0x00007f9ed23b826d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) (this=<optimized out>, th=0x57800b0, wasBusy=<optimized out>) at /workspace/build/src/weaver.cpp:568
#7  0x00007f9ed23bd0d2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) (this=0x4b00db0, th=0x57800b0, wasBusy=<optimized out>) at /workspace/build/src/workinghardstate.cpp:73
#8  0x00007f9ed23b826d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) (this=<optimized out>, th=0x57800b0, wasBusy=<optimized out>) at /workspace/build/src/weaver.cpp:568
#9  0x00007f9ed23babf0 in ThreadWeaver::Thread::run() (this=0x57800b0) at /workspace/build/src/thread.cpp:103
#10 0x00007f9f90000b48 in QThreadPrivate::start(void*) (arg=0x57800b0) at thread/qthread_unix.cpp:368
#11 0x00007f9f8f0e36ba in start_thread (arg=0x7f9eb37fe700) at pthread_create.c:333
#12 0x00007f9f8f90d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 12 (Thread 0x7f9eb3fff700 (LWP 2649)):
#0  0x00007f9f8f0e9360 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f9f900019fb in QWaitCondition::wait(QMutex*, unsigned long) (time=18446744073709551615, this=0x577dd80) at thread/qwaitcondition_unix.cpp:143
#2  0x00007f9f900019fb in QWaitCondition::wait(QMutex*, unsigned long) (this=<optimized out>, mutex=0x59691e0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007f9ed23b830b in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(ThreadWeaver::Thread*) (this=this@entry=0x59691b0, th=<optimized out>) at /workspace/build/src/weaver.cpp:594
#4  0x00007f9ed23b907f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) (this=0x59691b0, th=th@entry=0x7f9eb4002d70, threadWasBusy=threadWasBusy@entry=true, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at /workspace/build/src/weaver.cpp:554
#5  0x00007f9ed23bd078 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) (this=0x4b00db0, th=0x7f9eb4002d70, wasBusy=<optimized out>) at /workspace/build/src/workinghardstate.cpp:66
#6  0x00007f9ed23b826d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) (this=<optimized out>, th=0x7f9eb4002d70, wasBusy=<optimized out>) at /workspace/build/src/weaver.cpp:568
#7  0x00007f9ed23babf0 in ThreadWeaver::Thread::run() (this=0x7f9eb4002d70) at /workspace/build/src/thread.cpp:103
#8  0x00007f9f90000b48 in QThreadPrivate::start(void*) (arg=0x7f9eb4002d70) at thread/qthread_unix.cpp:368
#9  0x00007f9f8f0e36ba in start_thread (arg=0x7f9eb3fff700) at pthread_create.c:333
#10 0x00007f9f8f90d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 11 (Thread 0x7f9eb8d56700 (LWP 2648)):
#0  0x00007f9f8f0e9360 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f9f900019fb in QWaitCondition::wait(QMutex*, unsigned long) (time=18446744073709551615, this=0x577dd80) at thread/qwaitcondition_unix.cpp:143
#2  0x00007f9f900019fb in QWaitCondition::wait(QMutex*, unsigned long) (this=<optimized out>, mutex=0x59691e0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007f9ed23b830b in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(ThreadWeaver::Thread*) (this=this@entry=0x59691b0, th=<optimized out>) at /workspace/build/src/weaver.cpp:594
#4  0x00007f9ed23b907f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) (this=0x59691b0, th=th@entry=0x5780090, threadWasBusy=threadWasBusy@entry=false, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at /workspace/build/src/weaver.cpp:554
#5  0x00007f9ed23bd078 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) (this=0x4b00db0, th=0x5780090, wasBusy=<optimized out>) at /workspace/build/src/workinghardstate.cpp:66
#6  0x00007f9ed23b826d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) (this=<optimized out>, th=0x5780090, wasBusy=<optimized out>) at /workspace/build/src/weaver.cpp:568
#7  0x00007f9ed23bd0d2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) (this=0x4b00db0, th=0x5780090, wasBusy=<optimized out>) at /workspace/build/src/workinghardstate.cpp:73
#8  0x00007f9ed23b826d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) (this=<optimized out>, th=0x5780090, wasBusy=<optimized out>) at /workspace/build/src/weaver.cpp:568
#9  0x00007f9ed23bd0d2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) (this=0x4b00db0, th=0x5780090, wasBusy=<optimized out>) at /workspace/build/src/workinghardstate.cpp:73
#10 0x00007f9ed23b826d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) (this=<optimized out>, th=0x5780090, wasBusy=<optimized out>) at /workspace/build/src/weaver.cpp:568
#11 0x00007f9ed23bd0d2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) (this=0x4b00db0, th=0x5780090, wasBusy=<optimized out>) at /workspace/build/src/workinghardstate.cpp:73
#12 0x00007f9ed23b826d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) (this=<optimized out>, th=0x5780090, wasBusy=<optimized out>) at /workspace/build/src/weaver.cpp:568
#13 0x00007f9ed23bd0d2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) (this=0x4b00db0, th=0x5780090, wasBusy=<optimized out>) at /workspace/build/src/workinghardstate.cpp:73
#14 0x00007f9ed23b826d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) (this=<optimized out>, th=0x5780090, wasBusy=<optimized out>) at /workspace/build/src/weaver.cpp:568
#15 0x00007f9ed23bd0d2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) (this=0x4b00db0, th=0x5780090, wasBusy=<optimized out>) at /workspace/build/src/workinghardstate.cpp:73
#16 0x00007f9ed23b826d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) (this=<optimized out>, th=0x5780090, wasBusy=<optimized out>) at /workspace/build/src/weaver.cpp:568
#17 0x00007f9ed23babf0 in ThreadWeaver::Thread::run() (this=0x5780090) at /workspace/build/src/thread.cpp:103
#18 0x00007f9f90000b48 in QThreadPrivate::start(void*) (arg=0x5780090) at thread/qthread_unix.cpp:368
#19 0x00007f9f8f0e36ba in start_thread (arg=0x7f9eb8d56700) at pthread_create.c:333
#20 0x00007f9f8f90d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 10 (Thread 0x7f9ebbd21700 (LWP 2647)):
#0  0x00007f9f8f0e9360 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f9f900019fb in QWaitCondition::wait(QMutex*, unsigned long) (time=18446744073709551615, this=0x577dd80) at thread/qwaitcondition_unix.cpp:143
#2  0x00007f9f900019fb in QWaitCondition::wait(QMutex*, unsigned long) (this=<optimized out>, mutex=0x59691e0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007f9ed23b830b in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(ThreadWeaver::Thread*) (this=this@entry=0x59691b0, th=<optimized out>) at /workspace/build/src/weaver.cpp:594
#4  0x00007f9ed23b907f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) (this=0x59691b0, th=th@entry=0x5780070, threadWasBusy=threadWasBusy@entry=false, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at /workspace/build/src/weaver.cpp:554
#5  0x00007f9ed23bd078 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) (this=0x4b00db0, th=0x5780070, wasBusy=<optimized out>) at /workspace/build/src/workinghardstate.cpp:66
#6  0x00007f9ed23b826d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) (this=<optimized out>, th=0x5780070, wasBusy=<optimized out>) at /workspace/build/src/weaver.cpp:568
#7  0x00007f9ed23bd0d2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) (this=0x4b00db0, th=0x5780070, wasBusy=<optimized out>) at /workspace/build/src/workinghardstate.cpp:73
#8  0x00007f9ed23b826d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) (this=<optimized out>, th=0x5780070, wasBusy=<optimized out>) at /workspace/build/src/weaver.cpp:568
#9  0x00007f9ed23babf0 in ThreadWeaver::Thread::run() (this=0x5780070) at /workspace/build/src/thread.cpp:103
#10 0x00007f9f90000b48 in QThreadPrivate::start(void*) (arg=0x5780070) at thread/qthread_unix.cpp:368
#11 0x00007f9f8f0e36ba in start_thread (arg=0x7f9ebbd21700) at pthread_create.c:333
#12 0x00007f9f8f90d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7f9ecdb70700 (LWP 1658)):
#0  0x00007f9f8b2e3a94 in g_mutex_unlock (mutex=0x7f9ec8000990) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gthread-posix.c:1347
#1  0x00007f9f8b29e910 in g_main_context_prepare (context=context@entry=0x7f9ec8000990, priority=priority@entry=0x7f9ecdb6fb80) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3440
#2  0x00007f9f8b29f2bb in g_main_context_iterate (context=context@entry=0x7f9ec8000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3820
#3  0x00007f9f8b29f49c in g_main_context_iteration (context=0x7f9ec8000990, may_block=may_block@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007f9f9022175b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f9ec80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f9f901cc0ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f9ecdb6fcc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f9f8fffbf64 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:507
#7  0x00007f9ed004e587 in KCupsConnection::run() () at /usr/lib/x86_64-linux-gnu/libkcupslib.so
#8  0x00007f9f90000b48 in QThreadPrivate::start(void*) (arg=0x3f9f210) at thread/qthread_unix.cpp:368
#9  0x00007f9f8f0e36ba in start_thread (arg=0x7f9ecdb70700) at pthread_create.c:333
#10 0x00007f9f8f90d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f9edb4a9700 (LWP 1639)):
#0  0x00007f9f8f8fd24d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f9f8b2e26f0 in g_wakeup_acknowledge (__nbytes=16, __buf=0x7f9edb4a8a80, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  0x00007f9f8b2e26f0 in g_wakeup_acknowledge (wakeup=0x7f9f60002570) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gwakeup.c:210
#3  0x00007f9f8b29ee74 in g_main_context_check (context=context@entry=0x7f9ed4000990, max_priority=2147483647, fds=fds@entry=0x7f9ed40013e0, n_fds=n_fds@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3632
#4  0x00007f9f8b29f330 in g_main_context_iterate (context=context@entry=0x7f9ed4000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3837
#5  0x00007f9f8b29f49c in g_main_context_iteration (context=0x7f9ed4000990, may_block=may_block@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#6  0x00007f9f9022175b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f9ed40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007f9f901cc0ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f9edb4a8c90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#8  0x00007f9f8fffbf64 in QThread::exec() (this=this@entry=0x1da3150) at thread/qthread.cpp:507
#9  0x00007f9f931f1fc6 in QQuickPixmapReader::run() (this=0x1da3150) at util/qquickpixmapcache.cpp:822
#10 0x00007f9f90000b48 in QThreadPrivate::start(void*) (arg=0x1da3150) at thread/qthread_unix.cpp:368
#11 0x00007f9f8f0e36ba in start_thread (arg=0x7f9edb4a9700) at pthread_create.c:333
#12 0x00007f9f8f90d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f9f67fff700 (LWP 1638)):
#0  0x00007f9f8f0e9360 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f9f94c566f4 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007f9f94c56739 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007f9f8f0e36ba in start_thread (arg=0x7f9f67fff700) at pthread_create.c:333
#4  0x00007f9f8f90d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f9f6d8f6700 (LWP 1633)):
#0  0x00007f9f8b2e3a94 in g_mutex_unlock (mutex=0x7f9f60000990) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gthread-posix.c:1347
#1  0x00007f9f8b29f346 in g_main_context_iterate (context=context@entry=0x7f9f60000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3842
#2  0x00007f9f8b29f49c in g_main_context_iteration (context=0x7f9f60000990, may_block=may_block@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#3  0x00007f9f9022175b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f9f600008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f9f901cc0ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f9f6d8f5d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f9f8fffbf64 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007f9f90000b48 in QThreadPrivate::start(void*) (arg=0x1758850) at thread/qthread_unix.cpp:368
#7  0x00007f9f8f0e36ba in start_thread (arg=0x7f9f6d8f6700) at pthread_create.c:333
#8  0x00007f9f8f90d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f9f6f38f700 (LWP 1631)):
#0  0x00007f9f8f90170d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f9f8b29f38c in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7f9f68003070, timeout=<optimized out>, context=0x7f9f68000990) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:4135
#2  0x00007f9f8b29f38c in g_main_context_iterate (context=context@entry=0x7f9f68000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3835
#3  0x00007f9f8b29f49c in g_main_context_iteration (context=0x7f9f68000990, may_block=may_block@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007f9f9022175b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f9f680008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f9f901cc0ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f9f6f38ece0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f9f8fffbf64 in QThread::exec() (this=this@entry=0x15eb910) at thread/qthread.cpp:507
#7  0x00007f9f9286abf5 in QQmlThreadPrivate::run() (this=0x15eb910) at qml/ftw/qqmlthread.cpp:147
#8  0x00007f9f90000b48 in QThreadPrivate::start(void*) (arg=0x15eb910) at thread/qthread_unix.cpp:368
#9  0x00007f9f8f0e36ba in start_thread (arg=0x7f9f6f38f700) at pthread_create.c:333
#10 0x00007f9f8f90d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f9f7d1b7700 (LWP 1629)):
#0  0x00007f9f8b2e3a94 in g_mutex_unlock (mutex=0x7f9f74000990) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gthread-posix.c:1347
#1  0x00007f9f8b29f2ae in g_main_context_iterate (context=context@entry=0x7f9f74000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3818
#2  0x00007f9f8b29f49c in g_main_context_iteration (context=0x7f9f74000990, may_block=may_block@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#3  0x00007f9f9022175b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f9f740008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f9f901cc0ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f9f7d1b6ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f9f8fffbf64 in QThread::exec() (this=this@entry=0x15a4c70) at thread/qthread.cpp:507
#6  0x00007f9f9286abf5 in QQmlThreadPrivate::run() (this=0x15a4c70) at qml/ftw/qqmlthread.cpp:147
#7  0x00007f9f90000b48 in QThreadPrivate::start(void*) (arg=0x15a4c70) at thread/qthread_unix.cpp:368
#8  0x00007f9f8f0e36ba in start_thread (arg=0x7f9f7d1b7700) at pthread_create.c:333
#9  0x00007f9f8f90d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f9f7ebfc700 (LWP 1598)):
#0  0x00007f9f8f90170d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f9f8b29f38c in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7f9f70012660, timeout=<optimized out>, context=0x7f9f70000990) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:4135
#2  0x00007f9f8b29f38c in g_main_context_iterate (context=context@entry=0x7f9f70000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3835
#3  0x00007f9f8b29f49c in g_main_context_iteration (context=0x7f9f70000990, may_block=may_block@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007f9f9022175b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f9f700008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f9f901cc0ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f9f7ebfbcd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f9f8fffbf64 in QThread::exec() (this=this@entry=0x7f9f953b3d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:507
#7  0x00007f9f9533f735 in QDBusConnectionManager::run() (this=0x7f9f953b3d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007f9f90000b48 in QThreadPrivate::start(void*) (arg=0x7f9f953b3d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#9  0x00007f9f8f0e36ba in start_thread (arg=0x7f9f7ebfc700) at pthread_create.c:333
#10 0x00007f9f8f90d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f9f80412700 (LWP 1561)):
#0  0x00007f9f8f90170d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f9f93bb7c62 in _xcb_conn_wait (__timeout=-1, __nfds=1, __fds=0x7f9f80411c00) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  0x00007f9f93bb7c62 in _xcb_conn_wait (c=c@entry=0x14de7b0, cond=cond@entry=0x14de7f0, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:459
#3  0x00007f9f93bb98d7 in xcb_wait_for_event (c=0x14de7b0) at ../../src/xcb_in.c:693
#4  0x00007f9f82557d79 in QXcbEventReader::run() (this=0x14e8e80) at qxcbconnection.cpp:1343
#5  0x00007f9f90000b48 in QThreadPrivate::start(void*) (arg=0x14e8e80) at thread/qthread_unix.cpp:368
#6  0x00007f9f8f0e36ba in start_thread (arg=0x7f9f80412700) at pthread_create.c:333
#7  0x00007f9f8f90d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f9f952038c0 (LWP 1537)):
[KCrash Handler]
#6  0x00007f9f90194770 in QSortFilterProxyModelPrivate::updateChildrenMapping(QModelIndex const&, QSortFilterProxyModelPrivate::Mapping*, Qt::Orientation, int, int, int, bool) (this=this@entry=0x39ec910, source_parent=..., parent_mapping=parent_mapping@entry=0x3aecda0, start=start@entry=1, end=end@entry=1, delta_item_count=delta_item_count@entry=1, remove=true, orient=Qt::Vertical) at itemmodels/qsortfilterproxymodel.cpp:975
#7  0x00007f9f901949e9 in QSortFilterProxyModelPrivate::_q_sourceRowsRemoved(QModelIndex const&, int, int) (orient=Qt::Vertical, end=<optimized out>, start=1, source_parent=..., this=0x39ec910) at itemmodels/qsortfilterproxymodel.cpp:917
#8  0x00007f9f901949e9 in QSortFilterProxyModelPrivate::_q_sourceRowsRemoved(QModelIndex const&, int, int) (this=0x39ec910, source_parent=..., start=1, end=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:1424
#9  0x00007f9f9019ce39 in QSortFilterProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qsortfilterproxymodel.cpp:211
#10 0x00007f9f901f8e89 in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x39fda10, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=12, argv=argv@entry=0x7ffe018d6cb0) at kernel/qobject.cpp:3740
#11 0x00007f9f901f9837 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x39fda10, m=m@entry=0x7f9f90412d80 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=12, argv=argv@entry=0x7ffe018d6cb0) at kernel/qobject.cpp:3602
#12 0x00007f9f9026ed84 in QAbstractItemModel::rowsRemoved(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) (this=this@entry=0x39fda10, _t1=..., _t2=1, _t3=1) at .moc/moc_qabstractitemmodel.cpp:615
#13 0x00007f9f90175dbb in QAbstractItemModel::endRemoveRows() (this=0x39fda10) at itemmodels/qabstractitemmodel.cpp:2715
#14 0x00007f9ed8fd61ed in  () at /usr/lib/x86_64-linux-gnu/libtaskmanager.so.6
#15 0x00007f9ed8fd9239 in  () at /usr/lib/x86_64-linux-gnu/libtaskmanager.so.6
#16 0x00007f9f901f8e89 in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x3a0bf80, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=11, argv=argv@entry=0x7ffe018d6fb0) at kernel/qobject.cpp:3740
#17 0x00007f9f901f9837 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x3a0bf80, m=m@entry=0x7f9f90412d80 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=11, argv=argv@entry=0x7ffe018d6fb0) at kernel/qobject.cpp:3602
#18 0x00007f9f9026ed14 in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) (this=this@entry=0x3a0bf80, _t1=..., _t2=_t2@entry=4, _t3=_t3@entry=4) at .moc/moc_qabstractitemmodel.cpp:608
#19 0x00007f9f90175663 in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) (this=0x3a0bf80, parent=..., first=4, last=4) at itemmodels/qabstractitemmodel.cpp:2698
#20 0x00007f9f9019a63d in QSortFilterProxyModelPrivate::remove_source_items(QVector<int>&, QVector<int>&, QVector<int> const&, QModelIndex const&, Qt::Orientation, bool) (emit_signal=true, orient=Qt::Vertical, proxy_parent=..., proxy_end=4, proxy_start=4, proxy_to_source=..., source_to_proxy=..., this=0x39f18a0) at itemmodels/qsortfilterproxymodel.cpp:583
#21 0x00007f9f9019a63d in QSortFilterProxyModelPrivate::remove_source_items(QVector<int>&, QVector<int>&, QVector<int> const&, QModelIndex const&, Qt::Orientation, bool) (this=this@entry=0x39f18a0, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=orient@entry=Qt::Vertical, emit_signal=true) at itemmodels/qsortfilterproxymodel.cpp:565
#22 0x00007f9f9019a833 in QSortFilterProxyModelPrivate::source_items_about_to_be_removed(QModelIndex const&, int, int, Qt::Orientation) (this=0x39f18a0, source_parent=..., start=4, end=4, orient=orient@entry=Qt::Vertical) at itemmodels/qsortfilterproxymodel.cpp:866
#23 0x00007f9f9019ce18 in QSortFilterProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (end=<optimized out>, start=<optimized out>, source_parent=..., this=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:1417
#24 0x00007f9f9019ce18 in QSortFilterProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qsortfilterproxymodel.cpp:210
#25 0x00007f9f901f8e89 in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x39fe9b0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=11, argv=argv@entry=0x7ffe018d7300) at kernel/qobject.cpp:3740
#26 0x00007f9f901f9837 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x39fe9b0, m=m@entry=0x7f9f90412d80 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=11, argv=argv@entry=0x7ffe018d7300) at kernel/qobject.cpp:3602
#27 0x00007f9f9026ed14 in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) (this=this@entry=0x39fe9b0, _t1=..., _t2=_t2@entry=4, _t3=_t3@entry=4) at .moc/moc_qabstractitemmodel.cpp:608
#28 0x00007f9f90175663 in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) (this=0x39fe9b0, parent=..., first=4, last=4) at itemmodels/qabstractitemmodel.cpp:2698
#29 0x00007f9ed8d77de5 in KConcatenateRowsProxyModelPrivate::slotRowsAboutToBeRemoved(QModelIndex const&, int, int) (this=0x39fbde0, start=4, end=4) at /workspace/build/src/kconcatenaterowsproxymodel.cpp:241
#30 0x00007f9ed8d793c1 in KConcatenateRowsProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /workspace/build/obj-x86_64-linux-gnu/src/moc_kconcatenaterowsproxymodel.cpp:144
#31 0x00007f9f901f8e89 in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x39ece00, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=11, argv=argv@entry=0x7ffe018d7560) at kernel/qobject.cpp:3740
#32 0x00007f9f901f9837 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x39ece00, m=m@entry=0x7f9f90412d80 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=11, argv=argv@entry=0x7ffe018d7560) at kernel/qobject.cpp:3602
#33 0x00007f9f9026ed14 in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) (this=this@entry=0x39ece00, _t1=..., _t2=_t2@entry=4, _t3=_t3@entry=4) at .moc/moc_qabstractitemmodel.cpp:608
#34 0x00007f9f90175663 in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) (this=this@entry=0x39ece00, parent=..., first=first@entry=4, last=last@entry=4) at itemmodels/qabstractitemmodel.cpp:2698
#35 0x00007f9f9018fc20 in QIdentityProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (end=4, start=4, parent=..., this=<optimized out>) at itemmodels/qidentityproxymodel.cpp:580
#36 0x00007f9f9018fc20 in QIdentityProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qidentityproxymodel.cpp:150
#37 0x00007f9f901f8e89 in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x39ecf50, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=11, argv=argv@entry=0x7ffe018d7780) at kernel/qobject.cpp:3740
#38 0x00007f9f901f9837 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x39ecf50, m=m@entry=0x7f9f90412d80 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=11, argv=argv@entry=0x7ffe018d7780) at kernel/qobject.cpp:3602
#39 0x00007f9f9026ed14 in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) (this=this@entry=0x39ecf50, _t1=..., _t2=_t2@entry=4, _t3=_t3@entry=4) at .moc/moc_qabstractitemmodel.cpp:608
#40 0x00007f9f90175663 in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) (this=0x39ecf50, parent=..., first=4, last=4) at itemmodels/qabstractitemmodel.cpp:2698
#41 0x00007f9ed8feff38 in TaskManager::XWindowTasksModel::Private::removeWindow(unsigned long long) () at /usr/lib/x86_64-linux-gnu/libtaskmanager.so.6
#42 0x00007f9f901f91f6 in QMetaObject::activate(QObject*, int, int, void**) (a=0x7ffe018d79d0, r=0x39ecf50, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#43 0x00007f9f901f91f6 in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x7f9f925a4c20 <(anonymous namespace)::Q_QGS_g_kwmInstanceContainer::innerFunction()::holder>, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffe018d79d0) at kernel/qobject.cpp:3723
#44 0x00007f9f901f9837 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x7f9f925a4c20 <(anonymous namespace)::Q_QGS_g_kwmInstanceContainer::innerFunction()::holder>, m=m@entry=0x7f9f925a3b60 <KWindowSystem::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffe018d79d0) at kernel/qobject.cpp:3602
#45 0x00007f9f92395c52 in KWindowSystem::windowRemoved(unsigned long long) (this=this@entry=0x7f9f925a4c20 <(anonymous namespace)::Q_QGS_g_kwmInstanceContainer::innerFunction()::holder>, _t1=_t1@entry=113246213) at /workspace/build/obj-x86_64-linux-gnu/src/moc_kwindowsystem.cpp:311
#46 0x00007f9f7d5d7232 in NETEventFilter::removeClient(unsigned int) (this=0x1b99da0, w=113246213) at /workspace/build/src/platforms/xcb/kwindowsystem.cpp:382
#47 0x00007f9f9238e170 in NETRootInfo::update(QFlags<NET::Property>, QFlags<NET::Property2>) (this=0x1b99da0, properties=..., properties@entry=..., properties2=..., properties2@entry=...) at /workspace/build/src/platforms/xcb/netwm.cpp:2046
#48 0x00007f9f9238ea44 in NETRootInfo::event(xcb_generic_event_t*, QFlags<NET::Property>*, QFlags<NET::Property2>*) (this=this@entry=0x1b99da0, event=event@entry=0x7f9f7803aeb0, properties=properties@entry=0x7ffe018d7f90, properties2=properties2@entry=0x7ffe018d7fa0) at /workspace/build/src/platforms/xcb/netwm.cpp:1887
#49 0x00007f9f9238ed62 in NETRootInfo::event(xcb_generic_event_t*, unsigned long*, int) (this=this@entry=0x1b99da0, ev=ev@entry=0x7f9f7803aeb0, properties=properties@entry=0x7ffe018d8040, properties_size=properties_size@entry=5) at /workspace/build/src/platforms/xcb/netwm.cpp:1672
#50 0x00007f9f7d5d6976 in NETEventFilter::nativeEventFilter(xcb_generic_event_t*) (this=0x1b99da0, ev=0x7f9f7803aeb0) at /workspace/build/src/platforms/xcb/kwindowsystem.cpp:237
#51 0x00007f9f901cb22f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) (this=<optimized out>, eventType=..., message=message@entry=0x7f9f7803aeb0, result=result@entry=0x7ffe018d8108) at kernel/qabstracteventdispatcher.cpp:466
#52 0x00007f9f8255b9c4 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) (this=this@entry=0x14c62d0, event=event@entry=0x7f9f7803aeb0) at qxcbconnection.cpp:1106
#53 0x00007f9f8255c690 in QXcbConnection::processXcbEvents() (this=0x14c62d0) at qxcbconnection.cpp:1741
#54 0x00007f9f901f9d99 in QObject::event(QEvent*) (this=0x14c62d0, e=<optimized out>) at kernel/qobject.cpp:1263
#55 0x00007f9f90aacecc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#56 0x00007f9f90ab48c6 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#57 0x00007f9f901ce0c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x14c62d0, event=event@entry=0x7f9f7805e4d0) at kernel/qcoreapplication.cpp:988
#58 0x00007f9f901d078b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x7f9f7805e4d0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#59 0x00007f9f901d078b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x14c6b90) at kernel/qcoreapplication.cpp:1649
#60 0x00007f9f901d0bf8 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1503
#61 0x00007f9f90221333 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x1500120) at kernel/qeventdispatcher_glib.cpp:276
#62 0x00007f9f8b29f197 in g_main_context_dispatch (context=0x7f9f780016f0) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3154
#63 0x00007f9f8b29f197 in g_main_context_dispatch (context=context@entry=0x7f9f780016f0) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3769
#64 0x00007f9f8b29f3f0 in g_main_context_iterate (context=context@entry=0x7f9f780016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3840
#65 0x00007f9f8b29f49c in g_main_context_iteration (context=0x7f9f780016f0, may_block=may_block@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#66 0x00007f9f9022173f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x1512260, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#67 0x00007f9f901cc0ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe018d8740, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#68 0x00007f9f901d46cc in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1261
#69 0x000000000041cfe8 in  ()
#70 0x00007f9f8f826830 in __libc_start_main (main=0x41c480, argc=2, argv=0x7ffe018d8a58, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe018d8a48) at ../csu/libc-start.c:291
#71 0x000000000041d369 in _start ()
Comment 15 Eike Hein 2017-08-07 10:29:46 UTC
Git commit 3990ec2358106875bd1d58ad65bd2a55ff4f1d73 by Eike Hein.
Committed on 07/08/2017 at 10:24.
Pushed by hein into branch 'master'.

Fix QSortFilterProxyModelPrivate::updateChildrenMapping crash in libtaskmanager

Summary:
TaskGroupingProxyModel uses a simple QVector<QVector<int>> populated
with source model row indices to represent the task group tree. To
implement QAbstractItemModel::parent(), its implementation of index()
encodes row indices of the top-level vector into the internal ids of
child item model indices. This allows parent() to produce the parent
model index by simply decoding the parent row from the passed-in child
index and call index() with that row.

Top-level row indices shift up and down as the list of top-level items
changes, invalidating those internal ids. QModelIndex is not meant to
be stored, and the proxy model does take care of updating any persis-
tent model indexes with new ids, so this should be fine.

However, where it falls apart is that as internal ids are invalidated,
a QSortFilterProxyModel on top of this proxy (i.e. TasksModel) may end
up with multiple indexes with identical internal ids in its mappings,
causing it to mess up its mappings as it uses them (e.g. taking things
from them). This causes the often-reported crash/assert there.

The fix is to refactor index()/parent() not to rely on row indices as
internal ids, but instead use pointers to internal data structures
instead.

This patch achieves this by changing the map to QVector<QVector<int> *>.
This screams fugly, but the alternative would basically just be to
create some wrapper struct to hide the fugly appeareance a little,
which I don't think is worth it.

On the flip side, it saves a QVector::replace() call as a multable
vector iterator can work directly on a vector without making a copy,
and it's now no longer necessary to manually update the persistent
model indices beyond what endRemoveRows() does implicitly.

Reviewers: #plasma, davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D7139

M  +54   -73   libtaskmanager/taskgroupingproxymodel.cpp

https://commits.kde.org/plasma-workspace/3990ec2358106875bd1d58ad65bd2a55ff4f1d73
Comment 16 Kai Uwe Broulik 2017-08-07 14:24:19 UTC
*** Bug 383235 has been marked as a duplicate of this bug. ***
Comment 17 Kai Uwe Broulik 2017-08-17 19:18:28 UTC
*** Bug 383647 has been marked as a duplicate of this bug. ***
Comment 18 David Edmundson 2017-08-22 16:36:23 UTC
Git commit d2f722a82ebeb213a89efc209ec726a8188de6f0 by David Edmundson, on behalf of Eike Hein.
Committed on 22/08/2017 at 16:36.
Pushed by davidedmundson into branch 'Plasma/5.8'.

Fix QSortFilterProxyModelPrivate::updateChildrenMapping crash in libtaskmanager

Summary:
TaskGroupingProxyModel uses a simple QVector<QVector<int>> populated
with source model row indices to represent the task group tree. To
implement QAbstractItemModel::parent(), its implementation of index()
encodes row indices of the top-level vector into the internal ids of
child item model indices. This allows parent() to produce the parent
model index by simply decoding the parent row from the passed-in child
index and call index() with that row.

Top-level row indices shift up and down as the list of top-level items
changes, invalidating those internal ids. QModelIndex is not meant to
be stored, and the proxy model does take care of updating any persis-
tent model indexes with new ids, so this should be fine.

However, where it falls apart is that as internal ids are invalidated,
a QSortFilterProxyModel on top of this proxy (i.e. TasksModel) may end
up with multiple indexes with identical internal ids in its mappings,
causing it to mess up its mappings as it uses them (e.g. taking things
from them). This causes the often-reported crash/assert there.

The fix is to refactor index()/parent() not to rely on row indices as
internal ids, but instead use pointers to internal data structures
instead.

This patch achieves this by changing the map to QVector<QVector<int> *>.
This screams fugly, but the alternative would basically just be to
create some wrapper struct to hide the fugly appeareance a little,
which I don't think is worth it.

On the flip side, it saves a QVector::replace() call as a multable
vector iterator can work directly on a vector without making a copy,
and it's now no longer necessary to manually update the persistent
model indices beyond what endRemoveRows() does implicitly.

Reviewers: #plasma, davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D7139

M  +54   -73   libtaskmanager/taskgroupingproxymodel.cpp

https://commits.kde.org/plasma-workspace/d2f722a82ebeb213a89efc209ec726a8188de6f0
Comment 19 David Edmundson 2017-08-24 16:32:11 UTC
*** Bug 383947 has been marked as a duplicate of this bug. ***
Comment 20 David Edmundson 2017-08-24 16:32:13 UTC
*** Bug 383945 has been marked as a duplicate of this bug. ***
Comment 21 Kai Uwe Broulik 2017-08-25 10:54:31 UTC
*** Bug 383999 has been marked as a duplicate of this bug. ***
Comment 22 David Edmundson 2017-09-01 09:15:05 UTC
*** Bug 384257 has been marked as a duplicate of this bug. ***
Comment 23 David Edmundson 2017-09-04 17:51:32 UTC
*** Bug 384360 has been marked as a duplicate of this bug. ***
Comment 24 Christoph Feck 2017-10-18 12:41:49 UTC
*** Bug 385515 has been marked as a duplicate of this bug. ***
Comment 25 Kai Uwe Broulik 2017-12-01 22:36:25 UTC
*** Bug 387501 has been marked as a duplicate of this bug. ***
Comment 26 David Edmundson 2018-01-02 14:52:04 UTC
*** Bug 388459 has been marked as a duplicate of this bug. ***
Comment 27 Christoph Feck 2018-03-15 02:38:59 UTC
*** Bug 391005 has been marked as a duplicate of this bug. ***