Hi Aki!
On Tue, 07 Jun 2016, Aki Tuomi wrote:
After upgrading from Debian wheezy with (self compiled) dovecot 2.2.15 to Debian jessie with (self compiled) 2.2.24, I observe the following segmentation fault in the logs:
Jun 7 09:23:09 imap dovecot: imap(user@example.com): Error: read(<imap client>) failed: read(size=8003) failed: Connection reset by peer (uid=0, box=trash) Jun 7 09:23:09 imap dovecot: imap(user@example.com): Error: zlib.read(/srv/mailstore/user@example.com/mail/.trash/tmp/1465283884.M336492P22902.imap): unexpected EOF at 88001 Jun 7 09:23:09 imap dovecot: imap(user@example.com): Error: read(zlib(/srv/mailstore/user@example.com/mail/.trash/tmp/1465283884.M336492P22902.imap)) failed: read(/srv/mailstore/user@example.com/mail/.trash/tmp/1465283884.M336492P22902.imap) failed: zlib.read(/srv/mailstore/user@example.com/mail/.trash/tmp/1465283884.M336492P22902.imap): unexpected EOF at 88001 (uid=0, box=trash) Jun 7 09:23:09 imap dovecot: imap(user@example.com): Fatal: master: service(imap): child 22902 killed with signal 11 (core dumped)
We also observed the same (rare) error in the past on the old system. But on the old system, there were only the first 3 lines without the segmentation fault, so we ignored the issue until now.
Sorry I mean https://github.com/dovecot/core/commit/6bc001ee9dc03cb3107239861867cd674fd32...
Many thanks! This really fixed the Segfault. After applying this patch on 2.2.24, the Segfault disappeared while the above Error messages stayed (as known from 2.2.15).
Tschoeeee
Roland