Skip to content

Cancelled writes hypothesis #57212

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

Closed
wants to merge 3 commits into from
Closed

Conversation

adamsitnik
Copy link
Member

related to #56894, please ignore it for now

@adamsitnik adamsitnik added this to the 6.0.0 milestone Aug 11, 2021
@ghost
Copy link

ghost commented Aug 11, 2021

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

Issue Details

related to #56894, please ignore it for now

Author: adamsitnik
Assignees: -
Labels:

area-System.IO

Milestone: 6.0.0

@adamsitnik
Copy link
Member Author

I was right:

Process terminated. Assertion failed.
Callback returned 995 error and 1547079704 bytes
   at Microsoft.Win32.SafeHandles.SafeFileHandle.OverlappedValueTaskSource.Complete(UInt32 errorCode, UInt32 numBytes) in /_/src/libraries/System.Private.CoreLib/src/Microsoft/Win32/SafeHandles/SafeFileHandle.OverlappedValueTaskSource.Windows.cs:line 198
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pNativeOverlapped) in /_/src/coreclr/System.Private.CoreLib/src/System/Threading
    System.IO.Tests.FileStream_WriteAsync_AsyncWrites.TriggerTheProblemAsync [FAIL]
      System.Exception : The error code was 995 and numBytes was 189216864
      Stack Trace:
        /_/src/libraries/System.Private.CoreLib/src/Microsoft/Win32/SafeHandles/SafeFileHandle.OverlappedValueTaskSource.Windows.cs(101,0): at Microsoft.Win32.SafeHandles.SafeFileHandle.OverlappedValueTaskSource.GetResult(Int16 token)
        /_/src/libraries/System.Private.CoreLib/src/Microsoft/Win32/SafeHandles/SafeFileHandle.OverlappedValueTaskSource.Windows.cs(96,0): at Microsoft.Win32.SafeHandles.SafeFileHandle.OverlappedValueTaskSource.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
        /_/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/ValueTask.cs(251,0): at System.Threading.Tasks.ValueTask.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state)
        --- End of stack trace from previous location ---
        /_/src/libraries/System.IO.FileSystem/tests/FileStream/WriteAsync.cs(131,0): at System.IO.Tests.FileStream_AsyncWrites.WriteAsyncCancelledFile(Int32 bufferSize, FileOptions fileOptions)
        /_/src/libraries/System.IO.FileSystem/tests/FileStream/WriteAsync.cs(110,0): at System.IO.Tests.FileStream_AsyncWrites.TriggerTheProblemAsync()
        --- End of stack trace from previous location ---

@adamsitnik adamsitnik closed this Aug 11, 2021
@adamsitnik adamsitnik deleted the cancelledWrites branch August 11, 2021 18:38
@ghost ghost locked as resolved and limited conversation to collaborators Sep 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant