We write a web application with AspNetCore 3.1 run on Linux Docker. We found that the client's request occasionally timed out, and the request has reached the backend. The request timed out due to Task hangup
This is a normal request log:
This is a timeout request log:
Last line message:
Route matched with {action = "AccountList", controller = "Merchant"}. Executing controller action with signature System.Threading.Tasks.Task`1[WebApi.Core.ResponseResult.DataResponseResult`1[System.Collections.Generic.List`1[WebApi.Services.Merchant.Models.MerchantLightModel]]] AccountList(WebApi.Areas.Merchant.ViewModels.ListAccountViewModel) on controller WebApi.Areas.Merchant.Controllers.MerchantController (WebApi).
It seems that the Task has been created, but it is not executed, and no errors are reported.๐ข๐ข๐ข๐ข
Can't find any expection
Include the output of dotnet --info
Host (useful for support):
Version: 3.1.6
Commit: 3acd9b0cd1
.NET Core SDKs installed:
No SDKs were found.
.NET Core runtimes installed:
Microsoft.AspNetCore.App 3.1.6 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.6 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
The IDE (VS / VS Code/ VS4Mac) you're running on, and it's version
VS 2019 (16.6.5)
@yunfandev thanks for contacting us.
I would suggest you capture a memory dump with dotnet-dump
and analyze the current list of threads to see where they are blocked and the list of tasks to check their current state.
I would also check for things like blocking async calls (calling .Result on a task or .GetAwaiter().GetResult()) or other common anti-patterns that can lead to a deadlock.
@javiercn Thank you for your reply.
I followed the method you said and created a memory dump using dotnet-dump
.
> syncblk
Index SyncBlock MonitorHeld Recursion Owning Thread Info SyncBlock Owner
167 0000000000CB9278 3 2 00007F2C34010A20 187 26 00007f2c4082d058 Microsoft.Data.SqlClient.SNI.SNIMarsHandle
170 0000000000CB8C00 3 2 00007F2C6006B6B0 191 27 00007f2c408263a8 Microsoft.Data.SqlClient.SNI.SNIMarsConnection
432 00007F2C28061890 3 2 00007F2C3036B4B0 197e 29 00007f2c419442c0 Microsoft.Data.SqlClient.SNI.SNIMarsConnection
433 00007F2C280618D8 3 2 00007F2C34021D60 197c 28 00007f2c4194f940 Microsoft.Data.SqlClient.SNI.SNIMarsHandle
-----------------------------
Total 444
Free 313
Five minutes later, I dumped the memory again, and the same threads 26 and 27 still appear in the syncblk list.
But it seems that the deadlock is happening in Microsoft.Data.SqlClient, not in our program. ๐ข๐ข๐ข
Below is the clrstack of threads 26 and 27
> setthread 26
> clrstack
OS Thread Id: 0x187 (26)
Child SP IP Call Site
00007F2C237F11F0 00007f2ce203c00c [GCFrame: 00007f2c237f11f0]
00007F2C237F12E0 00007f2ce203c00c [GCFrame: 00007f2c237f12e0]
00007F2C237F1340 00007f2ce203c00c [HelperMethodFrame_1OBJ: 00007f2c237f1340] System.Threading.Monitor.ReliableEnter(System.Object, Boolean ByRef)
00007F2C237F1490 00007F2C6DFCA025 Microsoft.Data.SqlClient.SNI.SNIMarsConnection.SendAsync(Microsoft.Data.SqlClient.SNI.SNIPacket, Microsoft.Data.SqlClient.SNI.SNIAsyncCallback)
00007F2C237F14E0 00007F2C6DFC9F1E Microsoft.Data.SqlClient.SNI.SNIMarsHandle.InternalSendAsync(Microsoft.Data.SqlClient.SNI.SNIPacket, Microsoft.Data.SqlClient.SNI.SNIAsyncCallback)
00007F2C237F1540 00007F2C6C51FDF6 Microsoft.Data.SqlClient.SNI.SNIMarsHandle.SendPendingPackets()
00007F2C237F1570 00007F2C6DFC9D65 Microsoft.Data.SqlClient.SNI.SNIMarsHandle.SendAsync(Microsoft.Data.SqlClient.SNI.SNIPacket, Boolean, Microsoft.Data.SqlClient.SNI.SNIAsyncCallback)
00007F2C237F1600 00007F2C6C4F1095 Microsoft.Data.SqlClient.SNI.SNIProxy.WritePacket(Microsoft.Data.SqlClient.SNI.SNIHandle, Microsoft.Data.SqlClient.SNI.SNIPacket, Boolean)
00007F2C237F1640 00007F2C6C4F0FEA Microsoft.Data.SqlClient.SNI.TdsParserStateObjectManaged.WritePacket(Microsoft.Data.SqlClient.PacketHandle, Boolean)
00007F2C237F1680 00007F2C6C4F0EF0 Microsoft.Data.SqlClient.TdsParserStateObject.SNIWritePacket(Microsoft.Data.SqlClient.PacketHandle, UInt32 ByRef, Boolean, Boolean)
00007F2C237F16B0 00007F2C6C4F0CAB Microsoft.Data.SqlClient.TdsParserStateObject.SNIWritePacket(Microsoft.Data.SqlClient.PacketHandle, UInt32 ByRef, Boolean, Boolean)
00007F2C237F1780 00007F2C6C4F035F Microsoft.Data.SqlClient.TdsParserStateObject.WriteSni(Boolean)
00007F2C237F1830 00007F2C6C4EFE37 Microsoft.Data.SqlClient.TdsParserStateObject.WritePacket(Byte, Boolean)
00007F2C237F18C0 00007F2C6C51E593 Microsoft.Data.SqlClient.TdsParserStateObject.ExecuteFlush()
00007F2C237F1910 00007F2C6C51D9B0 Microsoft.Data.SqlClient.TdsParser.TdsExecuteSQLBatch(System.String, Int32, Microsoft.Data.Sql.SqlNotificationRequest, Microsoft.Data.SqlClient.TdsParserStateObject, Boolean, Boolean, Byte[])
00007F2C237F1A30 00007F2C6C51B176 Microsoft.Data.SqlClient.SqlCommand.RunExecuteReaderTds(System.Data.CommandBehavior, Microsoft.Data.SqlClient.RunBehavior, Boolean, Boolean, Int32, System.Threading.Tasks.Task ByRef, Boolean, Boolean, Microsoft.Data.SqlClient.SqlDataReader, Boolean)
00007F2C237F1C80 00007F2C6C519238 Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(System.Data.CommandBehavior, Microsoft.Data.SqlClient.RunBehavior, Boolean, System.Threading.Tasks.TaskCompletionSource`1<System.Object>, Int32, System.Threading.Tasks.Task ByRef, Boolean ByRef, Boolean, Boolean, System.String)
00007F2C237F1D30 00007F2C6DFC9780 Microsoft.Data.SqlClient.SqlCommand.BeginExecuteReaderInternal(System.Data.CommandBehavior, System.AsyncCallback, System.Object, Int32, Boolean, Boolean)
00007F2C237F1E90 00007F2C6DFC9620 Microsoft.Data.SqlClient.SqlCommand.BeginExecuteReaderAsync(System.Data.CommandBehavior, System.AsyncCallback, System.Object)
00007F2C237F1ED0 00007F2C6DFC95B1 Microsoft.Data.SqlClient.SqlCommand+<>c__DisplayClass168_0.<ExecuteReaderAsync>b__1(System.Data.CommandBehavior, System.AsyncCallback, System.Object)
00007F2C237F1F00 00007F2C6DFC93F5 System.Threading.Tasks.TaskFactory`1[[System.__Canon, System.Private.CoreLib]].FromAsyncImpl[[System.Data.CommandBehavior, System.Data.Common]](System.Func`4<System.Data.CommandBehavior,System.AsyncCallback,System.Object,System.IAsyncResult>, System.Func`2<System.IAsyncResult,System.__Canon>, System.Action`1<System.IAsyncResult>, System.Data.CommandBehavior, System.Object, System.Threading.Tasks.TaskCreationOptions) [/_/src/System.Private.CoreLib/shared/System/Threading/Tasks/FutureFactory.cs @ 894]
00007F2C237F1FD0 00007F2C6DFC91FF System.Threading.Tasks.TaskFactory`1[[System.__Canon, System.Private.CoreLib]].FromAsync[[System.Data.CommandBehavior, System.Data.Common]](System.Func`4<System.Data.CommandBehavior,System.AsyncCallback,System.Object,System.IAsyncResult>, System.Func`2<System.IAsyncResult,System.__Canon>, System.Data.CommandBehavior, System.Object) [/_/src/System.Private.CoreLib/shared/System/Threading/Tasks/FutureFactory.cs @ 830]
00007F2C237F2030 00007F2C6DFC85F3 Microsoft.Data.SqlClient.SqlCommand.ExecuteReaderAsync(System.Data.CommandBehavior, System.Threading.CancellationToken)
00007F2C237F2120 00007F2C6DFC818A Microsoft.Data.SqlClient.SqlCommand.ExecuteDbDataReaderAsync(System.Data.CommandBehavior, System.Threading.CancellationToken)
00007F2C237F2190 00007F2C6B6F50B9 System.Data.Common.DbCommand.ExecuteReaderAsync(System.Threading.CancellationToken) [/_/src/System.Data.Common/src/System/Data/Common/DbCommand.cs @ 153]
00007F2C237F21A0 00007F2C6DFC18B0 Microsoft.EntityFrameworkCore.Storage.RelationalCommand+<ExecuteReaderAsync>d__17.MoveNext() [/_/src/EFCore.Relational/Storage/RelationalCommand.cs @ 500]
00007F2C237F2460 00007F2C6DFC0E73 System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.EntityFrameworkCore.Storage.RelationalCommand+<ExecuteReaderAsync>d__17, Microsoft.EntityFrameworkCore.Relational]](<ExecuteReaderAsync>d__17 ByRef) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 1036]
00007F2C237F24D0 00007F2C6DFC0DCF System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, System.Private.CoreLib]].Start[[Microsoft.EntityFrameworkCore.Storage.RelationalCommand+<ExecuteReaderAsync>d__17, Microsoft.EntityFrameworkCore.Relational]](<ExecuteReaderAsync>d__17 ByRef) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 350]
00007F2C237F2500 00007F2C6DFC0D6D Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(Microsoft.EntityFrameworkCore.Storage.RelationalCommandParameterObject, System.Threading.CancellationToken)
00007F2C237F2610 00007F2C6DFC0A23 Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1+AsyncEnumerator+<InitializeReaderAsync>d__18[[System.__Canon, System.Private.CoreLib]].MoveNext() [/_/src/EFCore.Relational/Query/Internal/QueryingEnumerable.cs @ 298]
00007F2C237F2750 00007F2C6DFC0716 System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1+AsyncEnumerator+<InitializeReaderAsync>d__18[[System.__Canon, System.Private.CoreLib]], Microsoft.EntityFrameworkCore.Relational]](<InitializeReaderAsync>d__18<System.__Canon> ByRef) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 1036]
00007F2C237F27E0 00007F2C6DFC0635 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Boolean, System.Private.CoreLib]].Start[[Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1+AsyncEnumerator+<InitializeReaderAsync>d__18[[System.__Canon, System.Private.CoreLib]], Microsoft.EntityFrameworkCore.Relational]](<InitializeReaderAsync>d__18<System.__Canon> ByRef) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 350]
00007F2C237F2820 00007F2C6DFC05AC Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1+AsyncEnumerator[[System.__Canon, System.Private.CoreLib]].InitializeReaderAsync(Microsoft.EntityFrameworkCore.DbContext, Boolean, System.Threading.CancellationToken)
00007F2C237F28B0 00007F2C6DFBFE75 Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy+<ExecuteAsync>d__7`2[[System.Boolean, System.Private.CoreLib],[System.Boolean, System.Private.CoreLib]].MoveNext() [/_/src/EFCore.SqlServer/Storage/Internal/SqlServerExecutionStrategy.cs @ 77]
00007F2C237F2980 00007F2C6DFBFCE3 System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy+<ExecuteAsync>d__7`2[[System.Boolean, System.Private.CoreLib],[System.Boolean, System.Private.CoreLib]], Microsoft.EntityFrameworkCore.SqlServer]](<ExecuteAsync>d__7`2<Boolean,Boolean> ByRef) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 1036]
00007F2C237F29F0 00007F2C6DFBFC3B System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Boolean, System.Private.CoreLib]].Start[[Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy+<ExecuteAsync>d__7`2[[System.Boolean, System.Private.CoreLib],[System.Boolean, System.Private.CoreLib]], Microsoft.EntityFrameworkCore.SqlServer]](<ExecuteAsync>d__7`2<Boolean,Boolean> ByRef) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 350]
00007F2C237F2A10 00007F2C6DFBFBE5 Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[[System.Boolean, System.Private.CoreLib],[System.Boolean, System.Private.CoreLib]](Boolean, System.Func`4<Microsoft.EntityFrameworkCore.DbContext,Boolean,System.Threading.CancellationToken,System.Threading.Tasks.Task`1<Boolean>>, System.Func`4<Microsoft.EntityFrameworkCore.DbContext,Boolean,System.Threading.CancellationToken,System.Threading.Tasks.Task`1<Microsoft.EntityFrameworkCore.Storage.ExecutionResult`1<Boolean>>>, System.Threading.CancellationToken)
00007F2C237F2A90 00007F2C6DFBF0B5 Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1+AsyncEnumerator+<MoveNextAsync>d__17[[System.__Canon, System.Private.CoreLib]].MoveNext() [/_/src/EFCore.Relational/Query/Internal/QueryingEnumerable.cs @ 246]
00007F2C237F2B00 00007F2C6E703B5F System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1+AsyncEnumerator+<MoveNextAsync>d__17[[System.__Canon, System.Private.CoreLib]], Microsoft.EntityFrameworkCore.Relational]](<MoveNextAsync>d__17<System.__Canon> ByRef) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 1036]
00007F2C237F2B50 00007F2C6E7039E0 Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1+AsyncEnumerator[[System.__Canon, System.Private.CoreLib]].MoveNextAsync()
00007F2C237F2BF0 00007F2C6E7038CC System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1+Enumerator[[System.__Canon, System.Private.CoreLib]].MoveNextAsync() [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ConfiguredCancelableAsyncEnumerable.cs @ 65]
00007F2C237F2C60 00007F2C6DFBCC15 Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions+<ToListAsync>d__64`1[[System.__Canon, System.Private.CoreLib]].MoveNext() [/_/src/EFCore/Extensions/EntityFrameworkQueryableExtensions.cs @ 2019]
00007F2C237F2D60 00007F2C6DFBC916 System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions+<ToListAsync>d__64`1[[System.__Canon, System.Private.CoreLib]], Microsoft.EntityFrameworkCore]](<ToListAsync>d__64`1<System.__Canon> ByRef) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 1036]
00007F2C237F2DF0 00007F2C6DFBC835 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, System.Private.CoreLib]].Start[[Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions+<ToListAsync>d__64`1[[System.__Canon, System.Private.CoreLib]], Microsoft.EntityFrameworkCore]](<ToListAsync>d__64`1<System.__Canon> ByRef) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 350]
00007F2C237F2E30 00007F2C6DFBC771 Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[[System.__Canon, System.Private.CoreLib]](System.Linq.IQueryable`1<System.__Canon>, System.Threading.CancellationToken)
00007F2C237F2EF0 00007F2C6E6D8165 YunFan.WebApi.Services.MerchantService+<ListAllAccountAsync>d__15.MoveNext() [/src/Modules/YunFan.WebApi.Services/Merchant/MerchantService.cs @ 227]
00007F2C237F3050 00007F2C6E6D7D83 System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[YunFan.WebApi.Services.MerchantService+<ListAllAccountAsync>d__15, YunFan.WebApi.Services]](<ListAllAccountAsync>d__15 ByRef) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 1036]
00007F2C237F30C0 00007F2C6E6D7CDF System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, System.Private.CoreLib]].Start[[YunFan.WebApi.Services.MerchantService+<ListAllAccountAsync>d__15, YunFan.WebApi.Services]](<ListAllAccountAsync>d__15 ByRef) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 350]
00007F2C237F30F0 00007F2C6E6D7C88 YunFan.WebApi.Services.MerchantService.ListAllAccountAsync(System.Nullable`1<YunFan.WebApi.Data.Entities.MerchantType>)
00007F2C237F3150 00007F2C6E71AF5D YunFan.WebApi.AdminApi.Areas.Merchant.Controllers.MerchantController+<AccountList>d__10.MoveNext() [/src/Hosts/YunFan.WebApi.AdminApi/Areas/Merchant/Controllers/MerchantController.cs @ 122]
00007F2C237F31F0 00007F2C6E71ADE3 System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[YunFan.WebApi.AdminApi.Areas.Merchant.Controllers.MerchantController+<AccountList>d__10, YunFan.WebApi.AdminApi]](<AccountList>d__10 ByRef) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 1036]
00007F2C237F3260 00007F2C6E71AD3F System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, System.Private.CoreLib]].Start[[YunFan.WebApi.AdminApi.Areas.Merchant.Controllers.MerchantController+<AccountList>d__10, YunFan.WebApi.AdminApi]](<AccountList>d__10 ByRef) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 350]
00007F2C237F3290 00007F2C6E71ACE8 YunFan.WebApi.AdminApi.Areas.Merchant.Controllers.MerchantController.AccountList(YunFan.WebApi.AdminApi.Areas.Merchant.ViewModels.ListAccountViewModel)
00007F2C237F32E0 00007F2C6E97D8D0 SOS Warning: Loading symbols for dynamic assemblies is not yet supported
DynamicClass.lambda_method(System.Runtime.CompilerServices.Closure, System.Object, System.Object[])
00007F2C237F3360 00007F2C69AADDC6 Microsoft.Extensions.Internal.ObjectMethodExecutor.ExecuteAsync(System.Object, System.Object[]) [/_/src/Shared/ObjectMethodExecutor/ObjectMethodExecutor.cs @ 133]
00007F2C237F3370 00007F2C69ACBC45 Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor+AwaitableObjectResultExecutor+<Execute>d__0.MoveNext() [/_/src/Mvc/Mvc.Core/src/Infrastructure/ActionMethodExecutor.cs @ 203]
00007F2C237F3400 00007F2C6DFD8F33 System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor+AwaitableObjectResultExecutor+<Execute>d__0, Microsoft.AspNetCore.Mvc.Core]](<Execute>d__0 ByRef) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 1036]
00007F2C237F3470 00007F2C6DFD8E8F System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1[[System.__Canon, System.Private.CoreLib]].Start[[Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor+AwaitableObjectResultExecutor+<Execute>d__0, Microsoft.AspNetCore.Mvc.Core]](<Execute>d__0 ByRef) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncValueTaskMethodBuilder.cs @ 141]
00007F2C237F34A0 00007F2C69ABE3B6 Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor+AwaitableObjectResultExecutor.Execute(Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper, Microsoft.Extensions.Internal.ObjectMethodExecutor, System.Object, System.Object[])
00007F2C237F3550 00007F2C69A8434B Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync() [/_/src/Mvc/Mvc.Core/src/Infrastructure/ControllerActionInvoker.cs @ 387]
00007F2C237F35B0 00007F2C69A83FD0 Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State ByRef, Scope ByRef, System.Object ByRef, Boolean ByRef) [/_/src/Mvc/Mvc.Core/src/Infrastructure/ControllerActionInvoker.cs @ 246]
00007F2C237F36A0 00007F2C69A84130 Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync() [/_/src/Mvc/Mvc.Core/src/Infrastructure/ControllerActionInvoker.cs @ 299]
00007F2C237F36F0 00007F2C69A83EC8 Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State ByRef, Scope ByRef, System.Object ByRef, Boolean ByRef) [/_/src/Mvc/Mvc.Core/src/Infrastructure/ControllerActionInvoker.cs @ 208]
00007F2C237F37E0 00007F2C69A84130 Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync() [/_/src/Mvc/Mvc.Core/src/Infrastructure/ControllerActionInvoker.cs @ 299]
00007F2C237F3830 00007F2C69A83EC8 Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State ByRef, Scope ByRef, System.Object ByRef, Boolean ByRef) [/_/src/Mvc/Mvc.Core/src/Infrastructure/ControllerActionInvoker.cs @ 208]
00007F2C237F3920 00007F2C69A84428 Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() [/_/src/Mvc/Mvc.Core/src/Infrastructure/ControllerActionInvoker.cs @ 465]
00007F2C237F3970 00007F2C69A8D03D Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State ByRef, Scope ByRef, System.Object ByRef, Boolean ByRef) [/_/src/Mvc/Mvc.Core/src/Infrastructure/ResourceInvoker.cs @ 817]
00007F2C237F3B60 00007F2C69A8D36E Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeNextExceptionFilterAsync() [/_/src/Mvc/Mvc.Core/src/Infrastructure/ResourceInvoker.cs @ 989]
00007F2C237F3BB0 00007F2C69A8CB53 Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State ByRef, Scope ByRef, System.Object ByRef, Boolean ByRef) [/_/src/Mvc/Mvc.Core/src/Infrastructure/ResourceInvoker.cs @ 635]
00007F2C237F3DA0 00007F2C69A8BFA8 Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync() [/_/src/Mvc/Mvc.Core/src/Infrastructure/ResourceInvoker.cs @ 215]
00007F2C237F3DF0 00007F2C69AC12D4 Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker+<<InvokeAsync>g__Logged|17_1>d.MoveNext() [/_/src/Mvc/Mvc.Core/src/Infrastructure/ResourceInvoker.cs @ 171]
00007F2C237F3E50 00007F2C6DFD7863 System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker+<<InvokeAsync>g__Logged|17_1>d, Microsoft.AspNetCore.Mvc.Core]](<<InvokeAsync>g__Logged|17_1>d ByRef) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 1036]
00007F2C237F3EC0 00007F2C6DFD77BB System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker+<<InvokeAsync>g__Logged|17_1>d, Microsoft.AspNetCore.Mvc.Core]](<<InvokeAsync>g__Logged|17_1>d ByRef) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 223]
00007F2C237F3EE0 00007F2C6DFD776C Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker)
00007F2C237F3F50 00007F2C69A8BD5A Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeAsync() [/_/src/Mvc/Mvc.Core/src/Infrastructure/ResourceInvoker.cs @ 63]
00007F2C237F3FA0 00007F2C69AB3A1A Microsoft.AspNetCore.Mvc.Routing.ActionEndpointFactory+<>c__DisplayClass7_0.<CreateRequestDelegate>b__0(Microsoft.AspNetCore.Http.HttpContext) [/_/src/Mvc/Mvc.Core/src/Routing/ActionEndpointFactory.cs @ 429]
00007F2C237F4010 00007F2C6A209007 Microsoft.AspNetCore.Routing.EndpointMiddleware.Invoke(Microsoft.AspNetCore.Http.HttpContext) [/_/src/Http/Routing/src/EndpointMiddleware.cs @ 57]
00007F2C237F4050 00007F2C6DFBB57D YunFan.WebApi.Permission.Middlewares.PermissionCheckMiddleware+<Invoke>d__2.MoveNext() [/src/Modules/YunFan.WebApi.Permission/Middlewares/PermissionCheckMiddleware.cs @ 77]
00007F2C237F4190 00007F2C6DFD2EFE System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib],[YunFan.WebApi.Permission.Middlewares.PermissionCheckMiddleware+<Invoke>d__2, YunFan.WebApi.Permission]].ExecutionContextCallback(System.Object) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 580]
00007F2C237F41B0 00007F2C6DE9716D System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) [/_/src/System.Private.CoreLib/shared/System/Threading/ExecutionContext.cs @ 201]
00007F2C237F4200 00007F2C6DFD2D73 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib],[YunFan.WebApi.Permission.Middlewares.PermissionCheckMiddleware+<Invoke>d__2, YunFan.WebApi.Permission]].MoveNext(System.Threading.Thread) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 654]
00007F2C237F4240 00007F2C6DFD2CB9 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib],[YunFan.WebApi.Permission.Middlewares.PermissionCheckMiddleware+<Invoke>d__2, YunFan.WebApi.Permission]].MoveNext() [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 595]
00007F2C237F4260 00007F2C6DEAF7C6 System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean) [/_/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskContinuation.cs @ 804]
00007F2C237F42A0 00007F2C6DEAF090 System.Threading.Tasks.Task.RunContinuations(System.Object) [/_/src/System.Private.CoreLib/shared/System/Threading/Tasks/Task.cs @ 3411]
00007F2C237F4340 00007F2C6E7044DC System.Threading.Tasks.Task`1[[System.Boolean, System.Private.CoreLib]].TrySetResult(Boolean) [/_/src/System.Private.CoreLib/shared/System/Threading/Tasks/Future.cs @ 422]
00007F2C237F4370 00007F2C679F0D25 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Boolean, System.Private.CoreLib]].SetResult(Boolean) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 713]
00007F2C237F4390 00007F2C6E6A887F YunFan.WebApi.Permission.Services.PermissionService+<CanUserAccessPermissionAsync>d__7.MoveNext() [/src/Modules/YunFan.WebApi.Permission/Services/PermissionService.cs @ 97]
00007F2C237F4410 00007F2C6E6A9CAE System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Boolean, System.Private.CoreLib],[YunFan.WebApi.Permission.Services.PermissionService+<CanUserAccessPermissionAsync>d__7, YunFan.WebApi.Permission]].ExecutionContextCallback(System.Object) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 580]
00007F2C237F4430 00007F2C6DE9716D System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) [/_/src/System.Private.CoreLib/shared/System/Threading/ExecutionContext.cs @ 201]
00007F2C237F4480 00007F2C6E6A9B33 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Boolean, System.Private.CoreLib],[YunFan.WebApi.Permission.Services.PermissionService+<CanUserAccessPermissionAsync>d__7, YunFan.WebApi.Permission]].MoveNext(System.Threading.Thread) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 654]
00007F2C237F44C0 00007F2C6E6A9A79 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Boolean, System.Private.CoreLib],[YunFan.WebApi.Permission.Services.PermissionService+<CanUserAccessPermissionAsync>d__7, YunFan.WebApi.Permission]].MoveNext() [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 595]
00007F2C237F44E0 00007F2C6DEAF7C6 System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean) [/_/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskContinuation.cs @ 804]
00007F2C237F4520 00007F2C6DEAF090 System.Threading.Tasks.Task.RunContinuations(System.Object) [/_/src/System.Private.CoreLib/shared/System/Threading/Tasks/Task.cs @ 3411]
00007F2C237F45C0 00007F2C6E6E23A8 System.Threading.Tasks.Task`1[[System.__Canon, System.Private.CoreLib]].TrySetResult(System.__Canon) [/_/src/System.Private.CoreLib/shared/System/Threading/Tasks/Future.cs @ 422]
00007F2C237F45F0 00007F2C6E6B65B3 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, System.Private.CoreLib]].SetResult(System.__Canon) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 713]
00007F2C237F4610 00007F2C6E6929CC YunFan.WebApi.Permission.Services.PermissionService+<GetPermissionsByUserAsync>d__4.MoveNext() [/src/Modules/YunFan.WebApi.Permission/Services/PermissionService.cs @ 46]
00007F2C237F4780 00007F2C6E69B4A2 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.__Canon, System.Private.CoreLib],[YunFan.WebApi.Permission.Services.PermissionService+<GetPermissionsByUserAsync>d__4, YunFan.WebApi.Permission]].ExecutionContextCallback(System.Object) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 580]
00007F2C237F47C0 00007F2C6DE9716D System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) [/_/src/System.Private.CoreLib/shared/System/Threading/ExecutionContext.cs @ 201]
00007F2C237F4810 00007F2C6E69B262 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.__Canon, System.Private.CoreLib],[YunFan.WebApi.Permission.Services.PermissionService+<GetPermissionsByUserAsync>d__4, YunFan.WebApi.Permission]].MoveNext(System.Threading.Thread) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 654]
00007F2C237F4880 00007F2C6E69B179 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.__Canon, System.Private.CoreLib],[YunFan.WebApi.Permission.Services.PermissionService+<GetPermissionsByUserAsync>d__4, YunFan.WebApi.Permission]].MoveNext() [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 595]
00007F2C237F48A0 00007F2C6DEAF7C6 System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean) [/_/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskContinuation.cs @ 804]
00007F2C237F48E0 00007F2C6DEAF090 System.Threading.Tasks.Task.RunContinuations(System.Object) [/_/src/System.Private.CoreLib/shared/System/Threading/Tasks/Task.cs @ 3411]
00007F2C237F4980 00007F2C6E6E23A8 System.Threading.Tasks.Task`1[[System.__Canon, System.Private.CoreLib]].TrySetResult(System.__Canon) [/_/src/System.Private.CoreLib/shared/System/Threading/Tasks/Future.cs @ 422]
00007F2C237F49B0 00007F2C6E6B65B3 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, System.Private.CoreLib]].SetResult(System.__Canon) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 713]
00007F2C237F49D0 00007F2C6E69A0EF YunFan.WebApi.Permission.Services.PermissionService+<GetPermissionsByRolesAsync>d__5.MoveNext() [/src/Modules/YunFan.WebApi.Permission/Services/PermissionService.cs @ 70]
00007F2C237F4F10 00007F2C6E69B142 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.__Canon, System.Private.CoreLib],[YunFan.WebApi.Permission.Services.PermissionService+<GetPermissionsByRolesAsync>d__5, YunFan.WebApi.Permission]].ExecutionContextCallback(System.Object) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 580]
00007F2C237F4F50 00007F2C6DE9716D System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) [/_/src/System.Private.CoreLib/shared/System/Threading/ExecutionContext.cs @ 201]
00007F2C237F4FA0 00007F2C6E69AF02 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.__Canon, System.Private.CoreLib],[YunFan.WebApi.Permission.Services.PermissionService+<GetPermissionsByRolesAsync>d__5, YunFan.WebApi.Permission]].MoveNext(System.Threading.Thread) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 654]
00007F2C237F5010 00007F2C6E69AE19 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.__Canon, System.Private.CoreLib],[YunFan.WebApi.Permission.Services.PermissionService+<GetPermissionsByRolesAsync>d__5, YunFan.WebApi.Permission]].MoveNext() [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 595]
00007F2C237F5030 00007F2C6DEAF7C6 System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean) [/_/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskContinuation.cs @ 804]
00007F2C237F5070 00007F2C6DEAF090 System.Threading.Tasks.Task.RunContinuations(System.Object) [/_/src/System.Private.CoreLib/shared/System/Threading/Tasks/Task.cs @ 3411]
00007F2C237F5110 00007F2C6E6E23A8 System.Threading.Tasks.Task`1[[System.__Canon, System.Private.CoreLib]].TrySetResult(System.__Canon) [/_/src/System.Private.CoreLib/shared/System/Threading/Tasks/Future.cs @ 422]
00007F2C237F5140 00007F2C6E6B65B3 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, System.Private.CoreLib]].SetResult(System.__Canon) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 713]
00007F2C237F5160 00007F2C6DFBD08C Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions+<ToListAsync>d__64`1[[System.__Canon, System.Private.CoreLib]].MoveNext() [/_/src/EFCore/Extensions/EntityFrameworkQueryableExtensions.cs @ 2025]
00007F2C237F5260 00007F2C6DFCE219 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.__Canon, System.Private.CoreLib],[Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions+<ToListAsync>d__64`1[[System.__Canon, System.Private.CoreLib]], Microsoft.EntityFrameworkCore]].ExecutionContextCallback(System.Object) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 580]
00007F2C237F52B0 00007F2C6DE9716D System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) [/_/src/System.Private.CoreLib/shared/System/Threading/ExecutionContext.cs @ 201]
00007F2C237F5300 00007F2C6DFCDF77 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.__Canon, System.Private.CoreLib],[Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions+<ToListAsync>d__64`1[[System.__Canon, System.Private.CoreLib]], Microsoft.EntityFrameworkCore]].MoveNext(System.Threading.Thread) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 654]
00007F2C237F5390 00007F2C6DFCDE39 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.__Canon, System.Private.CoreLib],[Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions+<ToListAsync>d__64`1[[System.__Canon, System.Private.CoreLib]], Microsoft.EntityFrameworkCore]].MoveNext() [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 595]
00007F2C237F53B0 00007F2C6DEAF7C6 System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean) [/_/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskContinuation.cs @ 804]
00007F2C237F53F0 00007F2C6DEAF090 System.Threading.Tasks.Task.RunContinuations(System.Object) [/_/src/System.Private.CoreLib/shared/System/Threading/Tasks/Task.cs @ 3411]
00007F2C237F5490 00007F2C6E7044DC System.Threading.Tasks.Task`1[[System.Boolean, System.Private.CoreLib]].TrySetResult(Boolean) [/_/src/System.Private.CoreLib/shared/System/Threading/Tasks/Future.cs @ 422]
00007F2C237F54C0 00007F2C6DFBF5EA Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1+AsyncEnumerator+<MoveNextAsync>d__17[[System.__Canon, System.Private.CoreLib]].MoveNext() [/_/src/EFCore.Relational/Query/Internal/QueryingEnumerable.cs @ 291]
00007F2C237F5530 00007F2C6DFCD449 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Boolean, System.Private.CoreLib],[Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1+AsyncEnumerator+<MoveNextAsync>d__17[[System.__Canon, System.Private.CoreLib]], Microsoft.EntityFrameworkCore.Relational]].ExecutionContextCallback(System.Object) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 580]
00007F2C237F5580 00007F2C6DE9716D System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) [/_/src/System.Private.CoreLib/shared/System/Threading/ExecutionContext.cs @ 201]
00007F2C237F55D0 00007F2C6DFCCDA7 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Boolean, System.Private.CoreLib],[Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1+AsyncEnumerator+<MoveNextAsync>d__17[[System.__Canon, System.Private.CoreLib]], Microsoft.EntityFrameworkCore.Relational]].MoveNext(System.Threading.Thread) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 654]
00007F2C237F5660 00007F2C6DFCCC69 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Boolean, System.Private.CoreLib],[Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1+AsyncEnumerator+<MoveNextAsync>d__17[[System.__Canon, System.Private.CoreLib]], Microsoft.EntityFrameworkCore.Relational]].MoveNext() [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 595]
00007F2C237F5680 00007F2C6DEAF7C6 System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean) [/_/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskContinuation.cs @ 804]
00007F2C237F56C0 00007F2C6DEAF090 System.Threading.Tasks.Task.RunContinuations(System.Object) [/_/src/System.Private.CoreLib/shared/System/Threading/Tasks/Task.cs @ 3411]
00007F2C237F5760 00007F2C6E7044DC System.Threading.Tasks.Task`1[[System.Boolean, System.Private.CoreLib]].TrySetResult(Boolean) [/_/src/System.Private.CoreLib/shared/System/Threading/Tasks/Future.cs @ 422]
00007F2C237F5790 00007F2C6E70459B System.Threading.Tasks.TaskCompletionSource`1[[System.Boolean, System.Private.CoreLib]].TrySetResult(Boolean) [/_/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskCompletionSource.cs @ 273]
00007F2C237F57B0 00007F2C6E704A69 Microsoft.Data.SqlClient.SqlDataReader.CompleteRetryable[[System.Boolean, System.Private.CoreLib]](System.Threading.Tasks.Task`1<Boolean>, System.Threading.Tasks.TaskCompletionSource`1<Boolean>, System.IDisposable)
00007F2C237F57E0 00007F2C6DFEFF23 Microsoft.Data.SqlClient.SqlDataReader+<>c__DisplayClass200_0`1[[System.Boolean, System.Private.CoreLib]].<InvokeRetryable>b__0(System.Threading.Tasks.Task`1<Boolean>)
00007F2C237F5800 00007F2C67A5B90A System.Threading.Tasks.ContinuationTaskFromResultTask`1[[System.Boolean, System.Private.CoreLib]].InnerInvoke() [/_/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskContinuation.cs @ 145]
00007F2C237F5820 00007F2C6787A3A2 System.Threading.Tasks.Task+<>c.<.cctor>b__274_0(System.Object) [/_/src/System.Private.CoreLib/shared/System/Threading/Tasks/Task.cs @ 2427]
00007F2C237F5830 00007F2C6E6F4FD1 System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(System.Threading.Thread, System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) [/_/src/System.Private.CoreLib/shared/System/Threading/ExecutionContext.cs @ 315]
00007F2C237F5870 00007F2C67874821 System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef, System.Threading.Thread) [/_/src/System.Private.CoreLib/shared/System/Threading/Tasks/Task.cs @ 2389]
00007F2C237F58F0 00007F2C67874638 System.Threading.Tasks.Task.ExecuteEntryUnsafe(System.Threading.Thread) [/_/src/System.Private.CoreLib/shared/System/Threading/Tasks/Task.cs @ 2321]
00007F2C237F5910 00007F2C678745CB System.Threading.Tasks.Task.ExecuteFromThreadPool(System.Threading.Thread) [/_/src/System.Private.CoreLib/shared/System/Threading/Tasks/Task.cs @ 2312]
00007F2C237F5920 00007F2C6DE9FE29 System.Threading.ThreadPoolWorkQueue.Dispatch() [/_/src/System.Private.CoreLib/shared/System/Threading/ThreadPool.cs @ 699]
00007F2C237F5D30 00007f2ce11505ff [DebuggerU2MCatchHandlerFrame: 00007f2c237f5d30]
> setthread 27
> clrstack
OS Thread Id: 0x191 (27)
Child SP IP Call Site
00007F2C3DFF8120 00007f2ce203c00c [GCFrame: 00007f2c3dff8120]
00007F2C3DFF8210 00007f2ce203c00c [GCFrame: 00007f2c3dff8210]
00007F2C3DFF8270 00007f2ce203c00c [HelperMethodFrame_1OBJ: 00007f2c3dff8270] System.Threading.Monitor.ReliableEnter(System.Object, Boolean ByRef)
00007F2C3DFF83C0 00007F2C6C51FBC0 Microsoft.Data.SqlClient.SNI.SNIMarsHandle.HandleReceiveComplete(Microsoft.Data.SqlClient.SNI.SNIPacket, Microsoft.Data.SqlClient.SNI.SNISMUXHeader)
00007F2C3DFF8440 00007F2C6C51F734 Microsoft.Data.SqlClient.SNI.SNIMarsConnection.HandleReceiveComplete(Microsoft.Data.SqlClient.SNI.SNIPacket, UInt32)
00007F2C3DFF84A0 00007F2C6C5119A5 Microsoft.Data.SqlClient.SNI.SNIPacket.ReadFromStreamAsync(System.IO.Stream, Microsoft.Data.SqlClient.SNI.SNIAsyncCallback)
00007F2C3DFF8510 00007F2C6C51138A Microsoft.Data.SqlClient.SNI.SNITCPHandle.ReceiveAsync(Microsoft.Data.SqlClient.SNI.SNIPacket ByRef)
00007F2C3DFF8580 00007F2C6C5112A3 Microsoft.Data.SqlClient.SNI.SNIMarsConnection.ReceiveAsync(Microsoft.Data.SqlClient.SNI.SNIPacket ByRef)
00007F2C3DFF85D0 00007F2C6C51F57F Microsoft.Data.SqlClient.SNI.SNIMarsConnection.HandleReceiveComplete(Microsoft.Data.SqlClient.SNI.SNIPacket, UInt32)
00007F2C3DFF8630 00007F2C6C513B48 Microsoft.Data.SqlClient.SNI.SNIPacket+<<ReadFromStreamAsync>g__ReadFromStreamAsync|0_0>d.MoveNext()
00007F2C3DFF8730 00007F2C6C51F39E System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib],[Microsoft.Data.SqlClient.SNI.SNIPacket+<<ReadFromStreamAsync>g__ReadFromStreamAsync|0_0>d, Microsoft.Data.SqlClient]].ExecutionContextCallback(System.Object) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 580]
00007F2C3DFF8750 00007F2C6DE9716D System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) [/_/src/System.Private.CoreLib/shared/System/Threading/ExecutionContext.cs @ 201]
00007F2C3DFF87A0 00007F2C6C51F223 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib],[Microsoft.Data.SqlClient.SNI.SNIPacket+<<ReadFromStreamAsync>g__ReadFromStreamAsync|0_0>d, Microsoft.Data.SqlClient]].MoveNext(System.Threading.Thread) [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 654]
00007F2C3DFF87E0 00007F2C6C51F169 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib],[Microsoft.Data.SqlClient.SNI.SNIPacket+<<ReadFromStreamAsync>g__ReadFromStreamAsync|0_0>d, Microsoft.Data.SqlClient]].MoveNext() [/_/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs @ 595]
00007F2C3DFF8800 00007F2C6D465DF5 System.Net.Sockets.Socket+AwaitableSocketAsyncEventArgs.InvokeContinuation(System.Action`1<System.Object>, System.Object, Boolean, Boolean) [/_/src/System.Net.Sockets/src/System/Net/Sockets/Socket.Tasks.cs @ 1051]
00007F2C3DFF8840 00007F2C6D465CDA System.Net.Sockets.Socket+AwaitableSocketAsyncEventArgs.OnCompleted(System.Net.Sockets.SocketAsyncEventArgs) [/_/src/System.Net.Sockets/src/System/Net/Sockets/Socket.Tasks.cs @ 871]
00007F2C3DFF8880 00007F2C6D45EE5A System.Net.Sockets.SocketAsyncEventArgs.FinishOperationAsyncSuccess(Int32, System.Net.Sockets.SocketFlags) [/_/src/System.Net.Sockets/src/System/Net/Sockets/SocketAsyncEventArgs.cs @ 781]
00007F2C3DFF88A0 00007F2C6D461B56 System.Net.Sockets.SocketAsyncEventArgs.TransferCompletionCallbackCore(Int32, Byte[], Int32, System.Net.Sockets.SocketFlags, System.Net.Sockets.SocketError) [/_/src/System.Net.Sockets/src/System/Net/Sockets/SocketAsyncEventArgs.Unix.cs @ 122]
00007F2C3DFF88D0 00007F2C6D461A9B System.Net.Sockets.SocketAsyncContext+BufferMemoryReceiveOperation.InvokeCallback(Boolean) [/_/src/System.Net.Sockets/src/System/Net/Sockets/SocketAsyncContext.Unix.cs @ 491]
00007F2C3DFF8920 00007F2C6DE9FE46 System.Threading.ThreadPoolWorkQueue.Dispatch() [/_/src/System.Private.CoreLib/shared/System/Threading/ThreadPool.cs @ 699]
00007F2C3DFF8D30 00007f2ce11505ff [DebuggerU2MCatchHandlerFrame: 00007f2c3dff8d30]
@yunfandev thanks for the details.
@roji @bricelam @ajcvickers do you know where to route this?
/cc: @Pilchie too
I checked the Microsoft.Data.SqlClient version referenced by our program is 1.0.19269.1, as it is a dependency of Microsoft.EntityFrameworkCore.SqlServer
I found this pull request: ๐ข๐ข๐ข
https://github.com/dotnet/SqlClient/pull/425
I will try to upgrade the package version to see if the problem still exists.
I've transferred this to the SqlClient repo. @yunfandev definitely try with SqlClient 2.0.0 (or at least with the latest 1.1 if it gives you any issues).
@roji
I upgraded to version 1.1.3 and ran for several hours without any problems.
> syncblk
Index SyncBlock MonitorHeld Recursion Owning Thread Info SyncBlock Owner
-----------------------------
Total 231
Free 163
It seems that the package Microsoft.Data.SqlClient that Microsoft.EntityFrameworkCore.SqlServer depends on need to be upgraded. ๐๐๐
Is an update not planned for EF, Core 3.1.7?
@yunfandev this has been considered (see https://github.com/dotnet/efcore/issues/19962). As a general rule, we don't update dependency versions (e.g. Microsoft.Data.SqlClient) in patch releases, since that may destabilize things (EF Core 5.0 already depends on SqlClient 2.0.0). However, users can always take an explicit dependency on a newer dependency as you've done.
In any case, thanks for confirming that everything works - I'll go ahead and close this.
@roji @ErikEJ @yunfandev EF Core 3.1.7 (the next patch release) has been updated to pull in SqlClient 1.1.3. See https://github.com/dotnet/efcore/pull/20377
@ErikEJ is more up to date than I am...
@roji one of my key issues ๐
Most helpful comment
@roji @ErikEJ @yunfandev EF Core 3.1.7 (the next patch release) has been updated to pull in SqlClient 1.1.3. See https://github.com/dotnet/efcore/pull/20377