monotorrent: Reusable tasks error.
On some machines getting this error, on some all is good.
ReusableTasks.InvalidTaskReuseException: HasValueSentinel - Should not be invoked.
в System.Runtime.CompilerServices.ResultHolder.<>c.<.cctor>b__4_2()
в System.Runtime.CompilerServices.ResultHolder`1.TryInvoke(Action callback)
в System.Runtime.CompilerServices.ResultHolder`1.TrySetExceptionOrResult(Exception exception, T result)
в System.Runtime.CompilerServices.ResultHolder`1.SetResult(T result)
в MonoTorrent.Client.Connections.SocketConnection.HandleOperationCompleted(Object sender, SocketAsyncEventArgs e)
в System.Net.Sockets.SocketAsyncEventArgs.OnCompleted(SocketAsyncEventArgs e)
в System.Net.Sockets.SocketAsyncEventArgs.FinishOperationSuccess(SocketError socketError, Int32 bytesTransferred, SocketFlags flags)
в System.Net.Sockets.SocketAsyncEventArgs.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
в System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 1
- Comments: 15 (14 by maintainers)
I can confirm 1.0.6 fixed the issue for us. We have 180 clients running and we would get 10 crashes a day with 1.0.5, and everything looks fine now.
I’ve done checkout to previous version, that was without Reusable tasks for now.
do you update to the latest ReusableTasks 1.0.5 ?