Bug #15293 Updated: Incorrect brackets in strlen crashes server

From: Date: Thu, 31 Jan 2002 07:12:41 +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-78656@lists.php.net to get a copy of this message
ID: 15293 User updated by: phil.whittaker@phoenixtelecom.co.uk Reported By: phil.whittaker@phoenixtelecom.co.uk Old Status: Feedback Status: Open Bug Type: Reproducible crash Operating System: Linux 2.2.14-5.0 (RedHat 6.2) PHP Version: 4.0.6 New Comment: './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. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.dev (#78656) next »