doveadm search -u dmiller at amfes.com text xyzxyz doveadm(dmiller at amfes.com): Panic: file istream-limit.c: line 79 (i_stream_limit_seek): assertion failed: (v_offset <= lstream->v_size) doveadm(dmiller at amfes.com): Error: Raw backtrace: /usr/local/lib/dovecot/libdovecot.so.0(+0x3ca8a) [0x7fcf3daaca8a] -> /usr/local/lib/dovecot/libdovecot.so.0(default_fatal_handler+0x32) [0x7fcf3daacb72] -> /usr/local/lib/dovecot/libdovecot.so.0(+0x16dea) [0x7fcf3da86dea] -> /usr/local/lib/dovecot/libdovecot.so.0(+0x45b54) [0x7fcf3dab5b54] -> /usr/local/lib/dovecot/libdovecot.so.0(i_stream_seek+0x6e) [0x7fcf3dab2d8e] -> /usr/local/lib/dovecot/libdovecot-storage.so.0(dbox_attachment_file_get_stream+0x1ca) [0x7fcf3e1e99aa] -> /usr/local/lib/dovecot/libdovecot-storage.so.0(dbox_mail_get_stream+0xea) [0x7fcf3e1eba4a] -> /usr/local/lib/dovecot/libdovecot-storage.so.0(index_storage_search_next_nonblock+0x4c1) [0x7fcf3e1bb0a1] -> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_search_next_nonblock+0x20) [0x7fcf3e1a2110] -> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_search_next+0x26) [0x7fcf3e1a2166] -> doveadm() [0x40cdd7] -> doveadm() [0x4092a4] -> doveadm(doveadm_mail_single_user+0x8c) [0x4095bc] -> doveadm() [0x4097c3] -> doveadm(doveadm_mail_try_run+0x141) [0x409bc1] -> doveadm(main+0x3a9) [0x40df59] -> /lib/libc.so.6(__libc_start_main+0xfe) [0x7fcf3d2ffd8e] -> doveadm() [0x408ba9] Aborted -- Daniel
On Sun, 2011-02-13 at 21:15 -0800, Daniel L. Miller wrote:> doveadm search -u dmiller at amfes.com text xyzxyz > doveadm(dmiller at amfes.com): Panic: file istream-limit.c: line 79 > (i_stream_limit_seek): assertion failed: (v_offset <= lstream->v_size)Can you reproduce this?
On Sun, 2011-02-13 at 21:15 -0800, Daniel L. Miller wrote:> doveadm(dmiller at amfes.com): Panic: file istream-limit.c: line 79 > (i_stream_limit_seek): assertion failed: (v_offset <> lstream->v_size)http://hg.dovecot.org/dovecot-2.0/rev/7705bd04924c removes this crash, but hides the error. http://hg.dovecot.org/dovecot-2.0/rev/c9af551124fb hopefully makes it log an "Ext refs metadata corrupted" error.
On 3/1/2011 11:17 AM, Daniel L. Miller wrote:> Applied patches, then performed a search. got all kinds of fun > feedback...here's a small sampling > > root at bubba:/var/mail/amfes.com/dmiller/mdbox# doveadm search -u > dmiller at amfes.com TEXT xyzxyz > 392b0c265aa1c94cd45100003bc41c5f 10906 > 392b0c265aa1c94cd45100003bc41c5f 10911 > doveadm(dmiller at amfes.com): Error: Corrupted dbox file > /var/mail/amfes.com/dmiller/mdbox/storage/m.2223 (around > offset=36650): Ext refs metadata corrupted: 293271 161935 B76 > 8a/bf/8abf3af65396470c3d39379d922108f9fc46050b-bf22cc2e12ec524dde6c00003bc41c5f > doveadm(dmiller at amfes.com): Error: Corrupted dbox file > /var/mail/amfes.com/dmiller/mdbox/storage/m.2223 (around > offset=36650): uid=12937 points to broken data at offset=36620 > doveadm(dmiller at amfes.com): Warning: mdbox > /var/mail/amfes.com/dmiller/mdbox/storage: rebuilding indexes > > meanwhile, had a "tail -f /var/log/mail.err" running...had a few of > these pop up > Mar 1 11:12:37 bubba dovecot: imap(dmiller at amfes.com): Error: Recent > flags state corrupted for mailbox Lists.Fire-Alarm > Mar 1 11:12:40 bubba dovecot: imap(dmiller at amfes.com): Error: > /var/mail/amfes.com/dmiller/mdbox/mailboxes/Lists/Dovecot-Users/dbox-Mails/dovecot.index > reset, view is now inconsistent >2nd run got similar results. -- Daniel