Hey,

I'm getting messages exited on signal 6 (core dumped) when doing imap command "a UID SORT (DATE) UTF-8 BODY someword"
message log file
Jan 26 13:57:20 mail dovecot: imap(kristjan.eentsalu@yyy.yy): Panic: file charset-iconv.c: line 87 (charset_to_utf8_try): assertion failed: (srcleft <= CHARSET_MAX_PENDING_BUF_SIZE)
Jan 26 13:57:20 mail dovecot: imap(kristjan.eentsalu@yyy.yy): Fatal: master: service(imap): child 6410 killed with signal 6 (core dumped)


Problem seems to to be with one old mail.


OS: FreeBSD 11.1-RELEASE-p4
Dovecot 2.2.33.2 , pigenhole 0.4.21


trace, conf and email available https://pastebin.com/7X6fZPPd



Kristjan