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

Windows JIT segfault when running psalm #13180

Open
danog opened this issue Jan 17, 2024 · 3 comments
Open

Windows JIT segfault when running psalm #13180

danog opened this issue Jan 17, 2024 · 3 comments

Comments

@danog
Copy link
Contributor

danog commented Jan 17, 2024

Description

Running php.exe psalm in https://github.com/nicelocal/psalm, branch jit_windows, results in a segfault (i.e. the equivalent access violation error on windows).

To reproduce, use the production php.ini and uncomment zend_extension=opcache.

Psalm will self-restart, enabling JIT using the config specified in src/Psalm/Internal/Fork/PsalmRestarter.php.

Strangely enough it seems to be a floating error, but it can be reproduced by trying a few times.

Ping @dstogov.

PHP Version

PHP 8.3.2, 8.1.27

Operating System

Windows 11.

@dstogov
Copy link
Member

dstogov commented Jan 29, 2024

Could you please check if commit f120ac9 (the fix for #12481) also fixes this issue.

@danog
Copy link
Contributor Author

danog commented Jan 29, 2024

@dstogov Will compile&check, could you also take a look at #12884 too?

@nielsdos
Copy link
Member

nielsdos commented Mar 5, 2025

@danog Did Dmitry's fix work for you? We never got a reply for that. 🙂

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