Skip to content

Assertion failed 'resumedUseArg->GetNode()->OperIs(GT_LCL_VAR) && resumedDefArg->GetNode()->OperIs(GT_LCL_ADDR) && execArg->GetNode()->OperIs(GT_LCL_VAR) && syncArg->GetNode()->OperIs(GT_LCL_VAR)' #131665

Description

@JulieLeeMSFT

Summary:
System.Xml.Linq.Misc.Tests crashes (SIGABRT 134) on a JIT assert in importercalls.cpp:7453 (runtime-async resumption) under jitstress. 2 legs.

Failed in (1):

Console Log: Console Log
Source: runtime-coreclr libraries-jitstress / net11.0-linux-Release-arm64-jitstress2_tiered-AzureLinux.3.Arm64.Open / System.Xml.Linq.Misc.Tests

Failed tests:

- net11.0-linux-Release-arm64-jitstress1_tiered-AzureLinux.3.Arm64.Open
- net11.0-linux-Release-arm64-jitstress2_tiered-AzureLinux.3.Arm64.Open
  - System.Xml.Linq.Misc.Tests

Error Message:

Assert failure(PID 13755 [0x000035bb], Thread: 13767 [0x35c7]): Assertion failed 'resumedUseArg->GetNode()->OperIs(GT_LCL_VAR) && resumedDefArg->GetNode()->OperIs(GT_LCL_ADDR) && execArg->GetNode()->OperIs(GT_LCL_VAR) && syncArg->GetNode()->OperIs(GT_LCL_VAR)' in 'System.Xml.Linq.ElementWriter:WriteElementAsync(System.Xml.Linq.XElement,System.Threading.CancellationToken):this' during 'Morph - Inlining' (IL size 262; hash 0xb019379b; Tier1-OSR)

Known Issue Error Message

DO NOT USE JSON BELOW IF THIS IS A BUILD BREAK otherwise build analysis will allow pull requests to merge that break the build worse. For a build break, do not use this issue form. Make a regular new issue.

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

