@@ -185,15 +185,16 @@ public static void TestStackOverflowSmallFrameSecondaryThread()
185
185
[ Fact ]
186
186
public static void TestStackOverflowLargeFrameSecondaryThread ( )
187
187
{
188
- if ( ( ( RuntimeInformation . ProcessArchitecture == Architecture . Arm64 ) || ( RuntimeInformation . ProcessArchitecture == Architecture . RiscV64 ) ||
189
- ( RuntimeInformation . ProcessArchitecture == Architecture . LoongArch64 ) ) &&
188
+ if ( ( ( RuntimeInformation . ProcessArchitecture == Architecture . Arm64 ) || ( RuntimeInformation . ProcessArchitecture == Architecture . X64 ) || ( RuntimeInformation . ProcessArchitecture == Architecture . RiscV64 ) ||
189
+ ( RuntimeInformation . ProcessArchitecture == Architecture . LoongArch64 ) || ( RuntimeInformation . ProcessArchitecture == Architecture . Arm ) ) &&
190
190
( ( Environment . OSVersion . Platform == PlatformID . Unix ) || ( Environment . OSVersion . Platform == PlatformID . MacOSX ) ) )
191
191
{
192
192
// Disabled on Unix RISCV64 and LoongArch64, similar to ARM64.
193
193
// LoongArch64 hit this issue on Alpine. TODO: implement stack probing using helpers.
194
194
// Disabled on Unix ARM64 due to https://github.com/dotnet/runtime/issues/13519
195
195
// The current stack probing doesn't move the stack pointer and so the runtime sometimes cannot
196
196
// recognize the underlying sigsegv as stack overflow when it probes too far from SP.
197
+ // Disabled on Unix X64/Arm due to https://github.com/dotnet/runtime/issues/110173 which needs investigation.
197
198
return ;
198
199
}
199
200
@@ -223,9 +224,10 @@ public static void TestStackOverflowLargeFrameSecondaryThread()
223
224
[ Fact ]
224
225
public static void TestStackOverflow3 ( )
225
226
{
226
- if ( RuntimeInformation . ProcessArchitecture == Architecture . Arm )
227
+ if ( ( RuntimeInformation . ProcessArchitecture == Architecture . Arm ) || ( ( RuntimeInformation . ProcessArchitecture == Architecture . Arm64 ) && ( Environment . OSVersion . Platform == PlatformID . Unix ) ) )
227
228
{
228
229
// Disabled on ARM due to https://github.com/dotnet/runtime/issues/107184
230
+ // Disabled on Unix ARM64 due to https://github.com/dotnet/runtime/issues/110173 which needs investigation.
229
231
return ;
230
232
}
231
233
0 commit comments