From:             [EMAIL PROTECTED]
Operating system: Debian GNU/Linux
PHP version:      4.1.1
PHP Bug Type:     Reproducible crash
Bug description:  Infinite recursion crashes interpreter

It is quite easy to crash the PHP interpreter with infinite recursion. 
While this is a user error, the interpreter should not crash.  There
should be some sort of internal checking to assure that too many function
calls cannot cause a crash.

<?
    foo();
    function foo() { foo(); }
?>

[Tue Feb 12 07:09:45 2002] [notice] child pid 4079 exit signal
Segmentation fault (11)

-- 
Edit bug report at http://bugs.php.net/?id=15522&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=15522&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=15522&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=15522&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=15522&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15522&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=15522&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=15522&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=15522&r=submittedtwice

Reply via email to