Bug #73983 [Opn->Fbk]: crash on finish work with phar in cli + opcache

From: Date: Tue, 24 Jan 2017 12:31:03 +0000
Subject: Bug #73983 [Opn->Fbk]: crash on finish work with phar in cli + opcache
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-206914@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73983&edit=1 ID: 73983 Updated by: ab@php.net Reported by: sailormax at inbox dot lv Summary: crash on finish work with phar in cli + opcache -Status: Open +Status: Feedback Type: Bug Package: opcache Operating System: Windows 10 PHP Version: 7.1.1 Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2017-01-24 09:07:48] sailormax at inbox dot lv Description: ------------ sample files: PHP: http://windows.php.net/downloads/releases/php-7.1.1-nts-Win32-VC14-x64.zip PHAR: http://static.phpmd.org/php/2.6.0/phpmd.phar test.php: <? function foo($foo = 10) { $aa = 12; } ?> php.ini: extension_dir = ".\ext" extension=php_bz2.dll extension=php_mbstring.dll ;extension=php_v8js.dll memory_limit = 4096M display_errors = On display_startup_errors = On error_reporting = E_ALL log_errors = On error_log = "./" zend_extension=php_opcache.dll opcache.enable = 1 opcache.enable_cli = 1 opcache.huge_code_pages = 1 opcache.file_cache="c:\\Temp" opcache.file_cache_only = 1 opcache.file_cache_consistency_checks = 1 opcache.file_cache_fallback = 1 Test script: --------------- php -f phpmd.phar test.php text unusedcode Expected result: ---------------- test.php:2 Avoid unused parameters such as '$foo'. test.php:4 Avoid unused local variables such as '$aa'. Actual result: -------------- test.php:2 Avoid unused parameters such as '$foo'. test.php:4 Avoid unused local variables such as '$aa'. **crash** ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=73983&edit=1

« previous php.bugs (#206914) next »