You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Mono asserts when processing value classes larger than 64kB #137359
Mono will assert when processing value classes with size greater than or equal to 64kB.
Reproduction Steps
Example C#:
[StructLayout(LayoutKind.Explicit, Size = 65536)]
private struct LargeLocal
{
[FieldOffset(65528)]
public long Last;
}
LargeLocal l = new LargeLocal(); // * Assertion at /Users/runner/work/1/s/src/mono/mono/mini/interp/transform.c:8797, condition `i32 < G_MAXUINT16' not met
l.Last = 1234;
Expected behavior
The value class should compile without issue.
Actual behavior
* Assertion at /Users/runner/work/1/s/src/mono/mono/mini/interp/transform.c:8797, condition `i32 < G_MAXUINT16' not met
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
This is being created for CoreCLR JIT tests to point to, when disabling tests on Mono.
Activity
dotnet-policy-service commentedon Nov 11, 2026
Tagging subscribers to this area: @akoeplinger, @matouskozak, @simonrozsival
See info in area-owners.md if you want to be subscribed.