Stas Bekman wrote:

Stas Bekman wrote:

Chris Hughes wrote:

Basically the test seems to be working (ie. 500 expected and received),
but handling the 500 error kills apache (seems to be a simple dereference
of a null pointer; probably returned from a call of strerror(500)).


Note that on Solaris strerror(500) returns 0x0.  On Linux, it returns
"Unknown error 500".


[...]

Program received signal SIGSEGV, Segmentation fault.
apr_cpystrn (dst=0xefffef58 "ï~ôÌ", src=0x0, dst_size=4026527831)
    at apr_cpystrn.c:57


In fact it's libapr problem. Joe Orton has posted a fix (I've CC'ed you). Thanks for the report and the fix Chris.


Chris, Arshavir, can you please try the current mp2 cvs:
http://perl.apache.org/download/source.html#Development_mod_perl_2_0_Source_Distribution


I've rewritten the error code handling in filters, introducing modperl specific error message for the failing filter handlres (which is even better). So that segfault in libapr will not be triggered.

Stas, the version from cvs worked for me (without Jon's patch). best, Arshavir

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to