-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[ppc64le] Runtime crash in System.Text.RegularExpressions.Tests #71080
Comments
The crash is observed due to self modifying code at runtime by JIT.
Further, to resolve this we need to update the mechanism to generate the target address to an atomic instruction to load target address from memory and call it directly. Currently, the mono code for powerpc uses code patching for this, we need to implement memory patching instead. Similar fix is implemented for s390x in PR #52783 If anyone has any pointers/suggestion please share. |
@directhex The assertion mentioned above in this issue "Assertion at /home/directhex/Projects/runtime/src/mono/mono/mini/mini-ppc.c:5080, condition `ppc_is_imm16 (inst->inst_offset)' not met" is observed only in Release mode which we are looking at. Also, there are new test cases added in RegexPcreTests.cs file which are also failing on Power and hence looking into it as well. |
@directhex |
Description
Reproduction Steps
Run test as normal
Configuration
git master on ppc64le
The text was updated successfully, but these errors were encountered: