Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-1676

Race condition when more than one thread access an ssl stream

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 2.5.12
    • 2.5.5
    • library
    • None
    • 1

    Description

      2018-04-30 17:10:21,580 [14] DEBUG Couchbase.IO.ConnectionBase - System.ArgumentNullException: Value cannot be null.
      Parameter name: buffer
      at System.Net.Security._SslStream.ValidateParameters(Byte[] buffer, Int32 offset, Int32 count)
      at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
      at System.Net.Security._SslStream.BeginRead(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback asyncCallback, Object asyncState)
      at System.Net.Security.SslStream.BeginRead(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback asyncCallback, Object asyncState)
      at System.IO.Stream.<>c.<BeginEndReadAsync>b__43_0(Stream stream, ReadWriteParameters args, AsyncCallback callback, Object state)
      at System.Threading.Tasks.TaskFactory`1.FromAsyncTrim[TInstance,TArgs](TInstance thisRef, TArgs args, Func`5 beginMethod, Func`3 endMethod)
      at System.IO.Stream.BeginEndReadAsync(Byte[] buffer, Int32 offset, Int32 count)
      at System.IO.Stream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
      at System.IO.Stream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count)
      at Couchbase.IO.SslConnection.<SendAsync>d__5.MoveNext()

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jmorris Jeff Morris
            jmorris Jeff Morris
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty