[Exim] Silent crashes of 4.40

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Alexander Sabourenkov
Data:  
Para: exim-users
Assunto: [Exim] Silent crashes of 4.40
Hi.

I've been experiencing silent crashes of 4.40.
In all cases a crash has been preceded by

getsockname() failed: Connection reset by peer

line in both main and panic logs.

I suspect that the code at fault is:

(daemon.c, around line 161)

if (getsockname(accept_socket, (struct sockaddr *)(&interface_sockaddr),
      &ifsize) < 0)
   {
   log_write(0, LOG_MAIN|LOG_PANIC, "getsockname() failed: %s",
     strerror(errno));
   smtp_printf("421 Local problem: getsockname() failed; please try again
later\r\n");
   goto ERROR_RETURN;
   }


Given the nature of the error, smtp_printf()-ing anything seems like a very
bad idea.

I've rolled out several instances with the smtp_printf() commented out, but
haven't got any decisive results yet.

--

./lxnt