From:             [EMAIL PROTECTED]
Operating system: Slackware 8.1, Linux 2.4.18 krnl
PHP version:      4.3.0RC3
PHP Bug Type:     *Programming Data Structures
Bug description:  Recursive calls may SEGV

compiled:
./configure && make && make install

script:
<?
function x(){
  x();
}
x();
?>

This little piece of code produces a SEGV. At some point the stack is
full, and the program crashes. Why not die() before crashing?

OK, this code is so wrong... But still it should not SEGV.   
Discovered it on PHP 4.2.2 (apache mod) and especially built PHP 4.3.0RC3
(cmdline) to find that 4.3.0RC3 still does this.


-- 
Edit bug report at http://bugs.php.net/?id=21062&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21062&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21062&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21062&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21062&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21062&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21062&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21062&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21062&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21062&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21062&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21062&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21062&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21062&r=isapi

Reply via email to