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

Assertion failure at ext/opcache/jit/ir/ir_gcm.c:801 #16791

Closed
YuanchengJiang opened this issue Nov 14, 2024 · 2 comments
Closed

Assertion failure at ext/opcache/jit/ir/ir_gcm.c:801 #16791

YuanchengJiang opened this issue Nov 14, 2024 · 2 comments

Comments

@YuanchengJiang
Copy link

Description

The following code:

test.hex:

3c3f7068700a24636c73203d206e65772053657373696f6e48616e646c65
7228293b0a7661725f64756d702862696e326865782822c28365c28358c2
83672229293b0a24485454505f5241575f504f53545f44415441203d203c
3c3c454f460a656e763a656e636f64696e675374796c653d22687474703a
2f2f7777772e77332e6f72672f323030332f30352f736f61702d656e636f
64696e67223e0a3c696e70757444617465207873693a747970653d227873
643a64617465223e313935362d31302d31385432323a32303a30302d3037
3a30303c2f696e707574446174653e0a3c2f656e763a456e76656c6f7065
3e0a454f463b0a747279207b24636c732d3e726561642824485454505f52
41575f504f53545f44415441293b7d206361746368202845786365707469
6f6e20246529207b206563686f282465293b207d0a747279207b24636c73
2d3e726561642824485454505f5241575f504f53545f44415441293b7d20
63617463682028457863657074696f6e20246529207b206563686f282465
293b207d0a747279207b24636c732d3e726561642824485454505f524157
5f504f53545f44415441293b7d2063617463682028457863657074696f6e
20246529207b206563686f282465293b207d0a747279207b24636c732d3e
726561642824485454505f5241575f504f53545f44415441293b7d206361
7463682028457863657074696f6e20246529207b206563686f282465293b
207d0a747279207b24636c732d3e726561642824667573696f6e293b7d20
63617463682028457863657074696f6e20246529207b206563686f282465
293b207d0a
xxd -r -p test.hex > test.php

Resulted in this output:

ext/opcache/jit/ir/ir_gcm.c:801: int ir_schedule(ir_ctx *): Assertion `_blocks[1] == 1' failed

To reproduce:

-d "zend_extension=/php-src/modules/opcache.so" -d "zend.multibyte=On" -d "zend.script_encoding=CP932" -d "opcache.enable_cli=1" -d "opcache.jit=1201"

PHP Version

nightly

Operating System

ubuntu 22.04

@nielsdos
Copy link
Member

Hmm, I'll check this evening what the relation with #16630 is, this might be a duplicate.

@nielsdos
Copy link
Member

Yes, a duplicate indeed.

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