Bug 396175 - plasma-workspace-5.13.2 crashes switching between activities
Summary: plasma-workspace-5.13.2 crashes switching between activities
Status: RESOLVED FIXED
Alias: None
Product: frameworks-activities-stats
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.47.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Ivan Čukić
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-07-04 21:23 UTC by Pablo Cholaky
Modified: 2018-07-05 10:37 UTC (History)
2 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 Pablo Cholaky 2018-07-04 21:23:11 UTC
Application: plasmashell (5.13.2)
 (Compiled from sources)
Qt Version: 5.11.1
Frameworks Version: 5.47.0
Operating System: Linux 4.17.0-waltercool x86_64
Distribution: "Gentoo Base System release 2.6"

-- Information about the crash:
- What I was doing when the application crashed:

Reproducing the problem is fair easily than using the shortcut to switch between activities. plasma-workspace crashes each time I trigger the control.

Using Qt 5.11.1, Plasma 5.13.2 and Frameworks 5.37.0. Gentoo.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1f417c5880 (LWP 29568))]

Thread 13 (Thread 0x7f1e4bbff700 (LWP 29586)):
#0  0x00007f1f3a18f57c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x559e25b353a4) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x559e25b35350, cond=0x559e25b35378) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x559e25b35378, mutex=0x559e25b35350) at pthread_cond_wait.c:655
#3  0x00007f1f3b05e003 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x559e25b35350) at thread/qwaitcondition_unix.cpp:143
#4  QWaitCondition::wait (this=this@entry=0x559e257745e8, mutex=mutex@entry=0x559e257745e0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#5  0x00007f1f3effe188 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x559e257745d8) at scenegraph/qsgthreadedrenderloop.cpp:245
#6  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x559e25774560) at scenegraph/qsgthreadedrenderloop.cpp:709
#7  0x00007f1f3effe5ba in QSGRenderThread::run (this=0x559e25774560) at scenegraph/qsgthreadedrenderloop.cpp:738
#8  0x00007f1f3b05d896 in QThreadPrivate::start (arg=0x559e25774560) at thread/qthread_unix.cpp:367
#9  0x00007f1f3a18896a in start_thread (arg=0x7f1e4bbff700) at pthread_create.c:463
#10 0x00007f1f3a8e805f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7f1e64e9b700 (LWP 29585)):
#0  0x00007f1f3a18f57c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x559e25620c44) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x559e25620bf0, cond=0x559e25620c18) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x559e25620c18, mutex=0x559e25620bf0) at pthread_cond_wait.c:655
#3  0x00007f1f3b05e003 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x559e25620bf0) at thread/qwaitcondition_unix.cpp:143
#4  QWaitCondition::wait (this=this@entry=0x559e25752e18, mutex=mutex@entry=0x559e25752e10, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#5  0x00007f1f3effe188 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x559e25752e08) at scenegraph/qsgthreadedrenderloop.cpp:245
#6  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x559e25752d90) at scenegraph/qsgthreadedrenderloop.cpp:709
#7  0x00007f1f3effe5ba in QSGRenderThread::run (this=0x559e25752d90) at scenegraph/qsgthreadedrenderloop.cpp:738
#8  0x00007f1f3b05d896 in QThreadPrivate::start (arg=0x559e25752d90) at thread/qthread_unix.cpp:367
#9  0x00007f1f3a18896a in start_thread (arg=0x7f1e64e9b700) at pthread_create.c:463
#10 0x00007f1f3a8e805f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f1e65e63700 (LWP 29584)):
#0  0x00007f1f3a18f8aa in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7f1e65e62bf0, expected=0, futex_word=0x559e2465eb70) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7f1e65e62ca0, mutex=0x559e2465eb20, cond=0x559e2465eb48) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x559e2465eb48, mutex=0x559e2465eb20, abstime=0x7f1e65e62ca0) at pthread_cond_wait.c:667
#3  0x00007f1f3b05df6e in QWaitConditionPrivate::wait_relative (time=30000, this=0x559e2465eb20) at thread/qwaitcondition_unix.cpp:133
#4  QWaitConditionPrivate::wait (time=30000, this=0x559e2465eb20) at thread/qwaitcondition_unix.cpp:141
#5  QWaitCondition::wait (this=this@entry=0x559e249d7db0, mutex=mutex@entry=0x559e24fae090, time=30000) at thread/qwaitcondition_unix.cpp:215
#6  0x00007f1f3b053dc9 in QThreadPoolThread::run (this=0x559e249d7da0) at thread/qthreadpool.cpp:146
#7  0x00007f1f3b05d896 in QThreadPrivate::start (arg=0x559e249d7da0) at thread/qthread_unix.cpp:367
#8  0x00007f1f3a18896a in start_thread (arg=0x7f1e65e63700) at pthread_create.c:463
#9  0x00007f1f3a8e805f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f1e67561700 (LWP 29580)):
#0  0x00007f1f3a18f57c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x559e2470f4c0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x559e2470f470, cond=0x559e2470f498) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x559e2470f498, mutex=0x559e2470f470) at pthread_cond_wait.c:655
#3  0x00007f1f3b05e003 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x559e2470f470) at thread/qwaitcondition_unix.cpp:143
#4  QWaitCondition::wait (this=this@entry=0x559e239a7288, mutex=mutex@entry=0x559e239a7280, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#5  0x00007f1f3effe188 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x559e239a7278) at scenegraph/qsgthreadedrenderloop.cpp:245
#6  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x559e239a7200) at scenegraph/qsgthreadedrenderloop.cpp:709
#7  0x00007f1f3effe5ba in QSGRenderThread::run (this=0x559e239a7200) at scenegraph/qsgthreadedrenderloop.cpp:738
#8  0x00007f1f3b05d896 in QThreadPrivate::start (arg=0x559e239a7200) at thread/qthread_unix.cpp:367
#9  0x00007f1f3a18896a in start_thread (arg=0x7f1e67561700) at pthread_create.c:463
#10 0x00007f1f3a8e805f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f1e6db98700 (LWP 29579)):
#0  0x00007f1f3a8d7b80 in __GI___libc_read (fd=57, buf=buf@entry=0x7f1e6db97ad0, nbytes=nbytes@entry=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f1f3495dde0 in read (__nbytes=16, __buf=0x7f1e6db97ad0, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x7f1e80003560) at /var/tmp/portage/dev-libs/glib-2.54.3-r6/work/glib-2.54.3/glib/gwakeup.c:210
#3  0x00007f1f34919757 in g_main_context_check (context=context@entry=0x7f1e68000bf0, max_priority=2147483647, fds=fds@entry=0x7f1e68003ce0, n_fds=n_fds@entry=1) at /var/tmp/portage/dev-libs/glib-2.54.3-r6/work/glib-2.54.3/glib/gmain.c:3646
#4  0x00007f1f34919c10 in g_main_context_iterate (context=context@entry=0x7f1e68000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.54.3-r6/work/glib-2.54.3/glib/gmain.c:3865
#5  0x00007f1f34919d7c in g_main_context_iteration (context=0x7f1e68000bf0, may_block=may_block@entry=1) at /var/tmp/portage/dev-libs/glib-2.54.3-r6/work/glib-2.54.3/glib/gmain.c:3929
#6  0x00007f1f3b26a05b in QEventDispatcherGlib::processEvents (this=0x7f1e68000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007f1f3b20caeb in QEventLoop::exec (this=this@entry=0x7f1e6db97ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#8  0x00007f1f3b0520aa in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#9  0x00007f1e6f766547 in KCupsConnection::run() () from /usr/lib64/libkcupslib.so
#10 0x00007f1f3b05d896 in QThreadPrivate::start (arg=0x559e24236c60) at thread/qthread_unix.cpp:367
#11 0x00007f1f3a18896a in start_thread (arg=0x7f1e6db98700) at pthread_create.c:463
#12 0x00007f1f3a8e805f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f1e8a4e8700 (LWP 29575)):
#0  0x00007f1f3a18f57c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x559e2340f584) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x559e2340f530, cond=0x559e2340f558) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x559e2340f558, mutex=0x559e2340f530) at pthread_cond_wait.c:655
#3  0x00007f1f3b05e003 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x559e2340f530) at thread/qwaitcondition_unix.cpp:143
#4  QWaitCondition::wait (this=this@entry=0x559e22c9a878, mutex=mutex@entry=0x559e22c9a870, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#5  0x00007f1f3effe188 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x559e22c9a868) at scenegraph/qsgthreadedrenderloop.cpp:245
#6  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x559e22c9a7f0) at scenegraph/qsgthreadedrenderloop.cpp:709
#7  0x00007f1f3effe5ba in QSGRenderThread::run (this=0x559e22c9a7f0) at scenegraph/qsgthreadedrenderloop.cpp:738
#8  0x00007f1f3b05d896 in QThreadPrivate::start (arg=0x559e22c9a7f0) at thread/qthread_unix.cpp:367
#9  0x00007f1f3a18896a in start_thread (arg=0x7f1e8a4e8700) at pthread_create.c:463
#10 0x00007f1f3a8e805f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f1e8aed7700 (LWP 29574)):
#0  0x00007f1f3a18f57c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f1f24009114) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7f1f240090c0, cond=0x7f1f240090e8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7f1f240090e8, mutex=0x7f1f240090c0) at pthread_cond_wait.c:655
#3  0x00007f1f3b05e003 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x7f1f240090c0) at thread/qwaitcondition_unix.cpp:143
#4  QWaitCondition::wait (this=this@entry=0x559e23198688, mutex=mutex@entry=0x559e23198680, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#5  0x00007f1f3effe188 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x559e23198678) at scenegraph/qsgthreadedrenderloop.cpp:245
#6  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x559e23198600) at scenegraph/qsgthreadedrenderloop.cpp:709
#7  0x00007f1f3effe5ba in QSGRenderThread::run (this=0x559e23198600) at scenegraph/qsgthreadedrenderloop.cpp:738
#8  0x00007f1f3b05d896 in QThreadPrivate::start (arg=0x559e23198600) at thread/qthread_unix.cpp:367
#9  0x00007f1f3a18896a in start_thread (arg=0x7f1e8aed7700) at pthread_create.c:463
#10 0x00007f1f3a8e805f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f1e8c6ac700 (LWP 29573)):
#0  0x00007f1f3a8dc483 in __GI___poll (fds=0x7f1e84016960, nfds=1, timeout=81481) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f1f34919c69 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f1e84016960, timeout=<optimized out>, context=0x7f1e84000bf0) at /var/tmp/portage/dev-libs/glib-2.54.3-r6/work/glib-2.54.3/glib/gmain.c:4169
#2  g_main_context_iterate (context=context@entry=0x7f1e84000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.54.3-r6/work/glib-2.54.3/glib/gmain.c:3863
#3  0x00007f1f34919d7c in g_main_context_iteration (context=0x7f1e84000bf0, may_block=may_block@entry=1) at /var/tmp/portage/dev-libs/glib-2.54.3-r6/work/glib-2.54.3/glib/gmain.c:3929
#4  0x00007f1f3b26a05b in QEventDispatcherGlib::processEvents (this=0x7f1e84000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f1f3b20caeb in QEventLoop::exec (this=this@entry=0x7f1e8c6abcb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007f1f3b0520aa in QThread::exec (this=this@entry=0x559e231b7550) at thread/qthread.cpp:525
#7  0x00007f1f3ef80766 in QQuickPixmapReader::run (this=0x559e231b7550) at util/qquickpixmapcache.cpp:934
#8  0x00007f1f3b05d896 in QThreadPrivate::start (arg=0x559e231b7550) at thread/qthread_unix.cpp:367
#9  0x00007f1f3a18896a in start_thread (arg=0x7f1e8c6ac700) at pthread_create.c:463
#10 0x00007f1f3a8e805f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f1f1bdeb700 (LWP 29572)):
#0  0x00007f1f3a18f57c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f1f411acfb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7f1f411acf68, cond=0x7f1f411acf90) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7f1f411acf90, mutex=0x7f1f411acf68) at pthread_cond_wait.c:655
#3  0x00007f1f40eb8584 in ?? () from /usr/lib64/libQt5Script.so.5
#4  0x00007f1f40eb85c9 in ?? () from /usr/lib64/libQt5Script.so.5
#5  0x00007f1f3a18896a in start_thread (arg=0x7f1f1bdeb700) at pthread_create.c:463
#6  0x00007f1f3a8e805f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f1f227c3700 (LWP 29571)):
#0  0x00007f1f3a8dc483 in __GI___poll (fds=0x7f1f14004a00, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f1f34919c69 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f1f14004a00, timeout=<optimized out>, context=0x7f1f14000bf0) at /var/tmp/portage/dev-libs/glib-2.54.3-r6/work/glib-2.54.3/glib/gmain.c:4169
#2  g_main_context_iterate (context=context@entry=0x7f1f14000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.54.3-r6/work/glib-2.54.3/glib/gmain.c:3863
#3  0x00007f1f34919d7c in g_main_context_iteration (context=0x7f1f14000bf0, may_block=may_block@entry=1) at /var/tmp/portage/dev-libs/glib-2.54.3-r6/work/glib-2.54.3/glib/gmain.c:3929
#4  0x00007f1f3b26a05b in QEventDispatcherGlib::processEvents (this=0x7f1f14000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f1f3b20caeb in QEventLoop::exec (this=this@entry=0x7f1f227c2d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007f1f3b0520aa in QThread::exec (this=this@entry=0x559e22a90ed0) at thread/qthread.cpp:525
#7  0x00007f1f3eb061a5 in QQmlThreadPrivate::run (this=0x559e22a90ed0) at qml/ftw/qqmlthread.cpp:148
#8  0x00007f1f3b05d896 in QThreadPrivate::start (arg=0x559e22a90ed0) at thread/qthread_unix.cpp:367
#9  0x00007f1f3a18896a in start_thread (arg=0x7f1f227c3700) at pthread_create.c:463
#10 0x00007f1f3a8e805f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f1f23fff700 (LWP 29570)):
#0  0x00007f1f3a8dc483 in __GI___poll (fds=0x7f1f1c06ae90, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f1f34919c69 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f1f1c06ae90, timeout=<optimized out>, context=0x7f1f1c000bf0) at /var/tmp/portage/dev-libs/glib-2.54.3-r6/work/glib-2.54.3/glib/gmain.c:4169
#2  g_main_context_iterate (context=context@entry=0x7f1f1c000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.54.3-r6/work/glib-2.54.3/glib/gmain.c:3863
#3  0x00007f1f34919d7c in g_main_context_iteration (context=0x7f1f1c000bf0, may_block=may_block@entry=1) at /var/tmp/portage/dev-libs/glib-2.54.3-r6/work/glib-2.54.3/glib/gmain.c:3929
#4  0x00007f1f3b26a05b in QEventDispatcherGlib::processEvents (this=0x7f1f1c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f1f3b20caeb in QEventLoop::exec (this=this@entry=0x7f1f23ffecf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007f1f3b0520aa in QThread::exec (this=this@entry=0x7f1f3d7a5d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:525
#7  0x00007f1f3d52dde5 in QDBusConnectionManager::run (this=0x7f1f3d7a5d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007f1f3b05d896 in QThreadPrivate::start (arg=0x7f1f3d7a5d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:367
#9  0x00007f1f3a18896a in start_thread (arg=0x7f1f23fff700) at pthread_create.c:463
#10 0x00007f1f3a8e805f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f1f2a674700 (LWP 29569)):
#0  0x00007f1f3a8dc483 in __GI___poll (fds=0x7f1f2a673c28, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f1f3fbb87f7 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f1f3fbba41a in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f1f2c7e8f06 in QXcbEventReader::run (this=0x559e229df310) at qxcbconnection.cpp:1388
#4  0x00007f1f3b05d896 in QThreadPrivate::start (arg=0x559e229df310) at thread/qthread_unix.cpp:367
#5  0x00007f1f3a18896a in start_thread (arg=0x7f1f2a674700) at pthread_create.c:463
#6  0x00007f1f3a8e805f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f1f417c5880 (LWP 29568)):
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007f1f3a81bec1 in __GI_abort () at abort.c:79
#8  0x00007f1f3b031511 in qt_message_fatal (context=..., message=<synthetic pointer>...) at global/qlogging.cpp:1842
#9  QMessageLogger::fatal (this=this@entry=0x7ffe1f9e6820, msg=msg@entry=0x7f1f3b2d5cb0 "ASSERT: \"%s\" in file %s, line %d") at global/qlogging.cpp:880
#10 0x00007f1f3b030cac in qt_assert (assertion=assertion@entry=0x7f1f3b396e75 "last < rowCount(parent)", file=file@entry=0x7f1f3b396b10 "itemmodels/qabstractitemmodel.cpp", line=line@entry=2768) at global/qglobal.cpp:3188
#11 0x00007f1f3b1c4a84 in QAbstractItemModel::beginRemoveRows (this=0x559e237197b0, parent=..., first=first@entry=0, last=14) at itemmodels/qabstractitemmodel.cpp:2768
#12 0x00007f1e893665b1 in KActivities::Stats::ResultModelPrivate::Cache::clear (this=0x559e23744ef0) at /var/tmp/portage/kde-frameworks/kactivities-stats-5.47.0/work/kactivities-stats-5.47.0/src/resultmodel.cpp:346
#13 KActivities::Stats::ResultModelPrivate::fetch (this=0x559e23744ef0, mode=<optimized out>) at /var/tmp/portage/kde-frameworks/kactivities-stats-5.47.0/work/kactivities-stats-5.47.0/src/resultmodel.cpp:755
#14 0x00007f1e89366d41 in KActivities::Stats::ResultModelPrivate::onCurrentActivityChanged (this=0x559e23744ef0, activity=...) at /var/tmp/portage/kde-frameworks/kactivities-stats-5.47.0/work/kactivities-stats-5.47.0/src/resultmodel.cpp:944
#15 0x00007f1f3b23d1a0 in QtPrivate::QSlotObjectBase::call (a=0x7ffe1f9e6a90, r=0x559e237197b0, this=0x559e236d40f0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
#16 QMetaObject::activate (sender=0x559e23744f58, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe1f9e6a90) at kernel/qobject.cpp:3754
#17 0x00007f1f3b23d747 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f1f40a49b60 <KActivities::Consumer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe1f9e6a90) at kernel/qobject.cpp:3633
#18 0x00007f1f4083aa82 in KActivities::Consumer::currentActivityChanged (this=<optimized out>, _t1=...) at /var/tmp/portage/kde-frameworks/kactivities-5.47.0/work/kactivities-5.47.0_build/src/lib/KF5Activities_autogen/EWIEGA46WW/moc_consumer.cpp:243
#19 0x00007f1f4083bf99 in KActivities::Consumer::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-frameworks/kactivities-5.47.0/work/kactivities-5.47.0_build/src/lib/KF5Activities_autogen/EWIEGA46WW/moc_consumer.cpp:114
#20 0x00007f1f3b23d38e in QMetaObject::activate (sender=0x559e22a694e0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7ffe1f9e6bf0) at kernel/qobject.cpp:3771
#21 0x00007f1f3b23d747 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f1f40a49c20 <KActivities::ActivitiesCache::staticMetaObject>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7ffe1f9e6bf0) at kernel/qobject.cpp:3633
#22 0x00007f1f4083a945 in KActivities::ActivitiesCache::currentActivityChanged (this=<optimized out>, _t1=...) at /var/tmp/portage/kde-frameworks/kactivities-5.47.0/work/kactivities-5.47.0_build/src/lib/KF5Activities_autogen/EWIEGA46WW/moc_activitiescache_p.cpp:401
#23 0x00007f1f3b23d1a0 in QtPrivate::QSlotObjectBase::call (a=0x7ffe1f9e6d60, r=0x559e22a694e0, this=0x559e22a66f50) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
#24 QMetaObject::activate (sender=0x559e22a13850, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=9, argv=argv@entry=0x7ffe1f9e6d60) at kernel/qobject.cpp:3754
#25 0x00007f1f3b23d747 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f1f40a49100 <OrgKdeActivityManagerActivitiesInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=9, argv=argv@entry=0x7ffe1f9e6d60) at kernel/qobject.cpp:3633
#26 0x00007f1f40837770 in OrgKdeActivityManagerActivitiesInterface::CurrentActivityChanged (_t1=..., this=<optimized out>) at /var/tmp/portage/kde-frameworks/kactivities-5.47.0/work/kactivities-5.47.0_build/src/lib/activities_interface.moc:408
#27 OrgKdeActivityManagerActivitiesInterface::qt_static_metacall (_o=_o@entry=0x559e22a13850, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=9, _a=_a@entry=0x7ffe1f9e6ec0) at /var/tmp/portage/kde-frameworks/kactivities-5.47.0/work/kactivities-5.47.0_build/src/lib/activities_interface.moc:193
#28 0x00007f1f408386a5 in OrgKdeActivityManagerActivitiesInterface::qt_metacall (this=0x559e22a13850, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7ffe1f9e6ec0) at /var/tmp/portage/kde-frameworks/kactivities-5.47.0/work/kactivities-5.47.0_build/src/lib/activities_interface.moc:331
#29 0x00007f1f3d538f28 in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at qdbusintegrator.cpp:991
#30 0x00007f1f3b23da7a in QObject::event (this=0x559e22a13850, e=<optimized out>) at kernel/qobject.cpp:1251
#31 0x00007f1f3c833e0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#32 0x00007f1f3c83b3cf in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#33 0x00007f1f3b20e307 in QCoreApplication::notifyInternal2 (receiver=0x559e22a13850, event=event@entry=0x7f1f1c06bd80) at kernel/qcoreapplication.cpp:1048
#34 0x00007f1f3b211d5a in QCoreApplication::sendEvent (event=0x7f1f1c06bd80, receiver=<optimized out>) at kernel/qcoreapplication.h:234
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x559e229b8460) at kernel/qcoreapplication.cpp:1745
#36 0x00007f1f3b212328 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1599
#37 0x00007f1f3b26a7c3 in postEventSourceDispatch (s=s@entry=0x559e22a0e690) at kernel/qeventdispatcher_glib.cpp:276
#38 0x00007f1f34919ab7 in g_main_dispatch (context=0x7f1f24004ff0) at /var/tmp/portage/dev-libs/glib-2.54.3-r6/work/glib-2.54.3/glib/gmain.c:3142
#39 g_main_context_dispatch (context=context@entry=0x7f1f24004ff0) at /var/tmp/portage/dev-libs/glib-2.54.3-r6/work/glib-2.54.3/glib/gmain.c:3795
#40 0x00007f1f34919cf0 in g_main_context_iterate (context=context@entry=0x7f1f24004ff0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.54.3-r6/work/glib-2.54.3/glib/gmain.c:3868
#41 0x00007f1f34919d7c in g_main_context_iteration (context=0x7f1f24004ff0, may_block=may_block@entry=1) at /var/tmp/portage/dev-libs/glib-2.54.3-r6/work/glib-2.54.3/glib/gmain.c:3929
#42 0x00007f1f3b26a03f in QEventDispatcherGlib::processEvents (this=0x7f1f24005b80, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#43 0x00007f1f2c87c331 in QPAEventDispatcherGlib::processEvents (this=0x7f1f24005b80, flags=...) at qeventdispatcher_glib.cpp:69
#44 0x00007f1f3b20caeb in QEventLoop::exec (this=this@entry=0x7ffe1f9e7470, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#45 0x00007f1f3b2163f0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336
#46 0x0000559e21be9ab8 in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-plasma/plasma-workspace-5.13.2/work/plasma-workspace-5.13.2/shell/main.cpp:212

Possible duplicates by query: bug 392099, bug 392092, bug 388223, bug 381974, bug 381974.

Reported using DrKonqi
Comment 1 Pablo Cholaky 2018-07-04 21:43:54 UTC
I recompiled qtcore, qtgui, qtquickcontrols without debug flags and seems to work again. May it be a compilation mistake by myself?
Comment 2 Pablo Cholaky 2018-07-04 21:56:41 UTC
I forgot, also recompiled kwin on that batch. Sorry for too many post responses.
Comment 3 David Edmundson 2018-07-04 23:45:13 UTC
Bug is real + obvious. Will fix
Comment 4 David Edmundson 2018-07-05 10:37:01 UTC
Git commit 3d81d0b314f556f9a45283751922997b4c829a02 by David Edmundson.
Committed on 04/07/2018 at 23:48.
Pushed by davidedmundson into branch 'master'.

Fix off by one error in Cache::clear

Summary:
beginRemoveRows args are int first, int last

i.e If you have 1 entry you should be calling
beginRemoveRows(0, 0);

Test Plan:
Code review of a common mistake
Other usages in the same code were fine

Subscribers: kde-frameworks-devel

Tags: #frameworks

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

M  +1    -1    src/resultmodel.cpp

https://commits.kde.org/kactivities-stats/3d81d0b314f556f9a45283751922997b4c829a02