Skip to content

[wasm][R2R] more_tailcalls reads out of bounds #133503

Description

@lewing

Description

JIT/Directed/tailcall/more_tailcalls traps during static non-generic tail recursion in browser-wasm CoreCLR ReadyToRun execution.

Reproduction Steps

Run the default runtime pipeline for #133463 at commit 452dea3aba16d97244508b8a0fef4643de8dd26e (Azure DevOps build 1589007, test run 43860850).

Expected behavior

The test completes with exit code 100.

Actual behavior

Static non-generic:
RuntimeError: memory access out of bounds
    at WasmR2RToInterpreterThunk(vp)
    at more_tailcalls_Program__Calc
    at more_tailcalls_Program__CalcStaticOther
    at more_tailcalls_Program__CalcStatic

Regression?

Unknown; exposed by the restored browser-wasm R2R lane.

Known Workarounds

Skip only this test for wasm ReadyToRun while retaining other tailcall and non-R2R coverage.

Configuration

  • CoreCLR browser-wasm
  • Checked runtime
  • ReadyToRun / crossgen2
  • Node.js 23.11.1

Other information

Umbrella tracking: #133305.

Note

This issue was authored with GitHub Copilot.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions