Bug 219821 - mail/dovecot2: Update to 2.2.30.2 (bugfix to occasional auth process crashing)
Summary: mail/dovecot2: Update to 2.2.30.2 (bugfix to occasional auth process crashing)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Larry Rosenman
URL: https://github.com/dovecot/core/commi...
Keywords: crash, patch, regression
Depends on:
Blocks:
 
Reported: 2017-06-06 13:11 UTC by VK
Modified: 2017-06-06 16:22 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (adamw)
koobs: merge-quarterly?


Attachments
Update dovecot to 2.2.30.2 (1.86 KB, patch)
2017-06-06 15:08 UTC, VK
vlad-fbsd: maintainer-approval? (adamw)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description VK 2017-06-06 13:11:57 UTC
Since the upgrade to 2.2.30.1, I see occasional auth process crashes:

> Jun 06 11:11:27 auth: Panic: file auth-request-handler.c: line 849 (auth_request_handler_flush_failures): assertion failed: (auth_request->state == AUTH_REQUEST_STATE_FINISHED)
> Jun 06 11:11:27 auth: Fatal: master: service(auth): child 76992 killed with signal 6 (core not dumped - set service auth { drop_priv_before_exec=yes })
> Jun 06 11:11:27 imap-login: Info: Disconnected (auth process communication failure): user=<>, method=PLAIN, rip=<CENSORED>, lip=10.0.0.8, TLS, session=<A4jJAEdRlCJbw2cs>

With the kernel logging SIGABRT:

> Jun  6 11:11:27 xoth kernel: pid 76992 (auth), uid 143: exited on signal 6

Also:

> Jun 06 14:07:43 auth: Fatal: master: service(auth): child 84326 killed with signal 11 (core not dumped - set service auth { drop_priv_before_exec=yes })
> Jun 06 14:36:42 auth: Fatal: master: service(auth): child 9104 killed with signal 11 (core not dumped - set service auth { drop_priv_before_exec=yes })

With the kernel logging SIGSEGV on both.

Talking to people in #dovecot on Freenode, it appears to be known issue, and there are similar reports upstream in thread like this:

https://www.dovecot.org/pipermail/dovecot/2017-June/108266.html

So this PR is just a heads-up to the maintainer and a log that it has been noticed happening on FreeBSD too.
Comment 2 VK 2017-06-06 15:08:22 UTC
Created attachment 183265 [details]
Update dovecot to 2.2.30.2

This patch bumps dovecot2 to 2.2.3.20 (and increases portrevision for the antispam plugin and pigeonhole ports). Builds fine with Poudriere on 11.0, amd64. Testing in production now.
Comment 3 Larry Rosenman freebsd_committer freebsd_triage 2017-06-06 16:22:57 UTC
Committed in r442779