[PHP-DEV] PHP 4.0 Bug #7866 Updated: PHP switch() with crashes the Apache child with a SegV (11) From: stas <email protected>
Date: 11/19/00

ID: 7866
Updated by: stas
Reported By: comments <email protected>
Status: Feedback
Bug Type: Reproduceable crash
Assigned To:
Comments:

Does not crash for me.
Could you try latest version from snaps.php.net?
Could you please also generate crash trace as described at
http://bugs.php.net/bugs-generating-backtrace.php?
Did you try it without the Optimizer?

Previous Comments:
---------------------------------------------------------------------------

[2000-11-17 11:54:02] comments <email protected>
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

---------------------------------------------------------------------------

Full Bug description available at: http://bugs.php.net/?id=7866

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>