perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: panic: MUTEX_DESTROY during global destruction. (using SVN head)
Date Tue, 30 Nov 2004 00:44:58 GMT
Ian Holsman wrote:
> console output:

Thanks Ian,

please try this patch:

Index: src/modules/perl/mod_perl.c
===================================================================
--- src/modules/perl/mod_perl.c (revision 106739)
+++ src/modules/perl/mod_perl.c (working copy)
@@ -279,9 +279,11 @@
      av_push(GvAV(PL_incgv),
              newSVpv(ap_server_root_relative(p, "lib/perl"), 0));
  #endif /* MP_COMPAT_1X */
-
-    modperl_handler_anon_init(aTHX_ p);
-
+
+    if (!s->is_virtual) {
+        modperl_handler_anon_init(aTHX_ p);
+    }
+
      if (!modperl_config_apply_PerlRequire(s, scfg, perl, p)) {
          exit(1);
      }


-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

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


Mime
View raw message