-
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
[AOT] In special generate argument, the aot application will crash #105397
Labels
Milestone
Comments
dotnet-issue-labeler
bot
added
the
needs-area-label
An area label is needed to ensure this gets routed to the appropriate area owners
label
Jul 24, 2024
dotnet-policy-service
bot
added
the
untriaged
New issue has not been triaged by the area owner
label
Jul 24, 2024
huoyaoyuan
added
area-NativeAOT-coreclr
and removed
needs-area-label
An area label is needed to ensure this gets routed to the appropriate area owners
labels
Jul 24, 2024
Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas |
Looks like duplicate of #104913 |
MichalStrehovsky
removed
the
untriaged
New issue has not been triaged by the area owner
label
Jul 24, 2024
MichalStrehovsky
added a commit
to MichalStrehovsky/runtime
that referenced
this issue
Aug 1, 2024
Fixes dotnet#105397. The repro case hits an interesting problem in native layout - we emit the `IEnumerable<IEnumerable<double?>>` type as a constructed type, however the components of it are only generated as necessary. Because native layout expresses it as a decomposed instantiation, we're not able to find the type because the component of it is not constructed and we don't really keep track of those. This can be fixed by simply not generating types as composed out of various components if the `MethodTable` already exists in the compilation.
dotnet-policy-service
bot
added
the
in-pr
There is an active PR which will close this issue when it is merged
label
Aug 1, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Description
Use command
dotnet publish -c Release -r win-x64 -p:PublishAot=true -f net8.0
and run the app will printReproduction Steps
Publish with aot and run the code
Expected behavior
No crash
Actual behavior
Crash with message
Regression?
No response
Known Workarounds
No response
Configuration
Other information
No response
The text was updated successfully, but these errors were encountered: