Skip to content

[wasm][R2R] Runtime_101046 returns incorrect sign extension #133506

Closed

Description

@lewing

Description

JIT/Regression/JitBlue/Runtime_101046 returns 101 in browser-wasm CoreCLR ReadyToRun execution. The test validates sign extension of a native small-integer return.

Reproduction Steps

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

Expected behavior

Runtime101046Native.ReturnExtendedShort((short)p) returns -123, and the test exits 100.

Actual behavior

The test exits 101 only in the wasm ReadyToRun scenario.

Regression?

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

Known Workarounds

Mark only this out-of-process test project R2R-incompatible for wasm CoreCLR. Normal wasm execution and non-wasm coverage remain enabled.

Configuration

  • CoreCLR browser-wasm
  • Checked runtime
  • ReadyToRun / crossgen2

Other information

This is distinct from #131811, which records the test-specific native asset as enabled and passing outside this R2R-only ABI failure. Umbrella tracking: #133305.

Note

This issue was authored with GitHub Copilot.

Activity

  1. dotnet-policy-service commented on Sep 9, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara
    See info in area-owners.md if you want to be subscribed.

  2. dotnet-policy-service commented on Sep 9, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @dotnet/crossgen-contrib
    See info in area-owners.md if you want to be subscribed.

  3. self-assigned this
    on Sep 9, 2026
  4. removed
    untriagedNew issue has not been triaged by the area owner
    on Sep 9, 2026
  5. added
    disabled-testThe test is disabled in source code against the issue
    on Sep 9, 2026
  6. added this to the 12.0.0 milestone on Sep 10, 2026
  7. added a commit that references this issue on Sep 10, 2026
    4a29be7
  8. locked and limited conversation to collaborators on Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

arch-wasmWebAssembly architecturearea-ReadyToRundisabled-testThe test is disabled in source code against the issueos-browserBrowser variant of arch-wasm

Type

No type

Projects

  • Status
    No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions