-
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
crossgen2 asserts: "OwningType == other.OwningType" in MethodWithToken.CompareTo #61732
Comments
FYI @daxian-dbw in case you run into this too. |
With Release version of jit/crossgen it crashes with
|
@EgorBo is this something we are tracking for 7? |
I think we can move it to 8.0 this, afaik it's Debug-only assert. |
This was fixed for .NET 7 as part of #71271, but it still fails in debug builds due to name mangling duplication. I'm putting a fix together for that for .NET 8. |
I'm trying to prejitt the latest version of PowerShell in R2R-Composite mode with mibc data and at some point it asserts here:
runtime/src/coreclr/tools/aot/ILCompiler.ReadyToRun/JitInterface/CorInfoImpl.ReadyToRun.cs
Line 300 in 83661ff
the types in that asserts are:
Steps to reproduce
pwsh.exe HelloWorld.ps1
whereHelloWorld.ps1
is justWrite-Host "Hello, World!"
or use myps.mibc
(here)Expected:
pwsh.r2r.dll is successfully emitted
Actual:
It also crashes on Release version of .NET 6.0
PS: Checked JIT might assert like this #61705 but that assert can be removed/ignored for this issue.
The text was updated successfully, but these errors were encountered: