I've completed my mailbox rebuild - theoretically I should be free of corruption. I used dsync to export from mdbox to maildir (so should be clean) then used a virtual machine with Dovecot to import back to mdbox in another location. So...theoretically I should be free of all corruption now... Running an fts update - "doveadm search text -u user at domain.com xyzzyx" works on some users - other mailboxes crash with: doveadm(dmiller at amfes.com): Panic: file squat-trie.c: line 876 (squat_build_word): assertion failed: (i + bytelen <= size) doveadm(dmiller at amfes.com): Error: Raw backtrace: /usr/local/lib/dovecot/libdovecot.so.0(+0x3ccca) [0x7ffee92b6cca] -> /usr/local/lib/dovecot/libdovecot.so.0(default_fatal_handler+0x32) [0x7ffee92b6db2] -> /usr/local/lib/dovecot/libdovecot.so.0(+0x16dda) [0x7ffee9290dda] -> /usr/local/lib/dovecot/lib21_fts_squat_plugin.so(+0x5bbd) [0x7ffee6607bbd] -> /usr/local/lib/dovecot/lib21_fts_squat_plugin.so(squat_trie_build_more+0x153) [0x7ffee6607d13] -> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x59bc) [0x7ffee68159bc] -> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_search_next_nonblock+0x20) [0x7ffee99ac180] -> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_search_next+0x26) [0x7ffee99ac1d6] -> doveadm() [0x40ce47] -> doveadm() [0x409304] -> doveadm(doveadm_mail_single_user+0x8c) [0x40961c] -> doveadm() [0x409817] -> doveadm(doveadm_mail_try_run+0x141) [0x409c31] -> doveadm(main+0x3b1) [0x40dfd1] -> /lib/libc.so.6(__libc_start_main+0xfe) [0x7ffee8b09d8e] -> doveadm() [0x408c09] Aborted -- Daniel
On 5/21/2011 8:04 PM, Daniel L. Miller wrote:> I've completed my mailbox rebuild - theoretically I should be free of > corruption. I used dsync to export from mdbox to maildir (so should > be clean) then used a virtual machine with Dovecot to import back to > mdbox in another location. So...theoretically I should be free of all > corruption now... >Perhaps I spoke too soon... May 21 20:13:38 bubba dovecot: imap(emiller at amfes.com): Error: FETCH [] for mailbox INBOX UID 1274 got too little data: 4443 vs 5253 May 21 20:13:38 bubba dovecot: imap(emiller at amfes.com): Error: Corrupted index cache file /var/mail/amfes.com/emiller/mdbox/mailboxes/INBOX/dbox-Mails/dovecot.index.cache: Broken virtual size for mail UID 1274 May 21 20:13:38 bubba dovecot: imap(emiller at amfes.com): Disconnected: FETCH failed bytes=103/5395 -- Daniel
On 5/21/2011 8:17 PM, Daniel L. Miller wrote:> On 5/21/2011 8:04 PM, Daniel L. Miller wrote: >> I've completed my mailbox rebuild - theoretically I should be free of >> corruption. I used dsync to export from mdbox to maildir (so should >> be clean) then used a virtual machine with Dovecot to import back to >> mdbox in another location. So...theoretically I should be free of >> all corruption now... >> > Perhaps I spoke too soon... > > May 21 20:13:38 bubba dovecot: imap(emiller at amfes.com): Error: FETCH > [] for mailbox INBOX UID 1274 got too little data: 4443 vs 5253 > May 21 20:13:38 bubba dovecot: imap(emiller at amfes.com): Error: > Corrupted index cache file > /var/mail/amfes.com/emiller/mdbox/mailboxes/INBOX/dbox-Mails/dovecot.index.cache: > Broken virtual size for mail UID 1274 > May 21 20:13:38 bubba dovecot: imap(emiller at amfes.com): Disconnected: > FETCH failed bytes=103/5395 > >Note that the above logged error appears from a MUA accessing the mailbox - no log entries from a doveadm search text command. -- Daniel