{
  "ErrorMessage": "resumedUseArg->GetNode()->OperIs(GT_LCL_VAR) && resumedDefArg->GetNode()->OperIs(GT_LCL_ADDR) && execArg->GetNode()->OperIs(GT_LCL_VAR) && syncArg->GetNode()->OperIs(GT_LCL_VAR)",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1534281
Error message validated: [resumedUseArg->GetNode()->OperIs(GT_LCL_VAR) && resumedDefArg->GetNode()->OperIs(GT_LCL_ADDR) && execArg->GetNode()->OperIs(GT_LCL_VAR) && syncArg->GetNode()->OperIs(GT_LCL_VAR)]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 8/3/2026 2:43:25 PM UTC

Report

Build Repository Step Name Console log Pull Request
1538838 dotnet/runtime Build product Log
1538148 dotnet/runtime Build product Log
1537347 dotnet/runtime Build product Log #131727
1532833 dotnet/runtime Build product Log
Build Repository Test Pull Request
1539453 dotnet/runtime System.Xml.Linq.Misc.Tests.WorkItemExecution #131538
1539481 dotnet/runtime System.Xml.Linq.Misc.Tests.WorkItemExecution #131796
1539345 dotnet/runtime System.Xml.Linq.Misc.Tests.WorkItemExecution #131786
1539331 dotnet/runtime System.Xml.Linq.Misc.Tests.WorkItemExecution #131681
1538979 dotnet/runtime System.Xml.Linq.Misc.Tests.WorkItemExecution #131719
1538884 dotnet/runtime System.Xml.Linq.Misc.Tests.WorkItemExecution #131788
1538732 dotnet/runtime System.Xml.Linq.Misc.Tests.WorkItemExecution
1538685 dotnet/runtime System.Xml.Linq.Misc.Tests.WorkItemExecution #131787
1538667 dotnet/runtime System.Xml.Linq.Misc.Tests.WorkItemExecution #131785
1538400 dotnet/runtime System.Xml.Linq.Misc.Tests.WorkItemExecution #131780
1538325 dotnet/runtime System.Xml.Linq.Misc.Tests.WorkItemExecution #131554
1538311 dotnet/runtime System.Xml.Linq.Misc.Tests.WorkItemExecution #131683
1538219 dotnet/runtime System.Xml.Linq.Misc.Tests.WorkItemExecution #131110
1538157 dotnet/runtime System.Xml.Linq.Misc.Tests.WorkItemExecution #131771
1537931 dotnet/runtime System.Xml.Linq.Misc.Tests.WorkItemExecution #131508
1537608 dotnet/runtime System.Xml.Linq.Misc.Tests.WorkItemExecution #131569
1534281 dotnet/runtime System.Xml.Linq.Misc.Tests.WorkItemExecution

Summary

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

Activity

  1. added
    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
    on Jul 31, 2026
  2. added this to the 11.0.0 milestone on Jul 31, 2026
  3. added and removed
    untriagedNew issue has not been triaged by the area owner
    on Jul 31, 2026
  4. dotnet-policy-service commented on Jul 31, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
    See info in area-owners.md if you want to be subscribed.

  5. JulieLeeMSFT commented on Jul 31, 2026

    @JulieLeeMSFT
    MemberAuthor

    @AndyAyersMS, PTAL. It's failing in OSR mode.

  6. jakobbotsch commented on Jul 31, 2026

    @jakobbotsch
    Member

    This is runtime async stuff, I'll take a look

  7. VincentBu commented on Aug 3, 2026

    @VincentBu
    Contributor

    Failed in: runtime-coreclr libraries-pgo 20260802.1

    Failed tests:

    net11.0-linux-Release-arm64-fullpgo-AzureLinux.3.Arm64.Open
    - System.Xml.Linq.Misc.Tests Work Item
    net11.0-linux-Release-arm64-jitosr_stress_random-AzureLinux.3.Arm64.Open
    - System.Xml.Linq.Misc.Tests Work Item
    net11.0-linux-Release-arm64-fullpgo_methodprofiling-AzureLinux.3.Arm64.Open
    - System.Xml.Linq.Misc.Tests Work Item
    net11.0-linux-Release-arm64-fullpgo_random_gdv-AzureLinux.3.Arm64.Open
    - System.Xml.Linq.Misc.Tests Work Item
    net11.0-linux-Release-x64-fullpgo_methodprofiling-AzureLinux.3.Amd64.Open
    - System.Xml.Linq.Misc.Tests Work Item
    net11.0-linux-Release-x64-fullpgo_random_gdv-AzureLinux.3.Amd64.Open
    - System.Xml.Linq.Misc.Tests Work Item
    net11.0-linux-Release-x64-fullpgo-AzureLinux.3.Amd64.Open
    - System.Xml.Linq.Misc.Tests Work Item
    net11.0-linux-Release-x64-jitosr_stress_random-AzureLinux.3.Amd64.Open
    - System.Xml.Linq.Misc.Tests Work Item
    net11.0-windows-Release-x64-syntheticpgo_blend-Windows.10.Amd64.Open
    - System.Xml.Linq.Misc.Tests Work Item
    net11.0-windows-Release-x64-fullpgo_methodprofiling-Windows.10.Amd64.Open
    - System.Xml.Linq.Misc.Tests Work Item
    net11.0-windows-Release-x64-fullpgo_random_gdv-Windows.10.Amd64.Open
    - System.Xml.Linq.Misc.Tests Work Item
    net11.0-windows-Release-x64-jitosr_stress_random-Windows.10.Amd64.Open
    - System.Xml.Linq.Misc.Tests Work Item
    net11.0-windows-Release-x64-fullpgo_random_gdv_methodprofiling_only-Windows.10.Amd64.Open
    - System.Xml.Linq.Misc.Tests Work Item
    
    

    Error message:

    Assert failure(PID 29861 [0x000074a5], Thread: 29873 [0x74b1]): Assertion failed 'resumedUseArg->GetNode()->OperIs(GT_LCL_VAR) && resumedDefArg->GetNode()->OperIs(GT_LCL_ADDR) && execArg->GetNode()->OperIs(GT_LCL_VAR) && syncArg->GetNode()->OperIs(GT_LCL_VAR)' in 'System.Xml.Linq.ElementWriter:WriteElementAsync(System.Xml.Linq.XElement,System.Threading.CancellationToken):this' during 'Morph - Inlining' (IL size 262; hash 0xb019379b; Tier1-OSR)
    
        File: /__w/1/s/src/coreclr/jit/importercalls.cpp:7453
        Image: /datadisks/disk1/work/9F9A085D/p/dotnet
    
    [createdump] Gathering state for process 29861 dotnet
    [createdump] Crashing thread 74b1 signal 6 (0006)
    apply_reg_state: ip and cfa unchanged; stopping here (ip=0xf7b00bbc60cc)
    apply_reg_state: ip and cfa unchanged; stopping here (ip=0xf7b00bbc60cc)
    apply_reg_state: ip and cfa unchanged; stopping here (ip=0xf7b00bbc60cc)
    [createdump] Writing crash report to file /datadisks/disk1/dumps/coredump.29861.dmp.crashreport.json
    [createdump] Crash report successfully written
    ASSERT FAILED
    	Expression: !"Target stack has been corrupted, SP for current frame must be larger than previous frame."
    	Location:   /__w/1/s/src/coreclr/vm/threads.cpp:6915
    	Function:   EnumMemoryRegionsWorker
    	Process:    29877
    waitpid() returned successfully (wstatus 00000085) WEXITSTATUS 0 WTERMSIG 5
    ./RunTests.sh: line 175: 29861 Aborted                 (core dumped) "$RUNTIME_PATH/dotnet" exec --runtimeconfig System.Xml.Linq.Misc.Tests.runtimeconfig.json --depsfile System.Xml.Linq.Misc.Tests.deps.json xunit.console.dll System.Xml.Linq.Misc.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing $RSP_FILE
    /datadisks/disk1/work/9F9A085D/w/AA4609B2/e
    ----- end Sun Aug 2 05:08:50 PM UTC 2026 ----- exit code 134 ----------------------------------------------------------
    
  8. am11 commented on Aug 3, 2026

    @am11
    Member

    Also failed on linux-musl-arm64 https://helix.dot.net/api/2019-06-17/jobs/117e9e76-3312-4364-86ec-bbda40838b38/workitems/System.Xml.Linq.Misc.Tests/console. Maybe we should convert it to a Known Build Error with template so BA doesn't fail.

  9. added
    Known Build ErrorUse this to report build issues in the .NET Helix tab
    on Aug 3, 2026
  10. locked and limited conversation to collaborators on Sep 4, 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-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIblocking-clean-ci-optionalBlocking optional rolling runsruntime-async

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions