[Mimedefang] Slaves dying!

Nels Lindquist nlindq at maei.ca
Thu Nov 27 13:26:09 EST 2003


On 26 Nov 2003 at 17:35, Nels Lindquist wrote:

> > I'm running into an odd problem with MIMEDefang.  A particular thread 
> > from the SA-Talk mailing list is causing slaves to segfault (signal 
> > 11) while all other mail traffic is flowing smoothly.  I've made no 
> > changes to the filter.

Yay, I got a coredump!  It helps to run mimedefang.pl as the defang 
user rather than root.

Anyway:

(gdb startup omitted)
[....]
> #0  0x400b3065 in __mempcpy (dstpp=0x8e20182, srcpp=0xbffff170,
> len=7982) at ../sysdeps/generic/mempcpy.c:57 
> 57      ../sysdeps/generic/mempcpy.c: No such file or directory. 

> (gdb) bt
> #0  0x400b3065 in __mempcpy (dstpp=0x8e20182, srcpp=0xbffff170,
> len=7982) at ../sysdeps/generic/mempcpy.c:57 
> #1  0x400a9d47 in _IO_default_xsputn (f=0x8e1e680, data=0xbffff170,
> n=4294967295) at genops.c:398 
> #2  0x4009a332 in _IO_vfprintf (s=0x8e1e680, format=0x8e1e5c8
> "MDLOG,hAR0MOLh011682,mail_in,,,<spamassassin-talk-admin at lists.sourcefo
> rge.net>,<nlindq at maei.ca>,Re: spamd 90% cpu or higher -- was: RE:
> [SAtalk] Spamassassin hogging 100% CPU time", ap=0xbffff9dc) at
> vfprintf.c:1259 
> #3  0x401023ef in vsyslog (pri=22, fmt=0x8e1e5c8
> "MDLOG,hAR0MOLh011682,mail_in,,,<spamassassin-talk-admin at lists.sourcefo
> rge.net>,<nlindq at maei.ca>,Re: spamd 90% cpu or higher -- was: RE:
> [SAtalk] Spamassassin hogging 100% CPU time", ap=0xbffff9d4) at
> syslog.c:171 
> #4  0x4010224f in syslog (pri=22, fmt=0x8e1e5c8
> "MDLOG,hAR0MOLh011682,mail_in,,,<spamassassin-talk-admin at lists.sourcefo
> rge.net>,<nlindq at maei.ca>,Re: spamd 90% cpu or higher -- was: RE:
> [SAtalk] Spamassassin hogging 100% CPU time") at syslog.c:106 
> #5  0x401c2b37 in XS_Unix__Syslog__isyslog () from
> /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Unix/Syslog/Syslog.so 
> #6  0x80894f8 in Perl_pp_entersub ()
> #7  0x80b49ad in Perl_runops_standard ()
> #8  0x8059338 in perl_run ()
> #9  0x80577e1 in main ()
> #10 0x4006b9cb in __libc_start_main (main=0x8057770 <main>, argc=4,
> argv=0xbffffb64, init=0x8056a94 <_init>, fini=0x80b4a4c <_fini>,
> rtld_fini=0x4000aea0 <_dl_fini>, stack_end=0xbffffb5c) at
> ../sysdeps/generic/libc-start.c:92 

Aha!  Looks like there's something wrong with the md_graphdefang_log 
call, which is executed for all incoming mail.  I temporarily 
commented that section out of my mimedefang-filter, and the messages 
came through just fine!

Is there a problem with the '%' character in the subject, maybe...?

----
Nels Lindquist <*>
Information Systems Manager
Morningstar Air Express Inc.



More information about the MIMEDefang mailing list