https://bugs.openldap.org/show_bug.cgi?id=10024
--- Comment #2 from Markus markus@objectbox.io --- (In reply to Howard Chu from comment #1)
I can confirm that there's now a bug in env_open2 in mdb.master3, it's calling read_header with an uninit'd meta struct.
I remember that this actually looked fine from debugging because mdb_env_read_header() initializes the given meta in the first iteration (check the if for "off == 0").
The issue I am describing is another one. I had pinpointing to "env->me_txns->mti_txnid" specifically not being initialized in mdb_env_open2 anymore (nor elsewhere). I have laid out the details in the initial description.
From a quick look mdb.master3 seems to share the relevant code sections, but I had debugged mdb.master (lastest version, however the relevant sections stayed the same since the mentioned commit from 09.04.21).