Not sure if you guys have already responded to this, but here we go (I'm
checking the archives of PHP as I am writing this).
I have Apache 2.0.36 running with PHP 4.2.1. Apache seg faults with a certain
application (which has redirected me back here). Child processes quit with a
signal 11. I know that PHP 4.2.1 doesn't have full support for Apache2, but it
seems strange that only a few of all the applications written in PHP are
causing this segfault. Below is the output of an strace done on the parent
process:
<begin logfile>
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
gettimeofday({1022291150, 787056}, NULL) = 0
fork() = 15100
wait4(-1, 0x11ffff818, WNOHANG|WUNTRACED, NULL) = 0
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
<snip wait4s>
...
</snip wait4s>
wait4(-1, 0x11ffff818, WNOHANG|WUNTRACED, NULL) = 0
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
wait4(-1, 0x11ffff818, WNOHANG|WUNTRACED, NULL) = 0
select(0, NULL, NULL, NULL, {1, 0}) = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) ---
select(0, NULL, NULL, NULL, {0, 496784}) = 0 (Timeout)
wait4(-1, [WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV], WNOHANG|WUNTRACED, NULL) =
15034
gettimeofday({1022291166, 797450}, NULL) = 0
write(11, "[Fri May 24 20:46:06 2002] [noti"..., 88) = 88
gettimeofday({1022291166, 797869}, NULL) = 0
wait4(-1, 0x11ffff818, WNOHANG|WUNTRACED, NULL) = 0
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
<end of logfile>
Any ideas?
Cheers,
Rodolfo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php