https://bugs.openldap.org/show_bug.cgi?id=10529
--- Comment #4 from christopher@gmerlin.de christopher@gmerlin.de --- I added a c program to reproduce the failure. Originally I hit this failure when running tests on the ocaml bindings.
The backtrace looks like this:
Got <blub> mdb.c:7588: Assertion 'root > 1' failed in mdb_page_search()
Program received signal SIGABRT, Aborted. 0x00007ffff7e4995c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) bt #0 0x00007ffff7e4995c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007ffff7df4cc2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 #2 0x00007ffff7ddd4ac in abort () from /lib/x86_64-linux-gnu/libc.so.6 #3 0x000055555555671d in mdb_assert_fail (env=0x5555555792a0, expr_txt=0x55555557490d "root > 1", func=0x555555574b90 <__func__.13> "mdb_page_search", file=0x5555555747d4 "mdb.c", line=7588) at mdb.c:1995 #4 0x00005555555617d7 in mdb_page_search (mc=0x7fffffffdc90, key=0x5555555794b0, flags=0) at mdb.c:7588 #5 0x0000555555561664 in mdb_page_search (mc=0x7fffffffe0d0, key=0x0, flags=2) at mdb.c:7553 #6 0x0000555555568003 in mdb_cursor_init (mc=0x7fffffffe0d0, txn=0x55555557db00, dbi=2, mx=0x7fffffffded0) at mdb.c:9662 #7 0x000055555556205a in mdb_get (txn=0x55555557db00, dbi=2, key=0x7fffffffe290, data=0x7fffffffe280) at mdb.c:7763 #8 0x0000555555573af2 in main () at test.c:87
I hope you can reproduce this now.