[exim] Re: SIGSEGV in panic log

Página Inicial
Delete this message
Reply to this message
Autor: Lena--- via Exim-users
Data:  
Para: exim-users
Assunto: [exim] Re: SIGSEGV in panic log
> - can you set up for a core dump,

Under FreeBSD:
sysctl kern.sugid_coredump=1

> and get a stack trace?


One of ways:

pkg install gdb

Add to /etc/make.conf :

.if ${.CURDIR} == ${PORTSDIR}/mail/exim
CFLAGS+= -g -O0 -ggdb
.endif

> - are you able to compile from source?


One of ways to compile under FreeBSD:

cd /usr/ports/mail/exim
make clean patch
cd work/exim-4.97.1/src
...(change the source)
cd /usr/ports/mail/exim
make all deinstall reinstall

(when the segfault happens)
gdb -c /.../exim.core /usr/local/sbin/exim

I'm not sure, please correct me if I'm wrong.

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/