[exim] Re: SIGSEGV in panic log

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Lena--- via Exim-users
Date:  
À: exim-users
Sujet: [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/