Skip to content

gc.cpp assert during the nativeaot.SmokeTests runs #118038

@tarekgh

Description

@tarekgh

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1104948
Build error leg or test failing: nativeaot.SmokeTests.WorkItemExecution
Pull request: #117910

        BEGIN EXECUTION
        call C:\h\w\AEF5099F\p\nativeaottest.cmd C:\h\w\AEF5099F\w\B5D309AE\e\nativeaot\SmokeTests\FrameworkStrings\Baseline\ Baseline.dll 
        Object reference not set to an instance of an object.
        Object reference not set to an instance of an object.
        Interface maps for generic interfaces on arrays cannot be retrieved.
        Interface maps for generic interfaces on arrays cannot be retrieved.
        Resources in CoreLib:
        Resources in reflection library:
        Expected: 100
        Actual: 100
        END EXECUTION - PASSED
        PASSED
        Test Harness Exitcode is : 0
        To run the test:
        > set CORE_ROOT=C:\h\w\AEF5099F\p
        > C:\h\w\AEF5099F\w\B5D309AE\e\nativeaot\SmokeTests\FrameworkStrings\Baseline\Baseline.cmd
    nativeaot\SmokeTests\Exceptions\Exceptions\Exceptions.cmd [FAIL]
      Assertion failed: (n_heaps <= heap_number) || !gc_t_join.joined(), file D:\a\_work\1\s\src\coreclr\gc\gc.cpp, line 7040
      
      Return code:      1
      Raw output file:      C:\h\w\AEF5099F\w\B5D309AE\uploads\Reports\nativeaot.SmokeTests\Exceptions\Exceptions\Exceptions.output.txt

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": ["Assertion failed: (n_heaps <= heap_number) || !gc_t_join.joined()", "gc.cpp, line 7040"],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1104948
Error message validated: [Assertion failed: (n_heaps <= heap_number) || !gc_t_join.joined() gc.cpp, line 7040]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/24/2025 9:09:40 PM UTC

Report

Build Definition Test Pull Request
1104948 dotnet/runtime nativeaot.SmokeTests.WorkItemExecution #117910

Summary

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarea-GC-coreclrblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions