Bug #79932 [Fbk->NoF]: PHP 8.0 beta1 crashes when used as apache module
| From: | php-bugs at lists dot php dot net | Date: | Sun, 24 Jan 2021 04:22:14 +0000 |
| Subject: | Bug #79932 [Fbk->NoF]: PHP 8.0 beta1 crashes when used as apache module | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-231739@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79932&edit=1
ID: 79932
Updated by: php-bugs@lists.php.net
Reported by: buschmann at nidsa dot net
Summary: PHP 8.0 beta1 crashes when used as apache module
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: JIT
Operating System: Windows Server 2019 64bit
PHP Version: 8.0.0beta1
Assigned To: cmb
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2021-01-15 14:39:22] cmb@php.net
Is this still an issue with PHP 8.0.1?
------------------------------------------------------------------------
[2020-08-06 13:06:33] buschmann at nidsa dot net
When set
opcache.jit=1205
the opcache_gui and prewarm and a quick test of the application seem OK now.
(Only tested in httpd -X mode for now)
It seems I cannot provide more info to come to the root cause.
Thanks for investigating.
------------------------------------------------------------------------
[2020-08-06 10:16:20] cmb@php.net
Thanks! This is apparently a tracing JIT issue. Please try with
opcache.jit=1205
------------------------------------------------------------------------
[2020-08-06 10:03:11] buschmann at nidsa dot net
Crash dump as requested (when loading opcache_gui.php or prewarm with our application):
Report for
httpd__PID__4300__Date__08_06_2020__Time_11_43_01AM__275__Second_Chance_Exception_C0000005.dmp
Type of Analysis Performed Crash Analysis
Machine Name SAM_DEV_HB
Operating System Windows Server - 17763
Number Of Processors 2
Process ID 4300
Process Image N:\Apache\Apache24\bin\httpd.exe
Command Line httpd -X
System Up-Time 18 day(s) 18:08:55
Process Up-Time 00:10:02
Processor Type X64
Process Bitness 64-Bit
Faulting Thread
Entry point libhttpd!ap_run_generate_log_id+3ab0
Create time 06.08.2020 11:32:59
Time spent in user mode 0 Days 0:0:0.421
Time spent in kernel mode 0 Days 0:0:0.234
Arg 1
Arg 2
Arg 3
Arg 4
Source
php_opcache!zend_jit_trace_exit_is_hot+68
[C:\php-snap-build\php80\vs16\x64\php-8.0.0beta1-ts\ext\opcache\jit\zend_jit_trace.c @ 5386 + 4]
0000000
00000001 000007200000006 00001affd3d00d8
0007ff955d9490b
C:\php-snap-build\php80\vs16\x64\php-8.0.0beta1-ts\ext\opcache\jit\zend_jit_trace.c @ 5386 + 4
php_opcache!zend_jit_trace_exit+a76
[C:\php-snap-build\php80\vs16\x64\php-8.0.0beta1-ts\ext\opcache\jit\zend_jit_trace.c @ 5753 + 47]
000100000000006 0000072cebfd4a0 0000000000000c6
00001affd86a500
C:\php-snap-build\php80\vs16\x64\php-8.0.0beta1-ts\ext\opcache\jit\zend_jit_trace.c @ 5753 + 47
0x0000100002000613 0000072cebfd4a0 0000000000000c6
00001affd86a500 0000000`00000003
0x0000100000000006 0000000000000c6 00001affd86a500
000000000000003 00001af`fd88835c
0x00000072cebfd4a0 00001affd86a500 000000000000003
00001affd88835c 0000e50`028ac6b0
0x000000c6 000000000000003 00001affd88835c 0000e50028ac6b0
0000072cebfd5b0
0x000001affd86a500 00001affd88835c 0000e50028ac6b0
0000072cebfd5b0 00001af`fd3d00d8
0x00000003 0000e50028ac6b0 0000072cebfd5b0 00001affd3d00d8
00001affd4a0cf0
0x000001affd88835c 0000072cebfd5b0 00001affd3d00d8
00001affd4a0cf0 00001af`fd8123c0
0x00000e50028ac6b0 00001affd3d00d8 00001affd4a0cf0
00001affd8123c0 00001af`fd3d00d8
0x00000072cebfd5b0 00001affd4a0cf0 00001affd8123c0
00001affd3d00d8 0000000`00000000
0x000001affd3d00d8 00001affd8123c0 00001affd3d00d8
000000000000000 00001af`fd812350
0x000001affd4a0cf0 00001affd3d00d8 000000000000000
00001affd812350 00001af`fab338e0
0x000001affd8123c0 000000000000000 00001affd812350
00001affab338e0 00001af`fd3d00d8
0x000001affd3d00d8 00001affd812350 00001affab338e0
00001affd3d00d8 0000000`00000008
CLR Information
Exception Information
PHP_OPCACHE!ZEND_JIT_TRACE_EXIT_IS_HOT+68In
httpd__PID__4300__Date__08_06_2020__Time_11_43_01AM__275__Second_Chance_Exception_C0000005.dmp the
assembly instruction at php_opcache!zend_jit_trace_exit_is_hot+68 in
N:\Apache\php8\ext\php_opcache.dll from The PHP Group has caused an access violation exception
(0xC0000005) when trying to read from memory location 0x00000006 on thread 97
Module Information
Image Name: N:\Apache\php8\ext\php_opcache.dll Symbol Type: PDB
Base address: 0x00000003`00905a4d Time Stamp: Tue Aug 4 22:51:55 2020
Checksum: 0x00000000`00000000 Comments: Thanks to Andi Gutmans, Zeev Suraski, Stanislav Malyshev,
Dmitry Stogov, Xinchen Hui
COM DLL: False Company Name: The PHP Group
ISAPIExtension: False File Description: Opcache
ISAPIFilter: False File Version: 8.0.0beta1
Managed DLL: False Internal Name: OPCACHE extension
VB DLL: False Legal Copyright: Copyright é The PHP Group
Loaded Image Name: php_opcache.dll Legal Trademarks: PHP
Mapped Image Name: Original filename: php_opcache.dll
Module name: php_opcache Private Build:
Single Threaded: False Product Name: PHP
Module Size: 1,46 MBytes Product Version: 8.0.0beta1
Symbol File Name: n:\apache\php8debug\php_opcache.pdb Special Build: &
------------------------------------------------------------------------
[2020-08-05 17:07:14] cmb@php.net
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.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=79932
--
Edit this bug report at https://bugs.php.net/bug.php?id=79932&edit=1