Skip to content

Segmentation fault in Zend/zend_vm_execute.h:3998 #16768

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

Closed
YuanchengJiang opened this issue Nov 13, 2024 · 1 comment
Closed

Segmentation fault in Zend/zend_vm_execute.h:3998 #16768

YuanchengJiang opened this issue Nov 13, 2024 · 1 comment

Comments

@YuanchengJiang
Copy link

Description

The following code:

<?php
require_once "tester.inc";
$cfg = <<<EOT
EOT;
$code = <<<EOT
EOT;
$tester = new FPM\Tester($cfg, $code);

Resulted in this output:

Zend/zend_vm_execute.h:3998:8: runtime error: load of misaligned address 0x7f4983550a7f for type 'void *', which requires 8 byte alignment

To reproduce:

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

Related to #15981 but a different crashsite.

PHP Version

nightly

Operating System

ubuntu 22.04

@nielsdos
Copy link
Member

Related to #15981 but a different crashsite.

But same root cause, checked the same way I checked all the other duplicates by looking through the assembly and testing with zend_jit_reset_last_valid_opline, closing as duplicate.

@nielsdos nielsdos closed this as not planned Won't fix, can't repro, duplicate, stale Nov 13, 2024
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

3 participants