Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-3967

dead lock after MongoDB.Driver.Core.Misc.SemaphoreSlimSignalable.Signal()

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • 2.14.0
    • Affects Version/s: 2.13.2
    • Component/s: None
    • Labels:
      None

      Application info:
      TargetFramework: .NET 3.1
      Project type: Microsoft.NET.Sdk.Worker
      sqlConnectionString: "mongodb://ip1:3717,ip2:3717/admin?replicaSet=mgset-500180545&readPreference=secondaryPreferred&maxPoolSize=1000&wtimeoutMS=10000"

      my app will dead lock sometimes.I get the dump and analysis.I find that it will always happen after "MongoDB.Driver.Core.Misc.SemaphoreSlimSignalable.Signal()".
       

      windbg
      0:000> !syncblk
      Index         SyncBlock MonitorHeld Recursion Owning Thread Info          SyncBlock Owner
      99 00000072644CFD08          487         1 000000729F81F170 37fc  67   0000007248778ca8 System.Object
      202 00000072644D0078          113         1 000000729F691420 4aa4  53   00000072487782f0 System.Object
      0:000> !threads                                                                                                            Lock  
      DBG   ID     OSID ThreadOBJ           State GC Mode     GC Alloc Context                  Domain           Count Apt Exception
      53  181     4aa4 000000729F691420  a029220 Preemptive  0000000000000000:0000000000000000 0000007247B71750 2     MTA (Threadpool Completion Port) System.OperationCanceledException 000000721684e468
      67    4     37fc 000000729F81F170  a029220 Preemptive  0000000000000000:0000000000000000 0000007247B71750 2     MTA (Threadpool Completion Port) System.OperationCanceledException 000000721684e080
      OS Thread Id: 0x37fc
              Child SP               IP Call Site
      0000007225794918 00007ffc6e530cba [GCFrame: 0000007225794918]
      0000007225794A88 00007ffc6e530cba [GCFrame: 0000007225794a88]
      0000007225794AD8 00007ffc6e530cba [HelperMethodFrame_1OBJ: 0000007225794ad8] System.Threading.Monitor.ReliableEnter(System.Object, Boolean ByRef)
      0000007225794C30 00007FFBFBD15F6C MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool+ListConnectionHolder.Acquire()
      0000007225794C90 00007FFBFBD15979 MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool+ConnectionCreator+<CreateOpenedOrReuseAsync>d__9.MoveNext()
      0000007225794D70 00007FFBFC3B38A4 System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool+ConnectionCreator+<CreateOpenedOrReuseAsync>d__9, MongoDB.Driver.Core]](<CreateOpenedOrReuseAsync>d__9 ByRef)
      0000007225794DD0 00007FFBFC3BA510 MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool+ConnectionCreator.CreateOpenedOrReuseAsync(System.Threading.CancellationToken)
      0000007225794E50 00007FFBFC3B3443 MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool+AcquireConnectionHelper+<EnteredPoolAsync>d__8.MoveNext()
      0000007225794EF0 00007FFBFC3B3274 System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool+AcquireConnectionHelper+<EnteredPoolAsync>d__8, MongoDB.Driver.Core]](<EnteredPoolAsync>d__8 ByRef)
      0000007225794F50 00007FFBFC3B31B7 MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool+AcquireConnectionHelper.EnteredPoolAsync(Boolean, System.Threading.CancellationToken)
      0000007225794FC0 00007FFBFC3BA0E8 MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool+<AcquireConnectionAsync>d__43.MoveNext()
      0000007225795080 00007FFBFC3B9E54 System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool+<AcquireConnectionAsync>d__43, MongoDB.Driver.Core]](<AcquireConnectionAsync>d__43 ByRef)
      00000072257950E0 00007FFBFC3B2F50 MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool.AcquireConnectionAsync(System.Threading.CancellationToken)
      0000007225795160 00007FFBFC3B2BBA MongoDB.Driver.Core.Servers.Server+<GetChannelAsync>d__39.MoveNext()
      00000072257951F0 00007FFBFC3B2A74 System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[MongoDB.Driver.Core.Servers.Server+<GetChannelAsync>d__39, MongoDB.Driver.Core]](<GetChannelAsync>d__39 ByRef)
      0000007225795250 00007FFBFC3B29C0 MongoDB.Driver.Core.Servers.Server.GetChannelAsync(System.Threading.CancellationToken)
      00000072257952C0 00007FFBFC3B28DD MongoDB.Driver.Core.Bindings.ServerChannelSource.GetChannelAsync(System.Threading.CancellationToken)
      0000007225795300 00007FFBFC3B2881 MongoDB.Driver.Core.Bindings.ChannelSourceHandle.GetChannelAsync(System.Threading.CancellationToken)
      0000007225795340 00007FFBFC43090B MongoDB.Driver.Core.Operations.RetryableWriteContext+<InitializeAsync>d__21.MoveNext()
      0000007225795400 00007FFBFC4306D4 System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[MongoDB.Driver.Core.Operations.RetryableWriteContext+<InitializeAsync>d__21, MongoDB.Driver.Core]](<InitializeAsync>d__21 ByRef).
      .
      .
      .
      0000007225798890 00007FFBFBDEB44C System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
      0000007225798900 00007FFBFCC31D36 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.__Canon, System.Private.CoreLib],[MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool+AcquireConnectionHelper+<EnteredPoolAsync>d__8, MongoDB.Driver.Core]].MoveNext(System.Threading.Thread)
      0000007225798970 00007FFBFBDED711 System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean)
      00000072257989D0 00007FFBFBDED056 System.Threading.Tasks.Task.RunContinuations(System.Object)
      0000007225798A90 00007FFBFBDF0914 System.Threading.Tasks.Task`1[[System.__Canon, System.Private.CoreLib]].TrySetResult(System.__Canon)
      0000007225798AE0 00007FFBFBD15E4E MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool+ConnectionCreator+<CreateOpenedOrReuseAsync>d__9.MoveNext()
      0000007225798BC0 00007FFBFBDEB44C System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
      0000007225798C30 00007FFBFCC31B36 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.__Canon, System.Private.CoreLib],[MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool+ConnectionCreator+<CreateOpenedOrReuseAsync>d__9, MongoDB.Driver.Core]].MoveNext(System.Threading.Thread)
      0000007225798CA0 00007FFBFBDED711 System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean)
      0000007225798D00 00007FFBFBDED056 System.Threading.Tasks.Task.RunContinuations(System.Object)
      0000007225798DC0 00007FFBFCC4EB77 System.Threading.Tasks.Task`1[[MongoDB.Driver.Core.Misc.SemaphoreSlimSignalable+SemaphoreWaitResult, MongoDB.Driver.Core]].TrySetResult(SemaphoreWaitResult)
      0000007225798E10 00007FFBFCC29B21 MongoDB.Driver.Core.Misc.SemaphoreSlimSignalable+<WaitSignaledAsync>d__12.MoveNext()
      0000007225798EB0 00007FFBFBDEB44C System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
      0000007225798F20 00007FFBFCC4E9C6 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[MongoDB.Driver.Core.Misc.SemaphoreSlimSignalable+SemaphoreWaitResult, MongoDB.Driver.Core],[MongoDB.Driver.Core.Misc.SemaphoreSlimSignalable+<WaitSignaledAsync>d__12, MongoDB.Driver.Core]].MoveNext(System.Threading.Thread)
      0000007225798F80 00007FFBFBDED711 System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean)
      0000007225798FE0 00007FFBFBDED056 System.Threading.Tasks.Task.RunContinuations(System.Object)
      00000072257990A0 00007FFBFCC22C8B System.Threading.Tasks.Task.TrySetCanceled(System.Threading.CancellationToken, System.Object)
      00000072257990F0 00007FFBFCC26D55 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Boolean, System.Private.CoreLib]].SetException(System.Exception)
      0000007225799130 00007FFBFCC4D5D7 System.Threading.SemaphoreSlim+<WaitUntilCountOrTimeoutAsync>d__33.MoveNext()
      000000722579B438 00007ffc5943cb9f [HelperMethodFrame: 000000722579b438]
      000000722579B530 00007FFBFCC4D6F6 System.Threading.CancellationToken.ThrowOperationCanceledException()
      000000722579B570 00007FFBFCC4D300 System.Threading.SemaphoreSlim+<WaitUntilCountOrTimeoutAsync>d__33.MoveNext()
      000000722579B680 00007FFBFBDEB44C System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
      000000722579B6F0 00007FFBFCC4E806 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Boolean, System.Private.CoreLib],[System.Threading.SemaphoreSlim+<WaitUntilCountOrTimeoutAsync>d__33, System.Private.CoreLib]].MoveNext(System.Threading.Thread)
      000000722579B750 00007FFBFBDED711 System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean)
      000000722579B7B0 00007FFBFBDED056 System.Threading.Tasks.Task.RunContinuations(System.Object)
      000000722579B870 00007FFBFBDF0914 System.Threading.Tasks.Task`1[[System.__Canon, System.Private.CoreLib]].TrySetResult(System.__Canon)
      000000722579B8C0 00007FFBFC347A63 System.Threading.Tasks.TaskFactory+CompleteOnInvokePromise.Invoke(System.Threading.Tasks.Task)
      000000722579B910 00007FFBFBDED0CA System.Threading.Tasks.Task.RunContinuations(System.Object)
      000000722579B9D0 00007FFBFCC22C8B System.Threading.Tasks.Task.TrySetCanceled(System.Threading.CancellationToken, System.Object)
      000000722579BA20 00007FFBFCC4E714 System.Threading.Tasks.Task+DelayPromiseWithCancellation+<>c.<.ctor>b__2_0(System.Object)
      000000722579BA60 00007FFBFBE487AF System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean)
      000000722579BAF0 00007FFBFBE487AF System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean)
      000000722579BB80 00007FFBFBE487AF System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean)
      000000722579BC10 00007FFBFBE70835 MongoDB.Driver.Core.Misc.SemaphoreSlimSignalable.Signal()
      000000722579BC60 00007FFBFC3B620E MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool+ListConnectionHolder.Return(PooledConnection)
      000000722579BCC0 00007FFBFC3B71D8 MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool.ReleaseConnection(PooledConnection)
      000000722579BDF0 00007FFBFC3B1AE9 MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool+AcquiredConnection.Dispose()
      000000722579BE20 00007FFBFC3D99D4 MongoDB.Driver.Core.Operations.RetryableReadContext.Dispose()
      000000722579BE50 00007FFBFC3B6E71 MongoDB.Driver.Core.Operations.FindOperation`1+<ExecuteAsync>d__120[[System.__Canon, System.Private.CoreLib]].MoveNext()
      000000722579BF00 00007FFBFBDEB44C System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
      000000722579BF70 00007FFBFC3E8E5C System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.__Canon, System.Private.CoreLib],[MongoDB.Driver.Core.Operations.FindOperation`1+<ExecuteAsync>d__120[[System.__Canon, System.Private.CoreLib]], MongoDB.Driver.Core]].MoveNext(System.Threading.Thread)
      000000722579BFE0 00007FFBFBDED711 System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean)
      000000722579C040 00007FFBFBDED056 System.Threading.Tasks.Task.RunContinuations(System.Object)
      000000722579C100 00007FFBFBDF0914 System.Threading.Tasks.Task`1[[System.__Canon, System.Private.CoreLib]].TrySetResult(System.__Canon)
      000000722579C150 00007FFBFBDF0838 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, System.Private.CoreLib]].SetResult(System.__Canon)
      000000722579C190 00007FFBFC3B6AF0 MongoDB.Driver.Core.Operations.FindOperation`1+<ExecuteAsync>d__121[[System.__Canon, System.Private.CoreLib]].MoveNext()
      000000722579C210 00007FFBFBDEB44C System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
      000000722579C280 00007FFBFC3E8C1C System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.__Canon, System.Private.CoreLib],[MongoDB.Driver.Core.Operations.FindOperation`1+<ExecuteAsync>d__121[[System.__Canon, System.Private.CoreLib]], MongoDB.Driver.Core]].MoveNext(System.Threading.Thread)
      000000722579C2F0 00007FFBFBDED711 System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean)
      000000722579C350 00007FFBFBDED056 System.Threading.Tasks.Task.RunContinuations(System.Object)
      000000722579C410 00007FFBFBDF0914 System.Threading.Tasks.Task`1[[System.__Canon, System.Private.CoreLib]].TrySetResult(System.__Canon)
      000000722579C460 00007FFBFBDF0838 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, System.Private.CoreLib]].SetResult(System.__Canon)
      000000722579C4A0 00007FFBFC3AF130 MongoDB.Driver.Core.Operations.FindCommandOperation`1+<ExecuteAsync>d__121[[System.__Canon, System.Private.CoreLib]].MoveNext()
      .
      .
      .
      000000722579E160 00007FFBFBDEB44C System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
      000000722579E1D0 00007FFBFC348306 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib],[MongoDB.Driver.Core.Misc.StreamExtensionMethods+<ReadBytesAsync>d__4, MongoDB.Driver.Core]].MoveNext(System.Threading.Thread)
      000000722579E230 00007FFBFBDED711 System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean)
      000000722579E290 00007FFBFBDED056 System.Threading.Tasks.Task.RunContinuations(System.Object)
      000000722579E350 00007FFBFBE2F047 System.Threading.Tasks.Task`1[[System.Int32, System.Private.CoreLib]].TrySetResult(Int32)
      000000722579E3A0 00007FFBFBE2ED0A MongoDB.Driver.Core.Misc.StreamExtensionMethods+<ReadAsync>d__1.MoveNext()
      000000722579E430 00007FFBFBDEB44C System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
      000000722579E4A0 00007FFBFC348196 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Int32, System.Private.CoreLib],[MongoDB.Driver.Core.Misc.StreamExtensionMethods+<ReadAsync>d__1, MongoDB.Driver.Core]].MoveNext(System.Threading.Thread)
      000000722579E500 00007FFBFBDED711 System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean)
      000000722579E560 00007FFBFBDED056 System.Threading.Tasks.Task.RunContinuations(System.Object)
      000000722579E620 00007FFBFBE2F047 System.Threading.Tasks.Task`1[[System.Int32, System.Private.CoreLib]].TrySetResult(Int32)
      000000722579E670 00007FFBFC348045 System.Threading.Tasks.ValueTask`1+ValueTaskSourceAsTask+<>c[[System.Int32, System.Private.CoreLib]].<.cctor>b__4_0(System.Object)
      000000722579E6D0 00007FFBFBE220DF System.Net.Sockets.Socket+AwaitableSocketAsyncEventArgs.InvokeContinuation(System.Action`1<System.Object>, System.Object, Boolean, Boolean)
      000000722579E740 00007FFBFBE1D369 System.Net.Sockets.Socket+AwaitableSocketAsyncEventArgs.OnCompleted(System.Net.Sockets.SocketAsyncEventArgs)
      000000722579E7A0 00007FFBFBE21D31 System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
      000000722579E8D0 00007ffc59476c93 [GCFrame: 000000722579e8d0]
      000000722579EA90 00007ffc59476c93 [DebuggerU2MCatchHandlerFrame: 000000722579ea90]
      OS Thread Id: 0x4aa4
              Child SP               IP Call Site
      000000720B4445F8 00007ffc6e530cba [GCFrame: 000000720b4445f8]
      000000720B444768 00007ffc6e530cba [GCFrame: 000000720b444768]
      000000720B4447B8 00007ffc6e530cba [HelperMethodFrame_1OBJ: 000000720b4447b8] System.Threading.Monitor.ReliableEnter(System.Object, Boolean ByRef)
      000000720B444910 00007FFBFBD15F6C MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool+ListConnectionHolder.Acquire()
      000000720B444970 00007FFBFBD15979 MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool+ConnectionCreator+<CreateOpenedOrReuseAsync>d__9.MoveNext()
      000000720B444A50 00007FFBFC3B38A4 System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool+ConnectionCreator+<CreateOpenedOrReuseAsync>d__9, MongoDB.Driver.Core]](<CreateOpenedOrReuseAsync>d__9 ByRef)
      000000720B444AB0 00007FFBFC3BA510 MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool+ConnectionCreator.CreateOpenedOrReuseAsync(System.Threading.CancellationToken)
      000000720B444B30 00007FFBFC3B3443 MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool+AcquireConnectionHelper+<EnteredPoolAsync>d__8.MoveNext()
      000000720B444BD0 00007FFBFC3B3274 System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool+AcquireConnectionHelper+<EnteredPoolAsync>d__8, MongoDB.Driver.Core]](<EnteredPoolAsync>d__8 ByRef)
      000000720B444C30 00007FFBFC3B31B7 MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool+AcquireConnectionHelper.EnteredPoolAsync(Boolean, System.Threading.CancellationToken)
      000000720B444CA0 00007FFBFC3BA0E8 MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool+<AcquireConnectionAsync>d__43.MoveNext()
      000000720B444D60 00007FFBFC3B9E54 System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool+<AcquireConnectionAsync>d__43, MongoDB.Driver.Core]](<AcquireConnectionAsync>d__43 ByRef)
      000000720B444DC0 00007FFBFC3B2F50 MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool.AcquireConnectionAsync(System.Threading.CancellationToken)
      000000720B444E40 00007FFBFC3B2BBA MongoDB.Driver.Core.Servers.Server+<GetChannelAsync>d__39.MoveNext()
      000000720B444ED0 00007FFBFC3B2A74 System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[MongoDB.Driver.Core.Servers.Server+<GetChannelAsync>d__39, MongoDB.Driver.Core]](<GetChannelAsync>d__39 ByRef)
      000000720B444F30 00007FFBFC3B29C0 MongoDB.Driver.Core.Servers.Server.GetChannelAsync(System.Threading.CancellationToken)
      000000720B444FA0 00007FFBFC3B28DD MongoDB.Driver.Core.Bindings.ServerChannelSource.GetChannelAsync(System.Threading.CancellationToken)
      000000720B444FE0 00007FFBFC3B2881 MongoDB.Driver.Core.Bindings.ChannelSourceHandle.GetChannelAsync(System.Threading.CancellationToken)
      000000720B445020 00007FFBFC3E7DFB MongoDB.Driver.Core.Operations.RetryableReadContext+<InitializeAsync>d__20.MoveNext()
      000000720B4450E0 00007FFBFC3E7BC4 System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[MongoDB.Driver.Core.Operations.RetryableReadContext+<InitializeAsync>d__20, MongoDB.Driver.Core]](<InitializeAsync>d__20 ByRef)
      000000720B445140 00007FFBFC41E8F0 MongoDB.Driver.Core.Operations.RetryableReadContext.InitializeAsync(System.Threading.CancellationToken)
      000000720B4451C0 00007FFBFC41E5B0 MongoDB.Driver.Core.Operations.RetryableReadContext+<CreateAsync>d__1.MoveNext()
      000000720B445240 00007FFBFC41E464 System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[MongoDB.Driver.Core.Operations.RetryableReadContext+<CreateAsync>d__1, MongoDB.Driver.Core]](<CreateAsync>d__1 ByRef)
      000000720B4452A0 00007FFBFC41E3A7 MongoDB.Driver.Core.Operations.RetryableReadContext.CreateAsync(MongoDB.Driver.Core.Bindings.IReadBinding, Boolean, System.Threading.CancellationToken)
      000000720B445310 00007FFBFC4A7F29 MongoDB.Driver.Core.Operations.AggregateOperation`1+<ExecuteAsync>d__64[[System.__Canon, System.Private.CoreLib]].MoveNext()
      000000720B4453C0 00007FFBFC7AAE3C System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[MongoDB.Driver.Core.Operations.AggregateOperation`1+<ExecuteAsync>d_64[[System.__Canon, System.Private.CoreLib]], MongoDB.Driver.Core]](<ExecuteAsync>d64<System._Canon> ByRef)
      000000720B445430 00007FFBFC7AAD11 MongoDB.Driver.Core.Operations.AggregateOperation`1[[System.__Canon, System.Private.CoreLib]].ExecuteAsync(MongoDB.Driver.Core.Bindings.IReadBinding, System.Threading.CancellationToken)
      000000720B4454D0 00007FFBFC4AAE75 MongoDB.Driver.Core.Operations.CountDocumentsOperation+<ExecuteAsync>d__40.MoveNext()
      000000720B445580 00007FFBFC7C6FF4 System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[MongoDB.Driver.Core.Operations.CountDocumentsOperation+<ExecuteAsync>d__40, MongoDB.Driver.Core]](<ExecuteAsync>d__40 ByRef)
      000000720B4455E0 00007FFBFC7C6F45 MongoDB.Driver.Core.Operations.CountDocumentsOperation.ExecuteAsync(MongoDB.Driver.Core.Bindings.IReadBinding, System.Threading.CancellationToken)
      000000720B445660 00007FFBFC4AB1E2 MongoDB.Driver.OperationExecutor+<ExecuteReadOperationAsync>d__3`1[[System.Int64, System.Private.CoreLib]].MoveNext()
      .
      .
      .
      000000720B449C60 00007FFBFBDED711 System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean)
      000000720B449CC0 00007FFBFBDED056 System.Threading.Tasks.Task.RunContinuations(System.Object)
      000000720B449D80 00007FFBFCC4EB77 System.Threading.Tasks.Task`1[[MongoDB.Driver.Core.Misc.SemaphoreSlimSignalable+SemaphoreWaitResult, MongoDB.Driver.Core]].TrySetResult(SemaphoreWaitResult)
      000000720B449DD0 00007FFBFCC29B21 MongoDB.Driver.Core.Misc.SemaphoreSlimSignalable+<WaitSignaledAsync>d__12.MoveNext()

      000000720B449E70 00007FFBFBDEB44C System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
      000000720B449EE0 00007FFBFCC4E9C6 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[MongoDB.Driver.Core.Misc.SemaphoreSlimSignalable+SemaphoreWaitResult, MongoDB.Driver.Core],[MongoDB.Driver.Core.Misc.SemaphoreSlimSignalable+<WaitSignaledAsync>d__12, MongoDB.Driver.Core]].MoveNext(System.Threading.Thread)
      000000720B449F40 00007FFBFBDED711 System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean)
      000000720B449FA0 00007FFBFBDED056 System.Threading.Tasks.Task.RunContinuations(System.Object)
      000000720B44A060 00007FFBFCC22C8B System.Threading.Tasks.Task.TrySetCanceled(System.Threading.CancellationToken, System.Object)
      000000720B44A0B0 00007FFBFCC26D55 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Boolean, System.Private.CoreLib]].SetException(System.Exception)
      000000720B44A0F0 00007FFBFCC4D5D7 System.Threading.SemaphoreSlim+<WaitUntilCountOrTimeoutAsync>d__33.MoveNext()
      000000720B44C3F8 00007ffc5943cb9f [HelperMethodFrame: 000000720b44c3f8]
      000000720B44C4F0 00007FFBFCC4D6F6 System.Threading.CancellationToken.ThrowOperationCanceledException()
      000000720B44C530 00007FFBFCC4D300 System.Threading.SemaphoreSlim+<WaitUntilCountOrTimeoutAsync>d__33.MoveNext()
      000000720B44C640 00007FFBFBDEB44C System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
      000000720B44C6B0 00007FFBFCC4E806 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Boolean, System.Private.CoreLib],[System.Threading.SemaphoreSlim+<WaitUntilCountOrTimeoutAsync>d__33, System.Private.CoreLib]].MoveNext(System.Threading.Thread)
      000000720B44C710 00007FFBFBDED711 System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean)
      000000720B44C770 00007FFBFBDED056 System.Threading.Tasks.Task.RunContinuations(System.Object)
      000000720B44C830 00007FFBFBDF0914 System.Threading.Tasks.Task`1[[System.__Canon, System.Private.CoreLib]].TrySetResult(System.__Canon)
      000000720B44C880 00007FFBFC347A63 System.Threading.Tasks.TaskFactory+CompleteOnInvokePromise.Invoke(System.Threading.Tasks.Task)
      000000720B44C8D0 00007FFBFBDED0CA System.Threading.Tasks.Task.RunContinuations(System.Object)
      000000720B44C990 00007FFBFCC22C8B System.Threading.Tasks.Task.TrySetCanceled(System.Threading.CancellationToken, System.Object)
      000000720B44C9E0 00007FFBFCC4E714 System.Threading.Tasks.Task+DelayPromiseWithCancellation+<>c.<.ctor>b__2_0(System.Object)
      000000720B44CA20 00007FFBFBE487AF System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean)
      000000720B44CAB0 00007FFBFBE487AF System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean)
      000000720B44CB40 00007FFBFBE487AF System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean)
      000000720B44CBD0 00007FFBFBE70835 MongoDB.Driver.Core.Misc.SemaphoreSlimSignalable.Signal()
      000000720B44CC20 00007FFBFC3B620E MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool+ListConnectionHolder.Return(PooledConnection)
      000000720B44CC80 00007FFBFC3B71D8 MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool.ReleaseConnection(PooledConnection)
      000000720B44CDB0 00007FFBFC3B1AE9 MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool+AcquiredConnection.Dispose()
      000000720B44CDE0 00007FFBFC4449A4 MongoDB.Driver.Core.Operations.RetryableWriteContext.Dispose()
      000000720B44CE10 00007FFBFBD58194 MongoDB.Driver.Core.Operations.BulkMixedWriteOperation+<ExecuteAsync>d__44.MoveNext()
      000000720B44CEF0 00007FFBFBDEB44C System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
      000000720B44CF60 00007FFBFC4446B6 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.__Canon, System.Private.CoreLib],[MongoDB.Driver.Core.Operations.BulkMixedWriteOperation+<ExecuteAsync>d__44, MongoDB.Driver.Core]].MoveNext(System.Threading.Thread)
      000000720B44CFD0 00007FFBFBDED711 System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean)
      000000720B44D030 00007FFBFBDED056 System.Threading.Tasks.Task.RunContinuations(System.Object)
      000000720B44D0F0 00007FFBFBDF0914 System.Threading.Tasks.Task`1[[System.__Canon, System.Private.CoreLib]].TrySetResult(System.__Canon)
      000000720B44D140 00007FFBFC3D3037 MongoDB.Driver.Core.Operations.BulkMixedWriteOperation+<ExecuteBatchAsync>d__52.MoveNext()
      000000720B44D1D0 00007FFBFBDEB44C System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
      000000720B44D240 00007FFBFC4442B6 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.__Canon, System.Private.CoreLib],[MongoDB.Driver.Core.Operations.BulkMixedWriteOperation+<ExecuteBatchAsync>d__52, MongoDB.Driver.Core]].MoveNext(System.Threading.Thread)
      000000720B44D2B0 00007FFBFBDED711 System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean)
      000000720B44D310 00007FFBFBDED056 System.Threading.Tasks.Task.RunContinuations(System.Object)
      000000720B44D3D0 00007FFBFBDF0914 System.Threading.Tasks.Task`1[[System.__Canon, System.Private.CoreLib]].TrySetResult(System.__Canon)
      000000720B44D420 00007FFBFBD61585 MongoDB.Driver.Core.Operations.BulkUnmixedWriteOperationBase`1+<ExecuteBatchesAsync>d__49[[System.__Canon, System.Private.CoreLib]].MoveNext()
      .
      .
      .
      000000720B44F3B0 00007FFBFBDEB44C System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
      000000720B44F420 00007FFBFC348196 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Int32, System.Private.CoreLib],[MongoDB.Driver.Core.Misc.StreamExtensionMethods+<ReadAsync>d__1, MongoDB.Driver.Core]].MoveNext(System.Threading.Thread)
      000000720B44F480 00007FFBFBDED711 System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean)
      000000720B44F4E0 00007FFBFBDED056 System.Threading.Tasks.Task.RunContinuations(System.Object)
      000000720B44F5A0 00007FFBFBE2F047 System.Threading.Tasks.Task`1[[System.Int32, System.Private.CoreLib]].TrySetResult(Int32)
      000000720B44F5F0 00007FFBFC348045 System.Threading.Tasks.ValueTask`1+ValueTaskSourceAsTask+<>c[[System.Int32, System.Private.CoreLib]].<.cctor>b__4_0(System.Object)
      000000720B44F650 00007FFBFBE220DF System.Net.Sockets.Socket+AwaitableSocketAsyncEventArgs.InvokeContinuation(System.Action`1<System.Object>, System.Object, Boolean, Boolean)
      000000720B44F6C0 00007FFBFBE1D369 System.Net.Sockets.Socket+AwaitableSocketAsyncEventArgs.OnCompleted(System.Net.Sockets.SocketAsyncEventArgs)
      000000720B44F720 00007FFBFBE21D31 System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
      000000720B44F850 00007ffc59476c93 [GCFrame: 000000720b44f850]
      000000720B44FA10 00007ffc59476c93 [DebuggerU2MCatchHandlerFrame: 000000720b44fa10]|
       

            Assignee:
            boris.dogadov@mongodb.com Boris Dogadov
            Reporter:
            363837307@qq.com li jiayong
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: