Bug #81679 [NEW]: PHP 8 opcache crashing when using JIT on Windows 2019

From: Date: Tue, 30 Nov 2021 22:50:04 +0000
Subject: Bug #81679 [NEW]: PHP 8 opcache crashing when using JIT on Windows 2019
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-238068@lists.php.net to get a copy of this message
From:             alex at ndros dot com
Operating system: Windows Server 2019
PHP version:      8.0.13
Package:          JIT
Bug Type:         Bug
Bug description:PHP 8 opcache crashing when using JIT on Windows 2019

Description:
------------
Hi!

We have discovered that as soon as we turn on jit with the following
config;

opcache.jit_buffer_size=64M
opcache.jit=tracing

We (what it seems to be randomly) get crashes. Also, CPU get's
compeltely bottlenecked at 100% until we do IISRESET.

C:\Program Files\PHP\v8.0\php-cgi.exe - The FastCGI process exited
unexpectedly
Module	   FastCgiModule
Handler	   php-8.0.13
Error Code	   0xc0000005

-----

Faulting application name: php-cgi.exe, version: 8.0.13.0, time stamp:
0x619429f5
Faulting module name: php_opcache.dll, version: 8.0.13.0, time stamp:
0x61942d4a
Exception code: 0xc0000005
Fault offset: 0x000000000012a7cd
Faulting process id: 0x8b38
Faulting application start time: 0x01d7e63c092eb6ad
Faulting application path: C:\Program Files\PHP\v8.0\php-cgi.exe
Faulting module path: C:\Program Files\PHP\v8.0\ext\php_opcache.dll
Report Id: c9a1f978-17d7-4a3f-a340-3051ebe97f58
Faulting package full name: 
Faulting package-relative application ID: 


---

Fault bucket 1348990199055715320, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: php-cgi.exe
P2: 8.0.13.0
P3: 619429f5
P4: php_opcache.dll
P5: 8.0.13.0
P6: 61942d4a
P7: c0000005
P8: 000000000012a7cd
P9: 
P10: 

Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER8F67.tmp.dmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER8FE5.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER9005.tmp.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER9019.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER9039.tmp.txt

These files may be available here:
\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_php-cgi.exe_2058cbb22b56eff0f71936402f536fd764c1aa4d_4a81e604_b0659449

Analysis symbol: 
Rechecking for solution: 0
Report Id: c9a1f978-17d7-4a3f-a340-3051ebe97f58
Report Status: 268435456
Hashed bucket: 407a7897610279d7c2b8937054330bf8
Cab Guid: 0


-- 
Edit bug report at https://bugs.php.net/bug.php?id=81679&edit=1
-- 
Fix committed:                    https://bugs.php.net/fix.php?id=81679&r=fixed
Fixed in release:                 https://bugs.php.net/fix.php?id=81679&r=alreadyfixed
Need backtrace:                   https://bugs.php.net/fix.php?id=81679&r=needtrace
Need Reproduce Script:            https://bugs.php.net/fix.php?id=81679&r=needscript
Try newer version:                https://bugs.php.net/fix.php?id=81679&r=oldversion
Not developer issue:              https://bugs.php.net/fix.php?id=81679&r=support
Expected behavior:                https://bugs.php.net/fix.php?id=81679&r=notwrong
Not enough info:                  https://bugs.php.net/fix.php?id=81679&r=notenoughinfo
Submitted twice:                  https://bugs.php.net/fix.php?id=81679&r=submittedtwice
register_globals:                 https://bugs.php.net/fix.php?id=81679&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=81679&r=phptooold
Daylight Savings:                 https://bugs.php.net/fix.php?id=81679&r=dst
IIS Stability:                    https://bugs.php.net/fix.php?id=81679&r=isapi
Install GNU Sed:                  https://bugs.php.net/fix.php?id=81679&r=gnused
Floating point limitations:       https://bugs.php.net/fix.php?id=81679&r=float
No Zend Extensions:               https://bugs.php.net/fix.php?id=81679&r=nozend
MySQL Configuration Error:        https://bugs.php.net/fix.php?id=81679&r=mysqlcfg


Thread (9 messages)

« previous php.bugs (#238068) next »