Re: [Exim] Silent crashes of 4.40

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Heiko Schlichting
Datum:  
To: exim-users
Betreff: Re: [Exim] Silent crashes of 4.40
Philip Hazel wrote:
> This code was introduced in release 4.21 with the following comment:
>
> 28. There was no check for failure on the call to getsockname() in the daemon
>     code. This can fail if there is a shortage of resources on the system, with
>     ENOMEM, for example. A temporary error is now given on failure.


It was introduced in release 4.21 but on a different location in the code.
Starting with 4.40 this code fragment is much earlier and and the file
descriptor smtp_out is unset at this time. Writing to it cause the crash
which never happens before 4.40 but now happens frequently (at least on my
servers) so I consider this problem serious. I wrote a bug report to the
list including a workaround patch. I did this without reading all mails
received on this list today as I was busy using my visual debugger...

Heiko

Heiko Schlichting        | Freie Universität Berlin
heiko@???       | Zentraleinrichtung für Datenverarbeitung (ZEDAT)
Telefon +49 30 838-54327 | Fabeckstraße 32
Telefax +49 30 838454327 | 14195 Berlin