From: wf at bitplan dot com
Operating system: Windows XP SP1
PHP version: 5.0.0RC2
PHP Bug Type: Reproducible crash
Bug description: endless recursion crashes Apache
Description:
------------
Endless recursion crashes Apache
PHP should simply report a stack-overflow exception and die
This was called non repairable in 2002 but I'd seem its not
acceptable for the object oriented PHP 5 version anymore
Reproduce code:
---------------
<?php
class recurse
{
function loop() {
$this->loop();
} // loop
}
$endless=new recurse();
$endless->loop();
?>
Expected result:
----------------
stack-overflow message
Actual result:
--------------
Apache crashes
--
Edit bug report at http://bugs.php.net/?id=28337&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28337&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28337&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28337&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28337&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28337&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28337&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28337&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28337&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28337&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28337&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28337&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28337&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28337&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28337&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28337&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28337&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28337&r=float