perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Wichitill <ma...@gmx.de>
Subject Re: [mp2] t\filter\in_bbs_inject_header.t crashes when run alone
Date Sun, 15 Aug 2004 20:05:37 GMT
Stas Bekman wrote:
> Markus Wichitill wrote:
>> 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?
> and try again?

Still crashes. Not always though, it's random (with both revs).

>> 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.
>>
>> [...]
> 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?
> 
> and all these? where do they come from?

The whole block is from the startup phase, before any tests are run. Full 
output:

C:\Dev\src\modperl-2.0-test>nmake test

Microsoft (R) Program Maintenance Utility   Version 6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

         cd "src/modules/perl" && nmake -f Makefile.modperl

Microsoft (R) Program Maintenance Utility   Version 6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

         cd "xs\APR\aprext" && nmake all -nologo 
PERL="c:\dev\test\perl\bin\perl.exe" DEFINE="-DMP_HAVE_APR_LIBS" LINKTYP
E="static"
         c:\dev\test\perl\bin\perl.exe -MExtUtils::Command -e cp bin/mp2doc 
blib\script\mp2doc
         pl2bat.bat blib\script\mp2doc
         c:\dev\test\perl\bin\perl.exe -MExtUtils::Command -e cp bin/mp2bug 
blib\script\mp2bug
         pl2bat.bat blib\script\mp2bug
         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-test\t\response\TestApache\subpr
ocess.pm line 64.
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-test\blib\lib/Apache/XSLoader.pm line 30, near "(@_"
Compilation failed in require at 
C:\Dev\src\modperl-2.0-test\blib\lib/Apache/RequestRec.pm line 24.
BEGIN failed--compilation aborted at 
C:\Dev\src\modperl-2.0-test\blib\lib/Apache/RequestRec.pm line 24.
Compilation failed in require at 
C:\Dev\src\modperl-2.0-test\t\response\TestDirective\perlmodule.pm line 12.
BEGIN failed--compilation aborted at 
C:\Dev\src\modperl-2.0-test\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-test\blib\lib/Apache/RequestIO.pm line 26.

Compilation failed in require at 
C:\Dev\src\modperl-2.0-test\t\response\TestDirective\perlrequire.pm line 15.
BEGIN failed--compilation aborted at 
C:\Dev\src\modperl-2.0-test\t\response\TestDirective\perlrequire.pm line 15.
Compilation failed in require at 
C:/Dev/test/perl/site/lib/Apache/TestConfigPerl.pm line 593.
C:\dev\test\apache2\bin\Apache.EXE -d C:/Dev/src/modperl-2.0-test/t -f 
C:/Dev/src/modperl-2.0-test/t/conf/httpd.conf -D
APACHE2 -D PERL_USEITHREADS
using Apache/2.0.50 (winnt MPM)

waiting 300 seconds for server to start: ...[Sun Aug 15 21:56:45 2004] 
[info] 26 Apache:: modules loaded
[Sun Aug 15 21:56:45 2004] [info] 7 APR:: modules loaded
[Sun Aug 15 21:56:45 2004] [info] base server + 21 vhosts ready to run tests
[Sun Aug 15 21:56:45 2004] [error] Can't locate 
ApacheTest/PerlRequireTest.pm in @INC (@INC contains: C:\\Dev\\src\\modp
erl-2.0-test\\t\\response C:\\Dev\\src\\modperl-2.0-test\\t\\protocol 
C:\\Dev\\src\\modperl-2.0-test\\t\\preconnection C
:\\Dev\\src\\modperl-2.0-test\\t\\hooks 
C:\\Dev\\src\\modperl-2.0-test\\t\\filter C:\\Dev\\src\\modperl-2.0-test\\blib\\
lib C:\\Dev\\src\\modperl-2.0-test\\blib\\arch C:/Dev/src/modperl-2.0-test/t 
C:/Dev/src/modperl-2.0-test/t/htdocs/testdi
rective/perlmodule-vh 
C:/Dev/src/modperl-2.0-test/t/htdocs/testdirective/main C:/Dev/test/perl/lib 
C:/Dev/test/perl/site
/lib C:/Dev/src/modperl-2.0-test/t/ C:/Dev/src/modperl-2.0-test/t/lib/perl) 
at (eval 24) line 1.\n
[Sun Aug 15 21:56:45 2004] [error] Can't load Perl file: 
ApacheTest/PerlRequireTest.pm for server localhost:8529, exitin
g...
Note the errors or messages above, and press the <ESC> key to exit.  11....


ESC doesn't exit BTW, have to kill the console.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message