ISAM 10170

BTAddRec, BTDeleteRec
Free record list corrupt (attempt to use record 0). Deleted
records from a linked list, with the reference to the first
deleted record being in the system record (record 0). The
links are record reference numbers, and B-Tree Filer has
found a reference number which is zero, greater than the
number of records or less than -1 (which is used as the free
record list terminator). This is probably due to a memory
overwrite, or to BTPutRec being called for a reference number
after a call to BTDeleteRec for the same reference number.

a) Pack database
b) Replace database