#32874 [Opn->Bgs]: Circular call leeds to segmentation fault
| From: | derick@php.net | Date: | Thu, 28 Apr 2005 19:02:15 +0000 |
| Subject: | #32874 [Opn->Bgs]: Circular call leeds to segmentation fault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-78387@lists.php.net to get a copy of this message | ||
ID: 32874
Updated by: derick@php.net
Reported By: mbm at interflow dot dk
-Status: Open
+Status: Bogus
Bug Type: Reproducible crash
Operating System: Multiple OS
PHP Version: 5.0.4
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
.
Previous Comments:
------------------------------------------------------------------------
[2005-04-28 20:28:23] mbm at interflow dot dk
Description:
------------
Recursively calling two functions in a class leads to a segmentation
fault.
Reproduce code:
---------------
class SegFault {
public function call(){
$this->back();
}
public function back(){
$this->call();
}
}
$seg = new SegFault();
$seg->Call();
Expected result:
----------------
I'd expect some kind of error when php runs out of buffer for the
callstack - this function clearly is an example of bad code in the
script - however php shouldnt die by segmentation fault.
Actual result:
--------------
Segmentation fault
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32874&edit=1