Bug #77992 [NEW]: Assertion failure in file cache when unserializing empty try_catch_array
| From: | v-huli4 at microsoft dot com | Date: | Wed, 08 May 2019 11:52:04 +0000 |
| Subject: | Bug #77992 [NEW]: Assertion failure in file cache when unserializing empty try_catch_array | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-220779@lists.php.net to get a copy of this message | ||
From: v-huli4 at microsoft dot com
Operating system: Windows
PHP version: 7.3.5
Package: opcache
Bug Type: Bug
Bug description:Assertion failure in file cache when unserializing empty try_catch_array
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 bug report at https://bugs.php.net/bug.php?id=77992&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=77992&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=77992&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=77992&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=77992&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=77992&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=77992&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=77992&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=77992&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=77992&r=support
Expected behavior: https://bugs.php.net/fix.php?id=77992&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=77992&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=77992&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=77992&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=77992&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=77992&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=77992&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=77992&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=77992&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=77992&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=77992&r=mysqlcfg