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

Re: (ITS#8406) LMDB: Assertion 'mc->mc_flags & C_INITIALIZED' with MDB_NEXT after mdb_cursor_del



hyc@symas.com wrote:
> akyrtzi@gmail.com wrote:
>> Full_Name: Argyrios Kyrtzidis
>> Version: LMDB master
>> OS: OSX
>> URL:
>> Submission from: (NULL) (2601:646:8900:3c89:b9af:5cb2:7292:8835)
>>
>>
>> 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 below diff which modifies mtest3.c. When run you see this:
>
> For reference, this bug was exposed by ITS#8321
> b5ce8108e8bb92df00b2d27ef0e37bfe756d3752
>
> (But that is not the root cause.)
>
Fixed now in git mdb.master

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