charset-iconv.c panic
Timo Sirainen
tss at iki.fi
Tue Sep 8 10:08:46 UTC 2015
> On 08 Sep 2015, at 00:36, Timo Sirainen <tss at iki.fi> wrote:
>
> 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".
Fixed: http://hg.dovecot.org/dovecot-2.2/rev/cb4fcdc716e2
It doesn't seem to happen with newer glibc versions though, at least not in my Debian unstable.
More information about the dovecot
mailing list