[php-src] Issue #15909: Core dumped in ext/opcache/jit/ir/ir_cfg.c
| From: | YuanchengJiang | Date: | Mon, 16 Sep 2024 09:08:19 +0000 |
| Subject: | [php-src] Issue #15909: Core dumped in ext/opcache/jit/ir/ir_cfg.c | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-247794@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/15909
Author: YuanchengJiang
### Description
The following code:
```php
<?php
function foo() {
for(;x;)for(;$fusion=1;);
}
```
Resulted in this output:
```
/php-src/ext/opcache/jit/ir/ir_cfg.c:681: ir_build_dominators_tree: Assertion `blocks[idom].idom
> 0' failed.
Aborted (core dumped)
```
To reproduce:
```
-d "zend_extension=/php-src/modules/opcache.so" -d "opcache.enable_cli=1" -d
"opcache.jit=1001"
```
### PHP Version
PHP 8.4.0-dev
### Operating System
ubuntu 22.04