https://github.com/LMDB/lmdb/commit/1ffe472a080fcd3c7dab6e352848703ad7adbe14 is an upstream fix for the LMDB database that fixes the most common crash in Baloo: https://bugs.kde.org/show_bug.cgi?id=389848 (currently at 42 duplicates).
This fix is in LMDB 0.9.23. Unfortunately, Disco currently only has 0.9.22 (see https://packages.ubuntu.com/disco/allpackages).
If we can't get Disco to include 0.9.23, we chould consider backporting https://github.com/LMDB/lmdb/commit/1ffe472a080fcd3c7dab6e352848703ad7adbe14.
And we might want to consider doing this for Bionic too, regardless.