Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JIT: Assertion failed '(refPosition->refType == RefTypeUpperVectorRestore) || (genCountBits(candidates) == 1)' during 'LSRA build intervals' #85426

Closed
jakobbotsch opened this issue Apr 26, 2023 · 3 comments · Fixed by #85566
Assignees
Labels
arch-arm64 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI blocking-clean-ci-optional Blocking optional rolling runs JitStress CLR JIT issues involving JIT internal stress modes
Milestone

Comments

@jakobbotsch
Copy link
Member

libraries-jitstress is hitting this in a few jobs, for example https://dev.azure.com/dnceng-public/public/_build/results?buildId=252833&view=ms.vss-test-web.build-test-results-tab&runId=4908054&resultId=177607&paneView=debug

Assert failure(PID 28 [0x0000001c], Thread: 396 [0x018c]): Assertion failed '(refPosition->refType == RefTypeUpperVectorRestore) || (genCountBits(candidates) == 1)' in 'System.Buffers.ProbabilisticMap:IndexOfAnyVectorized(byref,byref,int,System.ReadOnlySpan`1[ushort]):int' during 'LSRA build intervals' (IL size 203; hash 0x36e94114; Tier1)

    File: /__w/1/s/src/coreclr/jit/lsra.cpp Line: 12346
    Image: /root/helix/work/correlation/dotnet

I was able to get a partial jitdump (it hit segfault after printing this) which I've attached.

out.txt

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Apr 26, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Apr 26, 2023
@ghost
Copy link

ghost commented Apr 26, 2023

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

Issue Details

libraries-jitstress is hitting this in a few jobs, for example https://dev.azure.com/dnceng-public/public/_build/results?buildId=252833&view=ms.vss-test-web.build-test-results-tab&runId=4908054&resultId=177607&paneView=debug

Assert failure(PID 28 [0x0000001c], Thread: 396 [0x018c]): Assertion failed '(refPosition->refType == RefTypeUpperVectorRestore) || (genCountBits(candidates) == 1)' in 'System.Buffers.ProbabilisticMap:IndexOfAnyVectorized(byref,byref,int,System.ReadOnlySpan`1[ushort]):int' during 'LSRA build intervals' (IL size 203; hash 0x36e94114; Tier1)

    File: /__w/1/s/src/coreclr/jit/lsra.cpp Line: 12346
    Image: /root/helix/work/correlation/dotnet

I was able to get a partial jitdump (it hit segfault after printing this) which I've attached.

out.txt

Author: jakobbotsch
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@jakobbotsch jakobbotsch added blocking-clean-ci-optional Blocking optional rolling runs JitStress CLR JIT issues involving JIT internal stress modes and removed untriaged New issue has not been triaged by the area owner labels Apr 26, 2023
@BruceForstall BruceForstall added this to the 8.0.0 milestone Apr 27, 2023
@BruceForstall
Copy link
Member

New assert related to arm64 consecutive registers support.

@kunalspathak
Copy link
Member

I will take a look.

@ghost ghost locked as resolved and limited conversation to collaborators May 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-arm64 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI blocking-clean-ci-optional Blocking optional rolling runs JitStress CLR JIT issues involving JIT internal stress modes
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants