Bug #11093: Apache crashes when output buffering is used and fatal errors occure
| From: | mail at customdesign dot de | Date: | Thu, 24 May 2001 17:05:29 +0000 |
| Subject: | Bug #11093: Apache crashes when output buffering is used and fatal errors occure | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-56643@lists.php.net to get a copy of this message | ||
From: mail@customdesign.de
Operating system: Win32
PHP version: 4.0.5
PHP Bug Type: Reproducible crash
Bug description: Apache crashes when output buffering is used and fatal errors occure
I use Output Buffering for some php scripts and develop on a Win32 system. One time i tried to call
a not existing function -> Apache crashes when i try to load the php document in a browser.
I don't have made a UNIX test right now, but on Win32
(Win 95/98/ME) Apache/PHP4TS.DLL crashes when i produce fatal errors (like the function call). Parse
errors and others are displayed like normal. If i disable the output functions, the fatal error
message is displayed like normal.
AUTO PREPEND FILE
-----------------
<?
ob_start();
?>
Resquested document: (by example: index.php)
---------------------------------------------
<?
undefinied_function(); // this function does not exist
?>
AUTO APPEND FILE
----------------
<?
$SITE_CONTENTS=ob_get_contents();
ob_end_clean();
print $SITE_CONTENTS;
?>
Additional Enviroment Info:
---------------------------
OS: WinME,Win98 SE
PHP: 4.05 running as Apache module
Loaded PHP Extensions: zlib,gd
Apache: Version 1.3.12
--
Edit Bug report at: http://bugs.php.net/?id=11093&edit=1