https://bugs.openldap.org/show_bug.cgi?id=9378
--- Comment #8 from Howard Chu hyc@openldap.org --- If you can compile your own debug build of liblmdb and run it with baloo, and capture its stderr into a logfile, try this MR https://git.openldap.org/openldap/openldap/-/merge_requests/655
If you compile lmdb with -DMDEB_DEBUG=4 it will output copious amounts of tracing info to stderr. With this MR it will also detect if txns are being misused by more than one thread.