Skip to content

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

Merged
Anipik merged 4 commits into
dotnet:release/5.0from
AaronRobinsonMSFT:cleanup_cache_5_0
Jun 3, 2021
Merged

[Release/5.0] - Fix internal cache clean up for ComWrappers#53203
Anipik merged 4 commits into
dotnet:release/5.0from
AaronRobinsonMSFT:cleanup_cache_5_0

Conversation

@AaronRobinsonMSFT

@AaronRobinsonMSFTAaronRobinsonMSFT commented May 24, 2021

Copy link
Copy Markdown
Member

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
Copy Markdown
MemberAuthor

/cc @jkoritzinsky@elinor-fung

@jeffschwMSFTjeffschwMSFT left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
MemberAuthor

/cc @jkoritzinsky@elinor-fung

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

Labels

area-Interop-coreclrServicing-approvedApproved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@AaronRobinsonMSFT@jeffschwMSFT@elinor-fung@leecow@Anipik