Леонид Юрьев wrote:
http://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=commitdiff;h=b3047...
This change introduced a lot of memory leaks (mdb + replication)! A sample of valgrind's log is attached.
The testcase = https://github.com/leo-yuriev/LMDB-testcase/tree/master/test-vadim
My own draft solutions = https://github.com/leo-yuriev/openldap-lmdb-challenge/commit/6a5c5051af61852...
Thanks for the report and patch, committed to master.
make test - no any problem.
--
cd openldap.git checkout OPENLDAP_REL_ENG_2_4 git bisect start HEAD OPENLDAP_REL_ENG_2_4_38 mkdir -p /opt/opt/openldap.leakfix git bisect run LMDB-testcase/test-valid/git-bisect-probe.sh
git bisect log # bad: [dbc6741750de79b852ec9f728abb8b1425b6f03f] ITS#7929 # good: [33ab5a845b7825bdb6c7bdb29f7db81be6f1b0b7] ITS#7749 git bisect start 'OPENLDAP_REL_ENG_2_4' 'OPENLDAP_REL_ENG_2_4_38' # good: [d800cd71fe67bb5ee9e10867db2442da30f0d9d7] Merge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4 git bisect good d800cd71fe67bb5ee9e10867db2442da30f0d9d7 # good: [359a3c86e833c737e049cdeb8f44b97fd8605957] ITS#6970 more error checks in add_group git bisect good 359a3c86e833c737e049cdeb8f44b97fd8605957 # bad: [140b8c8bb93c985cacbd406d16e26ee0a31a93fa] Merge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4 git bisect bad 140b8c8bb93c985cacbd406d16e26ee0a31a93fa # good: [5ece28e296e20973e5ee29e5f62d33bda3d31518] ITS#7906 git bisect good 5ece28e296e20973e5ee29e5f62d33bda3d31518 # good: [d2d534b3119b59fa93f6b43a4db205b1d55488ac] ITS#7895 drop toolmode checks in str2entry git bisect good d2d534b3119b59fa93f6b43a4db205b1d55488ac # skip: [899b23f89dd9f0eeb795d0772c0a8cd046c84ec3] More for MIPS git bisect skip 899b23f89dd9f0eeb795d0772c0a8cd046c84ec3 # bad: [11fa9fcc121f4d1e58b289850eea546bf48e4f27] ITS#7906 minor cleanup git bisect bad 11fa9fcc121f4d1e58b289850eea546bf48e4f27 # bad: [04b9475e3b7acfd18fe4235a5c30a222940d75d3] ITS#7915 fix translucent_modify git bisect bad 04b9475e3b7acfd18fe4235a5c30a222940d75d3 # bad: [b3047fee4b7b4e442b3417ae727c198d720610d2] ITS#7915 fix mdb_entry_release git bisect bad b3047fee4b7b4e442b3417ae727c198d720610d2 # first bad commit: [b3047fee4b7b4e442b3417ae727c198d720610d2] ITS#7915 fix mdb_entry_release
--
Leo.