Bug #78787 [NEW]: PHP 7.3 Segfault 11 Reflection/Trait
| From: | shariefjamiel at gmail dot com | Date: | Wed, 06 Nov 2019 10:13:44 +0000 |
| Subject: | Bug #78787 [NEW]: PHP 7.3 Segfault 11 Reflection/Trait | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-223595@lists.php.net to get a copy of this message | ||
From: shariefjamiel at gmail dot com
Operating system: mac/linux
PHP version: 7.3.11
Package: Reflection related
Bug Type: Bug
Bug description:PHP 7.3 Segfault 11 Reflection/Trait
Description:
------------
I am getting a segfault 11 when running PHPunit 8 or analysing code with
PHPStan, i have been able recreate for PHPUnit but not PHPStan. (but the
fix resolves both of them)
PHP 7.3.11 (cli) (built: Oct 24 2019 11:29:52) ( NTS )
PHPUnit 8.4.2
This appears to be caused reflecting multiple files in PHP 7.3 (not 7.2
or 7.4)
Source code:
https://github.com/jamielsharief/php-bug-segfault-11
1. download source
2. type composer install
Full explanation and gdb backtrace
https://github.com/jamielsharief/php-bug-segfault-11/blob/master/README.md
Test script:
---------------
vendor/bin/phpunit tests
Expected result:
----------------
OK (3 tests, 3 assertions)
Actual result:
--------------
Segmentation fault: 11
--
Edit bug report at https://bugs.php.net/bug.php?id=78787&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78787&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78787&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78787&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78787&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78787&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78787&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78787&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78787&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78787&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78787&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78787&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78787&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78787&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78787&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78787&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78787&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78787&r=mysqlcfg