[Mimedefang] "Deep recursion on subroutine" in MIME::Parser - how to trace?

Royce Williams royce.williams at acsalaska.net
Tue Jan 13 11:44:50 EST 2004


A problem cropped up for me this weekend.  I have slaves consistently dying
with a "Deep recursion on subroutine" error in MIME::Parser:

07:36:20 hermod mimedefang-multiplexor: Slave 15 stderr: Deep recursion 
on subroutine "MIME::Parser::process_part" at 
/usr/local/lib/perl5/site_perl/5.6.1/MIME/Parser.pm line 713, <FILE> 
line 3774.
07:36:20 hermod mimedefang-multiplexor: Slave 15 stderr: Deep recursion 
on subroutine "MIME::Parser::process_part" at 
/usr/local/lib/perl5/site_perl/5.6.1/MIME/Parser.pm line 713.
07:36:22 hermod mimedefang-multiplexor: Slave 15 stderr: Deep recursion 
on subroutine "MIME::Parser::process_multipart" at 
/usr/local/lib/perl5/site_perl/5.6.1/MIME/Parser.pm line 1013, <FILE> 
line 7597.
07:36:22 hermod mimedefang-multiplexor: Slave 15 stderr: Deep recursion 
on subroutine "MIME::Parser::process_message" at 
/usr/local/lib/perl5/site_perl/5.6.1/MIME/Parser.pm line 1021, <FILE> 
line 7662.
07:36:23 hermod mimedefang-multiplexor: Slave 15 stderr: Out of memory!
07:36:23 hermod mimedefang-multiplexor: Slave 15 ran out of memory -- 
possible DoS attack due to complex MIME?
07:36:23 hermod mimedefang-multiplexor: Reap: Idle slave 15 (pid 77873) 
exited normally with status 1 (SLAVE DIED UNEXPECTEDLY)

I'm running MD 2.38 on FreeBSD 4.8 with File::Scan 0.78 and clamav-0.60.

 Does anyone know how else I could try to track this
one down?  I see that Doug Hunley had this problem last year,
but don't see any replies.

http://lists.roaringpenguin.com/pipermail/mimedefang/2002-June/010239.html


-royce




More information about the MIMEDefang mailing list