It has been an extremely strange week for database corruption and extremely complicated bugs. I'm going to have to move "try PRAGMA integrity_check" up a few notches in future. Although, as Richard comments, one of the reports was of corruption that integrity_check didn't spot.
Simon.