Bug #15522: Infinite recursion crashes interpreter

From: Date: Tue, 12 Feb 2002 14:12:58 +0000
Subject: Bug #15522: Infinite recursion crashes interpreter
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-184@lists.php.net to get a copy of this message
From: david@acz.org 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

« previous php.bugs (#184) next »