ID: 32828 Updated by: [EMAIL PROTECTED] Reported By: rbro at hotmail dot com -Status: Verified +Status: Closed Bug Type: Reproducible crash Operating System: * PHP Version: 5.0,5.1 CVS (2005-04-26) New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2005-04-26 00:52:03] rbro at hotmail dot com Description: ------------ If you throw an exception inside an output_callback function as a result of using ob_start() and ob_end_clean(), a Segmentation fault occurs. Reproduce code: --------------- <?php function output_handler($buffer) { throw new Exception; } ob_start('output_handler'); ob_end_clean(); ?> Expected result: ---------------- Exception is thrown. Actual result: -------------- Segmentation fault ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32828&edit=1