Security NetTcpStreaming test scenario fail with System.ObjectDisposedException on Windows in Stress
- Dominant language
- C#
- Stars
- 1.8k
- Forks
- 576
- Avg merge
- 6d 9h
- Merged PRs (30d)
- 2
Description
This is first seen in CertAuth\8s.NetTcpStreaming.cmd, with both SendTimeoutMSecs and ReceiveTimeoutMSecs increased to 120000ms.
**Stacktrace**
3/10/2017 6:32:50 AM 3 1700
RecyclePooledFactories
System.ServiceModel.CommunicationObjectAbortedException: The socket connection has been disposed.
---> System.IO.IOException: The read operation failed, see inner exception.
---> System.ServiceModel.CommunicationObjectAbortedException: The socket connection has been disposed.
---> System.ObjectDisposedException: The socket connection has been disposed.
Object name: 'System.ServiceModel.Channels.CoreClrSocketConnection'.
--- End of inner exception stack trace ---
at System.ServiceModel.Channels.SocketConnection.ThrowIfNotOpen()
at System.ServiceModel.Channels.SocketConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
at System.ServiceModel.Channels.DelegatingConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
at System.ServiceModel.Channels.ConnectionStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.Security.SslStreamInternal.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStreamInternal.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStreamInternal.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, BufferAsyncResult asyncResult)
--- End of inner exception stack trace ---
at System.Net.Security.SslStreamInternal.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, BufferAsyncResult asyncResult)
at System.Net.Security.SslStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.ServiceModel.Channels.StreamConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
--- End of inner exception stack trace ---
at System.ServiceModel.Channels.StreamConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
at System.ServiceModel.Channels.SingletonConnectionReader.SingletonInputConnectionStream.ReadCore(Byte[] buffer, Int32 offset, Int32 count)
at System.ServiceModel.Channels.SingletonConnectionReader.SingletonInputConnectionStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.ServiceModel.Channels.MaxMessageSizeStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.ServiceModel.Channels.SingletonConnectionReader.Close(TimeSpan timeout)
at System.IO.Stream.Close()
at System.ServiceModel.Channels.DelegatingStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at System.Xml.XmlBufferReader.Close()
at System.Xml.XmlBaseReader.Close()
at System.ServiceModel.Dispatcher.StreamFormatter.MessageBodyStream.Dispose(Boolean isDisposing)
at System.IO.Stream.Close()
at SharedPoolsOfWCFObjects.StreamingTest`2.TestEchoStream(StreamingService channel, Int32 requestedStreamSize, Int32 bufSize) in E:\OSS\carol\wcf\src\System.Private.ServiceModel\tests\Stress\SharedPoolsOfWCFObjects\Tests\StreamingTest.cs:line 253
at SharedPoolsOfWCFObjects.StreamingTest`2.RunAllScenarios(StreamingService channel) in E:\OSS\carol\wcf\src\System.Private.ServiceModel\tests\Stress\SharedPoolsOfWCFObjects\Tests\StreamingTest.cs:line 214
at SharedPoolsOfWCFObjects.CallStats.CallFuncAndRecordStats[T](Func`1 func, Boolean hideExceptions) in E:\OSS\carol\wcf\src\System.Private.ServiceModel\tests\Stress\SharedPoolsOfWCFObjects\CallStats.cs:line 71
Contributor guide
Assessment
This issue has not been assessed yet.