Skip to content

[ci-scan] Test failure: Loader/ContextualReflection asserts OBJECTREF in preemptive GC mode on browser-wasm interpreter #131980

Closed as duplicate

Description

@github-actions

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1542249
Build error leg or test failing: coreclr Pri1 Runtime Tests Run browser wasm checked — Loader/ContextualReflection/ContextualReflection

Error Details

On the runtime-coreclr outerloop browser wasm checked leg (interpreter), Loader/ContextualReflection/ContextualReflection.cmd fails with a native runtime assert while running the out-of-process wasm test under node. The assert fires inside Object::Validate when an OBJECTREF is accessed while the thread is in preemptive GC mode:

ASSERT FAILED
	Expression: !"OBJECTREF being accessed while thread is in preemptive GC mode."
	Location:   /__w/1/s/src/coreclr/vm/object.cpp:514
	Function:   Validate
	Process:    42
Frame (InterpreterFrame): 0x4ff358
   0) Xunit.Assert::GetEqualityComparer, IR_0007
   1) Xunit.Assert::Equal, IR_0010
   2) ContextualReflectionTest.TestResolve::Assert, IR_002e
   ...
  10) __GeneratedMainWrapper::Main, IR_0020
...
END EXECUTION - FAILED
Return code:      1
Xunit.Sdk.TrueException: Out-of-process wrapper failed with exit code 1.

The failure reproduces in the follow-up build (1543091), where the same leg fails again on this test. The failure is specific to the wasm interpreter execution path.

Error Message

{
  "ErrorMessage": [
    "Loader/ContextualReflection/ContextualReflection/ContextualReflection.cmd",
    "OBJECTREF being accessed while thread is in preemptive GC mode."
  ],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Note

Filed automatically by the CI outer-loop failure scanner (ci-failure-scan). This is an AI/Copilot-generated issue. Mitigation is tracked separately by the ci-failure-fix workflow.

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • awmgmcpg

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "awmgmcpg"

See Network Configuration for more information.

Generated by CI Outer-Loop Failure Scanner · 756 AIC · ⌖ 17.3 AIC · ⊞ 18.3K · ◷

Report

Build Repository Test Pull Request
1544116 dotnet/runtime Loader/ContextualReflection/ContextualReflection/ContextualReflection.cmd
1543631 dotnet/runtime Loader/ContextualReflection/ContextualReflection/ContextualReflection.cmd

Summary

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

Activity

  1. locked and limited conversation to collaborators on Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions