Bug #15293 Updated: Incorrect brackets in strlen crashes server
| From: | yohgaki@php.net | Date: | Mon, 04 Feb 2002 07:07:10 +0000 |
| Subject: | Bug #15293 Updated: Incorrect brackets in strlen crashes server | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-79038@lists.php.net to get a copy of this message | ||
ID: 15293
Updated by: yohgaki@php.net
Reported By: phil.whittaker@phoenixtelecom.co.uk
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: Linux 2.2.14-5.0 (RedHat 6.2)
PHP Version: 4.0.6
New Comment:
I think you should have test/development box, aren't you?
Anyway, attach complete script that works. i.e. include <?php ?> tag
that can directly feed to CGI or CLI version PHP. Even if it a few
line.
It may be a few line for you, but it will be many line for us with
hundreds of bug reports.
Previous Comments:
------------------------------------------------------------------------
[2002-01-31 02:12:41] phil.whittaker@phoenixtelecom.co.uk
'./configure' '--with-oracle=/u01/app/oracle/product/8.1.6'
'--with-oci8=/u01/app/oracle/product/8.1.6'
'--with-apache=/usr/local/apache_1.3.20' '--enable-sigchild'
Unfortunately, the server is a live and very active server and I can
not get approval to change to config to add --enable-debug.
Sorry.
Quite interestingly the server runs with 10 httpd processes however
when the script is executed this dramatically increases to approx 70
processes then gradually dies back to 31 processes before hanging. The
time scale for the whole call to hang is round one minute.
------------------------------------------------------------------------
[2002-01-30 14:52:58] sander@php.net
Can you provide a backtrace (see
http://bugs.php.net/bugs-generating-backtrace.php)
and your
configure-line?
------------------------------------------------------------------------
[2002-01-30 03:41:25] phil.whittaker@phoenixtelecom.co.uk
Using an apache linux box if the brackets are in the wrong place, (see
below) the box spawns hundreds of processes eventually crashing the
server.
(strlen($local[1] < "3"))
[INCORRECT BRACKETS]
Rather than:
(strlen($local[1]) < "3")
[CORRECT BRACKETS]
[Basic php install with sigchild enabled and Oracle support]
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15293&edit=1