Thanks for reporting this. Turns out it's a bug in test code only. Now fixed here: [](https://sqlite.org/src/info/3c5e63c22ffbfeb6) If you need to run the test suite without these options and you can't update, edit file test/corrupt2.test and change the only occurrence of "010000000" (9 digits) to "01000000" (8 digits). Dan.