Bug #78125 [Fbk->Asn]: Persistent php-cgi.exe access fault

From: Date: Tue, 25 Jun 2019 16:35:45 +0000
Subject: Bug #78125 [Fbk->Asn]: Persistent php-cgi.exe access fault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-221486@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78125&edit=1 ID: 78125 User updated by: aschmidt at anamera dot net Reported by: aschmidt at anamera dot net Summary: Persistent php-cgi.exe access fault -Status: Feedback +Status: Assigned Type: Bug Package: opcache Operating System: Win x64 -PHP Version: 7.3.8-dev +PHP Version: 7.3.7RC3 Assigned To: cmb Block user comment: N Private report: N New Comment: The php-cgi.exe access fault no longer occurs, even if opcache.enable_cli=1 opcache.enable=1 Thank you for that. I took the time and disabling/enabling extension one at a time. The module that causes the phpinfo(8) crash in your recent PHP 7.3.x and 7.2.x builds is the win32service 4.0 extension (the production release of 2019-02-20). (It doesn't matter if WinCache, OPcache, or xdebug are active or removed at the same time.) Previous Comments: ------------------------------------------------------------------------ [2019-06-25 08:42:48] cmb@php.net Please try with PHP 7.3.7RC3 (<https://windows.php.net/qa/#php-7.3>). ------------------------------------------------------------------------ [2019-06-19 00:19:13] aschmidt at anamera dot net The most functional environment is: 7.3.6 or 7.2.19 WITH WinCache WITH OpCache BUT opcache.enable_cli=0 !!! In THAT combination: - php-cli will work (uncached), - php-cgi will work (cached), - phpinfo(8) will work. ------------------------------------------------------------------------ [2019-06-19 00:07:25] aschmidt at anamera dot net phpinfo( 8 ) FAILS with php-7.3-nts-windows-vc15-x64-r11b354d - even without OPcache, Wincache but WORKS fine with php 7.3.6 (So the same phpinfo(8) problem as with 7.2, fails after 7.2.19). Concurrent php-cli and php-cgi with OPcache crashes: php-7.3-nts-windows-vc15-x64-r11b354d 7.3.6, 7.3.5, 7.3.4 It does NOT matter if wincache extension is removed. However, concurrent php-cli and php-cgi WORKS with wincache in all those 7.3.x, as soon as OPcache is removed. Sorry - testing with different permissions/users is not practical, because the php-cli service and the php-cgi web site rely on certain network shares that require certain privileges. ------------------------------------------------------------------------ [2019-06-18 08:14:46] cmb@php.net Thanks for further checking! I have some further questions which may help to localize the problem: * Did neither of the two issues occur with 7.3.5? * Which exact revision of 7.3.8-dev did you test? Was it r9f0515c? * Can you reproduce the two issues without Xdebug and Wincache? * What happens when you run FCGI and the CLI service under different user accounts? ------------------------------------------------------------------------ [2019-06-18 05:37:32] aschmidt at anamera dot net Just also tested 7.3.6 up to 7.3.8-dev. BOTH problems are open: a) the php-cgi crashes whenever OPcache is enabled! b) phpinfo(8) crashes unconditionally, but phpinfo(55) will work. So at this point, there appears that neither the current, nor any upcoming version supports OPcache under Windows - and I'm worried that phpinfo(8) is failing? ------------------------------------------------------------------------ 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=78125 -- Edit this bug report at https://bugs.php.net/bug.php?id=78125&edit=1

« previous php.bugs (#221486) next »