Re: Win32 hooks/hookrun.t failure

[prev] [thread] [next] [Date index for 2004/12/14]

From: Stas Bekman
Subject: Re: Win32 hooks/hookrun.t failure
Date: 23:25 on 14 Dec 2004
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;

        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx 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

Win32 hooks/hookrun.t failure
sdfgsd sergserg 12:48 on 13 Dec 2004

Re: Win32 hooks/hookrun.t failure
Randy Kobes 16:47 on 13 Dec 2004

Re: Win32 hooks/hookrun.t failure
Stas Bekman 16:48 on 13 Dec 2004

Re: Win32 hooks/hookrun.t failure
sdfgsd sergserg 17:25 on 13 Dec 2004

Re: Win32 hooks/hookrun.t failure
sdfgsd sergserg 18:10 on 13 Dec 2004

Re: Win32 hooks/hookrun.t failure
Stas Bekman 23:25 on 14 Dec 2004

Re: Win32 hooks/hookrun.t failure
sdfgsd sergserg 15:58 on 15 Dec 2004

Re: Win32 hooks/hookrun.t failure
Stas Bekman 17:35 on 15 Dec 2004

Re: Win32 hooks/hookrun.t failure
Nick *** 16:16 on 16 Dec 2004

Re: Win32 hooks/hookrun.t failure
Stas Bekman 16:21 on 16 Dec 2004

Re: Win32 hooks/hookrun.t failure
Nick *** 16:36 on 16 Dec 2004

Re: Win32 hooks/hookrun.t failure
Stas Bekman 17:00 on 16 Dec 2004

Re: Win32 hooks/hookrun.t failure
Nick *** 12:51 on 06 Jan 2005

Generated at 12:16 on 16 Jan 2005 by mariachi v0.52