Bug #77620 [Opn->Fbk]: Opcache crashes on require file containing large array
| From: | sjon@php.net | Date: | Fri, 14 Jun 2019 12:38:31 +0000 |
| Subject: | Bug #77620 [Opn->Fbk]: Opcache crashes on require file containing large array | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-221312@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77620&edit=1
ID: 77620
Updated by: sjon@php.net
Reported by: kieran at miami-nice dot co dot uk
Summary: Opcache crashes on require file containing large
array
-Status: Open
+Status: Feedback
Type: Bug
Package: opcache
Operating System: Windows
PHP Version: 7.1.26
-Assigned To:
+Assigned To: sjon
Block user comment: N
Private report: N
New Comment:
I've attempted to reproduce this using valgrind and a debug-build of 7.1.26 with opcache
enabled, but it works fine and reports no leaks.
If this is still an issue please provide more information
Previous Comments:
------------------------------------------------------------------------
[2019-02-14 17:32:53] kieran at miami-nice dot co dot uk
Description:
------------
This may be a duplicate of https://bugs.php.net/bug.php?id=76844
(stackoverflow), but unlike that issue I cannot replicate on Ubuntu.
The test case was generated on Bitnami WAMP with AWS Windows 2019 Base image, https://bitnami.com/stack/wamp/installer and
backtrace generated using https://bugs.php.net/bugs-generating-backtrace-win32.php
The issue only occurs in browser, if you load the test script via CLI it works as expected.
I was also unable to replicate the issue on Ubuntu 18.04 with PHP 7.1.26 or 7.2.15...
Test script:
---------------
https://gist.github.com/bytestream/8779696f8e53f40bffd8e5ff179f2514#file-test-php
Actual result:
--------------
PHP_OPCACHE!ZEND_SSA_CHECK_SCC_VAR+21DIn
httpd__PID__3728__Date__02_14_2019__Time_04_59_15PM__290__Second_Chance_Exception_C00000FD.dmp the
assembly instruction at php_opcache!zend_ssa_check_scc_var+21d in
C:\Bitnami\wampstack-7.1.26-0\php\ext\php_opcache.dll from The PHP Group has caused a stack overflow
exception (0xC00000FD) when trying to write to memory location 0x19e83ff8 on thread 3
https://gist.github.com/bytestream/8ae01bdb8be94b433c7110f99e83bd25
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=77620&edit=1