Comment 1 by Thomas Keller, Nov 28, 2011
I had a look at the database and it seems to be very badly broken, unfortunately. This is a case of brokeness that I have seen only very, very rarely for the past 5 years I worked on this project. The underlying problem sqlite reports is SQLITE_CORRUPT or "The database disk image is malformed", i.e. one or more tables crashed (revisions, revision_certs, roster_deltas, file_deltas and possibly a few others as well). While its not completly impossible that this kind of data corruption could have been introduced through monotone or even sqlite (they have a rather good consistency record actually), its more likely that some faulty hardware or software system caused this problem. In the past databases that were hosted on network drives were blamed in similar cases, but this is hard to guess in your specific case. Can you give us more information about your setup? Is this a problem that you could reproduce somehow or do you remember the last steps you did before the database went corrupt? Thanks, Thomas.
Comment 2 by Dirk Heinrichs, Dec 1, 2011
Yes, it indeed resides on a network filesystem (OpenAFS). However, there's never been any concurrent access by different users. And no, unfortunately I cannot remember what I did last with these database, maybe I ran db migrate after upgrade to monotone 1.0... Bye... Dirk
Comment 3 by Thomas Keller, Dec 2, 2011
Network filesystems usually cause this by nature even if no concurrent access happens to the database file. We usually urge everybody to not host monotone databases on network drives or at least have regular backups handy if its not possible to store the database on a non-network drive.
Status:
WontFix
Sign in to reply to this comment.
Reported by Dirk Heinrichs, Nov 20, 2011