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

Re: Segmentation fault when overwriting a k/v with MDB_RESERVE ?



Simon Majou wrote:
Hello,

I wonder, why do I get a Segmentation fault when I use mdb_put with
MDB_RESERVE on a key that already exists ?

Have no idea. Provide some more details and maybe we can guess.

LMDB version? stack trace from SEGV? What's the size of the existing record, what's the size of the new record? Show sample code that demonstrates the problem?

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