Bug #80194 [NEW]: ext/opcache/Optimizer/block_pass.c:973: assemble_code_blocks: Assertion..failed
| From: | sjon@php.net | Date: | Wed, 07 Oct 2020 08:39:14 +0000 |
| Subject: | Bug #80194 [NEW]: ext/opcache/Optimizer/block_pass.c:973: assemble_code_blocks: Assertion..failed | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-229436@lists.php.net to get a copy of this message | ||
From: sjon
Operating system: archLinux
PHP version: 8.0.0rc1
Package: opcache
Bug Type: Bug
Bug description:ext/opcache/Optimizer/block_pass.c:973: assemble_code_blocks: Assertion..failed
Description:
------------
probably somewhat related to #80046
ext/opcache/Optimizer/block_pass.c:973: assemble_code_blocks: Assertion
`op_array->opcodes[b->start].opcode == 70 ||
op_array->opcodes[b->start].opcode == 127' failed.
print op_array->opcodes[b->start].opcode
$1 = 0 '\000'
Test script:
---------------
<?php
class p
{
public function u()
{
switch ($this->z)
{
default:
throw new Exception;
case 'mysql':
return new Xxx($this);
break;
}
}
}
--
Edit bug report at https://bugs.php.net/bug.php?id=80194&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=80194&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=80194&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=80194&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=80194&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=80194&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=80194&r=support
Expected behavior: https://bugs.php.net/fix.php?id=80194&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=80194&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=80194&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=80194&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80194&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=80194&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=80194&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=80194&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=80194&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=80194&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=80194&r=mysqlcfg