Bug #80194 [Ver->Csd]: Assertion failure during block assembly of unreachable free with leading nop
| From: | nikic@php.net | Date: | Wed, 07 Oct 2020 13:04:25 +0000 |
| Subject: | Bug #80194 [Ver->Csd]: Assertion failure during block assembly of unreachable free with leading nop | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-229448@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=80194&edit=1
ID: 80194
Updated by: nikic@php.net
Reported by: sjon@php.net
Summary: Assertion failure during block assembly of
unreachable free with leading nop
-Status: Verified
+Status: Closed
Type: Bug
Package: opcache
Operating System: archLinux
PHP Version: 7.4
Assigned To: nikic
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of nikita.ppv@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=683c988493920e033f0c7f5455ebfc3825c38887
Log: Fixed bug #80194
Previous Comments:
------------------------------------------------------------------------
[2020-10-07 12:48:27] nikic@php.net
This also reproduces on PHP 7.4.
------------------------------------------------------------------------
[2020-10-07 08:39:14] sjon@php.net
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 this bug report at https://bugs.php.net/bug.php?id=80194&edit=1