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

[Release/5.0] - Fix internal cache clean up for ComWrappers #53203

Merged
merged 4 commits into from
Jun 3, 2021

Conversation

AaronRobinsonMSFT
Copy link
Member

@AaronRobinsonMSFT AaronRobinsonMSFT commented May 24, 2021

Port of #52771

Customer Impact

Race condition between object resurrection and memory reuse of different IUnknown* instance. This is a precise fix for microsoft/CsWinRT#762 and other related object resurrection issues we've been chasing for the past 2 months.

Testing

Testing added in PR.
Partner team has run all C#/WinRT and WinUI tests and validated fix on all reported reproducing applications against a private build of runtime.

Risk

Low, it only impacts C#/WinRT scenarios.

Regression

This API was introduced in .NET 5 and is requested by the only official consumer.

@AaronRobinsonMSFT
Copy link
Member Author

/cc @jkoritzinsky @elinor-fung

Copy link
Member

@jeffschwMSFT jeffschwMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. I will take for consideration in 5.0.x. Please ensure to get a cr.

@AaronRobinsonMSFT
Copy link
Member Author

/cc @jkoritzinsky @elinor-fung

@jeffschwMSFT jeffschwMSFT added the Servicing-consider Issue for next servicing release review label May 25, 2021
@jeffschwMSFT jeffschwMSFT added this to the 5.0.x milestone May 25, 2021
@leecow leecow added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels May 25, 2021
@leecow leecow modified the milestones: 5.0.x, 5.0.8 May 25, 2021
@Anipik Anipik merged commit 9d39aa6 into dotnet:release/5.0 Jun 3, 2021
@AaronRobinsonMSFT AaronRobinsonMSFT deleted the cleanup_cache_5_0 branch June 3, 2021 17:25
@ghost ghost locked as resolved and limited conversation to collaborators Jul 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Interop-coreclr Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants