I have compiled the following:

        Apache 1.3.9
        mod_perl 1.21 (PERL_AUTHEN PERL_LOG PERL_STACKED_HANDLERS)

on:

        Ultra 10
        Solaris 7

with:

        gcc 2.95.2 19991024
        perl 5.005_03

When starting an httpd process with a 'PerlModule' defined in the conf file,
the process will seg fault when it attempts to fork:

open("/opt/apache/logs/access_log", O_WRONLY|O_APPEND|O_CREAT, 0644) = 3
fcntl(3, F_DUPFD, 0x0000000F)                   = 16
close(3)                                        = 0
chdir("/")                                      = 0
fork()                                          = 16024
    Incurred fault #6, FLTBOUNDS  %pc = 0xD0020000
      siginfo: SIGSEGV SEGV_MAPERR addr=0xD0020000
    Received signal #11, SIGSEGV [default]
      siginfo: SIGSEGV SEGV_MAPERR addr=0xD0020000
        *** process killed ***

However, comment out the 'PerlModule' statement, and the process forks fine
and exits:

open("/opt/apache/logs/access_log", O_WRONLY|O_APPEND|O_CREAT, 0644) = 3
fcntl(3, F_DUPFD, 0x0000000F)                   = 16
close(3)                                        = 0
chdir("/")                                      = 0
fork()                                          = 16030
llseek(0, 0, SEEK_CUR)                          = 101628
_exit(0)

I didn't see anything about this on the maillist... get anyone give me an
idea of where I should at least start to track down this problem?

Thanks,
- Tony

Reply via email to