[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#9037) observing crash in mdb_cursor_put()
After stepping through the test program in a debugger, I see that
mdb_page_search returns MDB_NOTFOUND if mc->mc_db->md_root is P_INVALID
because the tree is empty. And mdb_cursor_put sets rc to MDB_NO_ROOT if
mc->mc_db->md_root is P_INVALID.
So that can't be related to the crash, at least not in the instances I'm
investigating, because insert_key and insert_data (and hence rc) is
always MDB_NOTFOUND in their minidumps when the crash occurs, which
can't happen when rc is set to MDB_NO_ROOT.
-myk