Skip to content

"Over release of MOW - COM" assert in COM wrappers #122447

Closed

Description

@stephentoub
  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 could not be done without an Azure DevOps build URL on the issue. Please add it to the "Build: 🔎" line.
Validation performed at: 12/11/2025 3:35:19 PM UTC

Report

Build Definition Test Pull Request
1228887 dotnet/runtime LibraryImportGenerator.Tests.WorkItemExecution #121679
1228892 dotnet/runtime LibraryImportGenerator.Tests.WorkItemExecution #122211
1228819 dotnet/runtime LibraryImportGenerator.Tests.WorkItemExecution #122414
1228776 dotnet/runtime LibraryImportGenerator.Tests.WorkItemExecution #122466
1228768 dotnet/runtime LibraryImportGenerator.Tests.WorkItemExecution #121513
1228677 dotnet/runtime LibraryImportGenerator.Tests.WorkItemExecution #122463
1228706 dotnet/runtime LibraryImportGenerator.Tests.WorkItemExecution
1228445 dotnet/runtime LibraryImportGenerator.Tests.WorkItemExecution #119352
1228658 dotnet/runtime LibraryImportGenerator.Tests.WorkItemExecution #122460
1228403 dotnet/runtime LibraryImportGenerator.Tests.WorkItemExecution #122023
1228505 dotnet/runtime LibraryImportGenerator.Tests.WorkItemExecution #122441
1228500 dotnet/runtime LibraryImportGenerator.Tests.WorkItemExecution #122425
1228442 dotnet/runtime LibraryImportGenerator.Tests.WorkItemExecution #122430
1228180 dotnet/runtime LibraryImportGenerator.Tests.WorkItemExecution #122453
1228338 dotnet/runtime LibraryImportGenerator.Tests.WorkItemExecution #119575
1228311 dotnet/runtime LibraryImportGenerator.Tests.WorkItemExecution #121305
1228190 dotnet/runtime LibraryImportGenerator.Tests.WorkItemExecution #122454
1228146 dotnet/runtime LibraryImportGenerator.Tests.WorkItemExecution #122381
1228140 dotnet/runtime LibraryImportGenerator.Tests.WorkItemExecution #122407
1228125 dotnet/runtime LibraryImportGenerator.Tests.WorkItemExecution #122450
1228102 dotnet/runtime LibraryImportGenerator.Tests.WorkItemExecution #122448
1228170 dotnet/runtime LibraryImportGenerator.Tests.WorkItemExecution #122414
1228130 dotnet/runtime LibraryImportGenerator.Tests.WorkItemExecution #122451
1228078 dotnet/runtime LibraryImportGenerator.Tests.WorkItemExecution #122444

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
24 24 24

Activity

  1. added
    needs-area-labelAn area label is needed to ensure this gets routed to the appropriate area owners
    on Dec 11, 2025
  2. dotnet-policy-service commented on Dec 11, 2025

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @dotnet/interop-contrib
    See info in area-owners.md if you want to be subscribed.

  3. removed
    needs-area-labelAn area label is needed to ensure this gets routed to the appropriate area owners
    on Dec 11, 2025
  4. added
    Known Build ErrorUse this to report build issues in the .NET Helix tab
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    on Dec 11, 2025
  5. removed
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    on Dec 11, 2025
  6. AaronRobinsonMSFT commented on Dec 11, 2025

    @AaronRobinsonMSFT
    Member
  7. jtschuster commented on Dec 11, 2025

    @jtschuster
    Member

    Likely caused by the test in this PR: #121643

    update:

    I think GetThis() with UniqueMarshalling on the receiving end is the culprit:

    [GeneratedComClass]
    internal partial class UniqueMarshalling : IUniqueMarshalling
    {
    int _data = 0;
    public int GetValue() => _data;
    public void SetValue(int x) => _data = x;
    public IUniqueMarshalling GetThis() => this;
    }

  8. ericstj commented on Dec 12, 2025

    @ericstj
    Member
  9. added
    disabled-testThe test is disabled in source code against the issue
    on Dec 12, 2025
  10. added a commit that references this issue on Dec 12, 2025
  11. locked and limited conversation to collaborators on Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Known Build ErrorUse this to report build issues in the .NET Helix tabarea-Interop-coreclrdisabled-testThe test is disabled in source code against the issue

Type

No type

Projects

  • Status
    No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions