Leo,

> > The main suspect is Compress-Raw-Zlib, as it uses C code,
> > although I don't see anything suspicious in its Changes file.
>
> You were right!
> I tracked down the problem using the valgrind memory debugger.
>
> It's a buffer overflow in Compress::Raw::Zlib that shippes with perl (at
> least with perl-5.10.0 that's part of Fedora 10 and perl-5.8.8 that
> comes with Redhat Enterprise Linux 5).
>
> This buffer overflow has been fixed in Compress-Raw-Zlib 2.017 so
> upgrading this module should help.
>
> P.S.: The following changes between 2.015 and 2.017 fix the problem.
> Note the "+ 1" on buffer allocation...

Great job! Congratulations on solving the mystery and thank you for
your perseverance on tracking down the process hangs!

The Compress-Raw-Zlib version 2.017 is from 28 March 2009.
Its changelog does mention a core dumping issue when LimitOutput was
used, although I don't see any use of LimitOutput in either the Compress::Zlib
or Archive::Zip, so I guess the problem had a wider impact than documented.

Btw, I believe the FreeBSD users stand a good chance their Compress-Raw-Zlib 
is more recent than what is included with Perl 5.10, as amavisd-new port
makes a dependency on p5-Archive-Zip, which in turn depends on
p5-Compress-Zlib and p5-Compress-Raw-Zlib from ports, not from perl
core modules.

  Mark

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to