BerkeleyDB panic: Illegal page type or argument
529636Nov 5 2006 — edited Nov 8 2006I'm running BDB 4.4 on Linux and every once in a while the application crashes because of BDB. Here is the output and stack trace:
<snip>
page 136: illegal page type or format
PANIC: Invalid argument
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
com.sleepycat.db.RunRecoveryException: DB_RUNRECOVERY: Fatal error, run database recovery: DB_RUNRECOVERY: Fatal error, run database recovery
at com.sleepycat.db.internal.db_javaJNI.Db_cursor(Native Method)
at com.sleepycat.db.internal.Db.cursor(Db.java:245)
at com.sleepycat.db.CursorConfig.openCursor(CursorConfig.java:98)
at com.sleepycat.db.Database.openCursor(Database.java:75)
</snip>
What would causes BDB to complain about the page type and why would the page type suddenly change?