Edit report at https://bugs.php.net/bug.php?id=77992&edit=1
ID: 77992 Updated by: c...@php.net Reported by: v-huli4 at microsoft dot com Summary: Assertion failure in file cache when unserializing empty try_catch_array -Status: Open +Status: Closed Type: Bug -Package: opcache +Package: Testing related Operating System: Windows PHP Version: 7.3.5 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: This issue is fixed with <http://git.php.net/?p=php-src.git;a=commit;h=202e6936d6fa319fdda16c5c61d70ce19c2ecef6>. Previous Comments: ------------------------------------------------------------------------ [2019-05-08 12:34:41] c...@php.net Thanks for reporting this issue! Indeed, this test case can't work on Windows because /tmp isn't available there. ------------------------------------------------------------------------ [2019-05-08 11:52:04] v-huli4 at microsoft dot com Description: ------------ test ext\opcache\tests\bug76275.phpt fails when enabling opcache, across all builds of 7.1.29, 7.2.18 and 7.3.5 The test output gives a warning saying opcache.file_cache must be a full path of accessible directory, but actually the php.ini does set it as a good directory. The test report mentioned unserializing failure as title, also show below: d:\PHP-TP\rt\7.3.5>d:\php-rt\7.3.5\nts\x64-opcache-on\php.exe run-test.php -p d:\php-rt\7.3.5\nts\x64-opcache-on\php.exe ext\opcache\tests\bug76275.phpt ===================================================================== PHP : d:\php-rt\7.3.5\nts\x64-opcache-on\php.exe PHP_SAPI : cli PHP_VERSION : 7.3.5 ZEND_VERSION: 3.3.5 PHP_OS : WINNT - Windows NT HOLLYLI-T440 10.0 build 17763 (Windows 10) AMD64 INI actual : D:\PHP-RT\7.3.5\nts\x64-opcache-on\php.ini More .INIs : CWD : d:\PHP-TP\rt\7.3.5 Extra dirs : VALGRIND : Not used ===================================================================== Running selected tests. FAIL Bug #76275: Assertion failure in file cache when unserializing empty try_catch_array [D:\PHP-TP\rt\7.3.5\ext\opcache\tests\bug76275.phpt] ===================================================================== Number of tests : 1 1 Tests skipped : 0 ( 0.0%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 1 (100.0%) (100.0%) Expected fail : 0 ( 0.0%) ( 0.0%) Tests passed : 0 ( 0.0%) ( 0.0%) --------------------------------------------------------------------- Time taken : 0 seconds ===================================================================== ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #76275: Assertion failure in file cache when unserializing empty try_catch_array [D:\PHP-TP\rt\7.3.5\ext\opcache\tests\bug76275.phpt] ===================================================================== Test script: --------------- d:\php-rt\7.3.5\nts\x64-opcache-on\php.exe run-test.php -p d:\php-rt\7.3.5\nts\x64-opcache-on\php.exe ext\opcache\tests\bug76275.phpt Expected result: ---------------- Done Actual result: -------------- Wed May 8 04:39:57 2019 (15088): Warning opcache.file_cache must be a full path of accessible directory. Done ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=77992&edit=1