segfault in IMAP APPEND with compressed maildir
Roland Rosenfeld
rrosenfeld at netcologne.de
Wed Jun 8 07:13:02 UTC 2016
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 at 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 at example.com): Error: zlib.read(/srv/mailstore/user at example.com/mail/.trash/tmp/1465283884.M336492P22902.imap): unexpected EOF at 88001
> >> Jun 7 09:23:09 imap dovecot: imap(user at example.com): Error: read(zlib(/srv/mailstore/user at example.com/mail/.trash/tmp/1465283884.M336492P22902.imap)) failed: read(/srv/mailstore/user at example.com/mail/.trash/tmp/1465283884.M336492P22902.imap) failed: zlib.read(/srv/mailstore/user at 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 at 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/6bc001ee9dc03cb3107239861867cd674fd321d7
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
More information about the dovecot
mailing list