Skip to content

[ci-scan] Test failure: JIT assertion 'FPbased' in SVE2 HardwareIntrinsics under jitstress on arm64 #127955

Closed

Description

@github-actions

Summary:
JIT assertion 'FPbased' fires during code generation for SVE2 hardware intrinsics tests and Runtime_105944 regression test under jitstress on arm64 (both linux-arm64 and windows-arm64).

Failed in (1):

Console Log: Console Log

Failed tests:

runtime-coreclr jitstress (build 1413254)
- net11.0-linux-Release-arm64-jitstress1-Ubuntu.2204.Arm64.Open
  - HardwareIntrinsics_Arm_r
  - HardwareIntrinsics_Arm_ro
  - Regression_2
- net11.0-linux-Release-arm64-jitstress2-Ubuntu.2204.Arm64.Open
  - HardwareIntrinsics_Arm_r
  - HardwareIntrinsics_Arm_ro
  - Regression_2
- net11.0-linux-Release-arm64-jitstressregs8-Ubuntu.2204.Arm64.Open
  - HardwareIntrinsics_Arm_r
  - HardwareIntrinsics_Arm_ro
- net11.0-windows-Release-arm64-jitstress1-Windows.11.Arm64.Open
  - HardwareIntrinsics_Arm_r
  - HardwareIntrinsics_Arm_ro
  - Regression_2
- net11.0-windows-Release-arm64-jitstressregs8-Windows.11.Arm64.Open
  - HardwareIntrinsics_Arm_r
  - HardwareIntrinsics_Arm_ro
```

**Error Message:**
```
Assert failure(PID 40099 [0x00009ca3], Thread: 40099 [0x9ca3]): Assertion failed 'FPbased' in 'JIT.HardwareIntrinsics.Arm._Sve2.SimpleUnaryOpTest__Sve2_AbsSaturate_short:ConditionalSelectScenario_FalseValue(System.Numerics.Vector`1[short],System.Numerics.Vector`1[short],System.Numerics.Vector`1[short]):this' during 'Generate code' (IL size 33; hash 0xadf10ad3; MinOpts)
```

**Stack Trace:**
```
Assertion failed 'FPbased' in 'JIT.HardwareIntrinsics.Arm._Sve2.SimpleUnaryOpTest__Sve2_AbsSaturate_short:ConditionalSelectScenario_FalseValue(...)' during 'Generate code' (IL size 33; hash 0xadf10ad3; MinOpts)
Exit Code: 22

Assertion failed 'FPbased' in 'Runtime_105944.Runtime_105944:ReorderSetGetFfr(ptr):bool' during 'Generate code' (IL size 75; hash 0x514d3fed; Tier0)
Exit Code: 22

Impact on platforms:

  • runtime-coreclr jitstress + linux arm64 + Ubuntu.2204.Arm64.Open + jitstress1/jitstress2/jitstressregs8 + exit code 1
  • runtime-coreclr jitstress + windows arm64 + Windows.11.Arm64.Open + jitstress1/jitstressregs8 + exit code 1

First build it occurred: First seen in build 1413254 (2026-05-08) within the scanned window. 8 work items failing across 2 legs in a single build. Prior jitstress builds had Phase-level build breaks (windows-arm64 checked) which may have masked this failure. Note: this is within the scanned window and may not be the true origin.

Recommended action: This is a JIT product bug in the ARM64 SVE2 code generation path. The FPbased assertion fires during Generate code phase when compiling SVE2 intrinsic test methods under jitstress (MinOpts/Tier0). The assertion indicates the JIT is incorrectly assuming a frame-pointer-based frame layout for these methods. This needs investigation by the JIT team — likely in the ARM64 SVE/SVE2 backend register allocator or frame layout code.

Generated by CI Outer-Loop Failure Scanner · ● 26.1M · ◷

Activity

  1. added
    blocking-clean-ci
    Known Build Error
    on May 8, 2026
  2. added
    untriaged
    on May 8, 2026
  3. added
    area-CodeGen-coreclr
    on May 8, 2026
  4. dotnet-policy-service commented on May 8, 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. added
    blocking-clean-ci-optional
    and removed
    blocking-clean-ci
    untriaged
    on May 8, 2026
  6. added this to the 11.0.0 milestone on May 8, 2026
  7. JulieLeeMSFT commented on May 8, 2026

    @JulieLeeMSFT
    Member
  8. dhartglassMSFT commented on May 9, 2026

    @dhartglassMSFT
    Contributor

    Frame pointer assert in SVE code, possibly related to 270715b , pinging @snickolls-arm also

  9. VincentBu commented on May 11, 2026

    @VincentBu
    Contributor

    Failed in: runtime-coreclr gcstress-extra 20260509.1

    Failed tests:

    coreclr linux arm64 Checked gcstress0xc_jitstress1 @ AzureLinux.3.Arm64.Open
    - JIT/Regression/JitBlue/Runtime_105474/Runtime_105474/Runtime_105474.cmd
    
    

    Error message:

    
    Assert failure(PID 14779 [0x000039bb], Thread: 14779 [0x39bb]): Assertion failed 'FPbased' in 'Runtime_105474:TestMethod4(System.Numerics.Vector`1[double])' during 'Generate code' (IL size 53; hash 0x684c5285; MinOpts)
    
        File: /__w/1/s/src/coreclr/jit/emitarm64.cpp:8604
        Image: /datadisks/disk1/work/A9CE09B6/p/corerun
    
    apply_reg_state: ip and cfa unchanged; stopping here (ip=0xf4eb99ee9d34)
    apply_reg_state: ip and cfa unchanged; stopping here (ip=0xf4eb99ee9d34)
    waitpid() returned successfully (wstatus 00000000) WEXITSTATUS 0 WTERMSIG 0
    /datadisks/disk1/work/A9CE09B6/w/B6E6097B/e/JIT/Regression/Regression_2/../JitBlue/Runtime_105474/Runtime_105474/Runtime_105474.sh: line 426: 14779 Aborted                 (core dumped) $LAUNCHER $ExePath "${CLRTestExecutionArguments[@]}"
    
    Return code:      1
    Raw output file:      /datadisks/disk1/work/A9CE09B6/w/B6E6097B/uploads/JitBlue/Runtime_105474/Runtime_105474/output.txt
    Raw output:
    BEGIN EXECUTION
    /datadisks/disk1/work/A9CE09B6/p/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true Runtime_105474.dll ''
    [createdump] Gathering state for process 14779 corerun
    [createdump] Crashing thread 39bb signal 6 (0006)
    [createdump] Writing crash report to file /datadisks/disk1/dumps/coredump.14779.dmp.crashreport.json
    [createdump] Crash report successfully written
    [createdump] Writing minidump with heap to file /datadisks/disk1/dumps/coredump.14779.dmp
    [createdump] Written 53678080 bytes (13105 pages) to core file
    [createdump] Target process is alive
    [createdump] Dump successfully written in 1506ms
    Expected: 100
    Actual: 134
    END EXECUTION - FAILED
    Test Harness Exitcode is : 1
    To run the test:
    Set up CORE_ROOT and run.
    > /datadisks/disk1/work/A9CE09B6/w/B6E6097B/e/JIT/Regression/Regression_2/../JitBlue/Runtime_105474/Runtime_105474/Runtime_105474.sh
    

    Stack trace:

       at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 135
       at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
       at Program.<<Main>$>g__TestExecutor35|0_36(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)
    
  10. snickolls-arm commented on May 11, 2026

    @snickolls-arm
    Contributor

    Will take look today. I can see the codegen for SVE ldr/str is assuming the frame is always going to be addressable using FP, but I know that's not the case for some of the rarer frame types.

  11. snickolls-arm commented on May 11, 2026

    @snickolls-arm
    Contributor

    I've pushed a fix here: #128037

    I can't reproduce the issue locally, with DOTNET_JitStress=2 and DOTNET_TieredCompilation=0 the failing tests seem to pass. However, the assertion was incorrect so I've replaced it with correct codegen.

  12. added
    disabled-test
    arm-sve
    on May 11, 2026
  13. added a commit that references this issue on May 12, 2026
    06c1222
  14. locked and limited conversation to collaborators on Jun 12, 2026
  15. added a commit that references this issue on Jul 15, 2026
    5538e06
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-workflowsarch-arm64area-CodeGen-coreclrarm-sveblocking-clean-ci-optionaldisabled-test

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions