On Thu, 13 Jun 2002, Andreas J. Koenig wrote:

this might be worth a try.  since the segv is something stdio, must be one 
of std{out,err} getting corrupted somehow.   ap_error_log2stderr does 
this:
API_EXPORT(void) ap_error_log2stderr(server_rec *s) {
    if (   s->error_log != NULL
        && fileno(s->error_log) != STDERR_FILENO)
        dup2(fileno(s->error_log), STDERR_FILENO);
}

no other suspects at the moment.  of course, something else in your mix 
could be messing with std{out,err}.  strace might reveal some clues.

--- src/modules/perl/mod_perl.c~        Wed May 22 21:23:18 2002
+++ src/modules/perl/mod_perl.c Thu Jun 13 10:24:59 2002
@@ -1454,7 +1454,7 @@
 #endif
 
     /* hookup stderr to error_log */
-#ifndef PERL_TRACE
+#if 0
     if(r->server->error_log) 
        error_log2stderr(r->server);
 #endif


Reply via email to