Bug #80422 [Opn->Fbk]: php_opcache.dll crashes when using Apache 2.4 with JIT
| From: | cmb@php.net | Date: | Thu, 26 Nov 2020 11:20:52 +0000 |
| Subject: | Bug #80422 [Opn->Fbk]: php_opcache.dll crashes when using Apache 2.4 with JIT | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-230631@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=80422&edit=1
ID: 80422
Updated by: cmb@php.net
Reported by: martin at radiok2r dot de
Summary: php_opcache.dll crashes when using Apache 2.4 with
JIT
-Status: Open
+Status: Feedback
Type: Bug
-Package: Apache2 related
+Package: JIT
Operating System: Windows 10 64-bit
PHP Version: 8.0.0RC5
Block user comment: N
Private report: N
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2020-11-26 11:10:57] martin at radiok2r dot de
Description:
------------
Hello,
I'm trying to run Apache with PHP 8 JIT-compiler on Windows 10 64-bit. I did:
Downloaded and installed Apache 2.4.46 Win64 from
https://www.apachelounge.com/download/
Downloaded and installed PHP VS16 x64 Thread Safe (2020-Nov-24 22:49:03) from:
https://windows.php.net/download/
I inserted:
LoadModule php_module "C:/[Path to PHP]/php8apache2_4.dll"
AddHandler application/x-httpd-php .php
into my httpd.conf
I started Apache, and browsing to local webpages works fine.
Okay, so I added to my php.ini:
opcache.jit_buffer_size=100M
which should activate the JIT-compiler.
I restarted Apache and called a local webpage and just got:
This site canât be reached
The connection was reset.
Windows event-log shows me (I hope the translation is correct):
Name of the crashed application: httpd.exe, Version: 2.4.46.0, Timestamp: 0x5f76f6fc
Name of the crashed modul: php_opcache.dll, Version: 8.0.0.0, Timestamp: 0x5fbd7aa0
Exceptioncode: 0xc0000005
Erroroffset: 0x000000000012a298
ID of the faulty process: 0x4628
Path to the crashed appliction: C:\[Path to Apache]\bin\httpd.exe
Path to the crashed modul:: c:\[Path to PHP]\ext\php_opcache.dll
Removing:
opcache.jit_buffer_size=100M
from php.ini, and Apache works fine again.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80422&edit=1