Edit report at https://bugs.php.net/bug.php?id=78740&edit=1

 ID:                 78740
 User updated by:    v-altruo at microsoft dot com
 Reported by:        v-altruo at microsoft dot com
 Summary:            Fatal Error Not enough entries in has table for
                     preloading
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            Testing related
 Operating System:   Windows Server 2019
 PHP Version:        7.4.0RC4
 Block user comment: N
 Private report:     N

 New Comment:

Re-downloaded 7.4.0RC4 build and tested again. Test passes now.


Previous Comments:
------------------------------------------------------------------------
[2019-10-22 22:19:07] v-altruo at microsoft dot com

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 this bug report at https://bugs.php.net/bug.php?id=78740&edit=1

Reply via email to