Bug #75688 [NEW]: Assertions firing during mass linting

From: Date: Thu, 14 Dec 2017 17:37:56 +0000
Subject: Bug #75688 [NEW]: Assertions firing during mass linting
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-213103@lists.php.net to get a copy of this message
From: chris at ocproducts dot com Operating system: Mac OS High Sierra (fully patche PHP version: 7.2.0 Package: opcache Bug Type: Bug Bug description:Assertions firing during mass linting 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 bug report at https://bugs.php.net/bug.php?id=75688&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75688&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75688&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75688&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=75688&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=75688&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=75688&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=75688&r=needscript Try newer version: https://bugs.php.net/fix.php?id=75688&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=75688&r=support Expected behavior: https://bugs.php.net/fix.php?id=75688&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=75688&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=75688&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=75688&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75688&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=75688&r=dst IIS Stability: https://bugs.php.net/fix.php?id=75688&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=75688&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=75688&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=75688&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=75688&r=mysqlcfg

« previous php.bugs (#213103) next »