Bug #69397 [Opn->Nab]: Segfault on call function/method at this function/method

From: Date: Wed, 08 Apr 2015 04:49:06 +0000
Subject: Bug #69397 [Opn->Nab]: Segfault on call function/method at this function/method
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-191892@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69397&edit=1 ID: 69397 Updated by: requinix@php.net Reported by: iliavlad at mail dot ru Summary: Segfault on call function/method at this function/method -Status: Open +Status: Not a bug Type: Bug Package: Reproducible crash Operating System: Debian PHP Version: 5.6.7 Block user comment: N Private report: N New Comment: PHP does not protect you from infinite recursion. If you want fatal errors in your development environment, install Xdebug and configure the max_nesting_level as desired. http://xdebug.org/docs/all_settings#max_nesting_level Previous Comments: ------------------------------------------------------------------------ [2015-04-08 04:37:39] iliavlad at mail dot ru Description: ------------ Segfault on call function/method at this function/method Test script: --------------- 1. <?php function foo() { foo(); } echo 'start '; foo(); echo 'finish'; ?> 2. <?php class Foo { public function getFoo() { return $this->getFoo(); } } echo 'start '; $foo = new Foo(); $foo->getFoo(); echo 'finish'; Expected result: ---------------- may be Fatal Error (something other than Segmentation fault) Actual result: -------------- 1. start Segmentation fault /var/log/messages Apr 8 14:31:46 debian kernel: [1220547.392275] php[30999]: segfault at 7ffe7699dfe7 ip 000000000077d57b sp 00007ffe7699dfa0 error 6 in php5[400000+80d000] 2. start Segmentation fault /var/log/messages Apr 8 14:34:37 debian77 kernel: [1220718.650950] php[31008]: segfault at 7ffe14edfff8 ip 000000000072177d sp 00007ffe14ee0028 error 6 in php5[400000+80d000] ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69397&edit=1

« previous php.bugs (#191892) next »