Skip to content

JIT assertions are attributed to the wrong phase #32497

Closed

Description

@BruceForstall

JIT assertions, such as in #32466:

Assertion failed: '!emitComp->opts.compReloc || memBase->IsIconHandle() || memBase->IsIntegralConst(0)' in 'nullsdarr:f()' during 'Linear scan register alloc'

are attributed to the last phase where BeginPhase or EndPhase was called. Unless using the Phase object, we don't use BeginPhase calls, so assertions are attributed to the previous phase, which is confusing. The above assertion is presumably during codegen, not LSRA.

@AndyAyersMS @dotnet/jit-contrib

category:implementation
theme:jit-coding-style
skill-level:beginner
cost:small

Activity

  1. added
    area-CodeGen-coreclr
    on Feb 18, 2020
  2. added this to the 5.0 milestone on Feb 18, 2020
  3. added
    untriaged
    on Feb 18, 2020
  4. removed
    untriaged
    on Feb 18, 2020
  5. self-assigned this
    on Feb 18, 2020
  6. AndyAyersMS commented on Feb 18, 2020

    @AndyAyersMS
    Member

    Should be fixed by ongoing phasification...

  7. jaredpar commented on Feb 24, 2020

    @jaredpar
    Member

    These assertions are causing the coreclr outerloop builds to fail at the moment. Looks to be 100% failure rate.

    Failing tests are

    • JIT\\Directed\\coverage\\importer\\Desktop\\nullsdarr_il_d\\nullsdarr_il_d.cmd
    • JIT\\Directed\\coverage\\importer\\nullsdarr\\nullsdarr.cmd

    Builds

    Build Pull Request Test Failure Count
    #533208 Rolling 2
    #533291 Rolling 2
    #533388 Rolling 2
    #533425 Rolling 2
    #533595 Rolling 2
    #533653 Rolling 2
    #533733 Rolling 2
    #533816 Rolling 2
    #533874 Rolling 2
    #533988 Rolling 2

    Configurations

    • R2R Windows_NT x86 Checked @ Windows.10.Amd64.Open
    • R2R Windows_NT x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open

    Helix Logs

    Build Pull Request Console Core Test Results
    #533208 Rolling console.631fcabd.log testResults.xml
    #533208 Rolling console.ec2ae37f.log testResults.xml
    #533291 Rolling console.d78744e6.log testResults.xml
    #533291 Rolling console.9e7bcd5e.log testResults.xml
    #533388 Rolling console.d63a346b.log testResults.xml
    #533388 Rolling console.f5eced47.log testResults.xml
    #533425 Rolling console.d7e2b330.log testResults.xml
    #533425 Rolling console.25399d3a.log testResults.xml
    #533595 Rolling console.4784fa7d.log testResults.xml
    #533595 Rolling console.5ee21537.log testResults.xml
    #533653 Rolling console.9fd14001.log testResults.xml
    #533653 Rolling console.06e72e7f.log testResults.xml
    #533733 Rolling console.c01c7f97.log testResults.xml
    #533733 Rolling console.5418f9d6.log testResults.xml
    #533816 Rolling console.ed8549db.log testResults.xml
    #533816 Rolling console.54eff531.log testResults.xml
    #533874 Rolling console.b1584d07.log testResults.xml
    #533874 Rolling console.8e360259.log testResults.xml
    #533988 Rolling console.55f6f535.log testResults.xml
    #533988 Rolling console.c27d3af3.log testResults.xml
  8. jaredpar commented on Feb 24, 2020

    @jaredpar
    Member
  9. BruceForstall commented on Feb 24, 2020

    @BruceForstall
    ContributorAuthor

    @jaredpar Your comment belongs in #32466 -- I copied it there.

  10. added a commit that references this issue on Feb 27, 2020
    48a846c
  11. added a commit that references this issue on Feb 27, 2020
    fab6a56
  12. ghost locked as resolved and limited conversation to collaborators on Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclr

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions