Skip to content
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

[mono][aot] Fix infinite recursion in the AOT dwarf emitter. #79310

Merged
merged 1 commit into from
Dec 7, 2022

Conversation

vargaz
Copy link
Contributor

@vargaz vargaz commented Dec 6, 2022

The recursion would happen if a gshared type would contain a recursive reference to it. It was triggered by the JsonTypeInfo:JsonTypeInfo<Queue> field added by #78646.

Fixes #79279.

@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

The recursion would happen if a gshared type would contain a recursive reference to
it. It was triggered by the JsonTypeInfo:JsonTypeInfo<Queue<T>> field added by dotnet#78646.

Fixes dotnet#79279.
@vargaz vargaz merged commit be63af2 into dotnet:main Dec 7, 2022
@vargaz vargaz deleted the aot-dwarf-recursion branch December 7, 2022 05:17
@akoeplinger
Copy link
Member

should we backport this?

@vargaz
Copy link
Contributor Author

vargaz commented Dec 7, 2022

Never seen any customer reports about this, seems to be a very rare case.

@ghost ghost locked as resolved and limited conversation to collaborators Jan 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

iOS & tvOS legs are failing to AOT System.Net.Http.Json
3 participants