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

Re: LMDB: Assertion 'mc->mc_flags & C_INITIALIZED' with MDB_NEXT after mdb_cursor_del



> On Apr 18, 2016, at 3:12 AM, Howard Chu <hyc@symas.com> wrote:
> 
> Argyrios Kyrtzidis wrote:
>> Hi,
>> 
>> With latest lmdb source (github mirror: 8fff90db7ed1e650395f39f9e8b22673aa74aa2b), there is an assertion hit when deleting the cursor and then doing mdb_cursor_get(MDB_NEXT) and 'entering' DUPSORT items.
>> To demonstrate see attached diff which modifies mtest3.c. When run you see this:
>> 
>> mdb.c:6424: Assertion 'mc->mc_flags & C_INITIALIZED' failed in mdb_cursor_next()
>> 
>> Is this a bug or am I doing something wrong ?
>> 
> Sounds like a bug, please submit an ITS, thanks.

Submitted as ITS#8406.

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