Repository navigation
Closed
Labels
Known Build ErrorUse this to report build issues in the .NET Helix tabUse this to report build issues in the .NET Helix tabarea-Interop-coreclrdisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issue
Description
Discovering: LibraryImportGenerator.Tests (method display = ClassAndMethod, method display options = None)
Discovered: LibraryImportGenerator.Tests (found 162 of 165 test cases)
Starting: LibraryImportGenerator.Tests (parallel test collections = on [2 threads], stop on fail = off)
Assertion failed: (!"Over release of MOW - COM") (/__w/1/s/src/coreclr/interop/comwrappers.cpp: Release: 519)
https://github.com/dotnet/runtime/pull/122407/checks?check_run_id=57752025260
Known Issue Error Message
Fill the error message using step by step known issues guidance.
{
"ErrorMessage": "Over release of MOW - COM",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}Known issue validation
Build: 🔎
Result validation:
Validation performed at: 12/11/2025 3:35:19 PM UTC
Report
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 24 | 24 | 24 |
Reacted by Eric StJohn
Reacted by Copilot
Metadata
Metadata
Assignees
Labels
Known Build ErrorUse this to report build issues in the .NET Helix tabUse this to report build issues in the .NET Helix tabarea-Interop-coreclrdisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issue
Type
Projects
- StatusShow more project fieldsNo status
Activity
dotnet-policy-service commentedon Dec 11, 2025
Tagging subscribers to this area: @dotnet/interop-contrib
See info in area-owners.md if you want to be subscribed.
AaronRobinsonMSFT commentedon Dec 11, 2025
/cc @jkoritzinsky
jtschuster commentedon Dec 11, 2025
Likely caused by the test in this PR: #121643
update:
I think GetThis() with UniqueMarshalling on the receiving end is the culprit:
runtime/src/libraries/System.Runtime.InteropServices/tests/Common/ComInterfaces/IUniqueMarshalling.cs
Lines 22 to 29 in b500d44
ericstj commentedon Dec 12, 2025
This is active in main right now, most builds hitting it. They don't always log the assertion, some just crash.
This build shows many failures - https://dev.azure.com/dnceng-public/public/_build/results?buildId=1227791&view=results
This mac failure has a dump report-- https://helixr1107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-main-16db5125fb8a45fc8c/LibraryImportGenerator.Tests/1/coredump.50720.dmp.crashreport.json
Skip failing COM test (#122474)
Add AddRef to callee that caches interface ptr (#122509)