Folks,

  any of you in a position to grab the current Apache tree from CVS and build
Apache plus mod_perl, and see if the gpfault is gone, here is the 'unpatch' for
John Sterling's quick hack:

Index: mod_perl.c
===================================================================
RCS file: /home/cvspublic/modperl/src/modules/perl/mod_perl.c,v
retrieving revision 1.134
diff -u -r1.134 mod_perl.c
--- mod_perl.c 2000/12/20 06:39:48 1.134
+++ mod_perl.c 2001/02/21 03:14:34
@@ -508,19 +508,6 @@
 static void mp_dso_unload(void *data) 
 { 
     array_header *librefs;
-
-#ifdef WIN32
-    // This is here to stop a crash when bringing down
-    // a service.  Apparently the dso is unloaded too early.
-    // This if statement tests to see if we are running as a 
-    // service. apache does the same
-    // see apache's isProcessService() in service.c 
-    if (AllocConsole()) {
-        FreeConsole();
-        return;
-    } 
-#endif
-
     librefs = xs_dl_librefs((pool *)data);
     perl_shutdown(NULL, NULL);
     unload_xs_so(librefs);


  I would sure like to know our headaches are gone on Win2000 - so please try this
out and provide feedback if it does or doesn't solve that earlier problem.

Bill

Reply via email to