<div dir="ltr">I've just enabled core dumps on the involved FreeBSD system. Let's see if it dumps something..</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno dom 20 gen 2019 alle ore 19:16 Stephan Bosch <<a href="mailto:stephan@rename-it.nl">stephan@rename-it.nl</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Giacomo,<br>
<br>
Op 21/12/2018 om 16:16 schreef Giacomo:<br>
> The bug happens not very often, it might need a week to get a core file.<br>
<br>
Any luck getting a core file?<br>
<br>
Regards,<br>
<br>
Stephan.<br>
><br>
><br>
> Il giorno ven 21 dic 2018 alle ore 15:18 Aki Tuomi <br>
> <<a href="mailto:aki.tuomi@open-xchange.com" target="_blank">aki.tuomi@open-xchange.com</a> <mailto:<a href="mailto:aki.tuomi@open-xchange.com" target="_blank">aki.tuomi@open-xchange.com</a>>> ha <br>
> scritto:<br>
><br>
><br>
> On 21.12.2018 14.49, Giacomo wrote:<br>
> > I'm running the following:<br>
> ><br>
> > # 2.3.4 (0ecbaf23d): /usr/local/etc/dovecot/dovecot.conf<br>
> > # OS: FreeBSD 11.2-RELEASE-p4 amd64<br>
> > # FS: ZFS<br>
> ><br>
> > auth_mechanisms = plain login<br>
> > auth_username_format = %Ln<br>
> > listen = *<br>
> > mail_location = maildir:~/Maildir<br>
> > namespace inbox {<br>
> > inbox = yes<br>
> > location =<br>
> > mailbox Drafts {<br>
> > auto = subscribe<br>
> > special_use = \Drafts<br>
> > }<br>
> > mailbox Junk {<br>
> > auto = subscribe<br>
> > special_use = \Junk<br>
> > }<br>
> > mailbox Sent {<br>
> > special_use = \Sent<br>
> > }<br>
> > mailbox Trash {<br>
> > auto = subscribe<br>
> > special_use = \Trash<br>
> > }<br>
> > prefix =<br>
> > }<br>
> > passdb {<br>
> > driver = pam<br>
> > }<br>
> > protocols = imap lmtp<br>
> > service auth {<br>
> > unix_listener /var/spool/postfix/private/auth {<br>
> > group = postfix<br>
> > mode = 0666<br>
> > user = postfix<br>
> > }<br>
> > user = dovecot<br>
> > }<br>
> > service imap-login {<br>
> > inet_listener imap {<br>
> > port = 0<br>
> > }<br>
> > }<br>
> > service lmtp {<br>
> > unix_listener /var/spool/postfix/private/dovecot-lmtp {<br>
> > group = postfix<br>
> > mode = 0600<br>
> > user = postfix<br>
> > }<br>
> > }<br>
> > service stats {<br>
> > unix_listener stats-reader {<br>
> > group =<br>
> > mode = 0600<br>
> > user =<br>
> > }<br>
> > unix_listener stats-writer {<br>
> > group = $default_internal_group<br>
> > mode = 0666<br>
> > user =<br>
> > }<br>
> > user = $default_internal_user<br>
> > }<br>
> > ssl_cert = </root/cert.pem<br>
> > ssl_key = # hidden, use -P to show it<br>
> > userdb {<br>
> > driver = passwd<br>
> > }<br>
> ><br>
> > dmesg shows:<br>
> ><br>
> > pid 74441 (imap), uid 1002: exited on signal 6<br>
> > pid 74784 (imap), uid 1002: exited on signal 6<br>
> > pid 21471 (imap), uid 1002: exited on signal 6<br>
> > pid 21470 (imap), uid 1002: exited on signal 6<br>
> > pid 21464 (imap), uid 1002: exited on signal 6<br>
> > pid 21731 (imap), uid 1002: exited on signal 6<br>
> ><br>
> > Sometimes the dovecot process serving an user crashes. He runs<br>
> mostly<br>
> > airmail on macOS and samsung mail on Android.<br>
> ><br>
> > Happens only to that particular user.<br>
> ><br>
> > The log shows the following: (maillog)<br>
> ><br>
> > Dec 16 14:52:35 mail dovecot: imap-login: Login: user=<USER>,<br>
> > method=PLAIN, rip=79.12.201.157, lip=192.168.1.28, mpid=74779, TLS,<br>
> > session=<wMQI+iN9VtRPDMmd><br>
> > Dec 16 14:52:39 mail dovecot: imap(USER)<74441><nLa+7SN9+fhPDMmd>:<br>
> > Panic: file charset-iconv.c: line 83 (charset_to_utf8_try):<br>
> assertion<br>
> > failed: (srcleft <= CHARSET_MAX_PENDING_BUF_SIZE)<br>
> > Dec 16 14:52:39 mail dovecot: imap(USER)<74441><nLa+7SN9+fhPDMmd>:<br>
> > Fatal: master: service(imap): child 74441 killed with signal 6 (core<br>
> > not dumped - <a href="https://dovecot.org/bugreport.html#coredumps" rel="noreferrer" target="_blank">https://dovecot.org/bugreport.html#coredumps</a> - set<br>
> > service imap { drop_priv_before_exec=yes })<br>
> ><br>
> > I'm here if more info is needed.<br>
> ><br>
> > Thanks for taking a look.<br>
><br>
><br>
> Can you somehow get a core file and get backtrace from it?<br>
><br>
><br>
> Aki<br>
><br>
<br>
</blockquote></div>