From: v-altruo at microsoft dot com
Operating system: Windows Server 2019
PHP version: 7.4.0RC4
Package: Testing related
Bug Type: Bug
Bug description:Fatal Error Not enough entries in has table for preloading
Description:
------------
Test fails across all builds regardless of NTS/TS when opcache is
enabled.
Multiple tests have similar output included:
ext\opcache\tests\bug78014.phpt
ext\opcache\tests\bug78175.phpt
ext\opcache\tests\bug78175_2.phpt
ext\opcache\tests\bug78376.phpt
ext\opcache\tests\preload_001.phpt
ext\opcache\tests\preload_002.phpt
ext\opcache\tests\preload_003.phpt
ext\opcache\tests\preload_004.phpt
ext\opcache\tests\preload_005.phpt
ext\opcache\tests\preload_007.phpt
ext\opcache\tests\preload_008.phpt
ext\opcache\tests\preload_009.phpt
ext\opcache\tests\preload_010.phpt
ext\opcache\tests\preload_011.phpt
ext\opcache\tests\preload_012.phpt
ext\opcache\tests\preload_013.phpt
Expected/Actual results posted below are from bug78014.phpt
Expected result:
----------------
Warning: Can't preload unlinked class C: Parent with unresolved
initializers B in %s on line %d
Warning: Can't preload class B with unresolved initializer for constant
X in %s on line %d
Fatal error: Uncaught Error: Class 'C' not found in %sbug78014.php:5
Stack trace:
#0 {main}
thrown in %sbug78014.php on line 5
Actual result:
--------------
Mon Oct 21 20:27:05 2019 (6480): Fatal Error Not enough entries in hash
table for preloading. Consider increasing the value for the
opcache.max_accelerated_files directive in php.ini.
Warning: Can't preload unlinked class C: Parent with unresolved
initializers B in
C:\..\php-test-pack-7.4.0rc4\ext\opcache\tests\bug78014.inc on line 8
Warning: Can't preload class B with unresolved initializer for constant
X in C:\..\php-test-pack-7.4.0rc4\ext\opcache\tests\bug78014.inc on line
5
--
Edit bug report at https://bugs.php.net/bug.php?id=78740&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78740&r=fixed
Fixed in release:
https://bugs.php.net/fix.php?id=78740&r=alreadyfixed
Need backtrace:
https://bugs.php.net/fix.php?id=78740&r=needtrace
Need Reproduce Script:
https://bugs.php.net/fix.php?id=78740&r=needscript
Try newer version:
https://bugs.php.net/fix.php?id=78740&r=oldversion
Not developer issue:
https://bugs.php.net/fix.php?id=78740&r=support
Expected behavior:
https://bugs.php.net/fix.php?id=78740&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=78740&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=78740&r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=78740&r=globals
PHP version support discontinued:
https://bugs.php.net/fix.php?id=78740&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78740&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78740&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78740&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78740&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78740&r=nozend
MySQL Configuration Error:
https://bugs.php.net/fix.php?id=78740&r=mysqlcfg