-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[linux-arm64] Random and rare runtime crash System.ArgumentOutOfRangeException (System.Net.Sockets) #70486
Comments
Tagging subscribers to this area: @dotnet/ncl Issue DetailsDescriptionRandom and rare crashes with this exception:
It seems to append only on loaded applications. Exit signal: Abort (6) Reproduction StepsWe don't have any reproduction yet. We probably need to heavily stress network! It seems to be a race condition. Expected behaviordon't crash the runtime when we are using sockets... Actual behaviorrandom and rare crashes of the runtime Regression?No response Known WorkaroundsNo response ConfigurationDotnet runtime version: 6.0.5 (70ae3df) Other informationNo response
|
Is it possible you're awaiting the same ValueTask instance multiple times, using a ValueTask concurrently, etc. (all of which is considered erroneous usage)? This is most likely coming from: runtime/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/ValueTask.cs Lines 236 to 244 in 0c2e0ec
|
It is possible. I just spotted a point where a ValueTask is not awaited (but still stored in a _ variable). Could it lead to this error? |
It shouldn't. Not consuming a ValueTask can still be problematic if the instance was relying on being returned to a pool as part of it, but it shouldn't lead to this error. |
Triage: We believe this is bug in the user code -- awaiting ValueTask multiple times, most likely concurrently. Closing. |
Description
Random and rare crashes with this exception:
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.5 (70ae3df)
OS : GNU/Linux Debian 11 Bullseye
CPU: ARM64 Graviton 2 (AWS)
We are using Orleans with this application
Other information
No response
The text was updated successfully, but these errors were encountered: