https://bugs.openldap.org/show_bug.cgi?id=9378
--- Comment #10 from Zack Weinberg zack+ldapbugs@owlfolio.org --- I already recreated the baloo index from scratch, and it finished doing that with no errors, so I don't think repeating that process with a debug build is going to tell us anything interesting. My own best guess as to what caused the corruption in the first place, was the indexer getting killed (by system shutdown) with a transaction in progress.
In https://bugs.kde.org/show_bug.cgi?id=475695#c5 tagwerk19@innerjoin.org suggested a database-checking script, which unfortunately just crashes with
mdb_cursor_get: MDB_PAGE_NOTFOUND: Requested page not found