Skip to content

Segmentation fault zend_vm_execute.h:30190 #17027

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 Dec 3, 2024 · 1 comment
Closed

Segmentation fault zend_vm_execute.h:30190 #17027

YuanchengJiang opened this issue Dec 3, 2024 · 1 comment

Comments

@YuanchengJiang
Copy link

Description

The following code:

<?php
namespace foo;
var_dump(class_exists('foo\bar'));

Resulted in this output:

Zend/zend_vm_execute.h:30190:8: runtime error: shift exponent 326 is too large for 32-bit type 'uint32_t' (aka 'unsigned int')
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior Zend/zend_vm_execute.h:30190:8

To reproduce:

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

PHP Version

nightly

Operating System

ubuntu 22.04

@nielsdos
Copy link
Member

nielsdos commented Dec 3, 2024

Duplicate of #15981

@nielsdos nielsdos marked this as a duplicate of #15981 Dec 3, 2024
@nielsdos nielsdos closed this as not planned Won't fix, can't repro, duplicate, stale Dec 3, 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

2 participants