Bug 388477

Summary: Plasma crashes when activating the Application Launcher
Product: [Plasma] plasmashell Reporter: Tristan Miller <psychonaut>
Component: Application Menu (Kicker) widgetAssignee: Eike Hein <hein>
Status: RESOLVED WORKSFORME    
Severity: crash CC: justin.zobel, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.11.4   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tristan Miller 2018-01-03 07:00:14 UTC
Application: plasmashell (5.11.4)

Qt Version: 5.10.0
Frameworks Version: 5.40.0
Operating System: Linux 4.14.8-1-default x86_64
Distribution: "openSUSE Tumbleweed"

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

Sometimes Plasma crashes when activating the Application Launcher (or maybe just when I mouse over the panel on the way to activating the Application Launcher; it's hard to tell).  This typically happens after KDE has been running for a long period.  Once the crash happens for the first time, it becomes more frequently (though not consistently) reproducible.  Logging out and then back in again seems to prevent the crashes from happening for a while.

The crash can be reproduced sometimes.

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

Thread 8 (Thread 0x7f52a010e700 (LWP 2062)):
#0  0x00007f5368be1f2b in poll () at /lib64/libc.so.6
#1  0x00007f5363958149 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f536395825c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f536951857b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f53694bf4aa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f53692e68da in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f52a29d8f67 in KCupsConnection::run() () at /usr/lib64/libkcupslib.so
#7  0x00007f53692eb8d0 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f536849b558 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f5368bec6df in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f52b58b1700 (LWP 1896)):
#0  0x00007f5368be1f2b in poll () at /lib64/libc.so.6
#1  0x00007f5363958149 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f536395825c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f536951857b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f53694bf4aa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f53692e68da in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f536d001b22 in  () at /usr/lib64/libQt5Quick.so.5
#7  0x00007f53692eb8d0 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f536849b558 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f5368bec6df in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f5349306700 (LWP 1878)):
#0  0x00007f53684a182d in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f536ecfb614 in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007f536ecfb659 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007f536849b558 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f5368bec6df in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f534b372700 (LWP 1875)):
#0  0x00007f5368be1f2b in poll () at /lib64/libc.so.6
#1  0x00007f5363958149 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f536395825c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f536951857b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f53694bf4aa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f53692e68da in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f536c44fbd5 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f53692eb8d0 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f536849b558 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f5368bec6df in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f5350e02700 (LWP 1818)):
#0  0x00007f5368be1f2b in poll () at /lib64/libc.so.6
#1  0x00007f5363958149 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f536395825c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f536951857b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f53694bf4aa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f53692e68da in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f536c44fbd5 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f53692eb8d0 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f536849b558 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f5368bec6df in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f5352848700 (LWP 1736)):
#0  0x00007f5368be1f2b in poll () at /lib64/libc.so.6
#1  0x00007f5363958149 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f536395825c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f536951857b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f53694bf4aa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f53692e68da in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f536993dbd5 in  () at /usr/lib64/libQt5DBus.so.5
#7  0x00007f53692eb8d0 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f536849b558 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f5368bec6df in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f5358f25700 (LWP 1682)):
#0  0x00007f5368be1f2b in poll () at /lib64/libc.so.6
#1  0x00007f536dc1b387 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f536dc1d17a in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f535badc8d9 in QXcbEventReader::run() () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f53692eb8d0 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f536849b558 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f5368bec6df in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f536f619f40 (LWP 1673)):
[KCrash Handler]
#6  0x00007f52af3b5643 in  () at /usr/lib64/qt5/qml/org/kde/plasma/private/kicker/libkickerplugin.so
#7  0x00007f52af3b0b77 in  () at /usr/lib64/qt5/qml/org/kde/plasma/private/kicker/libkickerplugin.so
#8  0x00007f52af3d49d1 in  () at /usr/lib64/qt5/qml/org/kde/plasma/private/kicker/libkickerplugin.so
#9  0x00007f53694861fb in  () at /usr/lib64/libQt5Core.so.5
#10 0x00007f5369488233 in QSortFilterProxyModel::rowCount(QModelIndex const&) const () at /usr/lib64/libQt5Core.so.5
#11 0x00007f53694861c8 in  () at /usr/lib64/libQt5Core.so.5
#12 0x00007f536948754a in  () at /usr/lib64/libQt5Core.so.5
#13 0x00007f5369487c38 in  () at /usr/lib64/libQt5Core.so.5
#14 0x00007f536948c573 in  () at /usr/lib64/libQt5Core.so.5
#15 0x00007f53694eedba in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#16 0x00007f536945f736 in QAbstractItemModel::layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) () at /usr/lib64/libQt5Core.so.5
#17 0x00007f5369487abe in QSortFilterProxyModel::invalidate() () at /usr/lib64/libQt5Core.so.5
#18 0x00007f52af3d389c in  () at /usr/lib64/qt5/qml/org/kde/plasma/private/kicker/libkickerplugin.so
#19 0x00007f53694eeebc in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#20 0x00007f52af3df5aa in  () at /usr/lib64/qt5/qml/org/kde/plasma/private/kicker/libkickerplugin.so
#21 0x00007f536c43942d in  () at /usr/lib64/libQt5Qml.so.5
#22 0x00007f536c43a526 in  () at /usr/lib64/libQt5Qml.so.5
#23 0x00007f536c4371c3 in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#24 0x00007f536c44381b in  () at /usr/lib64/libQt5Qml.so.5
#25 0x00007f536c3c4df2 in  () at /usr/lib64/libQt5Qml.so.5
#26 0x00007f536c3c539c in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*) () at /usr/lib64/libQt5Qml.so.5
#27 0x00007f536c3c2554 in QQmlComponent::create(QQmlIncubator&, QQmlContext*, QQmlContext*) () at /usr/lib64/libQt5Qml.so.5
#28 0x00007f536d157874 in  () at /usr/lib64/libQt5Quick.so.5
#29 0x00007f536d1579c8 in  () at /usr/lib64/libQt5Quick.so.5
#30 0x00007f536d15850f in  () at /usr/lib64/libQt5Quick.so.5
#31 0x00007f536d158673 in  () at /usr/lib64/libQt5Quick.so.5
#32 0x00007f536c3a98ca in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () at /usr/lib64/libQt5Qml.so.5
#33 0x00007f536c3bef40 in  () at /usr/lib64/libQt5Qml.so.5
#34 0x00007f536c3bd6b2 in QQmlPropertyPrivate::write(QObject*, QQmlPropertyData const&, QVariant const&, QQmlContextData*, QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#35 0x00007f536c387b5f in QV4::QObjectWrapper::setProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData*, QV4::Value const&) () at /usr/lib64/libQt5Qml.so.5
#36 0x00007f536c39a990 in QV4::Runtime::method_setQmlQObjectProperty(QV4::ExecutionEngine*, QV4::Value const&, int, QV4::Value const&) () at /usr/lib64/libQt5Qml.so.5
#37 0x00007f5348661f98 in  ()
#38 0x00000000000001d0 in  ()
#39 0x0003800000000000 in  ()
#40 0x000000000000028a in  ()
#41 0x00007f536d04c52a in QSGAreaAllocator::allocateInNode(QSize const&, QPoint&, QRect const&, QSGAreaAllocatorNode*) () at /usr/lib64/libQt5Quick.so.5
#42 0x00007f536d04c52a in QSGAreaAllocator::allocateInNode(QSize const&, QPoint&, QRect const&, QSGAreaAllocatorNode*) () at /usr/lib64/libQt5Quick.so.5
#43 0x00007f536d04c52a in QSGAreaAllocator::allocateInNode(QSize const&, QPoint&, QRect const&, QSGAreaAllocatorNode*) () at /usr/lib64/libQt5Quick.so.5
#44 0x0000000000000000 in  ()

Reported using DrKonqi
Comment 1 Eike Hein 2018-01-03 12:29:21 UTC
Could you install debug symbols for plasma-desktop and Qt and reopen this with an additional backtrace when it crashes again? This looks interesting but the backtrace lacks too many symbols to make sense of what's going on so far.
Comment 2 Tristan Miller 2018-01-03 13:40:35 UTC
OK, I'll do that.
Comment 3 Tristan Miller 2018-01-08 09:10:39 UTC
Here's another backtrace, this time with more symbols.

Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9fc8f49f40 (LWP 1537))]

Thread 8 (Thread 0x7f9ef9925700 (LWP 3476)):
#0  0x00007f9fc2511f2b in __GI___poll (fds=0x7f9ef40029e0, nfds=1, timeout=2549283) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f9fbd288149 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f9ef40029e0, timeout=<optimized out>, context=0x7f9ef4000be0) at gmain.c:4187
#2  0x00007f9fbd288149 in g_main_context_iterate (context=context@entry=0x7f9ef4000be0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3881
#3  0x00007f9fbd28825c in g_main_context_iteration (context=0x7f9ef4000be0, may_block=1) at gmain.c:3947
#4  0x00007f9fc2e4857b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f9fc2def4aa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f9fc2c168da in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007f9efc1eff67 in KCupsConnection::run() () at /usr/lib64/libkcupslib.so
#8  0x00007f9fc2c1b8d0 in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#9  0x00007f9fc1dcb558 in start_thread (arg=0x7f9ef9925700) at pthread_create.c:465
#10 0x00007f9fc251c6df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f9f0f320700 (LWP 2270)):
#0  0x00007f9fc2511f2b in __GI___poll (fds=0x7f9f08005380, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f9fbd288149 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f9f08005380, timeout=<optimized out>, context=0x7f9f08000be0) at gmain.c:4187
#2  0x00007f9fbd288149 in g_main_context_iterate (context=context@entry=0x7f9f08000be0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3881
#3  0x00007f9fbd28825c in g_main_context_iteration (context=0x7f9f08000be0, may_block=1) at gmain.c:3947
#4  0x00007f9fc2e4857b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f9fc2def4aa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f9fc2c168da in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007f9fc6931b22 in QQuickPixmapReader::run() () at /usr/lib64/libQt5Quick.so.5
#8  0x00007f9fc2c1b8d0 in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#9  0x00007f9fc1dcb558 in start_thread (arg=0x7f9f0f320700) at pthread_create.c:465
#10 0x00007f9fc251c6df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f9f9ab94700 (LWP 2146)):
#0  0x00007f9fc1dd182d in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f9fc891ffb8 <QTWTF::pageheap_memory+57592>) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f9fc1dd182d in __pthread_cond_wait_common (abstime=0x0, mutex=0x7f9fc891ff68 <QTWTF::pageheap_memory+57512>, cond=0x7f9fc891ff90 <QTWTF::pageheap_memory+57552>) at pthread_cond_wait.c:502
#2  0x00007f9fc1dd182d in __pthread_cond_wait (cond=0x7f9fc891ff90 <QTWTF::pageheap_memory+57552>, mutex=0x7f9fc891ff68 <QTWTF::pageheap_memory+57512>) at pthread_cond_wait.c:655
#3  0x00007f9fc862b614 in QTWTF::TCMalloc_PageHeap::scavengerThread() (this=0x7f9fc8911ec0 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0x00007f9fc862b659 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0x00007f9fc1dcb558 in start_thread (arg=0x7f9f9ab94700) at pthread_create.c:465
#6  0x00007f9fc251c6df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f9fa8d34700 (LWP 2122)):
#0  0x00007f9fc250da88 in __GI___libc_read (fd=11, buf=buf@entry=0x7f9fa8d33aa0, nbytes=nbytes@entry=16) at ../sysdeps/unix/sysv/linux/read.c:26
#1  0x00007f9fbd2cc3c0 in read (__nbytes=16, __buf=0x7f9fa8d33aa0, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  0x00007f9fbd2cc3c0 in g_wakeup_acknowledge (wakeup=0x7f9f9c003590) at gwakeup.c:210
#3  0x00007f9fbd287c2b in g_main_context_check (context=context@entry=0x7f9fa0000be0, max_priority=2147483647, fds=fds@entry=0x7f9fa0002de0, n_fds=n_fds@entry=1) at gmain.c:3664
#4  0x00007f9fbd2880f0 in g_main_context_iterate (context=context@entry=0x7f9fa0000be0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3883
#5  0x00007f9fbd28825c in g_main_context_iteration (context=0x7f9fa0000be0, may_block=1) at gmain.c:3947
#6  0x00007f9fc2e4857b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f9fc2def4aa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#8  0x00007f9fc2c168da in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#9  0x00007f9fc5d7fbd5 in QQmlThreadPrivate::run() () at /usr/lib64/libQt5Qml.so.5
#10 0x00007f9fc2c1b8d0 in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#11 0x00007f9fc1dcb558 in start_thread (arg=0x7f9fa8d34700) at pthread_create.c:465
#12 0x00007f9fc251c6df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f9faa7c2700 (LWP 1661)):
#0  0x00007f9fc250da88 in __GI___libc_read (fd=10, buf=buf@entry=0x7f9faa7c1aa0, nbytes=nbytes@entry=16) at ../sysdeps/unix/sysv/linux/read.c:26
#1  0x00007f9fbd2cc3c0 in read (__nbytes=16, __buf=0x7f9faa7c1aa0, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  0x00007f9fbd2cc3c0 in g_wakeup_acknowledge (wakeup=0x7f9fa40039a0) at gwakeup.c:210
#3  0x00007f9fbd287c2b in g_main_context_check (context=context@entry=0x7f9f9c000be0, max_priority=2147483647, fds=fds@entry=0x7f9f9c0029e0, n_fds=n_fds@entry=1) at gmain.c:3664
#4  0x00007f9fbd2880f0 in g_main_context_iterate (context=context@entry=0x7f9f9c000be0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3883
#5  0x00007f9fbd28825c in g_main_context_iteration (context=0x7f9f9c000be0, may_block=1) at gmain.c:3947
#6  0x00007f9fc2e4857b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f9fc2def4aa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#8  0x00007f9fc2c168da in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#9  0x00007f9fc5d7fbd5 in QQmlThreadPrivate::run() () at /usr/lib64/libQt5Qml.so.5
#10 0x00007f9fc2c1b8d0 in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#11 0x00007f9fc1dcb558 in start_thread (arg=0x7f9faa7c2700) at pthread_create.c:465
#12 0x00007f9fc251c6df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f9fabfff700 (LWP 1596)):
#0  0x00007f9fc2511f2b in __GI___poll (fds=0x7f9fa4002de0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f9fbd288149 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f9fa4002de0, timeout=<optimized out>, context=0x7f9fa4000be0) at gmain.c:4187
#2  0x00007f9fbd288149 in g_main_context_iterate (context=context@entry=0x7f9fa4000be0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3881
#3  0x00007f9fbd28825c in g_main_context_iteration (context=0x7f9fa4000be0, may_block=1) at gmain.c:3947
#4  0x00007f9fc2e4857b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f9fc2def4aa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f9fc2c168da in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007f9fc326dbd5 in QDBusConnectionManager::run() () at /usr/lib64/libQt5DBus.so.5
#8  0x00007f9fc2c1b8d0 in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#9  0x00007f9fc1dcb558 in start_thread (arg=0x7f9fabfff700) at pthread_create.c:465
#10 0x00007f9fc251c6df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f9fb2855700 (LWP 1549)):
#0  0x00007f9fc2511f2b in __GI___poll (fds=fds@entry=0x7f9fb2854bc8, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f9fc754b387 in poll (__timeout=-1, __nfds=1, __fds=0x7f9fb2854bc8) at /usr/include/bits/poll2.h:46
#2  0x00007f9fc754b387 in _xcb_conn_wait (c=c@entry=0x5588786ca0a0, cond=cond@entry=0x5588786ca0e0, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:479
#3  0x00007f9fc754d17a in xcb_wait_for_event (c=0x5588786ca0a0) at xcb_in.c:693
#4  0x00007f9fb540c8d9 in QXcbEventReader::run() () at /usr/lib64/libQt5XcbQpa.so.5
#5  0x00007f9fc2c1b8d0 in QThreadPrivate::start(void*) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f9fc1dcb558 in start_thread (arg=0x7f9fb2855700) at pthread_create.c:465
#7  0x00007f9fc251c6df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f9fc8f49f40 (LWP 1537)):
[KCrash Handler]
#6  0x00007f9f0ced5633 in QHash<QString, AbstractEntry*>::findNode(QString const&, unsigned int) const (this=this@entry=0x7f9fac00c0a0, akey=..., h=2470466443) at /usr/include/qt5/QtCore/qhash.h:917
#7  0x00007f9f0ced56be in QHash<QString, AbstractEntry*>::findNode(QString const&, unsigned int*) const (this=this@entry=0x7f9fac00c0a0, akey=..., ahp=ahp@entry=0x0) at /usr/include/qt5/QtCore/qhash.h:936
#8  0x00007f9f0ced0b67 in QHash<QString, AbstractEntry*>::contains(QString const&) const (akey=..., this=0x7f9fac00c0a0) at /usr/include/qt5/QtCore/qhash.h:906
#9  0x00007f9f0ced0b67 in KAStatsFavoritesModel::isFavorite(QString const&) const (this=this@entry=0x55887b78f710, id=...) at /usr/src/debug/plasma-desktop-5.11.5/applets/kicker/plugin/kastatsfavoritesmodel.cpp:547
#10 0x00007f9f0cef4721 in InvalidAppsFilterProxy::filterAcceptsRow(int, QModelIndex const&) const (this=0x55887c4ed820, source_row=<optimized out>, source_parent=...) at /usr/src/debug/plasma-desktop-5.11.5/applets/kicker/plugin/recentusagemodel.cpp:94
#11 0x00007f9fc2db61fb in QSortFilterProxyModelPrivate::create_mapping(QModelIndex const&) const () at /usr/lib64/libQt5Core.so.5
#12 0x00007f9fc2db8233 in QSortFilterProxyModel::rowCount(QModelIndex const&) const () at /usr/lib64/libQt5Core.so.5
#13 0x00007f9fc2db61c8 in QSortFilterProxyModelPrivate::create_mapping(QModelIndex const&) const () at /usr/lib64/libQt5Core.so.5
#14 0x00007f9fc2db754a in QSortFilterProxyModelPrivate::update_source_sort_column() () at /usr/lib64/libQt5Core.so.5
#15 0x00007f9fc2db7c38 in QSortFilterProxyModelPrivate::_q_sourceLayoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) () at /usr/lib64/libQt5Core.so.5
#16 0x00007f9fc2dbc573 in QSortFilterProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /usr/lib64/libQt5Core.so.5
#17 0x00007f9fc2e1edba in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#18 0x00007f9fc2d8f736 in QAbstractItemModel::layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) () at /usr/lib64/libQt5Core.so.5
#19 0x00007f9fc2db7abe in QSortFilterProxyModel::invalidate() () at /usr/lib64/libQt5Core.so.5
#20 0x00007f9f0cef35ec in InvalidAppsFilterProxy::connectNewFavoritesModel() (this=0x55887c4ed820) at /usr/src/debug/plasma-desktop-5.11.5/applets/kicker/plugin/recentusagemodel.cpp:80
#21 0x00007f9fc2e1eebc in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#22 0x00007f9f0ceff2fa in AbstractModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fffc35d7ec0) at /usr/src/debug/plasma-desktop-5.11.5/build/applets/kicker/kickerplugin_autogen/7RBZBFH7CH/moc_abstractmodel.cpp:223
#23 0x00007f9fc5d6942d in QObjectPointerBinding::write(QV4::Value const&, bool, QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#24 0x00007f9fc5d6a526 in QQmlNonbindingBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&, QFlags<QQmlPropertyData::WriteFlag>, QV4::Scope&) () at /usr/lib64/libQt5Qml.so.5
#25 0x00007f9fc5d671c3 in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#26 0x00007f9fc5d7381b in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () at /usr/lib64/libQt5Qml.so.5
#27 0x00007f9fc5cf4df2 in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) () at /usr/lib64/libQt5Qml.so.5
#28 0x00007f9fc5cf539c in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*) () at /usr/lib64/libQt5Qml.so.5
#29 0x00007f9fc5cf2554 in QQmlComponent::create(QQmlIncubator&, QQmlContext*, QQmlContext*) () at /usr/lib64/libQt5Qml.so.5
#30 0x00007f9fc6a87874 in QQuickLoaderPrivate::_q_sourceLoaded() () at /usr/lib64/libQt5Quick.so.5
#31 0x00007f9fc6a879c8 in QQuickLoaderPrivate::load() () at /usr/lib64/libQt5Quick.so.5
#32 0x00007f9fc6a8850f in QQuickLoader::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /usr/lib64/libQt5Quick.so.5
#33 0x00007f9fc6a88673 in QQuickLoader::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib64/libQt5Quick.so.5
#34 0x00007f9fc5cd98ca in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () at /usr/lib64/libQt5Qml.so.5
#35 0x00007f9fc5ceef40 in QQmlPropertyData::writeProperty(QObject*, void*, QFlags<QQmlPropertyData::WriteFlag>) const () at /usr/lib64/libQt5Qml.so.5
#36 0x00007f9fc5ced6b2 in QQmlPropertyPrivate::write(QObject*, QQmlPropertyData const&, QVariant const&, QQmlContextData*, QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#37 0x00007f9fc5cb7b5f in QV4::QObjectWrapper::setProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData*, QV4::Value const&) () at /usr/lib64/libQt5Qml.so.5
#38 0x00007f9fc5cca990 in QV4::Runtime::method_setQmlQObjectProperty(QV4::ExecutionEngine*, QV4::Value const&, int, QV4::Value const&) () at /usr/lib64/libQt5Qml.so.5
#39 0x00007f9f19f81f98 in  ()
#40 0x00000000000001d0 in  ()
#41 0x0003800000000000 in  ()
#42 0x000055887b644710 in  ()
#43 0x00007fffc35d99b8 in  ()
#44 0x000000000000018e in  ()
#45 0x0000000000000000 in  ()
Comment 4 Tristan Miller 2018-06-09 05:14:39 UTC
Still reproducible for me with Plasma 5.12.5.

I can consistently reproduce it simply by moving my mouse pointer over the "History" icon.
Comment 5 Eike Hein 2018-06-11 06:23:26 UTC
My best guess currently is a corrupted KActivities database unfortunately ...
Comment 6 Tristan Miller 2018-06-11 11:09:11 UTC
(In reply to Eike Hein from comment #5)
> My best guess currently is a corrupted KActivities database unfortunately ...

OK, so why did you mark this as RESOLVED/FIXED?
Comment 7 Eike Hein 2018-06-12 07:09:57 UTC
Sorry, accidentally while juggling tabs.
Comment 8 Tristan Miller 2018-06-20 07:50:17 UTC
If it's a corrupted KActivities database, then something must be consistently corrupting it, because I am experiencing this problem on two different machines -- one running Plasma 5.12.5 on openSUSE 15.0 and one running Plasma 5.13.0 on openSUSE Tumbleweed.  The Tumbleweed machine has exhibited the problem since at least Plasma 5.11.4.

Is there some way of clearing the KActivities database so that we can test if this is the problem?  If so, what sort of information is stored in this database?  (Anything I'm likely to miss?)
Comment 9 Eike Hein 2018-06-20 16:23:44 UTC
The db stores recently opened documents and recently launched apps (i.e. metadata), file<>activity associations (manually done by user), window<>activity associations (manually done by user) and menu favorites (also done by user).

I think Ivan is working on a scheme where corrupted db's are caught and auto-rolled-back to a periodical backup ...
Comment 10 Justin Zobel 2020-12-04 00:26:46 UTC
Thank you for the report, Tristan.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 11 Tristan Miller 2020-12-04 19:45:38 UTC
I've no longer been able to reproduce this problem for a while now -- I'm currently using Plasma 5.20.3.