https://bugs.openldap.org/show_bug.cgi?id=10395

kero <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #1133|0                           |1
        is obsolete|                            |

--- Comment #20 from kero <[email protected]> ---
Created attachment 1135
  --> https://bugs.openldap.org/attachment.cgi?id=1135&action=edit
Allow multiple nested read transactions from a write transaction for master3
review from comment #18

This patch has been rebased on mdb.master3. I used `git format-patch` to
generate it after resolving the merge conflicts, and `git apply --check` to
verify its validity. There shouldn't be any merge conflicts when applying this
patch.

When I initially applied the patch from mdb.master and tested it, I had
double-free and segfault issues. The problem was coming from the call to
mdb_dlist_free [1]. This is what made me realize that we should not free the
dirty list when ending nested read transactions.

Have a nice day,
kero

[1]:
https://github.com/LMDB/lmdb/blob/be217bf254aae009a4683204bcd97f97ee4d5ad4/libraries/liblmdb/mdb.c#L3657

-- 
You are receiving this mail because:
You are on the CC list for the issue.

Reply via email to