PHP 4.0 Bug #7866: PHP switch() with crashes the Apache child with a SegV (11)
| From: | comments at doofer dot org | Date: | Fri, 17 Nov 2000 16:54:02 +0000 |
| Subject: | PHP 4.0 Bug #7866: PHP switch() with crashes the Apache child with a SegV (11) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-38438@lists.php.net to get a copy of this message | ||
From: comments@doofer.org
Operating system: Linux (Kernel 2.2.17)
PHP version: 4.0.3pl1
PHP Bug Type: Reproduceable crash
Bug description: PHP switch() with crashes the Apache child with a SegV (11)
The script:
switch ($variable) {
case 1,2:
}
crashes. I typed it accidentally instead of this (which works as I intended):
switch ($variable) {
case1:
case2:
}
I have Apache 1.3.14 compiled with PHP4.0.3pl1 as well as mod_ssl (openssl) and mm. Compiled from
scratch on the same machine as it is running. I'm also using the Zend Optimizer 0.99 for PHP
4.0.3.
Script to make Apache, PHP and all other items:
cd /usr/src/apache
./configure
cd /usr/src/php
./configure --with-apache=../apache --with-my-sql ; make ; make install
cd /usr/src/openssl
./config ; make
cd /usr/src/mm
./configure --disable-shared ; make ; make install
cd /usr/src/mod_ssl
./configure --with-layout=Del --with-apache=../apache --with-ssl=../openssl --wi
th-mm=../mm --activate-module=src/modules/php4/libphp4.a
cd /usr/src/apache
make; make install
--
Edit Bug report at: http://bugs.php.net/?id=7866&edit=1