[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#8760) LMDB: seg fault on opening a new database
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#8760) LMDB: seg fault on opening a new database
- From: hyc@symas.com
- Date: Thu, 26 Oct 2017 17:12:57 +0000
- Auto-submitted: auto-generated (OpenLDAP-ITS)
github@nicwatson.org wrote:
> Full_Name: Nic Watson
> Version: LMDB 0.9.21
> OS: Ubuntu 16.04.3 LTS
> URL: https://gist.github.com/jnwatson/86b43b0515fe552a087d741d4ab43922
> Submission from: (NULL) (108.56.136.246)
>
>
> See the URL for the minimal C program to reproduce the crash and the gdb
> backtrace.
>
> LMDB will seg fault in mdb_dbi_open when creating a new database if the
> environment was opened read-only.
Thanks for the report, but this doesn't seem like a bug. Trying to create
something when the environment was opened read-only is clearly a misuse of the
API, and SEGVs are expected when the API is misused.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/