Edit report at https://bugs.php.net/bug.php?id=65247&edit=1
ID: 65247
Comment by: me at laurinkeithdavis dot com
Reported by: me at laurinkeithdavis dot com
Summary: php.exe crashes when opcache.enable_cli=1
Status: Feedback
Type: Bug
Package: Reproducible crash
Operating System: Windows 7 x64
PHP Version: 5.5.0
Block user comment: N
Private report: N
New Comment:
Yes, with XDebug disabled, it still crashes.
I'm using the php_opcache.dll that is bundled with 5.5 NTS from the windows binaries site.
Yes, it still crashes with FastCGI not running (IIS stopped.)
If I disable opcache (opcache.enable_cli=0), it does not crash, if I enable (opcache.enable_cli=1),
it crashes. How could that not be opcache causing the problem? We've been using wincache for
years on the command line and have had no issues. What are we supposed to do? Abandon the use of
opcache?
Previous Comments:
------------------------------------------------------------------------
[2013-07-16 09:03:47] ab@php.net
Well, that's a backtrace. Unfortunately it contains nothing about PHP. If that's
the BT you only get, that's most likely not opcache.
And what about the other questions i've asked - xdebug disabled? Does
it crash when fastcgi doesn't run simultaneously on the same machine? Please try
just one cli process.
------------------------------------------------------------------------
[2013-07-15 16:10:19] me at laurinkeithdavis dot com
Do I do that correctly?
------------------------------------------------------------------------
[2013-07-15 16:09:15] me at laurinkeithdavis dot com
Thread 0 - System ID 3728
Entry point php!mainCRTStartup
Create time 7/15/2013 11:07:13 AM
Time spent in user mode 0 Days 0:0:1.216
Time spent in kernel mode 0 Days 0:0:0.249
Full Call Stack
Function Arg 1 Arg 2 Arg 3 Arg 4 Source
ntdll!NtRaiseException+12 00abf4b4 00abf504 00000000 00000000
ntdll!RtlReportException+20 00abf4b4 00abf504 00000000 00abf9e0
ntdll!RtlpTerminateFailureFilter+14 c0000374 00abf3b4 776e73bc 00000000
ntdll!RtlReportCriticalFailure+67 00000000 00abf9e0 7769cfc0 00abf3c8
ntdll!_EH4_CallFilterFunc+12 00000000 00000000 00000000 00abf4b4
ntdll!_except_handler4+8e fffffffe 00abf9d0 00abf504 00abf488
ntdll!ExecuteHandler2+26 00abf4b4 00abf9d0 00abf504 00abf488
ntdll!ExecuteHandler+24 00abf4b4 00abf9d0 00abf504 00abf488
ntdll!RtlDispatchException+127 00abf4b4 00abf504 00abf4b4 00abf504
ntdll!KiUserExceptionDispatcher+f 00abf4b4 00abf504 00abf4b4 00abf504
------------------------------------------------------------------------
[2013-07-12 06:19:12] ab@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.
Firstly, please try to disable xdebug. And, which opcache build do you use? Does
it crash when fastcgi doesn't run simultaneously on the same machine? Please look
at the link above about howto produce a backtrace.
------------------------------------------------------------------------
[2013-07-11 23:40:11] me at laurinkeithdavis dot com
Description:
------------
If Opcache is enabled for CLI, php.exe crashes on shutdown every single time, on 3
different machines.
No crashes on fastcgi (IIS 7.5), and no crashes on CLI if opcache is disabled.
Always happens on shutdown, tested with XDebug, after script completes (as far as
I can tell.)
Test script:
---------------
Any script will do.
Expected result:
----------------
No errors
Actual result:
--------------
Log Name: Application
Source: Application Error
Date: 7/10/2013 3:39:44 PM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: KDAVIS.pridedallas.com
Description:
Faulting application name: php.exe, version: 5.5.0.0, time stamp: 0x51c23964
Faulting module name: ntdll.dll, version: 6.1.7601.17725, time stamp:
0x4ec49b8f
Exception code: 0xc0000374
Fault offset: 0x000ce6c3
Faulting process id: 0x7f1c
Faulting application start time: 0x01ce7dad93743640
Faulting application path: C:\PHP\php.exe
Faulting module path: C:\Windows\SysWOW64\ntdll.dll
Report Id: da2aff4c-e9a0-11e2-b56d-bc5ff42044ec
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65247&edit=1