Skip to content

Conversation

@vargaz
Copy link
Contributor

@vargaz vargaz commented Jul 6, 2022

…s in mono_generic_class_hash ().

If a class inherits from a generic instance instantiated with itself, then its possible
for mono_generic_class_hash () to be called while the container class is not fully
initialized yet, i.e. byval_arg.type is 0. This would cause the generic class to change
its hash.

Fixes #71424.

…s in mono_generic_class_hash ().

If a class inherits from a generic instance instantiated with itself, then its possible
for mono_generic_class_hash () to be called while the container class is not fully
initialized yet, i.e. byval_arg.type is 0. This would cause the generic class to change
its hash.

Fixes dotnet#71424.
@vargaz vargaz requested review from lambdageek and thaystg as code owners July 6, 2022 21:37
@ghost ghost added the area-VM-meta-mono label Jul 6, 2022
@ghost ghost assigned vargaz Jul 6, 2022
@lambdageek
Copy link
Member

@steveisok we should backport this one, I think

@vargaz vargaz merged commit cf94b83 into dotnet:main Jul 7, 2022
@vargaz vargaz deleted the fix-71424 branch July 7, 2022 11:55
@vargaz
Copy link
Contributor Author

vargaz commented Jul 7, 2022

/backport to release/6.0

@github-actions
Copy link
Contributor

github-actions bot commented Jul 7, 2022

Started backporting to release/6.0: https://github.com/dotnet/runtime/actions/runs/2629365015

@github-actions
Copy link
Contributor

github-actions bot commented Jul 7, 2022

@vargaz an error occurred while backporting to release/6.0, please check the run log for details!

Error: @vargaz is not a repo collaborator, backporting is not allowed. If you're a collaborator please make sure your Microsoft team membership visibility is set to Public on https://github.com/orgs/microsoft/people?query=vargaz

@vargaz
Copy link
Contributor Author

vargaz commented Jul 7, 2022

/backport to release/6.0

@github-actions
Copy link
Contributor

github-actions bot commented Jul 7, 2022

Started backporting to release/6.0: https://github.com/dotnet/runtime/actions/runs/2629462783

@github-actions
Copy link
Contributor

github-actions bot commented Jul 7, 2022

@vargaz an error occurred while backporting to release/6.0, please check the run log for details!

Error: @vargaz is not a repo collaborator, backporting is not allowed. If you're a collaborator please make sure your Microsoft team membership visibility is set to Public on https://github.com/orgs/microsoft/people?query=vargaz

@vargaz
Copy link
Contributor Author

vargaz commented Jul 7, 2022

/backport to release/6.0

@github-actions
Copy link
Contributor

github-actions bot commented Jul 7, 2022

Started backporting to release/6.0: https://github.com/dotnet/runtime/actions/runs/2629481479

@github-actions
Copy link
Contributor

github-actions bot commented Jul 7, 2022

@vargaz an error occurred while backporting to release/6.0, please check the run log for details!

Error: @vargaz is not a repo collaborator, backporting is not allowed. If you're a collaborator please make sure your Microsoft team membership visibility is set to Public on https://github.com/orgs/microsoft/people?query=vargaz

@steveisok
Copy link
Member

/backport to release/6.0

@github-actions
Copy link
Contributor

github-actions bot commented Jul 7, 2022

Started backporting to release/6.0: https://github.com/dotnet/runtime/actions/runs/2629819966

@danmoseley
Copy link
Member

Just curious why automated test is not possible? only possible to repro in MAUI?

@vargaz
Copy link
Contributor Author

vargaz commented Jul 12, 2022

Tried for a while to create one, but couldn't.

@ghost ghost locked as resolved and limited conversation to collaborators Aug 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Application crashes with "Parent class failed to load, due to: Invalid generic instantiation assembly"

4 participants