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] Apple mobile runtime tests can't load BigArray_32_1 in ClassLoader tests, the size is too big. #106797
[19:39:55.4517280] 2024-08-21 16:39:55.525 Loader_classloader[84744:102779304] System.TypeLoadException: Can't load type BigArray_32_1. The size is too big.
[19:39:55.4517630] at __GeneratedMainWrapper.Main()
Build: 🔎https://dev.azure.com/dnceng-public/public/_build/results?buildId=784159 Error message validated:[Detected exit code 101 from \/tmp\/helix\/working\/.*\/uploads\/net\.dot\.Loader_classloader\.log] Result validation: ✅ Known issue matched with the provided build. Validation performed at: 8/22/2024 7:07:41 AM UTC
We should probably ifdef the 32-bit/64-bit structs in that test
There is something off with the current Mono support. I tried removing completely the 32-bit code and it failed on Assert.Throws<TypeLoadException>(() => sizeof(BigArray_64_2));
Xunit.Sdk.ThrowsException: Assert.Throws() Failure: No exception was thrown
Expected: typeof(System.TypeLoadException)
at Xunit.Assert.Throws(Type exceptionType, Exception exception) in /_/src/Microsoft.DotNet.XUnitAssert/src/ExceptionAsserts.cs:line 47
at Xunit.Assert.Throws[TypeLoadException](Func`1 testCode) in /_/src/Microsoft.DotNet.XUnitAssert/src/ExceptionAsserts.cs:line 113
at LargeStructSize.TestLargeStructSize() in <PATH>/src/tests/Loader/classloader/SequentialLayout/ManagedSequential/LargeStructSize_Mono.cs:line 48
Activity
dotnet-policy-service commentedon Aug 22, 2024
Tagging subscribers to 'os-ios': @vitek-karas, @kotlarmilos, @ivanpovazan, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.
dotnet-policy-service commentedon Aug 22, 2024
Tagging subscribers to 'os-tvos': @vitek-karas, @kotlarmilos, @ivanpovazan, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.
matouskozak commentedon Aug 22, 2024
Likely introduced by the new tests in #104393 @steveisok, @lambdageek
lambdageek commentedon Aug 22, 2024
We should probably ifdef the 32-bit/64-bit structs in that test
matouskozak commentedon Nov 5, 2024
There is something off with the current Mono support. I tried removing completely the 32-bit code and it failed on
Assert.Throws<TypeLoadException>(() => sizeof(BigArray_64_2));