Bug 393472 - KRunner crashes inside LMDB with assertion “mdb.c:6125: Assertion 'IS_LEAF(mp)' failed in mdb_cursor_set()” when using `Baloo::PostingDB::prefixIter()`
Summary: KRunner crashes inside LMDB with assertion “mdb.c:6125: Assertion 'IS_LEAF(mp...
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Engine (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: VHI crash
Target Milestone: ---
Assignee: baloo-bugs-null
URL:
Keywords: drkonqi
: 387647 402741 408779 414122 415769 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-04-24 16:37 UTC by Chris Long
Modified: 2020-10-26 16:45 UTC (History)
13 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 Chris Long 2018-04-24 16:37:02 UTC
Application: krunner (5.8.9)

Qt Version: 5.6.1
Frameworks Version: 5.36.0
Operating System: Linux 4.4.0-119-generic x86_64
Distribution: Ubuntu 16.04.4 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I opened krunner (with alt-F2) and was typing in it. I typed "chess brains" and then it crashed. I found that if I typed slowly it did not crash, but if I typed quickly I could consistently crash it. I have also crashed it with other search strings but I can't remember what.

The crash can be reproduced sometimes.

-- Backtrace:
Application: krunner (krunner), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
[Current thread is 1 (Thread 0x7f8e5da95900 (LWP 15710))]

Thread 21 (Thread 0x7f8e18936700 (LWP 15742)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8e5a7166bb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1665c30) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xdcb0c0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f8e35a6833b in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked (this=this@entry=0x102fc20, th=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:594
#4  0x00007f8e35a690af in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait (this=0x102fc20, th=th@entry=0x7f8e14003830, threadWasBusy=threadWasBusy@entry=false, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:554
#5  0x00007f8e35a6d0a8 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x7f8e14003830, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:66
#6  0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x7f8e14003830, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#7  0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x7f8e14003830, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#8  0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x7f8e14003830, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#9  0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x7f8e14003830, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#10 0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x7f8e14003830, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#11 0x00007f8e35a6ac20 in ThreadWeaver::Thread::run (this=0x7f8e14003830) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/thread.cpp:103
#12 0x00007f8e5a715808 in QThreadPrivate::start (arg=0x7f8e14003830) at thread/qthread_unix.cpp:341
#13 0x00007f8e580856ba in start_thread (arg=0x7f8e18936700) at pthread_create.c:333
#14 0x00007f8e5a02341d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 20 (Thread 0x7f8e19137700 (LWP 15741)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8e5a7166bb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1665c30) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xdcb0c0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f8e35a6833b in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked (this=this@entry=0x102fc20, th=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:594
#4  0x00007f8e35a690af in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait (this=0x102fc20, th=th@entry=0x7f8df80013c0, threadWasBusy=threadWasBusy@entry=true, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:554
#5  0x00007f8e35a6d0a8 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x7f8df80013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:66
#6  0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x7f8df80013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#7  0x00007f8e35a6ac20 in ThreadWeaver::Thread::run (this=0x7f8df80013c0) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/thread.cpp:103
#8  0x00007f8e5a715808 in QThreadPrivate::start (arg=0x7f8df80013c0) at thread/qthread_unix.cpp:341
#9  0x00007f8e580856ba in start_thread (arg=0x7f8e19137700) at pthread_create.c:333
#10 0x00007f8e5a02341d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 19 (Thread 0x7f8e19938700 (LWP 15740)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8e5a7166bb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1665c30) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xdcb0c0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f8e35a6833b in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked (this=this@entry=0x102fc20, th=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:594
#4  0x00007f8e35a690af in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait (this=0x102fc20, th=th@entry=0x7f8e000013e0, threadWasBusy=threadWasBusy@entry=false, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:554
#5  0x00007f8e35a6d0a8 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x7f8e000013e0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:66
#6  0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x7f8e000013e0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#7  0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x7f8e000013e0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#8  0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x7f8e000013e0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#9  0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x7f8e000013e0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#10 0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x7f8e000013e0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#11 0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x7f8e000013e0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#12 0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x7f8e000013e0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#13 0x00007f8e35a6ac20 in ThreadWeaver::Thread::run (this=0x7f8e000013e0) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/thread.cpp:103
#14 0x00007f8e5a715808 in QThreadPrivate::start (arg=0x7f8e000013e0) at thread/qthread_unix.cpp:341
#15 0x00007f8e580856ba in start_thread (arg=0x7f8e19938700) at pthread_create.c:333
#16 0x00007f8e5a02341d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 18 (Thread 0x7f8e1a139700 (LWP 15739)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8e5a7166bb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1665c30) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xdcb0c0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f8e35a6833b in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked (this=this@entry=0x102fc20, th=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:594
#4  0x00007f8e35a690af in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait (this=0x102fc20, th=th@entry=0x7f8de80013c0, threadWasBusy=threadWasBusy@entry=false, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:554
#5  0x00007f8e35a6d0a8 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x7f8de80013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:66
#6  0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x7f8de80013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#7  0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x7f8de80013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#8  0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x7f8de80013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#9  0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x7f8de80013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#10 0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x7f8de80013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#11 0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x7f8de80013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#12 0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x7f8de80013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#13 0x00007f8e35a6ac20 in ThreadWeaver::Thread::run (this=0x7f8de80013c0) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/thread.cpp:103
#14 0x00007f8e5a715808 in QThreadPrivate::start (arg=0x7f8de80013c0) at thread/qthread_unix.cpp:341
#15 0x00007f8e580856ba in start_thread (arg=0x7f8e1a139700) at pthread_create.c:333
#16 0x00007f8e5a02341d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 17 (Thread 0x7f8e1a93a700 (LWP 15738)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8e5a7166bb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1665c30) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xdcb0c0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f8e35a6833b in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked (this=this@entry=0x102fc20, th=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:594
#4  0x00007f8e35a690af in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait (this=0x102fc20, th=th@entry=0x14d98b0, threadWasBusy=threadWasBusy@entry=true, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:554
#5  0x00007f8e35a6d0a8 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x14d98b0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:66
#6  0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x14d98b0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#7  0x00007f8e35a6ac20 in ThreadWeaver::Thread::run (this=0x14d98b0) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/thread.cpp:103
#8  0x00007f8e5a715808 in QThreadPrivate::start (arg=0x14d98b0) at thread/qthread_unix.cpp:341
#9  0x00007f8e580856ba in start_thread (arg=0x7f8e1a93a700) at pthread_create.c:333
#10 0x00007f8e5a02341d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 16 (Thread 0x7f8e1b13b700 (LWP 15737)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8e5a7166bb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1665c30) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xdcb0c0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f8e35a6833b in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked (this=this@entry=0x102fc20, th=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:594
#4  0x00007f8e35a690af in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait (this=0x102fc20, th=th@entry=0x7f8df00013c0, threadWasBusy=threadWasBusy@entry=true, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:554
#5  0x00007f8e35a6d0a8 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x7f8df00013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:66
#6  0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x7f8df00013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#7  0x00007f8e35a6ac20 in ThreadWeaver::Thread::run (this=0x7f8df00013c0) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/thread.cpp:103
#8  0x00007f8e5a715808 in QThreadPrivate::start (arg=0x7f8df00013c0) at thread/qthread_unix.cpp:341
#9  0x00007f8e580856ba in start_thread (arg=0x7f8e1b13b700) at pthread_create.c:333
#10 0x00007f8e5a02341d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 15 (Thread 0x7f8e1b93c700 (LWP 15736)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8e5a7166bb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1665c30) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xdcb0c0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f8e35a6833b in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked (this=this@entry=0x102fc20, th=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:594
#4  0x00007f8e35a690af in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait (this=0x102fc20, th=th@entry=0x7f8e100013c0, threadWasBusy=threadWasBusy@entry=true, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:554
#5  0x00007f8e35a6d0a8 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x7f8e100013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:66
#6  0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x7f8e100013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#7  0x00007f8e35a6ac20 in ThreadWeaver::Thread::run (this=0x7f8e100013c0) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/thread.cpp:103
#8  0x00007f8e5a715808 in QThreadPrivate::start (arg=0x7f8e100013c0) at thread/qthread_unix.cpp:341
#9  0x00007f8e580856ba in start_thread (arg=0x7f8e1b93c700) at pthread_create.c:333
#10 0x00007f8e5a02341d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 14 (Thread 0x7f8e1cff9700 (LWP 15735)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8e5a7166bb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1665c30) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xdcb0c0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f8e35a6833b in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked (this=this@entry=0x102fc20, th=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:594
#4  0x00007f8e35a690af in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait (this=0x102fc20, th=th@entry=0x7f8e140013e0, threadWasBusy=threadWasBusy@entry=true, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:554
#5  0x00007f8e35a6d0a8 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x7f8e140013e0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:66
#6  0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x7f8e140013e0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#7  0x00007f8e35a6ac20 in ThreadWeaver::Thread::run (this=0x7f8e140013e0) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/thread.cpp:103
#8  0x00007f8e5a715808 in QThreadPrivate::start (arg=0x7f8e140013e0) at thread/qthread_unix.cpp:341
#9  0x00007f8e580856ba in start_thread (arg=0x7f8e1cff9700) at pthread_create.c:333
#10 0x00007f8e5a02341d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 13 (Thread 0x7f8e1d7fa700 (LWP 15734)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8e5a7166bb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1665c30) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xdcb0c0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f8e35a6833b in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked (this=this@entry=0x102fc20, th=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:594
#4  0x00007f8e35a690af in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait (this=0x102fc20, th=th@entry=0x7f8e000013c0, threadWasBusy=threadWasBusy@entry=false, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:554
#5  0x00007f8e35a6d0a8 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x7f8e000013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:66
#6  0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x7f8e000013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#7  0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x7f8e000013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#8  0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x7f8e000013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#9  0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x7f8e000013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#10 0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x7f8e000013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#11 0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x7f8e000013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#12 0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x7f8e000013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#13 0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x7f8e000013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#14 0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x7f8e000013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#15 0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x7f8e000013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#16 0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x7f8e000013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#17 0x00007f8e35a6ac20 in ThreadWeaver::Thread::run (this=0x7f8e000013c0) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/thread.cpp:103
#18 0x00007f8e5a715808 in QThreadPrivate::start (arg=0x7f8e000013c0) at thread/qthread_unix.cpp:341
#19 0x00007f8e580856ba in start_thread (arg=0x7f8e1d7fa700) at pthread_create.c:333
#20 0x00007f8e5a02341d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 12 (Thread 0x7f8e1dffb700 (LWP 15733)):
[KCrash Handler]
#6  0x00007f8e59f51428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007f8e59f5302a in __GI_abort () at abort.c:89
#8  0x00007f8e2d51d002 in mdb_assert_fail (env=0x7f8df8003d30, expr_txt=expr_txt@entry=0x7f8e2d51eb22 "IS_LEAF(mp)", func=func@entry=0x7f8e2d51f330 <__func__.7885> "mdb_cursor_next", line=line@entry=5685, file=0x7f8e2d51ea40 "mdb.c") at mdb.c:1481
#9  0x00007f8e2d514740 in mdb_cursor_next (mc=mc@entry=0x7f8dfc066140, key=0x7f8e1dffa390, data=data@entry=0x7f8e1dffa3a0, op=MDB_NEXT) at mdb.c:5685
#10 0x00007f8e2d5131e9 in mdb_cursor_get (mc=0x7f8dfc066140, key=key@entry=0x7f8e1dffa390, data=data@entry=0x7f8e1dffa3a0, op=op@entry=MDB_NEXT) at mdb.c:6184
#11 0x00007f8e2d7478da in Baloo::PostingDB::iter<Baloo::PostingDB::prefixIter(const QByteArray&)::<lambda(const QByteArray&)> > (this=0xfc003b90, this=0xfc003b90, prefix=..., validate=...) at /build/baloo-kf5-B5k90A/baloo-kf5-5.36.0/src/engine/postingdb.cpp:227
#12 Baloo::PostingDB::prefixIter (this=this@entry=0x7f8e1dffa480, prefix=...) at /build/baloo-kf5-B5k90A/baloo-kf5-5.36.0/src/engine/postingdb.cpp:246
#13 0x00007f8e2d751c42 in Baloo::Transaction::postingIterator (this=this@entry=0x7f8e1dffa8a0, query=...) at /build/baloo-kf5-B5k90A/baloo-kf5-5.36.0/src/engine/transaction.cpp:296
#14 0x00007f8e2dba949a in Baloo::SearchStore::constructQuery (this=this@entry=0x7f8e1dffa990, tr=tr@entry=0x7f8e1dffa8a0, term=...) at /build/baloo-kf5-B5k90A/baloo-kf5-5.36.0/src/lib/searchstore.cpp:302
#15 0x00007f8e2dba88aa in Baloo::SearchStore::constructQuery (this=this@entry=0x7f8e1dffa990, tr=tr@entry=0x7f8e1dffa8a0, term=...) at /build/baloo-kf5-B5k90A/baloo-kf5-5.36.0/src/lib/searchstore.cpp:164
#16 0x00007f8e2dba9a10 in Baloo::SearchStore::exec (this=this@entry=0x7f8e1dffa990, term=..., offset=0, limit=10, sortResults=<optimized out>) at /build/baloo-kf5-B5k90A/baloo-kf5-5.36.0/src/lib/searchstore.cpp:76
#17 0x00007f8e2db97fbf in Baloo::Query::exec (this=this@entry=0x7f8e1dffaa50) at /build/baloo-kf5-B5k90A/baloo-kf5-5.36.0/src/lib/query.cpp:210
#18 0x00007f8e2ddb9538 in SearchRunner::match (this=this@entry=0x1526a80, context=..., type=..., category=...) at /build/plasma-workspace-13diLw/plasma-workspace-5.8.9/runners/baloo/baloosearchrunner.cpp:101
#19 0x00007f8e2ddba5e9 in SearchRunner::match (this=0x1526a80, context=...) at /build/plasma-workspace-13diLw/plasma-workspace-5.8.9/runners/baloo/baloosearchrunner.cpp:166
#20 0x00007f8e35c8c678 in Plasma::AbstractRunner::performMatch (this=0x1526a80, localContext=...) at /build/krunner-VI5jCE/krunner-5.36.0/src/abstractrunner.cpp:131
#21 0x00007f8e35a6c857 in ThreadWeaver::Executor::run (this=<optimized out>, job=..., thread=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/executor.cpp:52
#22 0x00007f8e35a6b380 in ThreadWeaver::Job::execute (this=<optimized out>, self=..., th=0x7f8e140013c0) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/job.cpp:83
#23 0x00007f8e35a6ab70 in ThreadWeaver::Thread::run (this=0x7f8e140013c0) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/thread.cpp:114
#24 0x00007f8e5a715808 in QThreadPrivate::start (arg=0x7f8e140013c0) at thread/qthread_unix.cpp:341
#25 0x00007f8e580856ba in start_thread (arg=0x7f8e1dffb700) at pthread_create.c:333
#26 0x00007f8e5a02341d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 11 (Thread 0x7f8e1e7fc700 (LWP 15732)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8e5a7166bb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1665c30) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xdcb0c0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f8e35a6833b in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked (this=this@entry=0x102fc20, th=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:594
#4  0x00007f8e35a690af in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait (this=0x102fc20, th=th@entry=0x7f8e200013c0, threadWasBusy=threadWasBusy@entry=false, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:554
#5  0x00007f8e35a6d0a8 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x7f8e200013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:66
#6  0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x7f8e200013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#7  0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x7f8e200013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#8  0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x7f8e200013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#9  0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x7f8e200013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#10 0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x7f8e200013c0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#11 0x00007f8e35a6ac20 in ThreadWeaver::Thread::run (this=0x7f8e200013c0) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/thread.cpp:103
#12 0x00007f8e5a715808 in QThreadPrivate::start (arg=0x7f8e200013c0) at thread/qthread_unix.cpp:341
#13 0x00007f8e580856ba in start_thread (arg=0x7f8e1e7fc700) at pthread_create.c:333
#14 0x00007f8e5a02341d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 10 (Thread 0x7f8e1effd700 (LWP 15731)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8e5a7166bb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1665c30) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xdcb0c0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f8e35a6833b in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked (this=this@entry=0x102fc20, th=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:594
#4  0x00007f8e35a690af in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait (this=0x102fc20, th=th@entry=0x14c8aa0, threadWasBusy=threadWasBusy@entry=true, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:554
#5  0x00007f8e35a6d0a8 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x14c8aa0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:66
#6  0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x14c8aa0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#7  0x00007f8e35a6ac20 in ThreadWeaver::Thread::run (this=0x14c8aa0) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/thread.cpp:103
#8  0x00007f8e5a715808 in QThreadPrivate::start (arg=0x14c8aa0) at thread/qthread_unix.cpp:341
#9  0x00007f8e580856ba in start_thread (arg=0x7f8e1effd700) at pthread_create.c:333
#10 0x00007f8e5a02341d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7f8e1f7fe700 (LWP 15730)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8e5a7166bb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1665c30) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xdcb0c0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f8e35a6833b in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked (this=this@entry=0x102fc20, th=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:594
#4  0x00007f8e35a690af in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait (this=0x102fc20, th=th@entry=0x14d98d0, threadWasBusy=threadWasBusy@entry=false, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:554
#5  0x00007f8e35a6d0a8 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x14d98d0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:66
#6  0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x14d98d0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#7  0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x14d98d0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#8  0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x14d98d0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#9  0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x14d98d0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#10 0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x14d98d0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#11 0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x14d98d0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#12 0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x14d98d0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#13 0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x14d98d0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#14 0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x14d98d0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#15 0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x14d98d0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#16 0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x14d98d0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#17 0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x14d98d0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#18 0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x14d98d0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#19 0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x14d98d0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#20 0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x14d98d0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#21 0x00007f8e35a6ac20 in ThreadWeaver::Thread::run (this=0x14d98d0) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/thread.cpp:103
#22 0x00007f8e5a715808 in QThreadPrivate::start (arg=0x14d98d0) at thread/qthread_unix.cpp:341
#23 0x00007f8e580856ba in start_thread (arg=0x7f8e1f7fe700) at pthread_create.c:333
#24 0x00007f8e5a02341d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f8e1ffff700 (LWP 15729)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8e5a7166bb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1665c30) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xdcb0c0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f8e35a6833b in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked (this=this@entry=0x102fc20, th=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:594
#4  0x00007f8e35a690af in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait (this=0x102fc20, th=th@entry=0x14e27e0, threadWasBusy=threadWasBusy@entry=false, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:554
#5  0x00007f8e35a6d0a8 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x14e27e0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:66
#6  0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x14e27e0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#7  0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x14e27e0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#8  0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x14e27e0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#9  0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x14e27e0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#10 0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x14e27e0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#11 0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x14e27e0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#12 0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x14e27e0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#13 0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x14e27e0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#14 0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x14e27e0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#15 0x00007f8e35a6ac20 in ThreadWeaver::Thread::run (this=0x14e27e0) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/thread.cpp:103
#16 0x00007f8e5a715808 in QThreadPrivate::start (arg=0x14e27e0) at thread/qthread_unix.cpp:341
#17 0x00007f8e580856ba in start_thread (arg=0x7f8e1ffff700) at pthread_create.c:333
#18 0x00007f8e5a02341d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f8e1c13d700 (LWP 15728)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8e5a7166bb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1665c30) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xdcb0c0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f8e35a6833b in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked (this=this@entry=0x102fc20, th=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:594
#4  0x00007f8e35a690af in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait (this=0x102fc20, th=th@entry=0x14d9980, threadWasBusy=threadWasBusy@entry=false, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:554
#5  0x00007f8e35a6d0a8 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x14d9980, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:66
#6  0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x14d9980, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#7  0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x14d9980, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#8  0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x14d9980, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#9  0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x14d9980, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#10 0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x14d9980, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#11 0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x14d9980, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#12 0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x14d9980, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#13 0x00007f8e35a6d102 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x14d9980, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:73
#14 0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x14d9980, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#15 0x00007f8e35a6ac20 in ThreadWeaver::Thread::run (this=0x14d9980) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/thread.cpp:103
#16 0x00007f8e5a715808 in QThreadPrivate::start (arg=0x14d9980) at thread/qthread_unix.cpp:341
#17 0x00007f8e580856ba in start_thread (arg=0x7f8e1c13d700) at pthread_create.c:333
#18 0x00007f8e5a02341d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f8e2493e700 (LWP 15727)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8e5a7166bb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1665c30) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xdcb0c0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f8e35a6833b in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked (this=this@entry=0x102fc20, th=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:594
#4  0x00007f8e35a690af in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait (this=0x102fc20, th=th@entry=0x164efa0, threadWasBusy=threadWasBusy@entry=true, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:554
#5  0x00007f8e35a6d0a8 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdcb560, th=0x164efa0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/workinghardstate.cpp:66
#6  0x00007f8e35a6829d in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x164efa0, wasBusy=<optimized out>) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/weaver.cpp:568
#7  0x00007f8e35a6ac20 in ThreadWeaver::Thread::run (this=0x164efa0) at /build/threadweaver-6grL6S/threadweaver-5.36.0/src/thread.cpp:103
#8  0x00007f8e5a715808 in QThreadPrivate::start (arg=0x164efa0) at thread/qthread_unix.cpp:341
#9  0x00007f8e580856ba in start_thread (arg=0x7f8e2493e700) at pthread_create.c:333
#10 0x00007f8e5a02341d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f8e30074700 (LWP 15726)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8e5a7166bb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1299b10) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x12946c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f8e5cc9ca8d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007f8e5cc9d365 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007f8e5a715808 in QThreadPrivate::start (arg=0x1294640) at thread/qthread_unix.cpp:341
#6  0x00007f8e580856ba in start_thread (arg=0x7f8e30074700) at pthread_create.c:333
#7  0x00007f8e5a02341d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f8e44cd0700 (LWP 15713)):
#0  0x00007f8e57759a79 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f8e57714929 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8e577152bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8e5771549c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f8e5a93f37b in QEventDispatcherGlib::processEvents (this=0x7f8e3c0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#5  0x00007f8e5a8e7ffa in QEventLoop::exec (this=this@entry=0x7f8e44ccfca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f8e5a7109e4 in QThread::exec (this=this@entry=0xde6520) at thread/qthread.cpp:500
#7  0x00007f8e5c9f96b5 in QQmlThreadPrivate::run (this=0xde6520) at qml/ftw/qqmlthread.cpp:141
#8  0x00007f8e5a715808 in QThreadPrivate::start (arg=0xde6520) at thread/qthread_unix.cpp:341
#9  0x00007f8e580856ba in start_thread (arg=0x7f8e44cd0700) at pthread_create.c:333
#10 0x00007f8e5a02341d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f8e467b9700 (LWP 15712)):
#0  __lll_unlock_wake () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:371
#1  0x00007f8e580894ff in __pthread_mutex_unlock_usercnt (decr=1, mutex=0x7f8e56c099d0) at pthread_mutex_unlock.c:55
#2  __GI___pthread_mutex_unlock (mutex=0x7f8e56c099d0) at pthread_mutex_unlock.c:314
#3  0x00007f8e56983b65 in ?? () from /usr/lib/nvidia-384/libGL.so.1
#4  0x00007f8e5698923b in ?? () from /usr/lib/nvidia-384/libGL.so.1
#5  0x00007f8e5284f0f1 in ?? () from /usr/lib/nvidia-384/tls/libnvidia-tls.so.384.111
#6  0x00007f8e577586f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f8e57714e74 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f8e57715330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f8e5771549c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f8e5a93f37b in QEventDispatcherGlib::processEvents (this=0x7f8e380008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#11 0x00007f8e5a8e7ffa in QEventLoop::exec (this=this@entry=0x7f8e467b8c90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#12 0x00007f8e5a7109e4 in QThread::exec (this=this@entry=0x7f8e5dc2ad40 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:500
#13 0x00007f8e5dbb7515 in QDBusConnectionManager::run (this=0x7f8e5dc2ad40 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:189
#14 0x00007f8e5a715808 in QThreadPrivate::start (arg=0x7f8e5dc2ad40 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:341
#15 0x00007f8e580856ba in start_thread (arg=0x7f8e467b9700) at pthread_create.c:333
#16 0x00007f8e5a02341d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f8e486ce700 (LWP 15711)):
#0  0x00007f8e5a01774d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f8e59712c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f8e597148d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f8e4b052d29 in QXcbEventReader::run (this=0xbea5b0) at qxcbconnection.cpp:1325
#4  0x00007f8e5a715808 in QThreadPrivate::start (arg=0xbea5b0) at thread/qthread_unix.cpp:341
#5  0x00007f8e580856ba in start_thread (arg=0x7f8e486ce700) at pthread_create.c:333
#6  0x00007f8e5a02341d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f8e5da95900 (LWP 15710)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8e59712eb9 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f8e59714617 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f8e59714721 in xcb_wait_for_reply () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007f8e458d776c in KWindowEffectsPrivateX11::enableBlurBehind (this=<optimized out>, window=180355082, enable=<optimized out>, region=...) at /build/kwindowsystem-moP8Gh/kwindowsystem-5.36.0/src/platforms/xcb/kwindoweffects.cpp:252
#5  0x00007f8e5d80a4f4 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5PlasmaQuick.so.5
#6  0x00007f8e5d80ba69 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5PlasmaQuick.so.5
#7  0x00007f8e5d80ca69 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5PlasmaQuick.so.5
#8  0x00007f8e5a916b71 in QMetaObject::activate (sender=sender@entry=0xd668d8, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3730
#9  0x00007f8e5a9171b7 in QMetaObject::activate (sender=sender@entry=0xd668d8, m=m@entry=0x7f8e5ab32720 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3595
#10 0x00007f8e5a991e80 in QTimer::timeout (this=this@entry=0xd668d8) at .moc/moc_qtimer.cpp:198
#11 0x00007f8e5a9230b8 in QTimer::timerEvent (this=0xd668d8, e=<optimized out>) at kernel/qtimer.cpp:247
#12 0x00007f8e5a9176d3 in QObject::event (this=0xd668d8, e=<optimized out>) at kernel/qobject.cpp:1278
#13 0x00007f8e5b4b2afc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0xd668d8, e=0x7fff59d4be60) at kernel/qapplication.cpp:3804
#14 0x00007f8e5b4b8036 in QApplication::notify (this=0x7fff59d4c180, receiver=0xd668d8, e=0x7fff59d4be60) at kernel/qapplication.cpp:3561
#15 0x00007f8e5a8ea2a8 in QCoreApplication::notifyInternal2 (receiver=0xd668d8, event=event@entry=0x7fff59d4be60) at kernel/qcoreapplication.cpp:1015
#16 0x00007f8e5a93e24e in QCoreApplication::sendEvent (event=0x7fff59d4be60, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:225
#17 QTimerInfoList::activateTimers (this=0xc31640) at kernel/qtimerinfo_unix.cpp:637
#18 0x00007f8e5a93e781 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:176
#19 0x00007f8e57715197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f8e577153f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f8e5771549c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f8e5a93f35f in QEventDispatcherGlib::processEvents (this=0xc30c80, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#23 0x00007f8e5a8e7ffa in QEventLoop::exec (this=this@entry=0x7fff59d4c0b0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#24 0x00007f8e5a8f06bc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1285
#25 0x00007f8e5ac307cc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1607
#26 0x00007f8e5b4afac5 in QApplication::exec () at kernel/qapplication.cpp:2979
#27 0x0000000000406be6 in main (argc=1, argv=<optimized out>) at /build/plasma-workspace-13diLw/plasma-workspace-5.8.9/krunner/main.cpp:92

Possible duplicates by query: bug 374183.

Reported using DrKonqi
Comment 1 Nate Graham 2018-11-26 21:58:20 UTC
*** Bug 394008 has been marked as a duplicate of this bug. ***
Comment 2 Nate Graham 2018-11-26 22:00:41 UTC
*** Bug 391574 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2018-11-26 22:01:05 UTC
*** Bug 387647 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2018-11-26 22:02:05 UTC
*** Bug 386266 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2018-11-26 22:03:28 UTC
*** Bug 386938 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2019-01-15 16:06:09 UTC
*** Bug 402741 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2019-03-16 11:55:59 UTC
*** Bug 405485 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2019-06-16 22:43:54 UTC
*** Bug 408779 has been marked as a duplicate of this bug. ***
Comment 9 Erin Yuki Schlarb 2019-06-17 22:37:06 UTC
I beg to differ on the list of duplicates of this bug, only this bug 387647 and my bug 408779 are related the assertion raised in LMDB, occuring inside Baloo::PostingDB::prefixIter:

> [KCrash Handler]
> #6  0x00007f8e59f51428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
> #7  0x00007f8e59f5302a in __GI_abort () at abort.c:89
> #8  0x00007f8e2d51d002 in mdb_assert_fail (env=0x7f8df8003d30, expr_txt=expr_txt@entry=0x7f8e2d51eb22 "IS_LEAF(mp)", func=func@entry=0x7f8e2d51f330 <__func__.7885> "mdb_cursor_next", line=line@entry=5685, file=0x7f8e2d51ea40 "mdb.c") at mdb.c:1481
> #9  0x00007f8e2d514740 in mdb_cursor_next (mc=mc@entry=0x7f8dfc066140, key=0x7f8e1dffa390, data=data@entry=0x7f8e1dffa3a0, op=MDB_NEXT) at mdb.c:5685
> #10 0x00007f8e2d5131e9 in mdb_cursor_get (mc=0x7f8dfc066140, key=key@entry=0x7f8e1dffa390, data=data@entry=0x7f8e1dffa3a0, op=op@entry=MDB_NEXT) at mdb.c:6184
> #11 0x00007f8e2d7478da in Baloo::PostingDB::iter<Baloo::PostingDB::prefixIter(const QByteArray&)::<lambda(const QByteArray&)> > (this=0xfc003b90, this=0xfc003b90, prefix=..., validate=...) at /build/baloo-kf5-B5k90A/baloo-kf5-5.36.0/src/engine/postingdb.cpp:227
> #12 Baloo::PostingDB::prefixIter (this=this@entry=0x7f8e1dffa480, prefix=...) at /build/baloo-kf5-B5k90A/baloo-kf5-5.36.0/src/engine/postingdb.cpp:246
> #13 0x00007f8e2d751c42 in Baloo::Transaction::postingIterator (this=this@entry=0x7f8e1dffa8a0, query=...) at /build/baloo-kf5-B5k90A/baloo-kf5-5.36.0/src/engine/transaction.cpp:296
> …

All the other duplicate bugs are either completely useless (405485) or are caused by a SegFault due to some incorrect string manipulation inside of Baloo::PostingDB::iter (iter ≠ prefixIter) instead:

> [KCrash Handler]
> #6  __memcpy_avx_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S:245
> #7  0x00007f1bfb8934e0 in memcpy (__len=567624928, __src=0x7f1b21d54510, __dest=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/string3.h:53
> #8  QByteArray::QByteArray (this=0x7f1b21d54410, data=0x7f1b21d54510 "\200R0\004\033\177", size=567624928) at tools/qbytearray.cpp:1452
> #9  0x00007f1b239a2917 in DBPostingIterator::DBPostingIterator (this=0x7f1b04305810, data=<optimized out>, size=<optimized out>) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/postingdb.cpp:177
> #10 0x00007f1b239a29f1 in Baloo::PostingDB::iter (this=this@entry=0x7f1b21d54500, term=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/postingdb.cpp:169
> #11 0x00007f1b239ab8bb in Baloo::Transaction::postingIterator (this=this@entry=0x7f1b21d54900, query=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/transaction.cpp:294
> …
Comment 10 Nate Graham 2019-06-18 11:00:54 UTC
Oops, my mistake! Feel free to rejigger the bugs' duplicates as needed.
Comment 11 Erin Yuki Schlarb 2019-06-18 11:56:50 UTC
Done! All `Baloo::PostingDB::prefixIter(QByteArray const&)` related crashes have been moved to bug 386266.
Comment 12 Erin Yuki Schlarb 2019-06-18 13:40:14 UTC
According to https://www.openldap.org/lists/openldap-bugs/201502/msg00056.html it looks like this assertion indeed means that the LMDB database used by Baloo is corrupted.

Interestingly enough however, when I build LMDB from master `baloosearch` will work fine, but `baloorunner` will still crash as usual…
Comment 13 Erin Yuki Schlarb 2019-06-18 16:42:30 UTC
I move the files `${XDG_DATA_HOME}/baloo` to `${XDG_DATA_HOME}/baloo.bak`, restarted Baloo & `baloorunner` and let it reindex all files. It appears to work correctly now.

Since it probably **was** database corruption and, apparently, LMDB does not support database recovery, maybe we should create a new issue that runs some integrity checks up front and otherwise suggests recreating the database? 😕
Comment 14 Nate Graham 2019-06-18 17:23:10 UTC
Thanks so much for the bug wrangling and investigation! Yes, I agree thatthis kind of thing could be much improved. I'm not sure if an integrity check would be the right way to go though, just for performance reasons. Maybe it should be more intelligent and fix itself rather than crashing when it encounters this situation? Better LMDB error handling in general is tracked at Bug 368557.
Comment 15 Erin Yuki Schlarb 2019-06-18 21:01:01 UTC
I actually managed to consistently reproduce this crash using the following script. This exists successfully on the rebuilt database, but crashes with the same assertion on the original one:

```py
#!/usr/bin/python3
"""Scan through a complete LMDB database."""
import argparse
import pathlib
import sys

import lmdb


__dir__ = pathlib.Path(__file__).parent
__version__ = "0.1.0"


def main(argv=sys.argv[1:], program=sys.argv[0]):
	parser = argparse.ArgumentParser(description=__doc__, prog=pathlib.Path(program).name)
	parser.add_argument("-V", "--version", action="version", version="%(prog)s {0}".format(__version__))
	parser.add_argument("-n", "--no-subdir", action="store_false", dest="subdir")
	parser.add_argument("dbpath", action="store")
	#parser.add_argument(…)
	
	args = parser.parse_args(argv)
	with lmdb.open(args.dbpath, subdir=args.subdir, max_dbs=100) as env:
		print(f"Scanning database: {args.dbpath}")
		dbnames = []
		try:
			transaction = env.begin()
			try:
				cursor = transaction.cursor()
				while cursor.next():
					dbnames.append(cursor.key())
			finally:
				cursor.close()
		finally:
			transaction.abort()
		
		for dbname in dbnames:
			print(f"Scanning database: {args.dbpath}/{dbname.decode('utf-8')}")
			try:
				handle = env.open_db(dbname)
				transaction = env.begin(db=handle)
				try:
					cursor = transaction.cursor()
					while cursor.next():
						pass
				finally:
					cursor.close()
			finally:
				transaction.abort()
	
	return 0


if __name__ == "__main__":
	sys.exit(main())
```

Running this on my rebuilt 1.8GiB database only takes about 1.2s (in CPython), so it appears it could be used as an actual integrity scanner within Baloo to detect whether the loaded database is reliable. Only caveat is that it **needs** to run a in subprocess with exit status monitoring since the assertion **cannot** be converted into some kind of error status being returned.
Comment 16 Erin Yuki Schlarb 2019-06-18 21:15:35 UTC
The problem with bug 368557 is that that's about assertion failures inside Baloo when receiving an appropriate return code from LMDB. Not about LMDB getting so confused about the database that it just terminates the process. The script I wrote would only need to run once on Baloo startup.

The deeper problem I see though is that – to my knowledge – LMDB offers **absolute no recovery mechanisms whatsoever**. In a lot of ways that actually disqualifies it as a database entirely: They advertise it being ACID, but apparently that's no always the case or this should not be possible in the first place. (The consequence of this likely being quite disruptive regarding Baloo's codebase if attempted to being fixed.)
Comment 17 Nate Graham 2020-01-02 16:54:08 UTC
*** Bug 415769 has been marked as a duplicate of this bug. ***
Comment 18 Alexander Lohnau 2020-10-11 07:50:28 UTC
The baloo runner has been refactored into a D-Bus runner and runs in its own process.
Comment 19 Nate Graham 2020-10-26 16:45:43 UTC
*** Bug 414122 has been marked as a duplicate of this bug. ***