Skip to content

.NET 12 wasm: System.OverflowException: Arithmetic operation resulted in an overflow #134015

Description

@richlander

I am running .NET 12 wasm in the following modes: mono, CoreCLR, and CoreCLR R2R. CoreCLR R2R fails to load.

This is what I see:

System.OverflowException: Arithmetic operation resulted in an overflow.
  at ILCompiler.DependencyAnalysis.ReadyToRun.InliningInfoNode.GetData(...)
  InliningInfoNode.cs:line 203
NETSDK1096: Optimizing assemblies for performance failed.

Here is an agent-driven bug: richlander/dotnet-inspect#6077 (comment)

Experience: https://coreclr-r2r.dotnet-inspect.ca/?package=System.Text.Json&w=eyJmIjoxLCJ0IjpbWyJTeXN0ZW0uVGV4dC5Kc29uIiwiMTEuMC4wLXByZXZpZXcuNy4yNjM4MS4xMDMiLCJuZXRzdGFuZGFyZDIuMCIsbnVsbF1dLCJnIjpbWzBdXSwiYSI6MCwieCI6MCwidiI6ImxpYnJhcnk6b3ZlcnZpZXciLCJsIjpbImNvbXBpbGU6bGliL25ldHN0YW5kYXJkMi4wL1N5c3RlbS5UZXh0Lkpzb24uZGxsIl19

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

    arch-wasmWebAssembly architecturearea-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIos-browserBrowser variant of arch-wasm

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions