Repository navigation
Closed
Labels
Known Build ErrorUse this to report build issues in the .NET Helix tabUse this to report build issues in the .NET Helix tabarea-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Milestone
Description
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1579855
Build error leg or test failing: System.IO.Tests.RandomAccess_NoBuffering.ReadWriteAsyncUsingMultipleBuffers
System.IO.Tests.RandomAccess_NoBuffering.ReadWriteAsyncUsingMultipleBuffers(memoryPageSized: False) [FAIL]
System.NullReferenceException : Object reference not set to an instance of an object.
Stack Trace:
/_/src/libraries/System.Private.CoreLib/src/System/IO/RandomAccess.Windows.cs(673,0): at System.IO.RandomAccess.WriteGatherAtOffsetAsync(SafeFileHandle handle, IReadOnlyList`1 buffers, Int64 fileOffset, CancellationToken cancellationToken)
/_/src/libraries/System.Runtime/tests/System.IO.FileSystem.Tests/RandomAccess/NoBuffering.Windows.cs(194,0): at System.IO.Tests.RandomAccess_NoBuffering.ReadWriteAsyncUsingMultipleBuffers(Boolean memoryPageSized)
--- End of stack trace from previous location ---
System.IO.Tests.RandomAccess_Mixed.UsingMultipleBuffers(async: True) [FAIL]
System.NullReferenceException : Object reference not set to an instance of an object.
Stack Trace:
/_/src/libraries/System.Private.CoreLib/src/System/IO/RandomAccess.Windows.cs(673,0): at System.IO.RandomAccess.WriteGatherAtOffsetAsync(SafeFileHandle handle, IReadOnlyList`1 buffers, Int64 fileOffset, CancellationToken cancellationToken)
/_/src/libraries/System.Runtime/tests/System.IO.FileSystem.Tests/RandomAccess/Mixed.Windows.cs(134,0): at System.IO.Tests.RandomAccess_Mixed.<UsingMultipleBuffers>g__Validate|2_0(SafeFileHandle handle, FileOptions options, Boolean[] syncWrites, Boolean[] syncReads)
/_/src/libraries/System.Runtime/tests/System.IO.FileSystem.Tests/RandomAccess/Mixed.Windows.cs(99,0): at System.IO.Tests.RandomAccess_Mixed.UsingMultipleBuffers(Boolean async)
Error Message
Fill the error message using step by step known issues guidance.
{
"ErrorMessage": "System.IO.Tests.RandomAccess_NoBuffering.ReadWriteAsyncUsingMultipleBuffers(memoryPageSized: False) [FAIL]",
"BuildRetry": false,
"ExcludeConsoleLog": false
}Report
| Build | Repository | Test | Pull Request |
|---|---|---|---|
| 1584906 | dotnet/runtime | System.IO.Tests.RandomAccess_Mixed.UsingMultipleBuffers | |
| 1584422 | dotnet/runtime | System.IO.Tests.RandomAccess_WriteGatherAsync.IovLimitsAreRespected |
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 2 | 2 |
Metadata
Metadata
Assignees
Labels
Known Build ErrorUse this to report build issues in the .NET Helix tabUse this to report build issues in the .NET Helix tabarea-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Activity
dotnet-policy-service commentedon Sep 4, 2026
Tagging subscribers to this area: @dotnet/area-system-io
See info in area-owners.md if you want to be subscribed.
adamsitnik commentedon Sep 7, 2026
The code:
runtime/src/libraries/System.Private.CoreLib/src/System/IO/RandomAccess.Windows.cs
Lines 671 to 675 in 58fee29
This particular line uses an argument passed to a public method that is ensured to not be null:
runtime/src/libraries/System.Private.CoreLib/src/System/IO/RandomAccess.cs
Lines 241 to 251 in 58fee29
runtime/src/libraries/System.Private.CoreLib/src/System/IO/RandomAccess.cs
Lines 284 to 289 in 58fee29
Even the helper that is called (
IsAsync) is using a state that can't be null:runtime/src/libraries/System.Private.CoreLib/src/Microsoft/Win32/SafeHandles/SafeFileHandle.Windows.cs
Line 107 in 58fee29
runtime/src/libraries/System.Private.CoreLib/src/Microsoft/Win32/SafeHandles/SafeFileHandle.Windows.cs
Lines 278 to 328 in 58fee29
Since the C# implementation was not changed for a very long time, I suspect it's some kind of a runtime bug, hence I change the area.
dotnet-policy-service commentedon Sep 7, 2026
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.
JIT: Dispatch OSR resumptions in tail-await-only methods