[步骤]
D:\Window-Service\服务_智汇创想(1)_本地服务1号\Biz.dll!<>c__DisplayClass19_1.<InitRecommendProductStatistics>b__4+0x10
C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll!WhereSelectListIterator`2.MoveNext+0xcc
C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll!<DistinctIterator>d__64`1.MoveNext+0x4f
C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll!System.Linq.Enumerable.Count+0xf4
D:\Window-Service\服务_智汇创想(1)_本地服务1号\Biz.dll!<>c__DisplayClass19_0.<InitRecommendProductStatistics>b__0+0x148
C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll!WhereSelectListIterator`2.MoveNext+0x72
C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll!System.Collections.Generic.List`1..ctor+0x1f8
C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll!System.Linq.Enumerable.ToList+0x46
D:\Window-Service\服务_智汇创想(1)_本地服务1号\Biz.dll!Biz.WarehouseAreaResponsibility.WarehouseAreaResponsibilityService.InitRecommendProductStatistics+0xa3b
C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll!System.Threading.Tasks.Task.Execute+0x46
C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll!System.Threading.ExecutionContext.RunInternal+0x163
C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll!System.Threading.ExecutionContext.Run+0x14
C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll!System.Threading.Tasks.Task.ExecuteWithThreadLocal+0x215
C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll!System.Threading.Tasks.Task.ExecuteEntry+0x73
C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll!System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline+0x31
C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll!System.Threading.Tasks.TaskScheduler.TryRunInline+0x19e
C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll!System.Threading.Tasks.Task.WrappedTryRunInline+0x3a
C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll!System.Threading.Tasks.Task.WaitAll+0x1e2
D:\Window-Service\服务_智汇创想(1)_本地服务1号\Biz.dll!<>c__DisplayClass18_1.<AutoInitRecommendProductStatistics>b__1+0x1b8
C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll!System.Collections.Generic.List`1.ForEach+0x64
D:\Window-Service\服务_智汇创想(1)_本地服务1号\Biz.dll!Biz.WarehouseAreaResponsibility.WarehouseAreaResponsibilityService.AutoInitRecommendProductStatistics+0x43f
D:\Window-Service\服务_智汇创想(1)_本地服务1号\SEOCheck.exe!ChinaDownLoadImage.Task.Warehouse.Task_AutoInitRecommendProductStatistics.Execute+0x32
D:\Window-Service\服务_智汇创想(1)_本地服务1号\RB.Utility.dll!RB.Utility.SystemTask.<doTask>b__43_0+0xa7
C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll!System.Threading.Tasks.Task.Execute+0x46
C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll!System.Threading.ExecutionContext.RunInternal+0x163
C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll!System.Threading.ExecutionContext.Run+0x14
C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll!System.Threading.Tasks.Task.ExecuteWithThreadLocal+0x215
C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll!System.Threading.Tasks.Task.ExecuteEntry+0x73
C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll!System.Threading.ThreadPoolWorkQueue.Dispatch+0x152
[Unmanaged to Managed Transition]
clr.dll!LogHelp_TerminateOnAssert+0xc13
clr.dll!LogHelp_TerminateOnAssert+0x9a6
clr.dll!LogHelp_TerminateOnAssert+0x2d4d
clr.dll!LogHelp_TerminateOnAssert+0x62f9
clr.dll!LogHelp_TerminateOnAssert+0x34c1
clr.dll!LogHelp_TerminateOnAssert+0x343c
clr.dll!LogHelp_TerminateOnAssert+0x336d
clr.dll!LogHelp_TerminateOnAssert+0x34fb
clr.dll!LogHelp_TerminateOnAssert+0x6260
clr.dll!LogHelp_TerminateOnAssert+0x3924
clr.dll!LogHelp_TerminateOnAssert+0x36d5
clr.dll!LogHelp_TerminateOnAssert+0x64bf
KERNEL32.dll!BaseThreadInitThunk+0x14
ntdll.dll!RtlUserThreadStart+0x21
时常 还会有异常
[02:00:20] 商户号:1,仓库:中国义乌1号仓库,统计产品出库数据异常,异常详情: 在 System.Text.StringBuilder.FormatError()
在 System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)
在 System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)
在 System.String.Format(String format, Object[] args)
在 Biz.WarehouseAreaResponsibility.WarehouseAreaResponsibilityService.InitRecommendProductStatistics(Int32 customerID, RB_WareHouse warehouse, Int32 currMoveType)
[结果]
[期望]
优化排查问题,减少运行时长 提升效率,减少对 CPU 内存的消耗,修复出现的错误