[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#8954) LMDB double-commit double-free heap crash



robin.rowe@venturehollywood.com wrote:
> Full_Name: Robin Rowe
> Version: --branch OPENLDAP_REL_ENG_2_4
> OS: Windows 10
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (23.242.20.216)
> 
> 
> LMDB becomes unstable if we double-commit the same transaction. Caused by
> freeing me_txn0 again after 2nd commit had previously free it.

This is not an LMDB bug, this is a stupid user error.

http://www.lmdb.tech/doc/group__mdb.html#ga846fbd6f46105617ac9f4d76476f6597

Closing this.

-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/