Fix Linux crash loading recursive Nullable static-abstract value types#130088
Draft
Copilot wants to merge 2 commits into
Draft
Fix Linux crash loading recursive Nullable static-abstract value types#130088Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
Copilot
AI
changed the title
[WIP] Fix SIGSEGV on Linux when loading Nullable<T> with readonly record struct
Fix Linux crash loading recursive Nullable static-abstract value types
Jul 1, 2026
Contributor
|
Tagging subscribers to this area: @agocke |
…th recursive generics Co-authored-by: davidwrighton <10779849+davidwrighton@users.noreply.github.com>
Member
|
@copilot, returning false from |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change addresses a Linux CoreCLR crash during prestub/JIT-triggered type loading of
Nullable<T>whenTis a recursively constrained value type using static abstract interface members. The failure came from System V struct classification assuming nested value-type metadata was always resolvable during approximate load.VM change
Regression coverage
Nullable<UserId>UserIdas areadonly record structstatic abstractinterface membersRegression_o_2.Scenario covered