-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Infinite loop inside CodeGen::genCreateAddrMode while JIT optimizing #106607
Comments
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch |
@vmpsoft which version of .NET were you using? |
DLL was compiled for .NET 7.0 and I tested it with the latest .NET runtime (7.0.20). |
Per https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core .NET 7 is out of support. Nonetheless we'll investigate. Can you repro this on .NET 8? |
The problem also exists in ,NET 8.0: The debugger shows the same function from clrjit.dll: |
Yeah it does look like an infinite loop:
It seems to be this loop: runtime/src/coreclr/jit/codegencommon.cpp Line 1173 in de3c892
Presumably some weird IL generated by the obfuscator? |
The problematic method is |
Description
We are developing obfuscation tool for .NET application and found the problem inside .NET runtime.
Reproduction Steps
The runtime stucks while optimizing the method D607A317::5807B4B7 from Publish.dll
Publish.zip
Expected behavior
Actual behavior
The application stucks.
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: