Bug #77620 [NEW]: Opcache crashes on require file containing large array

From: Date: Thu, 14 Feb 2019 17:32:53 +0000
Subject: Bug #77620 [NEW]: Opcache crashes on require file containing large array
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-219581@lists.php.net to get a copy of this message
From: kieran at miami-nice dot co dot uk Operating system: Windows PHP version: 7.1.26 Package: opcache Bug Type: Bug Bug description:Opcache crashes on require file containing large array 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 bug report at https://bugs.php.net/bug.php?id=77620&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=77620&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=77620&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=77620&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=77620&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=77620&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=77620&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=77620&r=needscript Try newer version: https://bugs.php.net/fix.php?id=77620&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=77620&r=support Expected behavior: https://bugs.php.net/fix.php?id=77620&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=77620&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=77620&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=77620&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=77620&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=77620&r=dst IIS Stability: https://bugs.php.net/fix.php?id=77620&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=77620&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=77620&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=77620&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=77620&r=mysqlcfg

« previous php.bugs (#219581) next »