Bug #79535 [Opn->Fbk]: PHP crashes with specific opcache.optimization_level

From: Date: Thu, 30 Apr 2020 07:25:33 +0000
Subject: Bug #79535 [Opn->Fbk]: PHP crashes with specific opcache.optimization_level
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-226841@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79535&edit=1 ID: 79535 Updated by: cmb@php.net Reported by: roland at nextendweb dot com Summary: PHP crashes with specific opcache.optimization_level -Status: Open +Status: Feedback Type: Bug Package: opcache Operating System: Windows, Linux PHP Version: 7.3.17 Assigned To: cmb Block user comment: N Private report: N New Comment: Thanks for the further info! Can you please try with a recent PHP version on Windows, and provide a *debug* backtrace, see <https://bugs.php.net/bugs-generating-backtrace-win32.php>. Previous Comments: ------------------------------------------------------------------------ [2020-04-29 16:37:41] roland at nextendweb dot com I didn't originally used xdebug and xdebug was only on a single server installed. I was able to reproduce this crash on 3 different server and on two xdebug was not installed. So I do not think it is xdebug related. If I added opcache_reset() to my index.php it was good all the time. After removed, it crashed. ------------------------------------------------------------------------ [2020-04-29 16:35:18] cmb@php.net Ah, but file_cache is not enabled in your case! Can you please try with a recent PHP version on Windows, and provide a *debug* backtrace, see <https://bugs.php.net/bugs-generating-backtrace-win32.php>. ------------------------------------------------------------------------ [2020-04-29 16:32:24] cmb@php.net When file_cache is enabled, and you switch Xdebug on and off, crashes are to be expected. That issue has already been reported as bug #75886. ------------------------------------------------------------------------ [2020-04-29 15:39:44] roland at nextendweb dot com Xdebug is disabled when this crash happens. Here is the phpinfo() related to opcache: opcache.blacklist_filename no value opcache.consistency_checks 0 opcache.dups_fix Off opcache.enable On opcache.enable_cli Off opcache.enable_file_override Off opcache.error_log no value opcache.file_cache no value opcache.file_cache_consistency_checks 1 opcache.file_cache_fallback 1 opcache.file_cache_only 0 opcache.file_update_protection 2 opcache.force_restart_timeout 60 opcache.interned_strings_buffer 8 opcache.log_verbosity_level 1 opcache.max_accelerated_files 8192 opcache.max_file_size 0 opcache.max_wasted_percentage 5 opcache.memory_consumption 512 opcache.mmap_base no value opcache.opt_debug_level 0 opcache.optimization_level 0xfffffbbf opcache.preferred_memory_model no value opcache.protect_memory 0 opcache.restrict_api no value opcache.revalidate_freq 10 opcache.revalidate_path Off opcache.save_comments 1 opcache.use_cwd On opcache.validate_permission Off opcache.validate_timestamps On ------------------------------------------------------------------------ [2020-04-29 15:34:52] cmb@php.net Just to be sure: are there Xdebug and file_cache(_fallback) involved? ------------------------------------------------------------------------ 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=79535 -- Edit this bug report at https://bugs.php.net/bug.php?id=79535&edit=1

« previous php.bugs (#226841) next »