Skip to content
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 in JIT mode 1135 #15973

Open
YuanchengJiang opened this issue Sep 21, 2024 · 1 comment
Open

Segmentation fault in JIT mode 1135 #15973

YuanchengJiang opened this issue Sep 21, 2024 · 1 comment

Comments

@YuanchengJiang
Copy link

Description

The following code:

<?php
class Test {
}
$appendProp2 = (function() {
$this->prop[] = 1;
})->bindTo($test, Test::class);
$appendProp2();

To reproduce:

-d "opcache.jit_hot_func=1" -d "opcache.protect_memory=1" -d "zend_extension=/php-src/modules/opcache.so" -d "opcache.enable_cli=1" -d "opcache.jit=1135"

PHP Version

PHP 8.4.0-dev

Operating System

ubuntu 22.04

@cmb69
Copy link
Member

cmb69 commented Sep 21, 2024

Can't reproduce with PHP-8.3, so might again be related to the new JIT implementation based on IR. cc @dstogov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants