Bug #80194 [Opn->Ver]: ext/opcache/Optimizer/block_pass.c:973: assemble_code_blocks: Assertion..failed

From: Date: Wed, 07 Oct 2020 12:48:27 +0000
Subject: Bug #80194 [Opn->Ver]: ext/opcache/Optimizer/block_pass.c:973: assemble_code_blocks: Assertion..failed
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-229446@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: ext/opcache/Optimizer/block_pass.c:973: assemble_code_blocks: Assertion..failed -Status: Open +Status: Verified Type: Bug Package: opcache Operating System: archLinux -PHP Version: 8.0.0rc1 +PHP Version: 7.4 Block user comment: N Private report: N New Comment: This also reproduces on PHP 7.4. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#229446) next »