Skip to content

JIT: Assertion failed '!"Missing flags on tree"' during 'Assertion prop' for recently added RuntimeHelpers.CreateSpan uses #80632

Closed

Description

@jakobbotsch

libraries-jitstress jobs are failing with this assert, e.g. https://dev.azure.com/dnceng-public/public/_build/results?buildId=136796&view=ms.vss-test-web.build-test-results-tab&runId=2975122&resultId=191688&paneView=debug.

From bisection I think it is not exposed by a JIT change and we are hitting it now after #79461 (I bisected with an SPMI context, and even old JITs hit the assert).

Attached a win-x64 SPMI context that hits it on recent JIT commits (e.g. 3f5210d).

fail-39322.zip

Activity

  1. ghost added
    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
    on Jan 13, 2023
  2. ghost added
    untriagedNew issue has not been triaged by the area owner
    on Jan 13, 2023
  3. changed the title [-]JIT: Assertion failed '!"Missing flags on tree"' during 'Assertion prop'[/-] [+]JIT: Assertion failed '!"Missing flags on tree"' during 'Assertion prop' for recently added RuntimeHelpers.CreateSpan uses[/+] on Jan 13, 2023
  4. added and removed
    untriagedNew issue has not been triaged by the area owner
    on Jan 13, 2023
  5. added this to the 8.0.0 milestone on Jan 13, 2023
  6. self-assigned this
    on Jan 13, 2023
  7. SingleAccretion commented on Jan 13, 2023

    @SingleAccretion
    Contributor

    Probably #80622 will fix this by virtue of using a non-CONST handle for this data.

  8. jakobbotsch commented on Jan 13, 2023

    @jakobbotsch
    MemberAuthor

    @EgorBo Can you double check with the attached SPMI context?

  9. EgorBo commented on Jan 14, 2023

    @EgorBo
    Member

    Just checked, the assert is gone with the patch. @jakobbotsch thanks for the SPMI context it saved an hour or two🙂

  10. ghost locked as resolved and limited conversation to collaborators on Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIblocking-clean-ci-optionalBlocking optional rolling runs

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions