Re: Apache/mod_perl/Win2K gpfault finally resolved?

2001-02-22 Thread sterling

On Tue, 20 Feb 2001, William A. Rowe, Jr. wrote:

> 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:

my 'quick hack' doesn't work anymore anyways because of some recent apache
changes regarding the console.  I just built apache from head, modperl
from head, and it still crashes - so its still unresolved.

i'll build debug versions and see if I can find any clarity.

sterling




Apache/mod_perl/Win2K gpfault finally resolved?

2001-02-20 Thread William A. Rowe, Jr.

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