No, the name is mod_fastcgi.c. With this the patch works and all tests pass.
While under suse I ran make test (without the patch). The server didn't die when testing hooks/hookrun.t, like under win32, and there are another two tests failing: t/hooks/stacked_handlers2...............request has failed (the response code was: 500) see t/logs/error_log for more details t/hooks/stacked_handlers2...............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay t/user/rewrite..........................request has failed (the response code was: 500) see t/logs/error_log for more details t/user/rewrite..........................dubious Test returned status 255 (wstat 65280, 0xff00) These are the verbose results: t/hooks/hookrun..............# connecting to localhost:8548 1..10 # Running under perl version 5.008003 for linux # Current time local: Wed Dec 15 10:53:53 2004 # Current time GMT: Wed Dec 15 15:53:53 2004 # Using Test.pm version 1.24 # Using Apache/Test.pm version 1.18 # testing : $r->die # expected: 500 # received: 500 ok 1 request has failed (the response code was: 500) see t/logs/error_log for more details dubious Test returned status 255 (wstat 65280, 0xff00) Scalar found where operator expected at (eval 177) line 1, near "'int' $__val" (Missing operator before $__val?) DIED. FAILED tests 2-10 Failed 9/10 tests, 10.00% okay t/hooks/stacked_handlers2....# connecting to http://localhost:8547/TestHooks__stacked_handlers2 1..1 # Running under perl version 5.008003 for linux # Current time local: Wed Dec 15 10:54:03 2004 # Current time GMT: Wed Dec 15 15:54:03 2004 # Using Test.pm version 1.24 # Using Apache/Test.pm version 1.18 request has failed (the response code was: 500) see t/logs/error_log for more details dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay t/user/rewrite...............# connecting to http://localhost:8537/TestUser__rewrite request has failed (the response code was: 500) see t/logs/error_log for more details dubious Test returned status 255 (wstat 65280, 0xff00) Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/hooks/hookrun.t 255 65280 10 18 180.00% 2-10 t/hooks/stacked_handlers2.t 255 65280 1 2 200.00% 1 t/user/rewrite.t 255 65280 ?? ?? % ?? Failed 3/3 test scripts, 0.00% okay. 10/11 subtests failed, 9.09% okay. [warning] server localhost:8529 shutdown [warning] port 8529 still in use... done [ error] error running tests (please examine t/logs/error_log) [ error] oh jeez, server dumped core [ error] for stacktrace, run: gdb /house/doink123/ap_suse/bin/httpd -core /house/doink123/mp2_svn/t/core the error log gives me nothing. I'll try to investigate the problem, but most-likely my knowledge is going to be insufficient. >sdfgsd sergserg wrote: >> Well, it does fail under Suse 9.0. > >Please try this patch which prevents from fastcgi being loaded. I don't >know what's the C name for fastcgi module. I've assumed that it's >fastcgi.c. Please adjust it if it's wrong. > >Next if someone could try to investigate why this crash happens that would >be great. > >Index: lib/ModPerl/TestRun.pm >=================================================================== >--- lib/ModPerl/TestRun.pm (revision 111891) >+++ lib/ModPerl/TestRun.pm (working copy) >@@ -62,11 +62,13 @@ > return $self; > } > >-# don't inherit LoadModule perl_module from the apache httpd.conf >+# - don't inherit LoadModule perl_module from the apache httpd.conf >+# - loaded fastcgi crashes some mp2 tests >+my %skip = map { ("$_.c" => 1) } qw(mod_perl fastcgi); > sub should_skip_module { > my($self, $name) = @_; > >- $name eq 'mod_perl.c' ? 1 : $self->SUPER::should_skip_module($name); >+ exists $skip{$name} ? 1 : $self->SUPER::should_skip_module($name); > } > > 1; > >-- ----------------------------------------------------------------- Известяване за получено писмо в АБВ.бг - http://promo.abv.bg/ -- 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