-
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
[NativeAOT] System.NotImplementedException: CORINFO_HELP_GETSYNCFROMCLASSHANDLE #77093
Labels
Milestone
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
I think the issue is |
|
MichalStrehovsky
added a commit
to MichalStrehovsky/runtime
that referenced
this issue
Oct 31, 2023
Fixes dotnet#77093. As I was looking at the bug, I realized it got miscategorized as native AOT, but the customer filed it for ReadyToRun. The bug is in both native AOT and ReadyToRun. I'm fixing it for both. We clearly didn't have any pre-existing test coverage, but as I was looking around the test tree, getclassfrommethodparam.cs was obviously testing this. For unexplained reasons, the Synchronized part got commented out. When I compared the file with the original in TFS at `$/DevDiv/FX/Feature/NetFXDev1/QA/CLR/testsrc/jit/Generics/Fields/getclassfrommethodparam.cs`, the commented out line is not commented out. So I'm fixing it. I've also added dedicated native aot test because this has dependency analysis implications that we need to be careful about.
ghost
added
the
in-pr
There is an active PR which will close this issue when it is merged
label
Oct 31, 2023
MichalStrehovsky
added a commit
that referenced
this issue
Oct 31, 2023
Fixes #77093. As I was looking at the bug, I realized it got miscategorized as native AOT, but the customer filed it for ReadyToRun. The bug is in both native AOT and ReadyToRun. I'm fixing it for both. We clearly didn't have any pre-existing test coverage, but as I was looking around the test tree, getclassfrommethodparam.cs was obviously testing this. For unexplained reasons, the Synchronized part got commented out. When I compared the file with the original in TFS at `$/DevDiv/FX/Feature/NetFXDev1/QA/CLR/testsrc/jit/Generics/Fields/getclassfrommethodparam.cs`, the commented out line is not commented out. So I'm fixing it. I've also added dedicated native aot test because this has dependency analysis implications that we need to be careful about.
ghost
removed
the
in-pr
There is an active PR which will close this issue when it is merged
label
Oct 31, 2023
ghost
locked as resolved and limited conversation to collaborators
Dec 1, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
System.NotImplementedException: CORINFO_HELP_GETSYNCFROMCLASSHANDLE
Code generation failed for method '[GammaLibrary]GammaLibrary.Configuration`1<System.__Canon>.Save()'
Code of
Save()
ishttps://github.com/Cyl18/GammaLibrary/blob/e6f41509f6d526b6647960d65bb09c97a30383d6/GammaLibrary/Configuration.cs#L48
Reproduction Steps
content of build-wfbot-ci.bat:
Expected behavior
successfully compile
Actual behavior
.NET 6 logs
.NET 7 logs
Regression?
No response
Known Workarounds
#77093 (comment)
Configuration
.NET 6 on windows
tried .NET 7, won't work
Other information
maybe #68278 is related to this?
The text was updated successfully, but these errors were encountered: