On Thu, 2006-08-03 at 16:17 -0400, Scott Zahn wrote:
Aug 3 15:01:22 lisa dovecot: IMAP(scottz): file index-mail.c: line 105 (index_mail_get_fixed_field): assertion failed: (buffer_get_used_size(buf) == data_size) .. Aug 3 15:01:22 lisa dovecot: IMAP(scottz): file mail-cache-transaction.c: line 709 (mail_cache_add): assertion failed: (fixed_size == (unsigned int)-1 || fixed_size == data_size)
You're right. I should have looked closer at the log entries. I went to my maildir and ran a find . -name "dovecot.index*" -print0 | xargs -0 rm -f, which got rid of all the index files, but left the uidlists alone. That worked. The 64 bit dovecot is now running fine. So I guess we know that a 32 bit and a 64 bit dovecot can't both use the same mail store.
Doesn't the dovecot front page talk about sanity checks being done to prevent this kind of stuff? This makes dovecot seem brittle. Anyway, thanks for the help.
I thought I fixed this already before rc2. But looking at the second error it might have been because of another bug, which was fixed in rc3.