System.IO.Hashing tests failing on Mono Apple mobile (SIGILL in Crc32 ARM64)
- Dominant language
- C#
- Stars
- 18.3k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Description
```
Incident Identifier: A2C6C88D-017D-47EE-B4CE-C8197C307D04
CrashReporter Key: b7fb6de85543365d88bc62383220a77d2b426aa8
Hardware Model: AppleTV5,3
Process: System.IO.Hashing.Tests [657]
Path: /private/var/containers/Bundle/Application/313BCA2D-2D9D-4FE0-833F-2ED1151ED330/System.IO.Hashing.Tests.app/System.IO.Hashing.Tests
Identifier: net.dot.System.IO.Hashing.Tests
Version: 1.0 (1)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: net.dot.System.IO.Hashing.Tests [708]
Date/Time: 2026-03-17 12:30:54.6035 -0700
Launch Time: 2026-03-17 12:30:50.8246 -0700
OS Version: Apple TVOS 26.2 (23K54)
Release Type: User
Report Version: 104
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x000000001ad44000
Termination Reason: SIGNAL 4 Illegal instruction: 4
Terminating Process: exc handler [657]
Triggered by Thread: 11
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x1b309a874 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1b309b3e8 mach_msg2_internal + 72
2 libsystem_kernel.dylib 0x1b309b378 mach_msg_overwrite + 524
3 libsystem_kernel.dylib 0x1b309b160 mach_msg + 20
4 CoreFoundation 0x19181ac9c __CFRunLoopServiceMachPort + 156
5 CoreFoundation 0x19181b520 __CFRunLoopRun + 1180
6 CoreFoundation 0x191841438 _CFRunLoopRunSpecificWithOptions + 496
7 GraphicsServices 0x1d5acaabc GSEventRunModal + 116
8 UIKitCore 0x19e0210c8 -[UIApplication _run] + 772
9 UIKitCore 0x19e025660 UIApplicationMain + 148
10 System.IO.Hashing.Tests 0x10075fe48 main + 68
11 dyld 0x19056d89c start + 2592
Thread 11 name: .NET TP Worker
Thread 11 Crashed:
0 System.IO.Hashing.Tests 0x100e21a48 System_IO_Hashing_System_IO_Hashing_Crc32ParameterSet_Ieee8023ParameterSet_UpdateScalarArm64_uint_System_ReadOnlySpan_1_byte + 68
1 System.IO.Hashing.Tests 0x1005f850c mono_jit_runtime_invoke + 1560
2 System.IO.Hashing.Tests 0x10059ab94 mono_runtime_invoke_checked + 148
3 System.IO.Hashing.Tests 0x1005a2f0c mono_runtime_try_invoke_byrefs + 640
4 System.IO.Hashing.Tests 0x10055c7fc ves_icall_InternalInvoke + 236
5 System.IO.Hashing.Tests 0x1005667e4 ves_icall_InternalInvoke_raw + 100
6 System.IO.Hashing.Tests 0x10093de90 wrapper_managed_to_native_System_Reflection_RuntimeMethodInfo_InternalInvoke_object_intptr__System_Exception_ + 160
7 System.IO.Hashing.Tests 0x10139c170 corlib_System_Reflection_MethodBaseInvoker_InterpretedInvoke_Method_object_intptr_ + 88
8 System.IO.Hashing.Tests 0x1013a3140 corlib_System_Reflection_RuntimeMethodInfo_Invoke_object_System_Reflection_BindingFlags_System_Reflection_Binder_object___System_Globalization_CultureInfo + 540
Thread 11 crashed with ARM Thread State (64-bit):
x0: 0x00000000ffffffff x1: 0x000000010768c068 x2: 0x0000000000000007 x3: 0x0000000000000007
x4: 0x0000000170231d2c x5: 0x0000000170231978 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x0000000000000000 x9: 0x0000000000000001 x10: 0x0000000000000003 x11: 0x0000010000000000
x12: 0x00000000fffffffd x13: 0x0000000000000000 x14: 0x0000000000000000 x15: 0x000000015cbe4290
x16: 0x0000000170231d00 x17: 0x0000000100e21898 x18: 0x0000000000000000 x19: 0x00000001024ecb58
x20: 0x0000000000000017 x21: 0x0000000000000007 x22: 0x000000010768a228 x23: 0x000000010768c048
x24: 0x00000003033e19a0 x25: 0x0000000102476000 x26: 0x0000000000000004 x27: 0x0000000102476000
x28: 0x0000000102476000 fp: 0x0000000170231e20 lr: 0x0000000100e218cc
sp: 0x0000000170231ca0 pc: 0x0000000100e21a48 cpsr: 0x20000000
far: 0x0000000000000000 esr: 0x02000000 (null)
Binary Images:
0x1004c4000 - 0x1022bbfff System.IO.Hashing.Tests arm64
0x1b309a000 - 0x1b30d0f33 libsystem_kernel.dylib arm64
0x191811000 - 0x191d7d03f CoreFoundation arm64
0x1d5ac8000 - 0x1d5ad005f GraphicsServices arm64
0x19d0a4000 - 0x19ee7d9df UIKitCore arm64
0x190557000 - 0x1905d3a83 dyld arm64
0x1b15eb000 - 0x1b15f654b libsystem_pthread.dylib arm64
0x1a69ac000 - 0x1a69edabf libdispatch.dylib arm64
0x1905d4000 - 0x191354c1f Foundation arm64
```
Contributor guide
Assessment
This issue has not been assessed yet.