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

System.ObjectDisposedException in RedisBoost.Core.AsyncSocket.AsyncSocketWrapper.Receive(RedisBoost.Core.AsyncSocket.AsyncSocketEventArgs) #17

Closed
igor-brylin opened this issue Jul 11, 2017 · 0 comments

Comments

@igor-brylin
Copy link

When redisboost calls callback from _boofersPool to receive data from socket and connection was lost unhandled exception occurs and application crashes.

Версия платформы: v4.0.30319
Описание. Процесс был завершен из-за необработанного исключения.
Сведения об исключении: System.ObjectDisposedException
   в System.Net.Sockets.Socket.ReceiveAsync(System.Net.Sockets.SocketAsyncEventArgs)
   в RedisBoost.Core.AsyncSocket.AsyncSocketWrapper.Receive(RedisBoost.Core.AsyncSocket.AsyncSocketEventArgs)
   в RedisBoost.Core.Receiver.RedisReceiver+<>c__DisplayClass2.<ReceiveDataFromSocket>b__0(Byte[])
   в RedisBoost.Misk.BuffersPool.Release(Byte[])
   в RedisBoost.Core.Receiver.RedisReceiver.IncrementOffset(Int32)
   в RedisBoost.Core.Receiver.RedisReceiver.ReadBlockLineTask(Boolean, RedisBoost.Core.AsyncSocket.AsyncSocketEventArgs)
   в RedisBoost.Core.Receiver.RedisReceiver.ProcessRedisLine(Boolean, RedisBoost.Core.AsyncSocket.AsyncSocketEventArgs)
   в RedisBoost.Core.Receiver.RedisReceiver.CallSocketOpCompleted(Boolean, RedisBoost.Core.AsyncSocket.AsyncSocketEventArgs)
   в RedisBoost.Core.AsyncSocket.AsyncSocketWrapper.NotSendCallBack(Boolean, System.Net.Sockets.SocketAsyncEventArgs)
   в System.Net.Sockets.SocketAsyncEventArgs.OnCompleted(System.Net.Sockets.SocketAsyncEventArgs)
   в System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   в System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   в System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   в System.Net.Sockets.SocketAsyncEventArgs.FinishOperationSuccess(System.Net.Sockets.SocketError, Int32, System.Net.Sockets.SocketFlags)
   в System.Net.Sockets.SocketAsyncEventArgs.CompletionPortCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
   в System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)```
igor-brylin pushed a commit to igor-brylin/RedisBoost that referenced this issue Jul 11, 2017
andrew-bn added a commit that referenced this issue Jun 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant