charset-iconv.c panic

Timo Sirainen tss at iki.fi
Mon Sep 7 21:36:12 UTC 2015


On 07/29/2015 04:02 PM, mihaiush wrote:
> Hi,
> 
> I have a mailbox where indexing fails with the following error:
> 
> # /opt/dovecot2/bin/doveadm -c /tmp/dovecot.conf -o
> mail_location=/tmp/skesselring index '*'
> doveadm(root): Panic: file charset-iconv.c: line 132 (charset_to_utf8):
> assertion failed: (*src_size - pos <= CHARSET_MAX_PENDING_BUF_SIZE)

Is it possible for you to send the broken mail to me? Otherwise it would
be pretty difficult to figure out how to fix this.

Also applying this patch would make it a bit clearer where the problem
is: http://hg.dovecot.org/dovecot-2.2/rev/9fdbb3b220ec

>         ctx = {mail = 0x23639b0, update_ctx = 0x2355980, content_type =
> 0x2371540 "text/*", content_disposition = 0x2371fa0 "attachment;
> filename=\"PTT-20141109-WA0001.amr\"", body_parser = 0x23832a0, word_buf =

So the problem is with indexing an attachment called "PTT-20141109
WA0001.amr".


More information about the dovecot mailing list