Re: A Xapian exception occurred adding message: Ran off end of freelist (71890, 244).

Subject: Re: A Xapian exception occurred adding message: Ran off end of freelist (71890, 244).

Date: Tue, 4 Feb 2025 17:18:33 +0100

To: David Bremner

Cc: notmuch@notmuchmail.org

From: Andrej Alberstejn


On Tue, Feb 4, 2025 at 4:23 PM David Bremner <david@tethera.net> wrote:
>
> Andrey Albershteyn <aalbersh@redhat.com> writes:
>
>
> > Any guesses what could be the reason? The failure of 'notmuch new'
> > suggests to me that it's not just corrupted database.
> >
>
> Hmm. Why not? At least initially it looks like a corrupted database to
> me.
>
> > Is there way to check and repair the database by the way?
> >
>
> You can at least check it with xapian-check; it can apparently only
> repair the older chert format

hmm, doesn't seem to do anything. Using F flag to repair also shows this error

$ xapian-check ~/.mail/gmail/inbox/.notmuch/xapian"
docdata:
blocksize=8K items=2 firstunused=3 revision=6741471 levels=0 root=2
B-tree checked okay
docdata table structure checked OK

termlist:
blocksize=8K items=310042 firstunused=74053 revision=6741471 levels=2 root=72342
xapian-check: DatabaseCorruptError: Block overwritten - run
xapian-check on this database

Any other thoughts?

_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: