-
Notifications
You must be signed in to change notification settings - Fork 7.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation fault on unknown address 0x600000000018 in ext/opcache/jit/zend_jit.c #14082
Comments
Can confirm:
Simplified command line: EDIT: preload.inc can be simplified to: <?php
class Foo {
public static function test() {
static $i = 0;
var_dump(++$i);
}
}
Foo::test(); |
The problem seems to be that the caller_info, callee_info and possibly call_map is allocated on the arena but not reset before being used by the next request? So we should probably set that to NULL somewhere although I'm not sure where. |
Description
The following code:
test.php:
preload.inc:
Resulted in this output:
To reproduce:
PHP Version
PHP 8.4.0-dev
Operating System
ubuntu 22.04
The text was updated successfully, but these errors were encountered: