Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1422775
Build error leg or test failing: windows-arm64 Release NativeAOT_Libs / windows-x64 Release NativeAOT_Libs / osx-x64 Release NativeAOT_Libs - System.Text.Json.SourceGeneration.Roslyn4.4.Tests
Error Details
System.Text.Json.SourceGeneration.Roslyn4.4.Tests crashes with an Access Violation (exit code -1073740791 / STATUS_STACK_BUFFER_OVERRUN) across multiple NativeAOT legs in the runtime-nativeaot-outerloop pipeline (definition 265).
Failing tests observed:
System.Text.Json.SourceGeneration.Tests.UnsupportedTypesTests_Metadata.SerializeUnsupportedType<Int32[,]> (windows-arm64)
System.Text.Json.SourceGeneration.Tests.UnsupportedTypesTests_Metadata.SerializeUnsupportedType<Boolean[,,,]> (windows-arm64)
System.Text.Json.SourceGeneration.Tests.JsonCreationHandlingTests_String.CreationHandlingSetWithAttribute_PopulatedPropertyDeserializeInitiallyNull (windows-x64)
All crash with NullReferenceException instead of expected NotSupportedException, followed by a terminal Access Violation.
Affected legs (7 failures in build 1422775):
- windows-arm64 Release NativeAOT_Libs
- windows-x64 Release NativeAOT_Libs
- windows-x64 Release NativeAOT_Checked_Libs
- windows-x64 Release NativeAOT_Checked_Libs_SizeOpt
- windows-x64 Release NativeAOT_Checked_Libs_SpeedOpt
- windows-x86 Release NativeAOT_Libs
- osx-x64 Release NativeAOT_Libs
[FAIL] System.Text.Json.SourceGeneration.Tests.UnsupportedTypesTests_Metadata.SerializeUnsupportedType<Int32[,]>(wrapper: System.Int32[,])
Assert.Throws() Failure: Exception type was not an exact match
Expected: typeof(System.NotSupportedException)
Actual: typeof(System.NullReferenceException)
---- System.NullReferenceException : Object reference not set to an instance of an object.
[FAIL] System.Text.Json.SourceGeneration.Tests.JsonCreationHandlingTests_String.CreationHandlingSetWithAttribute_PopulatedPropertyDeserializeInitiallyNull(typeWitness: TypeWitness`1 { })
Process terminated. Access Violation: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. The application will be terminated since this platform does not support throwing an AccessViolationException.
at System.RuntimeExceptionHelpers.FailFast(String, Exception, String, RhFailFastReason, IntPtr, IntPtr)
at System.RuntimeExceptionHelpers.GetRuntimeException(ExceptionIDs)
at System.Runtime.EH.GetClasslibException(ExceptionIDs, IntPtr)
at Xunit.Assert.<RecordExceptionAsync>d__215.MoveNext()
First observed: build 1422775 (2026-05-16). Prior NativeAOT builds (1420289 on May 14, 1419666 on May 14) had different failures. This appears new as of 2026-05-15/16.
Error Message
{
"ErrorMessage": ["System.Text.Json.SourceGeneration.Roslyn4.4.Tests", "Access Violation: Attempted to read or write protected memory"],
"BuildRetry": false,
"ExcludeConsoleLog": false
}
Generated by CI Outer-Loop Failure Scanner · ● 23.8M · ◷
Report
Summary
| 24-Hour Hit Count |
7-Day Hit Count |
1-Month Count |
| 0 |
6 |
6 |
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1422775
Build error leg or test failing: windows-arm64 Release NativeAOT_Libs / windows-x64 Release NativeAOT_Libs / osx-x64 Release NativeAOT_Libs - System.Text.Json.SourceGeneration.Roslyn4.4.Tests
Error Details
System.Text.Json.SourceGeneration.Roslyn4.4.Testscrashes with an Access Violation (exit code -1073740791 / STATUS_STACK_BUFFER_OVERRUN) across multiple NativeAOT legs in theruntime-nativeaot-outerlooppipeline (definition 265).Failing tests observed:
System.Text.Json.SourceGeneration.Tests.UnsupportedTypesTests_Metadata.SerializeUnsupportedType<Int32[,]>(windows-arm64)System.Text.Json.SourceGeneration.Tests.UnsupportedTypesTests_Metadata.SerializeUnsupportedType<Boolean[,,,]>(windows-arm64)System.Text.Json.SourceGeneration.Tests.JsonCreationHandlingTests_String.CreationHandlingSetWithAttribute_PopulatedPropertyDeserializeInitiallyNull(windows-x64)All crash with
NullReferenceExceptioninstead of expectedNotSupportedException, followed by a terminal Access Violation.Affected legs (7 failures in build 1422775):
First observed: build 1422775 (2026-05-16). Prior NativeAOT builds (1420289 on May 14, 1419666 on May 14) had different failures. This appears new as of 2026-05-15/16.
Error Message
{ "ErrorMessage": ["System.Text.Json.SourceGeneration.Roslyn4.4.Tests", "Access Violation: Attempted to read or write protected memory"], "BuildRetry": false, "ExcludeConsoleLog": false }Report
Summary