PHP 4.0 Bug #7866 Updated: PHP switch() with crashes the Apache child with a SegV (11)
| From: | stas@php.net | Date: | Sun, 19 Nov 2000 17:02:20 +0000 |
| Subject: | PHP 4.0 Bug #7866 Updated: PHP switch() with crashes the Apache child with a SegV (11) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-38503@lists.php.net to get a copy of this message | ||
ID: 7866
Updated by: stas
Reported By: comments@doofer.org
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@doofer.org
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