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] The bitcast test fails with exit code 104 on apple mobile platforms #89385
{
"ErrorMessage": "Application has finished with exit code 104 but 100 was expected",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
The BitCast test fails with exit code 104 on the apple mobile platforms. I will try to get more details locally.
Looks like the 4 tests for implicit floating point casting fail on Mono and instead of casting just reinterpret the bits.
Such implicit conversion of float32 <-> float64 is legal in IL as per the ECMA so this looks like a Mono runtime bug.
JIT_Intrinsics[2155:332550] Failed at line 31, expected 1065353216, got 0
JIT_Intrinsics[2155:332550] Failed at line 32, expected 4607182418800017408, got 1065353216
JIT_Intrinsics[2155:332550] Failed at line 33, expected 1065353216, got 0
JIT_Intrinsics[2155:332550] Failed at line 34, expected 4607182418800017408, got 1065353216
JIT_Intrinsics[2155:332550] DOTNET.APP_EXIT_CODE: 104
Activity
EgorBo commentedon Jul 24, 2023
cc @MichalPetryka
Perhaps, it's already fixed with #89364 (if that was the issue)
MichalPetryka commentedon Jul 24, 2023
Looks like the 4 tests for implicit floating point casting fail on Mono and instead of casting just reinterpret the bits.
Such implicit conversion of
float32 <-> float64is legal in IL as per the ECMA so this looks like a Mono runtime bug.kotlarmilos commentedon Jul 24, 2023
kotlarmilos commentedon Jul 24, 2023
I didn't manage to reproduce it locally with
Unsafe.BitCast<float, int>(1f).However, with implicit casting it fails.