mono 4.8.0 Cannot access a disposed object.
mattqs opened this issue · 1 comments
mattqs commented
This error occurs on ubuntu mono 4.8.0.
Running
mono xunit.runner.console.2.2.0/tools/xunit.console.exe ./Tests/bin/EngineIoClientDotNet.Tests.net40.dll -parallel none -verbose -method Quobject.EngineIoClientDotNet_Tests.ClientTests.ConnectionTest.TestmultibyteUtf8StringsWithPolling
Gives error:
xUnit.net Console Runner (64-bit .NET 4.0.30319.42000)
Discovering: EngineIoClientDotNet.Tests.net40
Discovered: EngineIoClientDotNet.Tests.net40
Starting: EngineIoClientDotNet.Tests.net40
Quobject.EngineIoClientDotNet_Tests.ClientTests.ConnectionTest.TestmultibyteUtf8StringsWithPolling
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'.
at System.Net.Sockets.Socket.ThrowIfDisposedAndClosed () [0x00021] in <5641e4edad4f4464ba58c620a7b8ea48>:0
at System.Net.Sockets.Socket.GetSocketOption (System.Net.Sockets.SocketOptionLevel optionLevel, System.Net.Sockets.SocketOptionName optionName) [0x00000] in <5641e4edad4f4464ba58c620a7b8ea48>:0
at SuperSocket.ClientEngine.TcpClientSession.ProcessConnect (System.Net.Sockets.Socket socket, System.Object state, System.Net.Sockets.SocketAsyncEventArgs e) [0x00060] in <4ba236fbf29248a4985a92e6e3907e4a>:0
at SuperSocket.ClientEngine.AsyncTcpSession.SocketEventArgsCompleted (System.Object sender, System.Net.Sockets.SocketAsyncEventArgs e) [0x0000c] in <4ba236fbf29248a4985a92e6e3907e4a>:0
at System.Net.Sockets.SocketAsyncEventArgs.OnCompleted (System.Net.Sockets.SocketAsyncEventArgs e) [0x00014] in <5641e4edad4f4464ba58c620a7b8ea48>:0
at System.Net.Sockets.SocketAsyncEventArgs.FinishWrapperConnectSuccess (System.Net.Sockets.Socket connectSocket, System.Int32 bytesTransferred, System.Net.Sockets.SocketFlags flags) [0x00016] in <5641e4edad4f4464ba58c620a7b8ea48>:0
at System.Net.Sockets.MultipleConnectAsync.Succeed () [0x0002d] in <5641e4edad4f4464ba58c620a7b8ea48>:0
at System.Net.Sockets.MultipleConnectAsync.InternalConnectCallback (System.Object sender, System.Net.Sockets.SocketAsyncEventArgs args) [0x000d4] in <5641e4edad4f4464ba58c620a7b8ea48>:0
at System.Net.Sockets.SocketAsyncEventArgs.OnCompleted (System.Net.Sockets.SocketAsyncEventArgs e) [0x00014] in <5641e4edad4f4464ba58c620a7b8ea48>:0
at System.Net.Sockets.SocketAsyncEventArgs.Complete () [0x00000] in <5641e4edad4f4464ba58c620a7b8ea48>:0
at System.Net.Sockets.Socket.<ConnectAsyncCallback>m__3 (System.IAsyncResult ares) [0x00062] in <5641e4edad4f4464ba58c620a7b8ea48>:0
at System.Net.Sockets.SocketAsyncResult+<Complete>c__AnonStorey0.<>m__0 (System.Object _) [0x00000] in <5641e4edad4f4464ba58c620a7b8ea48>:0
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00019] in <f712f98eb8e445c8918edaf595bbe465>:0
at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00096] in <f712f98eb8e445c8918edaf595bbe465>:0
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <f712f98eb8e445c8918edaf595bbe465>:0
Finished: EngineIoClientDotNet.Tests.net40
Finalization of domain EngineIoClientDotNet.Tests.net40 timed out.
mattqs commented
fixed in 0.10.0-beta1