httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: Test build w/ Perl glue for CGI
Date Fri, 16 Apr 2004 21:40:51 GMT
Joe Schaefer wrote:
> Stas Bekman <> writes:
>>Joe Schaefer wrote:
>>>Geoffrey Young <> writes:
>>>>Joe Schaefer wrote:
>>>>>The strange thing is that the test script
>>>>>at glue/perl/t/cgi-bin/ seems
>>>>>to work fine on Debian when I run it from the command line, but the
>>>>>Apache::Test test suite hangs after completing the first 7 tests
>>>>I see the same thing, no ideas though.
>>>>btw, the script has a hard-coded perl for your system in
>>>>it. I'd suggest using t_write_perl_script() for the generation of all
>>>>cgi scripts (not just this one).  patch for this one only attached.
>>>Thanks!  A patched package is available at
>>>Folks, please try this one.  If we can't figure out why
>>>the cgi tests are hanging, maybe we should just skip
>>>tests 8-31 for now and commit the test script (glue/perl/t/cgi.t)
>>>to cvs.
>>Give it some time to timeout, it's not 8-31 that fail. It fails on 8th (15
>>keys), but succeeds on 9th (26 keys) and next time it hangs on 14th, etc.
>>The error is:
>>[Fri Apr 16 12:40:24 2004] [error] [client] Premature end of script
>>Sounds like a buggy code. I didn't dig into it.
> That's hard to believe, since it's the exact same test script from env/t.
> To eliminate the timeouts I commented out all the apreq_log calls in the
> generated cgi script (whatever bug that now avoids isn't a problem with 
> Apache::Request). It runs to completion, but fails the final cookie
> tests 27-31 because some modperl symbols are missing from APR::Table.
> The error log for the failed cookie tests now yields
>   relocation error: /home/joe/lib/perl5/site_perl/5.9.0/x86_64-linux-thread-multi-ld/Apache2/auto/APR/Table/
undefined symbol: modperl_hash_tied_object

That means that something is trying to load APR::Table w/o being 

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

View raw message