https://bugs.openldap.org/show_bug.cgi?id=9037
--- Comment #29 from Howard Chu hyc@openldap.org --- (In reply to mdufour from comment #28)
Apologies, in the last message, the provide line of code is indeed 7998, the crash location (and not 8183 as written). It is slightly different from the official mdb.c due to some unrelated local changes earlier in the file.
You didn't specify which version of LMDB you're using.