Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion failed in SafeFileHandle.OverlappedValueTaskSource.IOCallback #99517

Open
MichalStrehovsky opened this issue Mar 11, 2024 · 3 comments
Labels
area-System.IO Known Build Error Use this to report build issues in the .NET Helix tab needs-further-triage Issue has been initially triaged, but needs deeper consideration or reconsideration
Milestone

Comments

@MichalStrehovsky
Copy link
Member

MichalStrehovsky commented Mar 11, 2024

In System.IO.FileSystem tests

Process terminated. Assertion failed.
   at Microsoft.Win32.SafeHandles.SafeFileHandle.OverlappedValueTaskSource.IOCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOverlapped) in /_/src/libraries/System.Private.CoreLib/src/Microsoft/Win32/SafeHandles/SafeFileHandle.OverlappedValueTaskSource.Windows.cs:line 193
   at System.Threading.ThreadPoolTypedWorkItemQueue`2.System.Threading.IThreadPoolWorkItem.Execute() in /_/src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPoolWorkQueue.cs:line 1128
   at System.Threading.ThreadPoolWorkQueue.Dispatch() in /_/src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPoolWorkQueue.cs:line 913
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() in /_/src/libraries/System.Private.CoreLib/src/System/Threading/PortableThreadPool.WorkerThread.NonBrowser.cs:line 102
----- end Mon 03/11/2024  7:15:25.24 ----- exit code -2146232797 ----------------------------------------------------------

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=597206
Build error leg or test failing: System.IO.FileSystem.Tests.WorkItemExecution
Pull request: #99513

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "at Microsoft.Win32.SafeHandles.SafeFileHandle.OverlappedValueTaskSource.IOCallback",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=597206
Error message validated: [at Microsoft.Win32.SafeHandles.SafeFileHandle.OverlappedValueTaskSource.IOCallback]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 3/11/2024 8:10:40 AM UTC

Report

Build Definition Test Pull Request
888088 dotnet/runtime System.IO.FileSystem.Tests.WorkItemExecution #110117

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 1
@MichalStrehovsky MichalStrehovsky added area-System.IO blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab labels Mar 11, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-io
See info in area-owners.md if you want to be subscribed.

@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Mar 11, 2024
@stephentoub
Copy link
Member

at Microsoft.Win32.SafeHandles.SafeFileHandle.OverlappedValueTaskSource.IOCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOverlapped) in /_/src/libraries/System.Private.CoreLib/src/Microsoft/Win32/SafeHandles/SafeFileHandle.OverlappedValueTaskSource.Windows.cs:line 193

Debug.Assert(numBytes < int.MaxValue); in the IO callback is an interesting assert to be failing.

@jeffschwMSFT jeffschwMSFT removed the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label May 7, 2024
@jeffschwMSFT
Copy link
Member

removing blocking-clean-ci as it has not failed in 30 days

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

@jozkee jozkee added this to the Future milestone Jul 2, 2024
@jozkee jozkee added needs-further-triage Issue has been initially triaged, but needs deeper consideration or reconsideration and removed untriaged New issue has not been triaged by the area owner labels Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.IO Known Build Error Use this to report build issues in the .NET Helix tab needs-further-triage Issue has been initially triaged, but needs deeper consideration or reconsideration
Projects
None yet
Development

No branches or pull requests

4 participants