While running t\SMOKE last night for the ithreads scalar leak issue didn't help with the leak issue itself, it made t\filter\in_bbs_inject_header.t crash Apache 2.0.50/Win32 when the test is run by itself, which I can reproduce manually. As part of the whole sequence, the test succeeds.
Can you revert it to version 1.9? http://cvs.apache.org/viewcvs.cgi/modperl-2.0/t/filter/TestFilter/in_bbs_inject_header.pm and try again?
So I finally decided to set up my own debug builds of Perl and Apache in addition to my normally used AS and ASF binaries. Compiling and installing Perl and Apache worked fine, however when I run "nmake test" of mod_perl CVS, the Apache startup fails early with the following odd error messages. The code pointed to by the messages looks perfectly fine to me.
[...]
C:\Dev\test\perl\bin\perl.exe -Iblib\arch -Iblib\lib t/TEST -clean
C:\Dev\test\perl\bin\perl.exe -Iblib\arch -Iblib\lib t/TEST -bugreport -verbose=0
"my" variable $script masks earlier declaration in same scope at C:\Dev\src\modperl-2.0\t\response\TestApache\subprocess.pm line 64.
That doesn't make sense, it's properly scoped. it must be perl getting confused because of some other unrelated error. What test do you get his error from?
Compilation failed in require at C:/Dev/test/perl/site/lib/Apache/TestConfigPerl.pm line 593.
Can't use global @_ in "my" at C:\Dev\src\modperl-2.0\blib\lib/Apache/XSLoader.pm line 30, near "(@_"
Compilation failed in require at C:\Dev\src\modperl-2.0\blib\lib/Apache/RequestRec.pm line 24.
BEGIN failed--compilation aborted at C:\Dev\src\modperl-2.0\blib\lib/Apache/RequestRec.pm line 24.
Compilation failed in require at C:\Dev\src\modperl-2.0\t\response\TestDirective\perlmodule.pm line 12.
BEGIN failed--compilation aborted at C:\Dev\src\modperl-2.0\t\response\TestDirective\perlmodule.pm line 12.
Compilation failed in require at C:/Dev/test/perl/site/lib/Apache/TestConfigPerl.pm line 593.
Undefined subroutine &Apache::XSLoader::load called at C:\Dev\src\modperl-2.0\blib\lib/Apache/RequestIO.pm line 26.
Compilation failed in require at C:\Dev\src\modperl-2.0\t\response\TestDirective\perlrequire.pm line 15.
BEGIN failed--compilation aborted at C:\Dev\src\modperl-2.0\t\response\TestDirective\perlrequire.pm line 15.
Compilation failed in require at C:/Dev/test/perl/site/lib/Apache/TestConfigPerl.pm line 593.
[...]
and all these? where do they come from?
The builds use the defaults options, only with debugging enabled and the install path set.
BTW, the segfault resolving instructions in /docs/2.0/user/help/help.html are Unix-only, if building Apache with Apache.dsw/"Win32 Debug" and Perl with "CFG=Debug" in the Makefile isn't enough, let me know.
well, a patch that includes information specific to win32 is very welcome. Thanks.
-- __________________________________________________________________ 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
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
