Re: Acceptable Seg Faults?
| From: | Johannes Schlueter | Date: | Tue, 12 Sep 2006 18:44:06 +0000 |
| Subject: | Re: Acceptable Seg Faults? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-25637@lists.php.net to get a copy of this message | ||
Yes, this is expected.
Ralph Schindler wrote:
The following script produces a seg fault: <? $class = new MyClass(); class MyClass {public function __construct() { $this->_start(); }public function _start() {$this->_myCall();}public function _myCall() { $this->_start(); }} I assume this is b/c its recursively diving into Class function/method calls and we are filling memory.. Is this detectable? Should I file a bug report or is this known? Ideally it would be nice to see a fatal error thrown, if this is indeed detectable. PHP 5.1.6 / Linux 2.6 / Apache 2 [notice] child pid 6688 exit signal Segmentation fault (11) -Ralph