php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78740 Fatal Error Not enough entries in has table for preloading
Submitted: 2019-10-22 22:19 UTC Modified: 2019-10-23 17:38 UTC
From: v-altruo at microsoft dot com Assigned:
Status: Closed Package: Testing related
PHP Version: 7.4.0RC4 OS: Windows Server 2019
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: v-altruo at microsoft dot com
New email:
PHP Version: OS:

 

 [2019-10-22 22:19 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-10-23 17:38 UTC] v-altruo at microsoft dot com
-Status: Open +Status: Closed
 [2019-10-23 17:38 UTC] v-altruo at microsoft dot com
Re-downloaded 7.4.0RC4 build and tested again. Test passes now.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Jul 26 18:01:28 2021 UTC