auth-policy crashing

James list at xdrv.co.uk
Sat Aug 3 13:57:37 EEST 2019


On 02/08/2019 11:45, James via dovecot wrote:
> My auth process is dumping core.  This happens several times per day but
> dovecot can operate normally for hours between errors.
>
> The crash occurs in src/auth/auth-policy.c, line 356:
>
> t at 1 (l at 1) program terminated by signal SEGV (no mapping at the fault
> address)
> Current function is auth_policy_parse_response
>   356           context->request->policy_refusal = FALSE;


Further tracking shows this sets context->request to NULL:

"src/lib/iostream.c" line 54

         array_foreach(&stream->destroy_callbacks, dc)
             dc->callback(dc->context);


Very occasionally I see:

Aug  3 11:00:35 mailhost dovecot: [ID 702911 mail.crit] auth: Panic: 
file http-client-request.c: line 283 (http_client_request_unref): 
assertion failed: (req->refcount > 0)


Swapping keep-alive on/off changes crashing from very approximately once 
per day to some per hour.  I guess there is some fundamental thread 
clash or keep alive time out clean-up failure.



James.




More information about the dovecot mailing list