Bug #75688 [Opn->Fbk]: Assertions firing during mass linting
| From: | nikic@php.net | Date: | Sat, 16 Dec 2017 22:31:22 +0000 |
| Subject: | Bug #75688 [Opn->Fbk]: Assertions firing during mass linting | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-213141@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=75688&edit=1
ID: 75688
Updated by: nikic@php.net
Reported by: chris at ocproducts dot com
Summary: Assertions firing during mass linting
-Status: Open
+Status: Feedback
Type: Bug
Package: opcache
Operating System: Mac OS High Sierra (fully patche
PHP Version: 7.2.0
Block user comment: N
Private report: N
New Comment:
I can't reproduce this. My guess is that this has already been fixed by https://github.com/php/php-src/commit/b6294bbc6cfc4f8fb23a2c7f2d18cbd85001c056.
Can you check whether the current PHP-7.2 resolves this for you as well?
Previous Comments:
------------------------------------------------------------------------
[2017-12-14 17:37:52] chris at ocproducts dot com
Description:
------------
I can trigger the following assertions...
Assertion failed: (phi->use_chains[pred_offset] == ((void*)0)), function
zend_ssa_remove_phi_source, file /Users/chrisgraham/dev/php-7.2.0/ext/opcache/Optimizer/zend_ssa.c,
line 1282.
Assertion failed: (op_array->opcodes[def].result_type & ((1<<1)|(1<<2))),
function dce_live_ranges, file /Users/chrisgraham/dev/php-7.2.0/ext/opcache/Optimizer/dce.c, line
590.
Assertion failed: (op_array->opcodes[b->start].opcode == 70 ||
op_array->opcodes[b->start].opcode == 127), function zend_ssa_remove_nops, file
/Users/chrisgraham/dev/php-7.2.0/ext/opcache/Optimizer/dfa_pass.c, line 165.
I can't narrow this down to a test case, but I may be able to help you reproduce it.
Download getid3, and do a mass lint operation...
find . -name "*.php" -exec php -l {} \;
Hopefully you'll reproduce and see assertions scattered in it.
Linting the individual files scanned before or after the assertion doesn't seem to cause it, so
I guess it is either concurrency related, intermittent, or has some kind of delay effect (but really
I don't know!).
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75688&edit=1