Bug #69423 [NEW]: Crashing on recursive magic method calling
| From: | contact at geolim4 dot com | Date: | Fri, 10 Apr 2015 22:22:38 +0000 |
| Subject: | Bug #69423 [NEW]: Crashing on recursive magic method calling | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-191949@lists.php.net to get a copy of this message | ||
From: contact at geolim4 dot com
Operating system:
PHP version: 5.6.7
Package: Reproducible crash
Bug Type: Bug
Bug description:Crashing on recursive magic method calling
Description:
------------
When you call a method through callStatic() and pass the method name to
call_user_func_array(), php is crashing expectedly. It look stupid, but
php shouldn't return a fatal error in that case instead of crashing?
Apache error log:
____________________
[Sat Apr 11 00:08:19 2015] [error] mod_fcgid: process
/var/www/php-fcgi-scripts/web1/.php-fcgi-starter_web5(28762)
exit(communication error), get unexpected signal 11
[Sat Apr 11 00:08:19 2015] [error] mod_fcgid: process
/var/www/php-fcgi-scripts/web1/.php-fcgi-starter_web5(28761)
exit(communication error), get unexpected signal 11
[Sat Apr 11 00:08:43 2015] [error] mod_fcgid: process
/var/www/php-fcgi-scripts/web1/.php-fcgi-starter_web5(28765)
exit(communication error), get unexpected signal 11
[Sat Apr 11 00:08:43 2015] [error] mod_fcgid: process
/var/www/php-fcgi-scripts/web1/.php-fcgi-starter_web5(28764)
exit(communication error), get unexpected signal 11
[Sat Apr 11 00:08:48 2015] [error] mod_fcgid: process
/var/www/php-fcgi-scripts/web1/.php-fcgi-starter_web5(28767)
exit(communication error), get unexpected signal 11
[Sat Apr 11 00:08:48 2015] [error] mod_fcgid: process
/var/www/php-fcgi-scripts/web1/.php-fcgi-starter_web5(28766)
exit(communication error), get unexpected signal 11
[Sat Apr 11 00:10:51 2015] [error] mod_fcgid: process
/var/www/php-fcgi-scripts/web1/.php-fcgi-starter_web5(28884)
exit(communication error), get unexpected signal 11
[Sat Apr 11 00:10:51 2015] [error] mod_fcgid: process
/var/www/php-fcgi-scripts/web1/.php-fcgi-starter_web5(28802)
exit(communication error), get unexpected signal 11
[Sat Apr 11 00:13:02 2015] [error] mod_fcgid: process
/var/www/php-fcgi-scripts/web1/.php-fcgi-starter_web5(28912)
exit(communication error), get unexpected signal 11
[Sat Apr 11 00:13:02 2015] [error] mod_fcgid: process
/var/www/php-fcgi-scripts/web1/.php-fcgi-starter_web5(28911)
exit(communication error), get unexpected signal 11
Test script:
---------------
http://pastebin.com/5p4cWHp3
Expected result:
----------------
A fatal error
Actual result:
--------------
A fcgi process crash.
--
Edit bug report at https://bugs.php.net/bug.php?id=69423&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69423&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69423&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69423&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=69423&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=69423&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=69423&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=69423&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=69423&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=69423&r=support
Expected behavior: https://bugs.php.net/fix.php?id=69423&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=69423&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=69423&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=69423&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69423&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=69423&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=69423&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=69423&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=69423&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=69423&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=69423&r=mysqlcfg