Re: [Exim] Exim segfaults in daemon mode (daemon.c seems to …

Top Page
Delete this message
Reply to this message
Author: Richard Gration
Date:  
To: exim-users
Subject: Re: [Exim] Exim segfaults in daemon mode (daemon.c seems to be the problem)
> strace -f says
> ==============
> .
> .
> .

<SNIP>
> open("/usr/lib/libdb3.so.3", O_RDONLY)  = 0
> read(0, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\311\0"...,
> 1024) = 1024
> fstat64(0, {st_mode=S_IFREG|0644, st_size=684092, ...}) = 0
> old_mmap(NULL, 687628, PROT_READ|PROT_EXEC, MAP_PRIVATE, 0, 0) = 0x40229000
> mprotect(0x402d0000, 3596, PROT_NONE)   = 0
> old_mmap(0x402d0000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
> 0, 0xa6000) = 0x402d0000
> close(0)                                = 0
> munmap(0x40014000, 41905)               = 0
> --- SIGSEGV (Segmentation fault) ---



Just for the benefit of anyone googling this thread:

It was trying to link against /usr/lib/libdb3.so.3 which is the
previously installed lib - the new one (which exim was using the header
for) was in /usr/local/lib. Solution: rm -f /usr/lib/libdb* (let's see
what else breaks) and then make makefile; make; make install in exim
source dir.

Rick