Skip to content

Fix for a stress crash in ComAwareWeakReferenceNative::HasInteropInfo#94643

Merged
jkotas merged 1 commit into
dotnet:mainfrom
VSadov:COMFix1
Nov 12, 2023
Merged

Fix for a stress crash in ComAwareWeakReferenceNative::HasInteropInfo#94643
jkotas merged 1 commit into
dotnet:mainfrom
VSadov:COMFix1

Conversation

@VSadov

@VSadov VSadov commented Nov 12, 2023

Copy link
Copy Markdown
Member

In rare cases it is possible for a syncblock to be collected in the time after we detected its presence and before we get into ComAwareWeakReferenceNative::HasInteropInfo, so we should not assume the syncblock is still there and must null-check before looking inside it.

Fixes: #94579

@VSadov

VSadov commented Nov 12, 2023

Copy link
Copy Markdown
Member Author
     System.Net.Quic.Tests.MsQuicCipherSuitesPolicyTests.SupportedCipher_Success [FAIL]
      System.Net.Quic.QuicException : The connection timed out from inactivity.

The failure on musl appears to be #91757

@jkotas jkotas merged commit 5a4c140 into dotnet:main Nov 12, 2023
@VSadov

VSadov commented Nov 12, 2023

Copy link
Copy Markdown
Member Author

Thanks!!

@VSadov

VSadov commented Nov 12, 2023

Copy link
Copy Markdown
Member Author

/backport to release/8.0-staging

@github-actions

Copy link
Copy Markdown
Contributor

Started backporting to release/8.0-staging: https://github.com/dotnet/runtime/actions/runs/6843417160

@VSadov VSadov deleted the COMFix1 branch November 12, 2023 22:14
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 13, 2023
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.

ExecutionEngineException in WinForms app (Paint.NET) on .NET 8 RC2, which does not occur in .NET 7 (GCStress)

2 participants