-------------8<---------- Start Bug Report ------------8<---------- 1. Problem Description:
make test fails on one of the tests -
t/filter/in_error.......................malformed response at /usr/local/apache2/build/mod_perl-1.99_16/blib/lib/Apache/TestClient.pm line 102.
t/filter/in_error.......................NOK 1# Failed test 1 in t/filter/in_error.t at line 13
t/filter/in_error.......................FAILED test 1 Failed 1/1 tests, 0.00% okay
Arshavir, your report lacks the error_log part, please check again: http://perl.apache.org/docs/2.0/user/help/help.html#_C_make_test___Failures
> (gdb) bt > #0 apr_cpystrn (dst=0xffbef010 "", src=0x0, dst_size=4290703375) > at apr_cpystrn.c:57 > #1 0xff1d4c4c in stuffbuffer (buf=0xffbeef10 "", bufsize=256, s=0x0) > at errorcodes.c:34 > #2 0xfee074f0 in modperl_error_strerror (rc=500) at modperl_error.c:37 > #3 0xfe990c90 in XS_APR__Error_strerror (cv=0x1f4) at Error.xs:36
It looks like a bug in apr, and not modperl. But for some reason the backtrace missing frame (may be they were optimized away). could you possibly break at apr_strerror and see which of the following branches it took before reaching apr_cpystrn()?
errorcodes.c:
APR_DECLARE(char *) apr_strerror(apr_status_t statcode, char *buf,
apr_size_t bufsize)
{
if (statcode < APR_OS_START_ERROR) {
return native_strerror(statcode, buf, bufsize);
}
else if (statcode < APR_OS_START_USERERR) {
return stuffbuffer(buf, bufsize, apr_error_string(statcode));
}
else if (statcode < APR_OS_START_EAIERR) {
return stuffbuffer(buf, bufsize, "APR does not understand this error code");
}
else if (statcode < APR_OS_START_SYSERR) {
#if defined(HAVE_GAI_STRERROR)
statcode -= APR_OS_START_EAIERR;
#if defined(NEGATIVE_EAI)
statcode = -statcode;
#endif
return stuffbuffer(buf, bufsize, gai_strerror(statcode));
#else
return stuffbuffer(buf, bufsize, "APR does not understand this error code");
#endif
}
else {
return apr_os_strerror(buf, bufsize, statcode - APR_OS_START_SYSERR);
}
}
On a different note, for some very odd reason, sometimes the httpd process does not start for testing and other times it does.
I have tried the compilation several times with exact same parameters, and I still cannot pinpoint a reason why that happens.
Could this be the reason? http://perl.apache.org/docs/2.0/user/troubleshooting/troubleshooting.html#Server_Hanging_at_the_Startup
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- 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