[Mimedefang] Frequent signal 11 crashes

Mișu Moldovan dumol at gnome.ro
Thu Oct 9 05:11:51 EDT 2008


În data de Mi, 08-10-2008 la 16:14 -0400, David F. Skoll a scris:
> 
> #0  0xb7e97028 in strcoll_l () from /lib/libc.so.6
> #1  0x0804cef5 in rcptto (ctx=0x805f740, to=0x805f588) at ./mimedefang.c:1046
> 
> 
> mimedefang.c:1046    rcpt_mailer = smfi_getsymval(ctx, "{rcpt_mailer}");
> 
> (That's in MIMEDefang 2.65)
> 
> I really have no clue what's happening.  Could libmilter somehow be corrupt?

I've recompiled the MIMEDefang 2.64 from Gentoo with an unstripped
libmilter 8.14.2 and I get a more interesting backtrace:

Core was generated by `/usr/bin/mimedefang
-P /var/spool/MIMEDefang/mimedefang.pid -R -1 -m /var/spool'.
Program terminated with signal 11, Segmentation fault.
#0  0xb7e12028 in strcmp () from /lib/libc.so.6
(gdb) bt
#0  0xb7e12028 in strcmp () from /lib/libc.so.6
#1  0x08051678 in smfi_getsymval (ctx=0x805e7c8, symname=0x8054ea3 "_")
at smfi.c:825
#2  0x0804b1b9 in append_macro_value (dbuf=0xb6d692e0, ctx=0x805e7c8,
macro=0x8054ea3 "_") at ./mimedefang.c:2519
#3  0x0804d473 in envfrom (ctx=0x805e7c8, from=0x805e660)
at ./mimedefang.c:833
#4  0x0805326c in st_sender (g=0xb6d6e364) at engine.c:1276
#5  0x08054185 in mi_engine (ctx=0x805e7c8) at engine.c:404
#6  0x08051474 in mi_handle_session (ctx=0x805e7c8) at handler.c:45
#7  0x08050241 in mi_thread_handle_wrapper (arg=0x805e7c8) at
listener.c:579
#8  0xb7ef217b in ?? () from /lib/libpthread.so.0
#9  0x0805e7c8 in ?? ()

The new core and binary are available at http://dumol.ath.cx/mimedefang
and the test that trigger the crash was simply a repeated 

echo "just a test" | mail -s "Crash test" postmaster

from the shell of the machine running the Axigen 6.1.0 mail server with
MIMEDefang 2.64 as a milter filter. As I said, it's not 100%
reproducible, it crashed on the third run, the first two mails were
processed just fine. Please let me know if there is need for more info.

Thank you,

-- 
mișu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Aceast fragment din mesaj este semnat digital
URL: <https://lists.mimedefang.org/pipermail/mimedefang_lists.mimedefang.org/attachments/20081009/5adee4d3/attachment.sig>


More information about the MIMEDefang mailing list