doveadm index message-decoder assertion failed

Hiromi Kimura hiromi at tac.tsukuba.ac.jp
Wed Nov 5 00:14:38 UTC 2014


cs+dovecot at ctzen.com wrote:

> Hi,
>
> I've setup FTS using lucene and it should be working, the lucene  
> index is updated when mail arrives.
>
> I also managed to reindex my INBOX: doveadm index -u foo -q INBOX
>
> However, when I try to index an Archives folder: doveadm index -u  
> foo -q Archives, the index-work crashed with this log message:
>
> dovecot: indexer-worker(foo): Panic: file message-decoder.c: line  
> 363 (message_decode_body): assertion failed: (ctx->translation_size  
> <= sizeof(ctx->translation_buf))
> dovecot: indexer: Error: Indexer worker disconnected, discarding 1  
> requests for foo
> dovecot: indexer-worker(foo): Fatal: master:  
> service(indexer-worker): child 28730 killed with signal 6 (core  
> dumps disabled)
>
> The Archives folder has 22317 messages.
>
> Please help.
>
>
> dovecot --version
> 2.2.15
>
>
> dovecot -n
> # 2.2.15: /usr/local/etc/dovecot/dovecot.conf
> # OS: FreeBSD 10.0-STABLE i386

Last week, I faced same error on FreeBSD10.0 with solr index setup.
This is a FreeBSD10 specific problem due to iconv library (in libc).
So, solution is install the converters/libiconv package and
recompile dovecot package.
Edit mail/dovecot2/Makefile,
from
  USES=   cpe iconv libtool
to
  USES=   cpe iconv:translit libtool

Hope this helps you.

-=-=-=-=-
Hiromi KIMURA http://www.tac.tsukuba.ac.jp/~hiromi/


More information about the dovecot mailing list