Bug #81679 [Opn->Fbk]: PHP 8 opcache crashing when using JIT on Windows 2019

From: Date: Wed, 01 Dec 2021 11:03:22 +0000
Subject: Bug #81679 [Opn->Fbk]: PHP 8 opcache crashing when using JIT on Windows 2019
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-238081@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=81679&edit=1

 ID:                 81679
 Updated by:         cmb@php.net
 Reported by:        alex at ndros dot com
 Summary:            PHP 8 opcache crashing when using JIT on Windows
                     2019
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            JIT
 Operating System:   Windows Server 2019
 PHP Version:        8.0.13
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

I cannot reproduce this.

> This seem to happen to any PHP application.

Can you give a concrete example?  Ideally, a minimal application
or even better a simple script.

A stack backtrace[1] might also be helpful.

[1] <https://bugs.php.net/bugs-generating-backtrace-win32.php>


Previous Comments:
------------------------------------------------------------------------
[2021-11-30 22:50:49] alex at ndros dot com

This seem to happen to any PHP application.

------------------------------------------------------------------------
[2021-11-30 22:50:04] alex at ndros dot com

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 this bug report at https://bugs.php.net/bug.php?id=81679&edit=1


Thread (9 messages)

« previous php.bugs (#238081) next »