Uh oh!
There was an error while loading. Please reload this page.
Convert some COM interop to UCO - #125326
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
67a2fa9 to
0b7f8d4Compaream11
commented
Mar 12, 2026
Failure is related to infra (#117164). |
Uh oh!
There was an error while loading. Please reload this page.
Contributes to #123864 (subset of group 5)
…changes The [UnmanagedCallersOnly] approach for LicenseInteropProxy was causing heap corruption (STATUS_HEAP_CORRUPTION) under GC stress scenarios. Revert to the original MethodDescCallSite-based approach. Changes: - ComActivator.cs: Restore public static object Create() and remove the unsafe [UnmanagedCallersOnly] static methods for GetCurrentContextInfo and SaveKeyInCurrentContext - corelib.h: Restore original LICENSE_INTEROP_PROXY method signatures (SM_RetObj, IM_RuntimeTypeHandle_RefBool_RefIntPtr_RetVoid, IM_IntPtr_RetVoid) - runtimecallablewrapper.cpp: Restore MethodDescCallSite calls for license interop - metasig.h: Remove added PtrLicenseInteropProxy_* metasig definitions Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com>
…changes (#125706) PR #125326 converted `LicenseInteropProxy` call sites to use `[UnmanagedCallersOnly]` with raw managed object pointers (`object*`, `Type*`, `LicenseInteropProxy*`). Under GC stress, it is causing heap corruption (exit code `-1073740940` / `STATUS_HEAP_CORRUPTION`). Fixes#125598 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com> Co-authored-by: Jan Kotas <jkotas@microsoft.com>
…eInteropProxy changes (dotnet#125706)" This reverts commit 3e79783. This commit also does the following: - Fix test bug in LicenseTesting.h - Rewrite BSTRHolder to a simpler form - Remove layers in the managed site - Use the BSTR marshaller instead of Marshal class helpers - Remove unused signatures
#126141) …opProxy changes (#125706)" This reverts commit 3e79783. This commit also does the following: - Fix test bug in `LicenseTesting.h` - Rewrite `BSTRHolder` to a simpler form - Remove layers in the managed site - Use the `BSTR` marshaller instead of `Marshal` class helpers - Remove unused signatures Contributes to #123864
Contributes to #123864 (subset of group 5)