Skip to content

[linux][arm64] Assert failure: 'regNum >= 0 && regNum <= 30' at gcinfodecoder.cpp #65175

Closed

Description

@elinor-fung

Many tests are failing on Linux musl arm64 runs with:

Assert failure(PID 24 [0x00000018], Thread: 50 [0x0032]): regNum >= 0 && regNum <= 30
    File: /__w/1/s/src/coreclr/vm/gcinfodecoder.cpp Line: 1641
    Image: /root/helix/work/correlation/dotnet

bool GcInfoDecoder::IsScratchRegister(int regNum, PREGDISPLAY pRD)
{
_ASSERTE(regNum >= 0 && regNum <= 30);

Failing rolling build: https://dev.azure.com/dnceng/public/_build/results?buildId=1605598&view=results
Previous succeeded rolling build: https://dev.azure.com/dnceng/public/_build/results?buildId=1604372&view=results
Diff: d85ec4e...7814396

Example faliure in System.Text.Json.Tests:
Console.log: https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-main-0906cc53d44248f09e/System.Text.Json.Tests/1/console.59125503.log?%3Fsv%3D2019-07-07%26se%3D2022-03-02T20%253A59%253A16Z%26sr%3Dc%26sp%3Drl%26sig%3DHVVyXsFm6VDwLHbqkTushm2%252F%252BUy2LAR8yxbHYmQ2opg%253D
Core dump: https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-main-0906cc53d44248f09e/System.Text.Json.Tests/1/core.1001.23?%3Fsv%3D2019-07-07%26se%3D2022-03-02T20%253A59%253A16Z%26sr%3Dc%26sp%3Drl%26sig%3DHVVyXsFm6VDwLHbqkTushm2%252F%252BUy2LAR8yxbHYmQ2opg%253D

Build Kind Start Time
1605598 Rolling 2022-10-02
1606981 Rolling 2022-11-02
1608211 Rolling 2022-11-02

Activity

  1. ghost added
    untriaged
    on Feb 11, 2022
  2. added
    os-linux
    on Feb 11, 2022
  3. elinor-fung commented on Feb 11, 2022

    @elinor-fung
    MemberAuthor

    @echesakovMSFT could this be related to #64864? Haven't been able to look into much - just scanned for arm64-related changes.

  4. changed the title [-][arm64] Assert failure: 'regNum >= 0 && regNum <= 30' at gcinfodecoder.cpp[/-] [+][linux][arm64] Assert failure: 'regNum >= 0 && regNum <= 30' at gcinfodecoder.cpp[/+] on Feb 11, 2022
  5. elinor-fung commented on Feb 11, 2022

    @elinor-fung
    MemberAuthor

    Actually, looks like this started happening after #64683
    @EgorBo can you take a look?

  6. self-assigned this
    on Feb 11, 2022
  7. added
    area-CodeGen-coreclr
    on Feb 11, 2022
  8. elinor-fung commented on Feb 11, 2022

    @elinor-fung
    MemberAuthor

    Rolling builds are hitting this consistently.

  9. EgorBo commented on Feb 12, 2022

    @EgorBo
    Member

    I had problems to setup my arm64 hw, but it looks like it's #64864 or something before it ah, nvm
    @elinor-fung how did you check that it started happening after #64683

  10. elinor-fung commented on Feb 12, 2022

    @elinor-fung
    MemberAuthor

    I just queued a bunch of builds around PRs that looked interesting... (I didn't have an environment set up either.)

    Failing in with #64683: https://dev.azure.com/dnceng/public/_build/results?buildId=1606812&view=results
    Not failing at commit right before: https://dev.azure.com/dnceng/public/_build/results?buildId=1606767&view=results

    (Both builds show as cancelled because I cancelled them after Libraries Test Run checked coreclr Linux_musl arm64 Release run finished, since that was what I was interested in.)

  11. ghost added
    in-pr
    on Feb 12, 2022
  12. ghost removed
    in-pr
    on Feb 12, 2022
  13. ghost locked as resolved and limited conversation to collaborators on Mar 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

arch-arm64area-CodeGen-coreclros-linuxuntriaged

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions