https://bugs.kde.org/show_bug.cgi?id=393472

--- Comment #9 from Alexander Schlarb <alexander-kde@ninetailed.ninja> ---
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
> …

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to