On Monday 18 May 2009 00:58:40 Timo Sirainen wrote:
On Wed, 2009-05-06 at 13:16 +0200, Stefan Roese wrote:
I'm experiencing a problem with some mails in deliver. Here the logged error message:
deliver(stefan@roese.nl): 2009-05-06 11:57:36 Panic: file index-mail-headers.c: line 141 (index_mail_parse_header_finish): assertion failed: ((match[match_idx] & HEADER_MATCH_FLAG_FOUND) == 0)
Hmm. Interesting. That code has existed a long time and used also by IMAP, so I'd think it should have been bugfree..
I upgraded to 1.1.14 a few days ago and the error still occurs.
[0xb7fdf98f] -> /usr/lib/dovecot/deliver(mail_get_headers_utf8+0x25) [0xb7fe7315] -> /usr/lib/dovecot/modules/lda/lib90_cmusieve_plugin.so
You have a Sieve script that does something with headers. What does it look like?
Please find it attached.
Can you reproduce this? For example does it always crash with some specific mail? If so, I'd like to get a copy of that mail.
It happens on some mails from the Linux mailing lists (xxx.vger.kernel.org). I already created a wrapper script to deliver so that those mails don't bounce. Unfortunately I didn't extract such failing mails till now. I'll try to provide one in the next few days.
Thanks.
Best regards, Stefan