Skip to content

[ci-scan] JIT assert: Missing BBF_PROF_WEIGHT flag in fgprofile.cpp during Transform async (jitstress1) #134295

Closed

Description

@github-actions

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1602064
Build error leg or test failing: linux-x64/linux-arm64/windows Release - Microsoft.Extensions.DependencyInjection.Tests, System.Private.Xml.Tests, System.Xml.Linq.Misc.Tests, and others (jitstress1)

First build it occurred: consistently observed across the scanned window; the JIT assertion crashes 25 library test work items (exit 134 / 0xC0000409) in every sampled runtime-coreclr libraries-jitstress (definition 138) build from 2026-09-15 through 2026-09-19 (builds 1597095, 1598787, 1600498, 1602064, 1603514) and reproduces in follow-up build 1603514. Persistent across the entire scanned window; true origin may predate 2026-09-15.

KBE authoring guidance (ci-failure-scan)
  • Error Details is for readers. Paste the full exception, stack trace, or build error excerpt so the failure is understandable without opening the raw log.
  • Build Analysis parses only the single JSON block under Error Message.
  • ErrorMessage is a case-sensitive ordinal String.Contains substring copied verbatim from the failing log.
  • Set BuildRetry to true only for a clear infrastructure retry case. ExcludeConsoleLog disables Helix console-log scanning.

Error Details

Under DOTNET_JitStress=1 (jitstress1), many library test assemblies abort with a shared JIT assertion !"Missing BBF_PROF_WEIGHT flag" in fgprofile.cpp while transforming async methods at Instrumented Tier0. This is a leg-level failure: it affects any async method compiled with profile instrumentation, so it crashes multiple unrelated assemblies (DependencyInjection, System.Private.Xml, System.Xml.Linq.Misc, etc.) across linux-x64, linux-arm64, and windows legs.

DOTNET_JitStress=1
Assert failure(PID 2593 [0x00000a21], Thread: 2792 [0x0ae8]): Assertion failed '!"Missing BBF_PROF_WEIGHT flag"' in 'Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope:DisposeAsync():this' during 'Transform async' (IL size 163; hash 0x1af815f2; Instrumented Tier0)
    File: /__w/1/s/src/coreclr/jit/fgprofile.cpp:4932
RunTests.sh: line 177: Aborted (core dumped) ...
exit code 134 means SIGABRT Abort.

The same assertion appears for System.Xml.XmlWellFormedWriter:AdvanceStateAsync(int) and other async methods, confirming the assertion — not the individual test — is the root cause.

Error Message

{
  "ErrorMessage": [
    "Assertion failed '!\"Missing BBF_PROF_WEIGHT flag\"'",
    "src/coreclr/jit/fgprofile.cpp:4932"
  ],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Agentic workflow metadata (ci-failure-scan)

Workflow artifact: ci-failure-scan
Artifact kind: kbe-verification
Verified match count: 1 hits in failure.log


Filed by ci-failure-scan (detection only). ci-failure-fix walks open [ci-scan] KBEs and either opens a small fix PR or comments here to loop in owners — it never disables the test.

Note

This issue was generated by an AI agent (GitHub Copilot / ci-failure-scan).

Generated by CI Outer-Loop Failure Scanner · opus48 · 1K AIC · ⌖ 16.4 AIC · ⊞ 19.2K · ◷

Report

Build Repository Test Pull Request
1604703 dotnet/runtime System.Private.Xml.Tests.WorkItemExecution
1604280 dotnet/runtime async/osr-inlined-contexts/osr-inlined-contexts/osr-inlined-contexts.cmd
1604101 dotnet/runtime System.Xml.Linq.Misc.Tests.WorkItemExecution

Summary

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

Activity

  1. added
    blocking-clean-ci-optional
    Known Build Error
    on Sep 20, 2026
  2. added
    untriaged
    on Sep 20, 2026
  3. AndyAyersMS commented on Sep 20, 2026

    @AndyAyersMS
    Member

    Likely same issue as #134304

  4. self-assigned this
    on Sep 20, 2026
  5. removed
    untriaged
    on Sep 20, 2026
  6. jakobbotsch commented on Sep 21, 2026

    @jakobbotsch
    Member

    Duplicate of #133841

  7. locked and limited conversation to collaborators on Oct 22, 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 Erroragentic-workflowsblocking-clean-ci-optional

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions