Re: PHP 4.0 Bug #5085 Updated: Apache segfaults when displaying php source code (.phps)
| From: | Markus Dobel | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: PHP 4.0 Bug #5085 Updated: Apache segfaults when displaying php source code (.phps) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-22624@lists.php.net to get a copy of this message | ||
Bug Database wrote:
>
> ID: 5085
> Updated by: andi
> Reported By: mdobel@kawo2.rwth-aachen.de
> Status: Open
> Bug Type: Reproduceable crash
>
> Does this happen with all PHP scripts or only some? Can you reproduce it?
I tried several scripts, even very simple things (see below) suffice to
crash the server process. The only one I tested which does _not_ crash
the server is
<? phpinfo(); ?>
Example for a "script" crashing the httpd process:
<? print($HTTP_USER_AGENT); ?>
It happens _every_ time i access the script (which means, it's
"reproduceable") and I get a line like
[Wed Jun 28 15:56:00 2000] [notice] child pid 5958 exit signal
Segmentation fault (11)
in the Apache error log.
The processes do not crash when executing the scripts (*.php), but only
when displaying the source (*.phps) and then _after_ displaying the
whole file correctly.
> Full Bug description available at:
> http://bugs.php.net/version4/?id=5085
Regards, Markus