-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed as not planned
Closed as not planned
Copy link
Labels
arch-arm64area-System.Net.Socketsos-linuxLinux OS (any supported distro)Linux OS (any supported distro)
Milestone
Description
Description
Description
Random and rare crashes with this exception:
Unhandled exception. System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter 'state')
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.InvokeContinuation(Action`1 continuation, Object state, Boolean forceAsync, Boolean requiresExecutionContextFlow)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.OnCompleted(SocketAsyncEventArgs _)
at System.Net.Sockets.SocketAsyncEngine.System.Threading.IThreadPoolWorkItem.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
It seems to append only on loaded applications.
Exit signal: Abort (6)
Reproduction Steps
We don't have any reproduction yet. We probably need to heavily stress network! It seems to be a race condition.
Expected behavior
don't crash the runtime when we are using sockets...
Actual behavior
random and rare crashes of the runtime
Regression?
No response
Known Workarounds
No response
Configuration
Dotnet runtime version: 6.0.6
OS : GNU/Linux Debian 11 Bullseye
CPU: ARM64 Graviton 2 (AWS)
We are using Orleans with this application
Other information
follow up of #70486
we triple checked all usages of ValueTask and removed all usages of it, just to be sure
this time, this is notn some ValueTasks awaited twice
Metadata
Metadata
Assignees
Labels
arch-arm64area-System.Net.Socketsos-linuxLinux OS (any supported distro)Linux OS (any supported distro)