doveadm index assertion failed

Timo Sirainen tss at iki.fi
Tue Oct 13 18:50:49 UTC 2015


On 05 Oct 2015, at 22:05, Nick Rosier <nick+dovecot at bunbun.be> wrote:
> 
> Hi,
> 
> one of my mailboxes returns following error when I run doveadm index on it:
> 
> Panic: file charset-iconv.c: line 85 (charset_to_utf8_try): assertion failed: (srcleft <= CHARSET_MAX_PENDING_BUF_SIZE)
> 
> OS: FreeBSD 10.2
> Dovecot: 2.1.19
> Tika: 1.10
> SOLR: 5.3.1

I thought this would have definitely been fixed by now.. Can you find some specific email which is triggering this? It's either something strange that I didn't expect, or it's a bug in FreeBSD's iconv().

Also can you debug this like:

gdb --args doveadm index -u user at domain INBOX
run
<it should crash now>
f 5
p src
p ic_srcbuf
p *src_size
p srcleft



More information about the dovecot mailing list