[php-src] Issue #16000: Assertion failure in ext/opcache/jit/zend_jit_ir.c
| From: | YuanchengJiang | Date: | Mon, 23 Sep 2024 08:02:46 +0000 |
| Subject: | [php-src] Issue #16000: Assertion failure in ext/opcache/jit/zend_jit_ir.c | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-247864@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/16000
Author: YuanchengJiang
### Description
The following code:
```php
<?php
ini_set('opcache.jit', 'tracing');
class Foo {
public function __destruct() {
}
}
const FOO = new Foo;
?>
```
Resulted in this output:
```
php: ext/opcache/jit/zend_jit_ir.c:3655: int zend_jit_bb_start(zend_jit_ctx *, int): Assertion
`(jit_globals.trigger) != 5' failed.
Aborted (core dumped)
```
To reproduce:
```
-d "extension_dir=/php-src/modules/" -d
"zend_extension=/php-src/modules/opcache.so" -d "session.auto_start=0" -d
"opcache.enable=1" -d "opcache.enable_cli=1" -d "opcache.jit=1215"
```
### PHP Version
PHP 8.4.0-dev
### Operating System
ubuntu 22.04