[opendmarc-users] OpenDMARC Crash

Marcos marcos_digirati at yahoo.com.br
Thu Jan 17 02:48:42 PST 2013


On 11-12-2012 15:51, Marcos wrote:
> opendmarc[19871]: terminated with signal 6, restarting
> opendmarc[19871]: exited with status 69, restarting

Hi,

I enabled the creation of core dumps in the configuration file. 
Analyzing it with gdb I found this:

#0  0xb789a430 in __kernel_vsyscall ()
#1  0xb770e651 in *__GI___open_catalog (
     cat_name=0x6 <Address 0x6 out of bounds>, nlspath=0xb4cfef68 " ",
     env_var=0x0, catalog=0xb4cfef10) at open_catalog.c:318
#2  0xb7711a82 in __mpn_impn_sqr_n (prodp=0x0, up=0xb7817bd3, 
size=158131768,
     tspace=0x6) at mul_n.c:315
#3  0xb7707718 in _nl_load_locale_from_archive (
     category=<value optimized out>, namep=<value optimized out>)
     at loadarchive.c:228
#4  0x0804ca0a in dmarcf_checkip (ip=0x0, list=0x96cd098) at opendmarc.c:836
#5  0x080517d9 in mlfi_connect (ctx=0xb4d01e18, host=0x9712cb0 "unknown",
     ip=0x0) at opendmarc.c:1551
#6  0xb7865b3f in ?? () from /usr/lib/libmilter.so.1.0.1
#7  0xb7865517 in mi_engine () from /usr/lib/libmilter.so.1.0.1
#8  0xb7869c25 in ?? () from /usr/lib/libmilter.so.1.0.1
#9  0xb784396e in start_thread (arg=0xb4cffb70) at pthread_create.c:300

At the #4 trace is possible to see that "ip" is null, and in the 
opendmarc.c function "dmarcf_checkip" there is an assertion ip != NULL.  
Later, in the function "mlfi_connect" there is an if (ip == NULL). In 
OpenDMARC, NULL is an expected value for "ip"?

Marcos Moraes.


More information about the opendmarc-users mailing list