The database is built from the *1 files in the fids directory: it shouldn't be possible to have it crash there unless there's underlying filesystem corruption. If you ever see this again, it'd be useful to tar up the *1 files and send them to us so we can try and replicate the problem here.

Saying that, we've only ever seen it on an old software release (pre-shipping) which wasn't running fsck when it should have been - in combination with power fail interrupting a download.

Hugo