Bug #69397 [NEW]: Segfault on call function/method at this function/method
| From: | iliavlad at mail dot ru | Date: | Wed, 08 Apr 2015 04:37:40 +0000 |
| Subject: | Bug #69397 [NEW]: Segfault on call function/method at this function/method | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-191891@lists.php.net to get a copy of this message | ||
From: iliavlad at mail dot ru
Operating system: Debian
PHP version: 5.6.7
Package: Reproducible crash
Bug Type: Bug
Bug description:Segfault on call function/method at this function/method
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 bug report at https://bugs.php.net/bug.php?id=69397&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69397&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69397&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69397&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=69397&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=69397&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=69397&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=69397&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=69397&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=69397&r=support
Expected behavior: https://bugs.php.net/fix.php?id=69397&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=69397&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=69397&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=69397&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69397&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=69397&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=69397&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=69397&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=69397&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=69397&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=69397&r=mysqlcfg