Bug #78754 [Opn]: Opcache PHP Crash

From: Date: Tue, 29 Oct 2019 18:33:19 +0000
Subject: Bug #78754 [Opn]: Opcache PHP Crash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-223508@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78754&edit=1 ID: 78754 User updated by: deivid dot garcia dot garcia at gmail dot com Reported by: deivid dot garcia dot garcia at gmail dot com Summary: Opcache PHP Crash Status: Open Type: Bug Package: opcache Operating System: Windows Server 2016 Standard PHP Version: 7.2.24 Block user comment: N Private report: N New Comment: * Which build are you using exactly? I tried with 7.3.9 NTS X64, even with 7.2.x I use NTS X64 * Do you use opcache.file_cache_fallback, or opcache.file_cache_only? opcache.file_cache_fallback = 1 opcache.file_cache_only = 0 * Do you have opcache.file_cache_consistency_checks enabled? file_cache_consistency_checks = 1 * What's your opcache.log_verbosity_level value? opcache.log_verbosity_level = 1 * Are there any relevant messages in opcache.error_log? No. * Could you provide a backtrace[1] (there might be one contained in the WER report, but I'm reluctant to download 20GB) This is a 200MB file, I included several WER dumps related to the same error to see if they where helpful. * Could you try with PHP 7.2.24 or even 7.3.11? 7.3.9, I will try with 7.3.11.... Previous Comments: ------------------------------------------------------------------------ [2019-10-28 11:08:32] cmb@php.net Some questions: * Which build are you using exactly? * Do you use opcache.file_cache_fallback, or opcache.file_cache_only? * Do you have opcache.file_cache_consistency_checks enabled? * What's your opcache.log_verbosity_level value? * Are there any relevant messages in opcache.error_log? * Could you provide a backtrace[1] (there might be one contained in the WER report, but I'm reluctant to download 20GB) * Could you try with PHP 7.2.24 or even 7.3.11? [1] <https://bugs.php.net/bugs-generating-backtrace-win32.php> ------------------------------------------------------------------------ [2019-10-27 15:47:30] deivid dot garcia dot garcia at gmail dot com Tried to build a repro script without success. Seems not to be related to long paths at all. 0xc0000409 means STATUS_STACK_BUFFER_OVERRUN ------------------------------------------------------------------------ [2019-10-27 15:47:08] deivid dot garcia dot garcia at gmail dot com Tried to build a repro script without success. Seems not to be related to long paths at all. 0xc0000409 means STATUS_STACK_BUFFER_OVERRUN ------------------------------------------------------------------------ [2019-10-27 14:33:15] deivid dot garcia dot garcia at gmail dot com Link to download crash dumps genertaed by WER: https://drive.google.com/file/d/1nWWx9lhKuwhFugW-EOy8uejFKBtSUkmd/view?usp=sharing ------------------------------------------------------------------------ [2019-10-27 13:52:32] deivid dot garcia dot garcia at gmail dot com Description: ------------ I am experiencing a PHP crash related to Opcache. Faulting application name: php-cgi.exe, version: 7.2.22.0, time stamp: 0x5d664a16 Faulting module name: ntdll.dll, version: 10.0.14393.447, time stamp: 0x5819bc32 Exception code: 0xc0000409 Fault offset: 0x000000000009520f Faulting process id: 0xa18 Faulting application start time: 0x01d58ccb45755151 Faulting application path: d:\chef\_apps\chf_magento2_jvgo\runtime\php\php-cgi.exe Faulting module path: C:\Windows\SYSTEM32\ntdll.dll Report Id: e561a003-7e6b-4ae9-882c-1066267c168a Faulting package full name: Faulting package-relative application ID: The error goes away if: [A] Disable opcache extension with: opcache.enable=0 [B] Delete the contents of the opcache.file_cache (works for a while, and the error shows up again when PHP tries to read from the file cache). This totally points to some sort of condition in the cached files: * They might be corrupted in some way? * The issue might be related to LongPaths on Windows? ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=78754&edit=1

« previous php.bugs (#223508) next »