Re: [Exim] exim -bd segfaut

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Andreas Grabner
Cc: exim-users
Asunto: Re: [Exim] exim -bd segfaut
On Tue, 6 Apr 2004, Andreas Grabner wrote:

> 11:44:09 6469 Exim version 4.31 uid=0 gid=0 pid=6469 D=ffffffff
> Berkeley DB: Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003)
> Support for: iconv() PAM

...

> 11:44:09  6469 ---0 Get 0x80d7c98     8       string.c  349
> 11:44:09  6469 ---0 Get 0x80d7ca0     8       string.c  349
> 11:44:09  6469 originator: uid=0 gid=0 login=root name=root
> 11:44:09  6469 ---0 Get 0x80d7ca8     8       daemon.c  900
> Segmentation Fault


The code that follows the final debug, which refers to line 900 in the
daemon.c module, is code that sorts out the ports and interfaces for the
daemon. So there is presumably some problem in that code, or in the
functions that it calls. The code for finding all the available
interfaces is very system-dependent and has given trouble in the past.

Try:

(1) Set daemon_smtp_ports=25    If that works, the problem is in
translating "smtp" to 25 using the /etc/services file.


(2) Set local_interfaces to your IP address so that Exim doesn't have to
find it for itself. If that works, the problem is in the function that
does the lookup.

(3) If neither of those work, the only way to debug this is to insert a
number of statements of the form

debug_printf("+++ Got here %d\n", __LINE__);

into the code of daemon.c to get some more tracing of which lines of
code it gets to before crashing.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book