Skip to content

JIT stack overflow when using composer #12507

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
danog opened this issue Oct 24, 2023 · 1 comment
Closed

JIT stack overflow when using composer #12507

danog opened this issue Oct 24, 2023 · 1 comment

Comments

@danog
Copy link
Contributor

danog commented Oct 24, 2023

Description

See https://github.com/danog/jit_bugs, reproducer 1.

Trace:

    #0 0x5602e0428fe1 in zend_ssa_check_scc_var /php-src/Zend/Optimizer/zend_inference.c:185:2
    #1 0x5602e0429396 in zend_ssa_check_scc_var /php-src/Zend/Optimizer/zend_inference.c:185:2
    #2 0x5602e0429396 in zend_ssa_check_scc_var /php-src/Zend/Optimizer/zend_inference.c:185:2
    #3 0x5602e0429396 in zend_ssa_check_scc_var /php-src/Zend/Optimizer/zend_inference.c:185:2
    #4 0x5602e0429396 in zend_ssa_check_scc_var /php-src/Zend/Optimizer/zend_inference.c:185:2
    #5 0x5602e0429396 in zend_ssa_check_scc_var /php-src/Zend/Optimizer/zend_inference.c:185:2
    #6 0x5602e0429396 in zend_ssa_check_scc_var /php-src/Zend/Optimizer/zend_inference.c:185:2
    #7 0x5602e0429396 in zend_ssa_check_scc_var /php-src/Zend/Optimizer/zend_inference.c:185:2
    #8 0x5602e0429396 in zend_ssa_check_scc_var /php-src/Zend/Optimizer/zend_inference.c:185:2
    #9 0x5602e0429396 in zend_ssa_check_scc_var /php-src/Zend/Optimizer/zend_inference.c:185:2
    #10 0x5602e0429396 in zend_ssa_check_scc_var /php-src/Zend/Optimizer/zend_inference.c:185:2

    200 more lines like this...

Ping @dstogov.

PHP Version

fa218ea, 8.3

Operating System

No response

@nielsdos
Copy link
Member

Duplicate of #11795
This is a known issue due to the fact that the SCC computation uses recursion over the use list.

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