ID: 27898
User updated by: wiwi at progon dot net
Reported By: wiwi at progon dot net
Status: Open
Bug Type: Reproducible crash
Operating System: FreeBSD 5.2.1p4
PHP Version: 4.3.6RC1
New Comment:
5.0.0RC1 has the same problem.
Previous Comments:
------------------------------------------------------------------------
[2004-04-07 03:51:26] wiwi at progon dot net
Description:
------------
Looks as if bug #5649 is back again. This happend only with .php
scripts, plain html ist just fine.
I tried the following configs without any change:
./configure --with-openssl --with-pgsql
--with-apxs2=/usr/local/apache2/bin/apxs
./configure --with-pgsql --with-apxs2=/usr/local/apache2/bin/apxs
./configure --with-apxs2=/usr/local/apache2/bin/apxs
I tried the following php versions without any change:
4.3.4
4.3.5
4.3.6RC2
I tried the following apache version without any change:
2.0.48
2.0.49
gdb output is not useful, as I have to use ctrl-c to stop the hanging
program:
Program received signal SIGINT, Interrupt.
0x2863749c in _thread_sig_handle_pending () from /usr/lib/libc_r.so.5
(gdb) where
#0 0x2863749c in _thread_sig_handle_pending () from
/usr/lib/libc_r.so.5
#1 0x28636d32 in _thread_sig_handler () from /usr/lib/libc_r.so.5
#2 0x28636f34 in _thread_sig_handler () from /usr/lib/libc_r.so.5
#3 0x2863803a in _thread_sig_wrapper () from /usr/lib/libc_r.so.5
#4 0xbfbfba60 in ?? ()
#5 0x286379f0 in _thread_sig_handle_pending () from
/usr/lib/libc_r.so.5
#6 0x286372ff in _thread_sig_check_pending () from
/usr/lib/libc_r.so.5
#7 0x2863d58e in _thread_kern_scheduler () from /usr/lib/libc_r.so.5
Reproduce code:
---------------
#!/bin/sh
while [ true ]
do
curl -I http://a.php.script
done
Actual result:
--------------
a) curl times out (curl: (52) Empty reply from server)
b) httpd hangs and uses up all cpu time:
2143 nobody 110 0 9044K 7152K RUN 0:06 10.86% 10.06%
httpd
2130 nobody 108 0 9068K 7448K RUN 0:09 9.86% 9.77%
httpd
2156 nobody 109 0 9024K 7236K RUN 0:02 8.61% 4.93%
httpd
2150 nobody 20 0 9020K 7368K lockf 0:02 5.12% 3.86%
httpd
2153 nobody 20 0 9008K 7356K lockf 0:01 5.17% 3.76%
httpd
2152 nobody 20 0 9008K 7352K lockf 0:02 4.70% 3.42%
httpd
2151 nobody 20 0 9008K 7384K lockf 0:02 4.70% 3.42%
httpd
2154 nobody 20 0 9008K 7336K lockf 0:01 4.93% 3.37%
httpd
2155 nobody 103 0 9008K 7352K RUN 0:01 5.09% 3.12% httpd
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27898&edit=1