[Date Prev][Date Next]
(ITS#7722) Assertion failure on MDB_NEXT of existing cursor following delete
- To: openldap-its@OpenLDAP.org
- Subject: (ITS#7722) Assertion failure on MDB_NEXT of existing cursor following delete
- From: email@example.com
- Date: Wed, 9 Oct 2013 05:53:05 GMT
- Auto-submitted: auto-generated (OpenLDAP-ITS)
Full_Name: David Wilson
Version: bf0e97aa0e9 @ git://gitorious.org/mdb/mdb.git
Submission from: (NULL) (188.8.131.52)
The attached cursor-del-break.c exhibits an assertion failure after successfully
deleting 1246 256-byte records from a set of 2048. This hammers the case where
one cursor is used to iterate, while a temporary cursor is used to delete the
record currently pointed to by the first cursor.
cursor-del-break: src/py-lmdb/lib/mdb.c:5025: mdb_cursor_next: Assertion
`((((mp)->mp_flags) & (0x02)) == (0x02))' failed.