doveadm search -u dmiller@amfes.com text xyzxyz doveadm(dmiller@amfes.com): Panic: file istream-limit.c: line 79 (i_stream_limit_seek): assertion failed: (v_offset <= lstream->v_size) doveadm(dmiller@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@amfes.com text xyzxyz doveadm(dmiller@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 2/14/2011 2:29 AM, Timo Sirainen wrote:
On Sun, 2011-02-13 at 21:15 -0800, Daniel L. Miller wrote:
doveadm search -u dmiller@amfes.com text xyzxyz doveadm(dmiller@amfes.com): Panic: file istream-limit.c: line 79 (i_stream_limit_seek): assertion failed: (v_offset<= lstream->v_size) Can you reproduce this?
Yup. Every time I run it against one of the mailboxes that reports an error with attachment size.
Running against one of my mailboxes that is clean gives no error - but I don't see fts indexes being generated. I have included fts and fts_squat in imap plugins and have fts_squat listed in plugins.
-- Daniel
On 14.2.2011, at 17.23, Daniel L. Miller wrote:
On 2/14/2011 2:29 AM, Timo Sirainen wrote:
On Sun, 2011-02-13 at 21:15 -0800, Daniel L. Miller wrote:
doveadm search -u dmiller@amfes.com text xyzxyz doveadm(dmiller@amfes.com): Panic: file istream-limit.c: line 79 (i_stream_limit_seek): assertion failed: (v_offset<= lstream->v_size) Can you reproduce this?
Yup. Every time I run it against one of the mailboxes that reports an error with attachment size.
I guess it's such a mailbox that you can't send to me so I could reproduce it? Anyway, get a copy of it so it won't get lost and I could debug it later by sending some debug patches.
On Sun, 2011-02-13 at 21:15 -0800, Daniel L. Miller wrote:
doveadm(dmiller@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 2/16/2011 11:35 PM, Timo Sirainen wrote:
On Sun, 2011-02-13 at 21:15 -0800, Daniel L. Miller wrote:
doveadm(dmiller@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.
Applied patches, then performed a search. got all kinds of fun feedback...here's a small sampling
root@bubba:/var/mail/amfes.com/dmiller/mdbox# doveadm search -u dmiller@amfes.com TEXT xyzxyz 392b0c265aa1c94cd45100003bc41c5f 10906 392b0c265aa1c94cd45100003bc41c5f 10911 doveadm(dmiller@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@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@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@amfes.com): Error: Recent flags state corrupted for mailbox Lists.Fire-Alarm Mar 1 11:12:40 bubba dovecot: imap(dmiller@amfes.com): Error: /var/mail/amfes.com/dmiller/mdbox/mailboxes/Lists/Dovecot-Users/dbox-Mails/dovecot.index reset, view is now inconsistent
-- Daniel
participants (2)
-
Daniel L. Miller
-
Timo Sirainen