Bug 386266

Summary: KRunner crashes in Baloo::PostingDB::prefixIter(QByteArray const&) due to invalid QByteArray operation
Product: [Plasma] krunner Reporter: John Aylward <johnjaylward>
Component: generalAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED WORKSFORME    
Severity: crash CC: alexander.lohnau, antonio.ponzetto, dmalick, dsreyes1014, erin-kde, ilochab, kde, nate
Priority: NOR Keywords: drkonqi
Version: 5.10.5   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description John Aylward 2017-10-27 20:36:39 UTC
Application: krunner (5.10.5)
 (Compiled from sources)
Qt Version: 5.7.1
Frameworks Version: 5.37.0
Operating System: Linux 4.4.87-gentoo-r1 x86_64
Distribution: "NAME=Gentoo"

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

1. Pressed <ALT>+SPACE to search
2. Started typing my search
3. search results show up
4. krunner crashed

The crash can be reproduced every time.

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

Thread 21 (Thread 0x7fa024ff9700 (LWP 4894)):
#0  0x00007fa068f2afef in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fa06b3de75a in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#2  0x00007fa04bbbfc4f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#3  0x00007fa04bbc3c98 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#4  0x00007fa04bbbee0d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#5  0x00007fa04bbc3cf2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007fa04bbbee0d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007fa04bbc183f in ThreadWeaver::Thread::run() () from /usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007fa06b3de0ec in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007fa068f253d4 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa06ac8de3d in clone () from /lib64/libc.so.6

Thread 20 (Thread 0x7fa0257fa700 (LWP 4893)):
#0  0x00007fa068f2afef in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fa06b3de75a in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#2  0x00007fa04bbbfc4f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#3  0x00007fa04bbc3c98 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#4  0x00007fa04bbbee0d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#5  0x00007fa04bbc3cf2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007fa04bbbee0d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007fa04bbc183f in ThreadWeaver::Thread::run() () from /usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007fa06b3de0ec in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007fa068f253d4 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa06ac8de3d in clone () from /lib64/libc.so.6

Thread 19 (Thread 0x7fa025ffb700 (LWP 4892)):
#0  0x00007fa068f2afef in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fa06b3de75a in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#2  0x00007fa04bbbfc4f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#3  0x00007fa04bbc3c98 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#4  0x00007fa04bbbee0d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#5  0x00007fa04bbc3cf2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007fa04bbbee0d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007fa04bbc183f in ThreadWeaver::Thread::run() () from /usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007fa06b3de0ec in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007fa068f253d4 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa06ac8de3d in clone () from /lib64/libc.so.6

Thread 18 (Thread 0x7fa0267fc700 (LWP 4891)):
#0  0x00007fa030afda47 in DBPostingIterator::DBPostingIterator(void*, unsigned int) () from /usr/lib64/libKF5BalooEngine.so.5
#1  0x00007fa030afdde4 in Baloo::PostingDB::prefixIter(QByteArray const&) () from /usr/lib64/libKF5BalooEngine.so.5
#2  0x00007fa030b0835f in Baloo::Transaction::postingIterator(Baloo::EngineQuery const&) const () from /usr/lib64/libKF5BalooEngine.so.5
#3  0x00007fa030f60a2a in Baloo::SearchStore::constructQuery(Baloo::Transaction*, Baloo::Term const&) () from /usr/lib64/libKF5Baloo.so.5
#4  0x00007fa030f5fe1a in Baloo::SearchStore::constructQuery(Baloo::Transaction*, Baloo::Term const&) () from /usr/lib64/libKF5Baloo.so.5
#5  0x00007fa030f60fa0 in Baloo::SearchStore::exec(Baloo::Term const&, unsigned int, int, bool) () from /usr/lib64/libKF5Baloo.so.5
#6  0x00007fa030f4f51f in Baloo::Query::exec() () from /usr/lib64/libKF5Baloo.so.5
#7  0x00007fa031171484 in SearchRunner::match(Plasma::RunnerContext&, QString const&, QString const&) () from /usr/lib64/qt5/plugins/krunner_baloosearchrunner.so
#8  0x00007fa031172329 in SearchRunner::match(Plasma::RunnerContext&) () from /usr/lib64/qt5/plugins/krunner_baloosearchrunner.so
#9  0x00007fa04bde42f8 in Plasma::AbstractRunner::performMatch(Plasma::RunnerContext&) () from /usr/lib64/libKF5Runner.so.5
#10 0x00007fa04bbc3447 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib64/libKF5ThreadWeaver.so.5
#11 0x00007fa04bbc2050 in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib64/libKF5ThreadWeaver.so.5
#12 0x00007fa04bbc1790 in ThreadWeaver::Thread::run() () from /usr/lib64/libKF5ThreadWeaver.so.5
#13 0x00007fa06b3de0ec in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#14 0x00007fa068f253d4 in start_thread () from /lib64/libpthread.so.0
#15 0x00007fa06ac8de3d in clone () from /lib64/libc.so.6

Thread 17 (Thread 0x7fa026ffd700 (LWP 4890)):
#0  0x00007fa068f2afef in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fa06b3de75a in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#2  0x00007fa04bbbfc4f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#3  0x00007fa04bbc3c98 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#4  0x00007fa04bbbee0d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#5  0x00007fa04bbc3cf2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007fa04bbbee0d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007fa04bbc183f in ThreadWeaver::Thread::run() () from /usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007fa06b3de0ec in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007fa068f253d4 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa06ac8de3d in clone () from /lib64/libc.so.6

Thread 16 (Thread 0x7fa0277fe700 (LWP 4889)):
#0  0x00007fa068f2afef in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fa06b3de75a in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#2  0x00007fa04bbbfc4f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#3  0x00007fa04bbc3c98 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#4  0x00007fa04bbbee0d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#5  0x00007fa04bbc3cf2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007fa04bbbee0d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007fa04bbc183f in ThreadWeaver::Thread::run() () from /usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007fa06b3de0ec in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007fa068f253d4 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa06ac8de3d in clone () from /lib64/libc.so.6

Thread 15 (Thread 0x7fa02c8ba700 (LWP 4888)):
#0  0x00007fa068f2afef in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fa06b3de75a in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#2  0x00007fa04bbbfc4f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#3  0x00007fa04bbc3c98 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#4  0x00007fa04bbbee0d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#5  0x00007fa04bbc3cf2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007fa04bbbee0d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007fa04bbc183f in ThreadWeaver::Thread::run() () from /usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007fa06b3de0ec in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007fa068f253d4 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa06ac8de3d in clone () from /lib64/libc.so.6

Thread 14 (Thread 0x7fa02d0bb700 (LWP 4887)):
#0  0x00007fa068f2afef in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fa06b3de75a in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#2  0x00007fa04bbbfc4f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#3  0x00007fa04bbc3c98 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#4  0x00007fa04bbbee0d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#5  0x00007fa04bbc3cf2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007fa04bbbee0d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007fa04bbc183f in ThreadWeaver::Thread::run() () from /usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007fa06b3de0ec in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007fa068f253d4 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa06ac8de3d in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7fa02d8bc700 (LWP 4886)):
#0  0x00007fa068f2afef in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fa06b3de75a in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#2  0x00007fa04bbbfc4f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#3  0x00007fa04bbc3c98 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#4  0x00007fa04bbbee0d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#5  0x00007fa04bbc3cf2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007fa04bbbee0d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007fa04bbc183f in ThreadWeaver::Thread::run() () from /usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007fa06b3de0ec in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007fa068f253d4 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa06ac8de3d in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7fa02e0bd700 (LWP 4885)):
#0  0x00007fa068f2afef in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fa06b3de75a in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#2  0x00007fa04bbbfc4f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#3  0x00007fa04bbc3c98 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#4  0x00007fa04bbbee0d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#5  0x00007fa04bbc3cf2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007fa04bbbee0d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007fa04bbc183f in ThreadWeaver::Thread::run() () from /usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007fa06b3de0ec in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007fa068f253d4 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa06ac8de3d in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7fa02e8be700 (LWP 4884)):
#0  0x00007fa068f2afef in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fa06b3de75a in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#2  0x00007fa04bbbfc4f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#3  0x00007fa04bbc3c98 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#4  0x00007fa04bbbee0d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#5  0x00007fa04bbc3cf2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007fa04bbbee0d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007fa04bbc183f in ThreadWeaver::Thread::run() () from /usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007fa06b3de0ec in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007fa068f253d4 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa06ac8de3d in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7fa02f0bf700 (LWP 4883)):
#0  0x00007fa068f2afef in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fa06b3de75a in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#2  0x00007fa04bbbfc4f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#3  0x00007fa04bbc3c98 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#4  0x00007fa04bbbee0d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#5  0x00007fa04bbc3cf2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007fa04bbbee0d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007fa04bbc183f in ThreadWeaver::Thread::run() () from /usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007fa06b3de0ec in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007fa068f253d4 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa06ac8de3d in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7fa02f8c0700 (LWP 4882)):
#0  0x00007fa068f2afef in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fa06b3de75a in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#2  0x00007fa04bbbfc4f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#3  0x00007fa04bbc3c98 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#4  0x00007fa04bbbee0d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#5  0x00007fa04bbc3cf2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007fa04bbbee0d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007fa04bbc183f in ThreadWeaver::Thread::run() () from /usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007fa06b3de0ec in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007fa068f253d4 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa06ac8de3d in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7fa027fff700 (LWP 4881)):
#0  0x00007fa068f2afef in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fa06b3de75a in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#2  0x00007fa04bbbfc4f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#3  0x00007fa04bbc3c98 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#4  0x00007fa04bbbee0d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#5  0x00007fa04bbc3cf2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007fa04bbbee0d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007fa04bbc183f in ThreadWeaver::Thread::run() () from /usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007fa06b3de0ec in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007fa068f253d4 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa06ac8de3d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7fa0300c1700 (LWP 4880)):
#0  0x00007fa06b3deb20 in QArrayData::allocate(unsigned long, unsigned long, unsigned long, QFlags<QArrayData::AllocationOption>) () from /usr/lib64/libQt5Core.so.5
#1  0x00007fa06b3e04a2 in QByteArray::QByteArray(char const*, int) () from /usr/lib64/libQt5Core.so.5
#2  0x00007fa030afddb3 in Baloo::PostingDB::prefixIter(QByteArray const&) () from /usr/lib64/libKF5BalooEngine.so.5
#3  0x00007fa030b0835f in Baloo::Transaction::postingIterator(Baloo::EngineQuery const&) const () from /usr/lib64/libKF5BalooEngine.so.5
#4  0x00007fa030f60a2a in Baloo::SearchStore::constructQuery(Baloo::Transaction*, Baloo::Term const&) () from /usr/lib64/libKF5Baloo.so.5
#5  0x00007fa030f5fe1a in Baloo::SearchStore::constructQuery(Baloo::Transaction*, Baloo::Term const&) () from /usr/lib64/libKF5Baloo.so.5
#6  0x00007fa030f60fa0 in Baloo::SearchStore::exec(Baloo::Term const&, unsigned int, int, bool) () from /usr/lib64/libKF5Baloo.so.5
#7  0x00007fa030f4f51f in Baloo::Query::exec() () from /usr/lib64/libKF5Baloo.so.5
#8  0x00007fa031171484 in SearchRunner::match(Plasma::RunnerContext&, QString const&, QString const&) () from /usr/lib64/qt5/plugins/krunner_baloosearchrunner.so
#9  0x00007fa031172329 in SearchRunner::match(Plasma::RunnerContext&) () from /usr/lib64/qt5/plugins/krunner_baloosearchrunner.so
#10 0x00007fa04bde42f8 in Plasma::AbstractRunner::performMatch(Plasma::RunnerContext&) () from /usr/lib64/libKF5Runner.so.5
#11 0x00007fa04bbc3447 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib64/libKF5ThreadWeaver.so.5
#12 0x00007fa04bbc2050 in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib64/libKF5ThreadWeaver.so.5
#13 0x00007fa04bbc1790 in ThreadWeaver::Thread::run() () from /usr/lib64/libKF5ThreadWeaver.so.5
#14 0x00007fa06b3de0ec in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#15 0x00007fa068f253d4 in start_thread () from /lib64/libpthread.so.0
#16 0x00007fa06ac8de3d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fa0308c2700 (LWP 4879)):
[KCrash Handler]
#6  0x00007fa06acc9268 in __memcpy_avx_unaligned () from /lib64/libc.so.6
#7  0x00007fa06b3e04c0 in QByteArray::QByteArray(char const*, int) () from /usr/lib64/libQt5Core.so.5
#8  0x00007fa030afda77 in DBPostingIterator::DBPostingIterator(void*, unsigned int) () from /usr/lib64/libKF5BalooEngine.so.5
#9  0x00007fa030afdde4 in Baloo::PostingDB::prefixIter(QByteArray const&) () from /usr/lib64/libKF5BalooEngine.so.5
#10 0x00007fa030b0835f in Baloo::Transaction::postingIterator(Baloo::EngineQuery const&) const () from /usr/lib64/libKF5BalooEngine.so.5
#11 0x00007fa030f60a2a in Baloo::SearchStore::constructQuery(Baloo::Transaction*, Baloo::Term const&) () from /usr/lib64/libKF5Baloo.so.5
#12 0x00007fa030f5fe1a in Baloo::SearchStore::constructQuery(Baloo::Transaction*, Baloo::Term const&) () from /usr/lib64/libKF5Baloo.so.5
#13 0x00007fa030f60fa0 in Baloo::SearchStore::exec(Baloo::Term const&, unsigned int, int, bool) () from /usr/lib64/libKF5Baloo.so.5
#14 0x00007fa030f4f51f in Baloo::Query::exec() () from /usr/lib64/libKF5Baloo.so.5
#15 0x00007fa031171484 in SearchRunner::match(Plasma::RunnerContext&, QString const&, QString const&) () from /usr/lib64/qt5/plugins/krunner_baloosearchrunner.so
#16 0x00007fa031172329 in SearchRunner::match(Plasma::RunnerContext&) () from /usr/lib64/qt5/plugins/krunner_baloosearchrunner.so
#17 0x00007fa04bde42f8 in Plasma::AbstractRunner::performMatch(Plasma::RunnerContext&) () from /usr/lib64/libKF5Runner.so.5
#18 0x00007fa04bbc3447 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib64/libKF5ThreadWeaver.so.5
#19 0x00007fa04bbc2050 in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib64/libKF5ThreadWeaver.so.5
#20 0x00007fa04bbc1790 in ThreadWeaver::Thread::run() () from /usr/lib64/libKF5ThreadWeaver.so.5
#21 0x00007fa06b3de0ec in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#22 0x00007fa068f253d4 in start_thread () from /lib64/libpthread.so.0
#23 0x00007fa06ac8de3d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fa0429b9700 (LWP 4869)):
#0  0x00007fa068f2afef in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fa06b3de75a in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#2  0x00007fa06d8013cd in QSGRenderThread::processEventsAndWaitForMore() () from /usr/lib64/libQt5Quick.so.5
#3  0x00007fa06d801ca5 in QSGRenderThread::run() () from /usr/lib64/libQt5Quick.so.5
#4  0x00007fa06b3de0ec in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#5  0x00007fa068f253d4 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fa06ac8de3d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fa0529ab700 (LWP 4251)):
#0  0x00007fa06ac84d7d in poll () from /lib64/libc.so.6
#1  0x00007fa066d2680c in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa066d2691c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fa06b5c37eb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007fa06b57535a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007fa06b3d9e84 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007fa06d561a25 in QQmlThreadPrivate::run() () from /usr/lib64/libQt5Qml.so.5
#7  0x00007fa06b3de0ec in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007fa068f253d4 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fa06ac8de3d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fa053fff700 (LWP 4216)):
#0  0x00007fa06ac84d7d in poll () from /lib64/libc.so.6
#1  0x00007fa066d2680c in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa066d2691c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fa06b5c37eb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007fa06b57535a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007fa06b3d9e84 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007fa06e7006a5 in QDBusConnectionManager::run() () from /usr/lib64/libQt5DBus.so.5
#7  0x00007fa06b3de0ec in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007fa068f253d4 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fa06ac8de3d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fa05a5b7700 (LWP 4183)):
#0  0x00007fa06ac84d7d in poll () from /lib64/libc.so.6
#1  0x00007fa06a38e8f2 in _xcb_conn_wait () from /usr/lib64/libxcb.so.1
#2  0x00007fa06a3906df in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007fa05cf4eb69 in QXcbEventReader::run() () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007fa06b3de0ec in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#5  0x00007fa068f253d4 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fa06ac8de3d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fa06e5e7780 (LWP 4166)):
#0  0x00007fa06ac84d7d in poll () from /lib64/libc.so.6
#1  0x00007fa066d2680c in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa066d2691c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fa06b5c37eb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007fa06b57535a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007fa06b57cd6c in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x0000000000406d06 in main ()

Possible duplicates by query: bug 386181.

Reported using DrKonqi
Comment 1 John Aylward 2017-10-27 20:49:31 UTC
this looks like a duplicate of #360946 to me, but they are saying it was fixed with frameworks 5.26+. However, I'm using Frameworks 5.37, so please don't flag as a duplicate unless the other bug is reopened.
Comment 2 Christoph Feck 2017-11-15 19:58:06 UTC

*** This bug has been marked as a duplicate of bug 386269 ***
Comment 3 Nate Graham 2018-11-26 22:02:05 UTC

*** This bug has been marked as a duplicate of bug 393472 ***
Comment 4 Erin Yuki Schlarb 2019-06-18 11:46:33 UTC
As mentioned in https://bugs.kde.org/show_bug.cgi?id=393472#c9, this is not a duplicate of bug 393472. Rather that issue mixes up two different but similar crashes, using this bug as base issue for all `Baloo::PostingDB::prefixIter(QByteArray const&)` related bugs.
Comment 5 Erin Yuki Schlarb 2019-06-18 11:49:04 UTC
*** Bug 394008 has been marked as a duplicate of this bug. ***
Comment 6 Erin Yuki Schlarb 2019-06-18 11:49:47 UTC
*** Bug 391574 has been marked as a duplicate of this bug. ***
Comment 7 Erin Yuki Schlarb 2019-06-18 11:52:09 UTC
*** Bug 386938 has been marked as a duplicate of this bug. ***
Comment 8 Erin Yuki Schlarb 2019-06-18 11:53:16 UTC
*** Bug 405485 has been marked as a duplicate of this bug. ***
Comment 9 Alexander Lohnau 2020-10-11 07:50:46 UTC
The baloo runner has been refactored into a D-Bus runner and runs in its own process.
Comment 10 Nate Graham 2020-10-26 16:52:58 UTC
*** Bug 396184 has been marked as a duplicate of this bug. ***