场景

WCF应用程序部署在IIS7中,使用net.tcp协议对外给几百台客户端提供服务,应用程序池不断崩溃重启。

分析过程

  • 在事件查看器中看到的错误信息类似于

为应用程序池“XX”提供服务的进程在与 Windows Process Activation Service 通信时出现严重错误

  • 使用windbg在崩溃时进行分析,找到引发崩溃的堆栈的最顶部信息进行搜索,找到两个补丁包安装上

用于搜索的顶部异常信息为:IOCompletionThunk.UnhandledExceptionFrame BeginReadCore

:> !analyze -v
*******************************************************************************
* *
* Exception Analysis *
* *
******************************************************************************* ***** OS symbols are WRONG. Please fix symbols to do analysis. *************************************************************************
*** ***
*** ***
*** Either you specified an unqualified symbol, or your debugger ***
*** doesn't have full symbol information. Unqualified symbol ***
*** resolution is turned off by default. Please either specify a ***
*** fully qualified symbol module!symbolname, or enable resolution ***
*** of unqualified symbols by typing ".symopt- 100". Note that ***
*** enabling unqualified symbol resolution with network symbol ***
*** server shares in the symbol path may cause the debugger to ***
*** appear to hang for long periods of time when an incorrect ***
*** symbol name is typed or the network symbol server is down. ***
*** ***
*** For some commands to work properly, your symbol path ***
*** must point to .pdb files that have full type information. ***
*** ***
*** Certain .pdb files (such as the public OS symbols) do not ***
*** contain the required information. Contact the group that ***
*** provided you with these symbols if you need this command to ***
*** work. ***
*** ***
*** Type referenced: ntdll!_PEB ***
*** ***
*************************************************************************
*************************************************************************
*** ***
*** ***
*** Either you specified an unqualified symbol, or your debugger ***
*** doesn't have full symbol information. Unqualified symbol ***
*** resolution is turned off by default. Please either specify a ***
*** fully qualified symbol module!symbolname, or enable resolution ***
*** of unqualified symbols by typing ".symopt- 100". Note that ***
*** enabling unqualified symbol resolution with network symbol ***
*** server shares in the symbol path may cause the debugger to ***
*** appear to hang for long periods of time when an incorrect ***
*** symbol name is typed or the network symbol server is down. ***
*** ***
*** For some commands to work properly, your symbol path ***
*** must point to .pdb files that have full type information. ***
*** ***
*** Certain .pdb files (such as the public OS symbols) do not ***
*** contain the required information. Contact the group that ***
*** provided you with these symbols if you need this command to ***
*** work. ***
*** ***
*** Type referenced: nt!IMAGE_NT_HEADERS32 ***
*** ***
************************************************************************* FAULTING_IP:
KERNELBASE!RaiseException+3d
000007fe`fdbfac3d 4881c4c8000000 add rsp,0C8h EXCEPTION_RECORD: -- (.exr 0x1)
Cannot read Exception record @ DEFAULT_BUCKET_ID: WRONG_SYMBOLS PROCESS_NAME: w3wp.exe ADDITIONAL_DEBUG_TEXT:
You can run '.symfix; .reload' to try to fix the symbol path and load symbols. FAULTING_MODULE: ntdll DEBUG_FLR_IMAGE_TIMESTAMP: ERROR_CODE: (NTSTATUS) 0xe0434352 - <Unable to get error code text> EXCEPTION_CODE: (NTSTATUS) 0xe0434352 - <Unable to get error code text> EXCEPTION_PARAMETER1: ffffffff80131501 EXCEPTION_PARAMETER2: EXCEPTION_PARAMETER3: EXCEPTION_PARAMETER4: APP: w3wp.exe MANAGED_STACK:
SP IP Function
0000000009DC9CE0 000007FEE1BBF617 System_ServiceModel_ni!System.ServiceModel.Channels.StreamConnection.BeginRead(Int32, Int32, System.TimeSpan, System.Threading.WaitCallback, System.Object)+0xfa7b67
0000000009DCE2B0 000007FEE0C3AE5E System_ServiceModel_ni!System.ServiceModel.Channels.SessionConnectionReader.BeginReceive(System.TimeSpan, System.Threading.WaitCallback, System.Object)+0x1ee
0000000009DCE340 000007FEE0C3AC56 System_ServiceModel_ni!System.ServiceModel.Channels.SynchronizedMessageSource+ReceiveAsyncResult.PerformOperation(System.TimeSpan)+0x46
0000000009DCE380 000007FEE0C3AB1B System_ServiceModel_ni!System.ServiceModel.Channels.SynchronizedMessageSource+SynchronizedAsyncResult`[[System.__Canon, mscorlib]]..ctor(System.ServiceModel.Channels.SynchronizedMessageSource, System.TimeSpan, System.AsyncCallback, System.Object)+0x12b
0000000009DCE410 000007FEE0C3A997 System_ServiceModel_ni!System.ServiceModel.Channels.FramingDuplexSessionChannel.BeginReceive(System.TimeSpan, System.AsyncCallback, System.Object)+0xe7
0000000009DCE4E0 000007FEE0C3A846 System_ServiceModel_ni!System.ServiceModel.Channels.FramingDuplexSessionChannel+TryReceiveAsyncResult..ctor(System.ServiceModel.Channels.FramingDuplexSessionChannel, System.TimeSpan, System.AsyncCallback, System.Object)+0x76
0000000009DCE550 000007FEE0C3A7BB System_ServiceModel_ni!System.ServiceModel.Channels.FramingDuplexSessionChannel.BeginTryReceive(System.TimeSpan, System.AsyncCallback, System.Object)+0x3b
0000000009DCE5B0 000007FEE132B224 System_ServiceModel_ni!System.ServiceModel.Channels.InputChannelWrapper.BeginTryReceive(System.TimeSpan, System.AsyncCallback, System.Object)+0x114
0000000009DCE650 000007FEE13386E8 System_ServiceModel_ni!System.ServiceModel.Channels.ReplyOverDuplexChannelBase`[[System.__Canon, mscorlib]].BeginTryReceiveRequest(System.TimeSpan, System.AsyncCallback, System.Object)+0x18
0000000009DCE680 000007FEE162EE18 System_ServiceModel_ni!System.ServiceModel.Channels.SecurityChannelListener`+ReceiveItemAndVerifySecurityAsyncResult`[[System.__Canon, mscorlib],[System.__Canon, mscorlib],[System.__Canon, mscorlib]].StartInnerReceive()+0x88
0000000009DCE6D0 000007FEE162ED30 System_ServiceModel_ni!System.ServiceModel.Channels.SecurityChannelListener`+ReceiveItemAndVerifySecurityAsyncResult`[[System.__Canon, mscorlib],[System.__Canon, mscorlib],[System.__Canon, mscorlib]].Start()+0x10 EXCEPTION_OBJECT: !pe 1bffc9ab8
Exception object: 00000001bffc9ab8
Exception type: System.ServiceModel.CommunicationException
Message: 套接字连接已中止。这可能是由于处理消息时出错或远程主机超过接收超时或者潜在的网络资源问题导致的。本地套接字超时是“.::.”。
InnerException: System.IO.IOException, Use !PrintException 00000001bffc9878 to see more.
StackTrace (generated):
SP IP Function
0000000009DC9CE0 000007FEE1BBF617 System_ServiceModel_ni!System.ServiceModel.Channels.StreamConnection.BeginRead(Int32, Int32, System.TimeSpan, System.Threading.WaitCallback, System.Object)+0xfa7b67
0000000009DCE2B0 000007FEE0C3AE5E System_ServiceModel_ni!System.ServiceModel.Channels.SessionConnectionReader.BeginReceive(System.TimeSpan, System.Threading.WaitCallback, System.Object)+0x1ee
0000000009DCE340 000007FEE0C3AC56 System_ServiceModel_ni!System.ServiceModel.Channels.SynchronizedMessageSource+ReceiveAsyncResult.PerformOperation(System.TimeSpan)+0x46
0000000009DCE380 000007FEE0C3AB1B System_ServiceModel_ni!System.ServiceModel.Channels.SynchronizedMessageSource+SynchronizedAsyncResult`[[System.__Canon, mscorlib]]..ctor(System.ServiceModel.Channels.SynchronizedMessageSource, System.TimeSpan, System.AsyncCallback, System.Object)+0x12b
0000000009DCE410 000007FEE0C3A997 System_ServiceModel_ni!System.ServiceModel.Channels.FramingDuplexSessionChannel.BeginReceive(System.TimeSpan, System.AsyncCallback, System.Object)+0xe7
0000000009DCE4E0 000007FEE0C3A846 System_ServiceModel_ni!System.ServiceModel.Channels.FramingDuplexSessionChannel+TryReceiveAsyncResult..ctor(System.ServiceModel.Channels.FramingDuplexSessionChannel, System.TimeSpan, System.AsyncCallback, System.Object)+0x76
0000000009DCE550 000007FEE0C3A7BB System_ServiceModel_ni!System.ServiceModel.Channels.FramingDuplexSessionChannel.BeginTryReceive(System.TimeSpan, System.AsyncCallback, System.Object)+0x3b
0000000009DCE5B0 000007FEE132B224 System_ServiceModel_ni!System.ServiceModel.Channels.InputChannelWrapper.BeginTryReceive(System.TimeSpan, System.AsyncCallback, System.Object)+0x114
0000000009DCE650 000007FEE13386E8 System_ServiceModel_ni!System.ServiceModel.Channels.ReplyOverDuplexChannelBase`[[System.__Canon, mscorlib]].BeginTryReceiveRequest(System.TimeSpan, System.AsyncCallback, System.Object)+0x18
0000000009DCE680 000007FEE162EE18 System_ServiceModel_ni!System.ServiceModel.Channels.SecurityChannelListener`+ReceiveItemAndVerifySecurityAsyncResult`[[System.__Canon, mscorlib],[System.__Canon, mscorlib],[System.__Canon, mscorlib]].StartInnerReceive()+0x88
0000000009DCE6D0 000007FEE162ED30 System_ServiceModel_ni!System.ServiceModel.Channels.SecurityChannelListener`+ReceiveItemAndVerifySecurityAsyncResult`[[System.__Canon, mscorlib],[System.__Canon, mscorlib],[System.__Canon, mscorlib]].Start()+0x10
0000000009DCE700 000007FEE615EDB1 System_Runtime_DurableInstancing_ni!System.Runtime.IOThreadScheduler+ScheduledOverlapped.IOCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)+0x71
0000000009DCE760 000007FEE6236A10 System_Runtime_DurableInstancing_ni!System.Runtime.Fx+IOCompletionThunk.UnhandledExceptionFrame(UInt32, UInt32, System.Threading.NativeOverlapped*)+0xdbc70
0000000009DCE7C0 000007FEF7F95DA6 mscorlib_ni!System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)+0x96 StackTraceString: <none>
HResult:
There are nested exceptions on this thread. Run with -nested for details EXCEPTION_OBJECT: !pe 1bffc9878
Exception object: 00000001bffc9878
Exception type: System.IO.IOException
Message: 读取操作失败,请参见内部异常。
InnerException: System.ServiceModel.CommunicationException, Use !PrintException to see more.
StackTrace (generated):
SP IP Function
0000000009DCBD10 000007FEF697945C System_ni!System.Net.Security._SslStream.ProcessRead(Byte[], Int32, Int32, System.Net.AsyncProtocolRequest)+0x28c
0000000009DCE1A0 000007FEF697AD4D System_ni!System.Net.Security._SslStream.BeginRead(Byte[], Int32, Int32, System.AsyncCallback, System.Object)+0xbd
0000000009DCE210 000007FEE0C17BC4 System_ServiceModel_ni!System.ServiceModel.Channels.StreamConnection.BeginRead(Int32, Int32, System.TimeSpan, System.Threading.WaitCallback, System.Object)+0x114 StackTraceString: <none>
HResult:
There are nested exceptions on this thread. Run with -nested for details EXCEPTION_OBJECT: !pe
Exception object:
Exception type: System.ServiceModel.CommunicationException
Message: 套接字连接已中止。这可能是由于处理消息时出错或远程主机超过接收超时或者潜在的网络资源问题导致的。本地套接字超时是“.::.”。
InnerException: System.Net.Sockets.SocketException, Use !PrintException 0000000120008e50 to see more.
StackTrace (generated):
SP IP Function
0000000009DCDD40 000007FF001874CC System_ServiceModel_ni!System.ServiceModel.Channels.SocketConnection.BeginReadCore(Int32, Int32, System.TimeSpan, System.Threading.WaitCallback, System.Object)+0x4bc
0000000009DCDE40 000007FEE15142A4 System_ServiceModel_ni!System.ServiceModel.Channels.TracingConnection.BeginRead(Int32, Int32, System.TimeSpan, System.Threading.WaitCallback, System.Object)+0x144
0000000009DCDEE0 000007FEE0C17D6E System_ServiceModel_ni!System.ServiceModel.Channels.ConnectionStream+ReadAsyncResult..ctor(System.ServiceModel.Channels.IConnection, Byte[], Int32, Int32, System.TimeSpan, System.AsyncCallback, System.Object)+0xbe
0000000009DCDF40 000007FEE0C17C98 System_ServiceModel_ni!System.ServiceModel.Channels.ConnectionStream.BeginRead(Byte[], Int32, Int32, System.AsyncCallback, System.Object)+0x78
0000000009DCDFC0 000007FEF697AE1C System_ni!System.Net.FixedSizeReader.StartReading()+0x5c
0000000009DCE010 000007FEF69798DF System_ni!System.Net.Security._SslStream.StartFrameHeader(Byte[], Int32, Int32, System.Net.AsyncProtocolRequest)+0x10f
0000000009DCE090 000007FEF6979528 System_ni!System.Net.Security._SslStream.StartReading(Byte[], Int32, Int32, System.Net.AsyncProtocolRequest)+0x78
0000000009DCE120 000007FEF6979331 System_ni!System.Net.Security._SslStream.ProcessRead(Byte[], Int32, Int32, System.Net.AsyncProtocolRequest)+0x161 StackTraceString: <none>
HResult:
There are nested exceptions on this thread. Run with -nested for details EXCEPTION_OBJECT: !pe 120008e50
Exception object: 0000000120008e50
Exception type: System.Net.Sockets.SocketException
Message: 远程主机强迫关闭了一个现有的连接。
InnerException: <none>
StackTrace (generated):
<none>
StackTraceString: <none>
HResult:
There are nested exceptions on this thread. Run with -nested for details MANAGED_OBJECT: !dumpobj
Name: System.String
MethodTable: 000007fef79b6738
EEClass: 000007fef753ed68
Size: (0x3c) bytes
File: C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4...0__b77a5c561934e089\mscorlib.dll
String: 远程主机强迫关闭了一个现有的连接。
Fields:
MT Field Offset Type VT Attr Value Name
000007fef79bc620 System.Int32 instance m_stringLength
000007fef79bb160 c System.Char instance 8fdc m_firstChar
000007fef79b6738 System.String shared static Empty
>> Domain:Value 00000000015cee70:000000015fc50488 00000000029b99b0:000000015fc50488 << EXCEPTION_MESSAGE: Ô¶³ÌÖ÷»úÇ¿ÆȹرÕÁËÒ»¸öÏÖÓеÄÁ¬½Ó¡£ MANAGED_OBJECT_NAME: SYSTEM.NET.SOCKETS.SOCKETEXCEPTION MANAGED_STACK_COMMAND: !do 0000000120008E50 CONTEXT: -- (.cxr 0x1)
Unable to read context, HRESULT 0x80004002 LAST_CONTROL_TRANSFER: from 000007fef8b86d1d to 000007fefdbfac3d PRIMARY_PROBLEM_CLASS: WRONG_SYMBOLS BUGCHECK_STR: APPLICATION_FAULT_WRONG_SYMBOLS_CLR_EXCEPTION STACK_TEXT:
`09dc9ce0 `ffffffff system_servicemodel_ni!System.ServiceModel.Channels.StreamConnection.BeginRead+0xfa7b67
`09dce2b0 `ffffffff system_servicemodel_ni!System.ServiceModel.Channels.SessionConnectionReader.BeginReceive+0x1ee
`09dce340 `ffffffff system_servicemodel_ni!System.ServiceModel.Channels.SynchronizedMessageSource+ReceiveAsyncResult.PerformOperation+0x46
`09dce380 `ffffffff system_servicemodel_ni!System.ServiceModel.Channels.SynchronizedMessageSource+SynchronizedAsyncResult_1[[System.__Canon,_mscorlib]]..ctor+0x12b
`09dce410 `ffffffff system_servicemodel_ni!System.ServiceModel.Channels.FramingDuplexSessionChannel.BeginReceive+0xe7
`09dce4e0 `ffffffff system_servicemodel_ni!System.ServiceModel.Channels.FramingDuplexSessionChannel+TryReceiveAsyncResult..ctor+0x76
`09dce550 `ffffffff system_servicemodel_ni!System.ServiceModel.Channels.FramingDuplexSessionChannel.BeginTryReceive+0x3b
`09dce5b0 `ffffffff system_servicemodel_ni!System.ServiceModel.Channels.InputChannelWrapper.BeginTryReceive+0x114
`09dce650 `ffffffff system_servicemodel_ni!System.ServiceModel.Channels.ReplyOverDuplexChannelBase_1[[System.__Canon,_mscorlib]].BeginTryReceiveRequest+0x18
`09dce680 `ffffffff system_servicemodel_ni!System.ServiceModel.Channels.SecurityChannelListener_1+ReceiveItemAndVerifySecurityAsyncResult_2[[System.__Canon,_mscorlib],[System.__Canon,_mscorlib],[System.__Canon,_mscorlib]].StartInnerReceive+0x88
`09dce6d0 `ffffffff system_servicemodel_ni!System.ServiceModel.Channels.SecurityChannelListener_1+ReceiveItemAndVerifySecurityAsyncResult_2[[System.__Canon,_mscorlib],[System.__Canon,_mscorlib],[System.__Canon,_mscorlib]].Start+0x10
`09dce700 `ffffffff system_runtime_durableinstancing_ni!System.Runtime.IOThreadScheduler+ScheduledOverlapped.IOCallback+0x71
`09dce760 `ffffffff system_runtime_durableinstancing_ni!System.Runtime.Fx+IOCompletionThunk.UnhandledExceptionFrame+0xdbc70
`09dce7c0 `ffffffff mscorlib_ni!System.Threading._IOCompletionCallback.PerformIOCompletionCallback+0x96 FOLLOWUP_IP:
unknown!fillpattern+
`ffffffff 006d00 add byte ptr [rbp],ch SYMBOL_STACK_INDEX: b SYMBOL_NAME: system_runtime_durableinstancing_ni!System.Runtime.IOThreadScheduler+ScheduledOverlapped.IOCallback+ FOLLOWUP_NAME: MachineOwner MODULE_NAME: system_runtime_durableinstancing_ni STACK_COMMAND: !do 0000000120008E50
; ** Pseudo Context ** ; kb BUCKET_ID: WRONG_SYMBOLS IMAGE_NAME: System.Runtime.DurableInstancing.ni.dll FAILURE_BUCKET_ID: WRONG_SYMBOLS_e0434352_System.Runtime.DurableInstancing.ni.dll!System.Runtime.IOThreadScheduler+ScheduledOverlapped.IOCallback WATSON_STAGEONE_URL: http://watson.microsoft.com/StageOne/w3wp_exe/7_5_7600_16385/4a5bd0eb/KERNELBASE_dll/6_1_7600_17206/50e669a2/e0434352/0000ac3d.htm?Retriage= Followup: MachineOwner
--------- :> !clrstack
OS Thread Id: 0x854 ()
Child SP IP Call Site
0000000009dc7ba8 000007fefdbfac3d [HelperMethodFrame: 0000000009dc7ba8]
0000000009dc7cc0 000007fee6236a10 System.Runtime.Fx+IOCompletionThunk.UnhandledExceptionFrame(UInt32, UInt32, System.Threading.NativeOverlapped*)
0000000009dcdbf8 000007fef8b865ed [HelperMethodFrame: 0000000009dcdbf8]
0000000009dcdd40 000007ff001874cc System.ServiceModel.Channels.SocketConnection.BeginReadCore(Int32, Int32, System.TimeSpan, System.Threading.WaitCallback, System.Object)
0000000009dcde40 000007fee15142a4 System.ServiceModel.Channels.TracingConnection.BeginRead(Int32, Int32, System.TimeSpan, System.Threading.WaitCallback, System.Object)
0000000009dcdee0 000007fee0c17d6e System.ServiceModel.Channels.ConnectionStream+ReadAsyncResult..ctor(System.ServiceModel.Channels.IConnection, Byte[], Int32, Int32, System.TimeSpan, System.AsyncCallback, System.Object)
0000000009dcdf40 000007fee0c17c98 System.ServiceModel.Channels.ConnectionStream.BeginRead(Byte[], Int32, Int32, System.AsyncCallback, System.Object)
0000000009dcdfc0 000007fef697ae1c System.Net.FixedSizeReader.StartReading()
0000000009dce010 000007fef69798df System.Net.Security._SslStream.StartFrameHeader(Byte[], Int32, Int32, System.Net.AsyncProtocolRequest)
0000000009dce090 000007fef6979528 System.Net.Security._SslStream.StartReading(Byte[], Int32, Int32, System.Net.AsyncProtocolRequest)
0000000009dce120 000007fef6979331 System.Net.Security._SslStream.ProcessRead(Byte[], Int32, Int32, System.Net.AsyncProtocolRequest)
0000000009dce1a0 000007fef697ad4d System.Net.Security._SslStream.BeginRead(Byte[], Int32, Int32, System.AsyncCallback, System.Object)
0000000009dce210 000007fee0c17bc4 System.ServiceModel.Channels.StreamConnection.BeginRead(Int32, Int32, System.TimeSpan, System.Threading.WaitCallback, System.Object)
0000000009dce2b0 000007fee0c3ae5e System.ServiceModel.Channels.SessionConnectionReader.BeginReceive(System.TimeSpan, System.Threading.WaitCallback, System.Object)
0000000009dce340 000007fee0c3ac56 System.ServiceModel.Channels.SynchronizedMessageSource+ReceiveAsyncResult.PerformOperation(System.TimeSpan)
0000000009dce380 000007fee0c3ab1b System.ServiceModel.Channels.SynchronizedMessageSource+SynchronizedAsyncResult`[[System.__Canon, mscorlib]]..ctor(System.ServiceModel.Channels.SynchronizedMessageSource, System.TimeSpan, System.AsyncCallback, System.Object)
0000000009dce410 000007fee0c3a997 System.ServiceModel.Channels.FramingDuplexSessionChannel.BeginReceive(System.TimeSpan, System.AsyncCallback, System.Object)
0000000009dce4e0 000007fee0c3a846 System.ServiceModel.Channels.FramingDuplexSessionChannel+TryReceiveAsyncResult..ctor(System.ServiceModel.Channels.FramingDuplexSessionChannel, System.TimeSpan, System.AsyncCallback, System.Object)
0000000009dce550 000007fee0c3a7bb System.ServiceModel.Channels.FramingDuplexSessionChannel.BeginTryReceive(System.TimeSpan, System.AsyncCallback, System.Object)
0000000009dce5b0 000007fee132b224 System.ServiceModel.Channels.InputChannelWrapper.BeginTryReceive(System.TimeSpan, System.AsyncCallback, System.Object)
0000000009dce650 000007fee13386e8 System.ServiceModel.Channels.ReplyOverDuplexChannelBase`[[System.__Canon, mscorlib]].BeginTryReceiveRequest(System.TimeSpan, System.AsyncCallback, System.Object)
0000000009dce680 000007fee162ee18 System.ServiceModel.Channels.SecurityChannelListener`+ReceiveItemAndVerifySecurityAsyncResult`[[System.__Canon, mscorlib],[System.__Canon, mscorlib],[System.__Canon, mscorlib]].StartInnerReceive()
0000000009dce6d0 000007fee162ed30 System.ServiceModel.Channels.SecurityChannelListener`+ReceiveItemAndVerifySecurityAsyncResult`[[System.__Canon, mscorlib],[System.__Canon, mscorlib],[System.__Canon, mscorlib]].Start()
0000000009dce700 000007fee615edb1 System.Runtime.IOThreadScheduler+ScheduledOverlapped.IOCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
0000000009dce760 000007fee615ade0 System.Runtime.Fx+IOCompletionThunk.UnhandledExceptionFrame(UInt32, UInt32, System.Threading.NativeOverlapped*)
0000000009dce7c0 000007fef7f95da6 System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
0000000009dcea60 000007fef8aaee74 [GCFrame: 0000000009dcea60]
0000000009dcec30 000007fef8aaee74 [DebuggerU2MCatchHandlerFrame: 0000000009dcec30]
0000000009dcee08 000007fef8aaee74 [ContextTransitionFrame: 0000000009dcee08]
0000000009dceff0 000007fef8aaee74 [DebuggerU2MCatchHandlerFrame: 0000000009dceff0]
:> !threads
ThreadCount:
UnstartedThread:
BackgroundThread:
PendingThread:
DeadThread:
Hosted Runtime: no
PreEmptive Lock
ID OSID ThreadOBJ State GC GC Alloc Context Domain Count APT Exception
1c5c 00000000028e2250 Enabled : 00000000015cee70 Ukn
1bf8 00000000028f8bc0 b220 Enabled 000000011fff0be8:000000011fff0cb0 00000000015cee70 MTA (Finalizer)
12c8 0000000002958eb0 100a220 Enabled : 00000000015cee70 MTA (Threadpool Worker)
00000000029ba610 Enabled : 00000000015cee70 Ukn
13e4 0000000002a4dd70 Disabled 000000014029cfe0:000000014029cff8 00000000029b99b0 MTA (Threadpool Completion Port) System.ServiceModel.CommunicationException (00000001401cca08)
19e0 0000000002a4e480 Enabled 000000010046df58:000000010046e608 00000000015cee70 MTA (Threadpool Worker)
243c 0000000002a4f070 a009220 Enabled : 00000000029b99b0 MTA (Threadpool Completion Port)
15d0 0000000002a80c40 200b220 Enabled : 00000000029b99b0 MTA
0000000002a8a520 200b020 Enabled 0000000120034a90: 00000000029b99b0 MTA
a 0000000005cdb0c0 Enabled : 00000000029b99b0 MTA (Threadpool Worker)
b d48 0000000005cf9610 Enabled : 00000000015cee70 MTA (Threadpool Worker)
c 189c 0000000005cebf50 Disabled 0000000160aa8e70:0000000160aaa5b0 00000000029b99b0 MTA (Threadpool Completion Port)
d 193c 0000000005d0df50 Enabled 00000001802849e0: 00000000029b99b0 MTA (Threadpool Completion Port)
e f9c 0000000005d17f70 Enabled 00000001dffaa410:00000001dffac330 00000000029b99b0 MTA (Threadpool Completion Port)
f 0000000005d15b00 Enabled 000000011fff6d90:000000011fff8cb0 00000000029b99b0 MTA (Threadpool Completion Port)
0000000005d22410 a009220 Enabled : 00000000029b99b0 MTA (Threadpool Completion Port)
0000000005dac730 Enabled 00000001802a49b8:00000001802a6900 00000000029b99b0 MTA (Threadpool Completion Port)
0000000005dc78f0 Enabled : 00000000015cee70 MTA (Threadpool Worker)
1f08 0000000005dc8000 Enabled 00000001a0393b00:00000001a0394158 00000000015cee70 MTA (Threadpool Completion Port)
16a0 0000000005dc8710 Enabled 00000001e03aaac8:00000001e03ab968 00000000015cee70 MTA (Threadpool Completion Port)
0000000005dc8e20 Enabled : 00000000015cee70 MTA (Threadpool Worker)
22b0 0000000005dc9530 Enabled : 00000000015cee70 MTA (Threadpool Worker)
e30 0000000005dc9c40 Enabled : 00000000015cee70 MTA (Threadpool Worker)
0000000005dca350 Enabled : 00000000015cee70 MTA (Threadpool Worker)
0000000005dcaa60 Enabled : 00000000015cee70 MTA (Threadpool Worker)
1a a14 0000000005dcb170 Enabled : 00000000015cee70 MTA (Threadpool Worker)
1b 4a8 0000000005dcb880 Disabled 00000001c0369568:00000001c03697d0 00000000029b99b0 MTA (Threadpool Completion Port) System.UnauthorizedAccessException (00000001c03471b0) (nested exceptions)
1c a80 0000000005dcbf90 a009220 Enabled : 00000000029b99b0 MTA (Threadpool Completion Port)
1d 1f14 0000000005dcc6a0 200b220 Enabled : 00000000029b99b0 MTA
1e 0000000005dccdb0 Enabled 000000011fffad40:000000011fffccb0 00000000029b99b0 MTA (Threadpool Completion Port)
1f 22c4 0000000005dcd4c0 Enabled 00000001401a2ae8:00000001401a4a08 00000000029b99b0 MTA (Threadpool Completion Port)
0000000005dcdbd0 a009220 Enabled : 00000000029b99b0 MTA (Threadpool Completion Port)
0000000005dce2e0 Enabled 00000001401a4ac0:00000001401a6a08 00000000029b99b0 MTA (Threadpool Completion Port)
0000000005dce9f0 a009220 Enabled : 00000000029b99b0 MTA (Threadpool Completion Port)
1b20 0000000005dcf100 Disabled 00000001e03b7b40:00000001e03b9968 00000000029b99b0 MTA (Threadpool Completion Port)
0000000005d4dc00 Enabled 00000001802869e0: 00000000029b99b0 MTA (Threadpool Completion Port)
18a0 0000000005d4e310 Enabled 00000001a01ab2d0:00000001a01ad240 00000000029b99b0 MTA (Threadpool Completion Port)
0000000005d4ea20 Enabled 00000001bff2eb28:00000001bff30a48 00000000029b99b0 MTA (Threadpool Completion Port)
db8 0000000005d4f130 Disabled 0000000160aaafa0:0000000160aac5b0 00000000029b99b0 MTA (Threadpool Completion Port)
0000000005d4f840 Enabled 0000000160974b98:00000001609760b8 00000000015cee70 MTA (Threadpool Completion Port)
11fc 0000000005d4ff50 Enabled 00000001401aa1b8:00000001401aaa08 00000000015cee70 MTA (Threadpool Completion Port)
2a 137c 0000000005d50660 Enabled : 00000000015cee70 MTA (Threadpool Worker)
2b 25b4 0000000005d50d70 Enabled : 00000000015cee70 MTA (Threadpool Worker)
2c fec 0000000005d51480 Enabled : 00000000015cee70 MTA (Threadpool Worker)
2d 22b8 0000000007f86b00 Enabled : 00000000015cee70 MTA (Threadpool Worker)
2e 1c48 0000000007f87210 Enabled : 00000000015cee70 MTA (Threadpool Worker)
2f 0000000007f87920 Enabled : 00000000015cee70 MTA (Threadpool Worker)
0000000007f88030 Enabled : 00000000015cee70 MTA (Threadpool Worker)
96c 0000000007f88740 Enabled 000000011fff4d40:000000011fff6cb0 00000000029b99b0 MTA (Threadpool Completion Port)
0000000007f88e50 Enabled 00000001001b8378:00000001001ba298 00000000029b99b0 MTA (Threadpool Completion Port)
0000000007f89560 Enabled 0000000100596dd0: 00000000029b99b0 MTA (Threadpool Completion Port) System.ServiceModel.CommunicationException (00000001bffc9ab8) (nested exceptions)
0000000007f89c70 Enabled : 00000000015cee70 MTA (Threadpool Worker)
0000000007f8a380 Enabled : 00000000015cee70 MTA (Threadpool Worker)
ee4 000000000a973760 Enabled : 00000000015cee70 MTA (Threadpool Worker)
000000000a973e70 Enabled : 00000000015cee70 MTA (Threadpool Worker)
25c8 000000000a974580 Enabled : 00000000015cee70 MTA (Threadpool Worker)
1b38 000000000a974c90 Enabled : 00000000015cee70 MTA (Threadpool Worker)
3a 000000000a9753a0 Disabled 00000001c036f378:00000001c036f7d0 00000000029b99b0 MTA (Threadpool Completion Port)
3b 184c 000000000a975ab0 Enabled 00000001002bef30:00000001002c0710 00000000015cee70 MTA (Threadpool Completion Port)
3c d3c 000000000a9761c0 Enabled 00000001a01747d0:00000001a01766f0 00000000029b99b0 MTA (Threadpool Completion Port)
3d d18 000000000a9768d0 Enabled 000000011fff2d90:000000011fff4cb0 00000000029b99b0 MTA (Threadpool Completion Port)
3e 13e8 000000000a976fe0 Enabled 00000001802829b8: 00000000029b99b0 MTA (Threadpool Completion Port)
3f 26e0 000000000ada4850 Enabled 00000001a01727d0:00000001a01746f0 00000000029b99b0 MTA (Threadpool Completion Port)
:> ~58s
clr!CoUninitializeEE+0x31cc3:
000007fe`f8aa5a03 mov qword ptr [rax+10h],rdx ds:`07e75a38=f054b3f8fe070000
:> !clrstack
OS Thread Id: 0x4a8 ()
Child SP IP Call Site
0000000007e76560 000007fef8aa5a03 [GCFrame: 0000000007e76560]
0000000007e765f8 000007fef8aa5a03 [GCFrame: 0000000007e765f8]
0000000007e76730 000007fef8aa5a03 [GCFrame: 0000000007e76730]
0000000007e767b8 000007fef8aa5a03 [GCFrame: 0000000007e767b8]
0000000007e77948 000007fef8aa5a03 [HelperMethodFrame: 0000000007e77948]
0000000007e77a60 000007fee6236a10 System.Runtime.Fx+IOCompletionThunk.UnhandledExceptionFrame(UInt32, UInt32, System.Threading.NativeOverlapped*)
0000000007e7d998 000007fef8b865ed [HelperMethodFrame: 0000000007e7d998]
0000000007e7dae0 000007ff001874cc System.ServiceModel.Channels.SocketConnection.BeginReadCore(Int32, Int32, System.TimeSpan, System.Threading.WaitCallback, System.Object)
0000000007e7dbe0 000007fee15142a4 System.ServiceModel.Channels.TracingConnection.BeginRead(Int32, Int32, System.TimeSpan, System.Threading.WaitCallback, System.Object)
0000000007e7dc80 000007fee0c17d6e System.ServiceModel.Channels.ConnectionStream+ReadAsyncResult..ctor(System.ServiceModel.Channels.IConnection, Byte[], Int32, Int32, System.TimeSpan, System.AsyncCallback, System.Object)
0000000007e7dce0 000007fee0c17c98 System.ServiceModel.Channels.ConnectionStream.BeginRead(Byte[], Int32, Int32, System.AsyncCallback, System.Object)
0000000007e7dd60 000007fef697ae1c System.Net.FixedSizeReader.StartReading()
0000000007e7ddb0 000007fef69798df System.Net.Security._SslStream.StartFrameHeader(Byte[], Int32, Int32, System.Net.AsyncProtocolRequest)
0000000007e7de30 000007fef6979528 System.Net.Security._SslStream.StartReading(Byte[], Int32, Int32, System.Net.AsyncProtocolRequest)
0000000007e7dec0 000007fef6979331 System.Net.Security._SslStream.ProcessRead(Byte[], Int32, Int32, System.Net.AsyncProtocolRequest)
0000000007e7df40 000007fef697ad4d System.Net.Security._SslStream.BeginRead(Byte[], Int32, Int32, System.AsyncCallback, System.Object)
0000000007e7dfb0 000007fee0c17bc4 System.ServiceModel.Channels.StreamConnection.BeginRead(Int32, Int32, System.TimeSpan, System.Threading.WaitCallback, System.Object)
0000000007e7e050 000007fee0c3ae5e System.ServiceModel.Channels.SessionConnectionReader.BeginReceive(System.TimeSpan, System.Threading.WaitCallback, System.Object)
0000000007e7e0e0 000007fee0c3ac56 System.ServiceModel.Channels.SynchronizedMessageSource+ReceiveAsyncResult.PerformOperation(System.TimeSpan)
0000000007e7e120 000007fee0c3ab1b System.ServiceModel.Channels.SynchronizedMessageSource+SynchronizedAsyncResult`[[System.__Canon, mscorlib]]..ctor(System.ServiceModel.Channels.SynchronizedMessageSource, System.TimeSpan, System.AsyncCallback, System.Object)
0000000007e7e1b0 000007fee0c3a997 System.ServiceModel.Channels.FramingDuplexSessionChannel.BeginReceive(System.TimeSpan, System.AsyncCallback, System.Object)
0000000007e7e280 000007fee0c3a846 System.ServiceModel.Channels.FramingDuplexSessionChannel+TryReceiveAsyncResult..ctor(System.ServiceModel.Channels.FramingDuplexSessionChannel, System.TimeSpan, System.AsyncCallback, System.Object)
0000000007e7e2f0 000007fee0c3a7bb System.ServiceModel.Channels.FramingDuplexSessionChannel.BeginTryReceive(System.TimeSpan, System.AsyncCallback, System.Object)
0000000007e7e350 000007fee132b224 System.ServiceModel.Channels.InputChannelWrapper.BeginTryReceive(System.TimeSpan, System.AsyncCallback, System.Object)
0000000007e7e3f0 000007fee13386e8 System.ServiceModel.Channels.ReplyOverDuplexChannelBase`[[System.__Canon, mscorlib]].BeginTryReceiveRequest(System.TimeSpan, System.AsyncCallback, System.Object)
0000000007e7e420 000007fee162ee18 System.ServiceModel.Channels.SecurityChannelListener`+ReceiveItemAndVerifySecurityAsyncResult`[[System.__Canon, mscorlib],[System.__Canon, mscorlib],[System.__Canon, mscorlib]].StartInnerReceive()
0000000007e7e470 000007fee162ed30 System.ServiceModel.Channels.SecurityChannelListener`+ReceiveItemAndVerifySecurityAsyncResult`[[System.__Canon, mscorlib],[System.__Canon, mscorlib],[System.__Canon, mscorlib]].Start()
0000000007e7e4a0 000007fee615edb1 System.Runtime.IOThreadScheduler+ScheduledOverlapped.IOCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
0000000007e7e500 000007fee615ade0 System.Runtime.Fx+IOCompletionThunk.UnhandledExceptionFrame(UInt32, UInt32, System.Threading.NativeOverlapped*)
0000000007e7e560 000007fef7f95da6 System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
0000000007e7e800 000007fef8aaee74 [GCFrame: 0000000007e7e800]
0000000007e7e9d0 000007fef8aaee74 [DebuggerU2MCatchHandlerFrame: 0000000007e7e9d0]
0000000007e7eba8 000007fef8aaee74 [ContextTransitionFrame: 0000000007e7eba8]
0000000007e7ed90 000007fef8aaee74 [DebuggerU2MCatchHandlerFrame: 0000000007e7ed90]
:> ~36s
clr!CoUninitializeEE+0xe90:
000007fe`f8a74bd0 488361f800 and qword ptr [rcx-], ds:`4029f008=
:> !clrstack
OS Thread Id: 0x13e4 ()
Child SP IP Call Site
00000000053cbfd8 000007fef8a74bd0 [HelperMethodFrame_2OBJ: 00000000053cbfd8] System.Diagnostics.StackTrace.GetStackFramesInternal(System.Diagnostics.StackFrameHelper, Int32, System.Exception)
00000000053cc340 000007fef78e18db System.Diagnostics.StackTrace.CaptureStackTrace(Int32, Boolean, System.Threading.Thread, System.Exception)
00000000053cc3a0 000007fef7ece60e System.Diagnostics.StackTrace..ctor(Int32, Boolean)
00000000053cc3f0 000007fee61c961c System.Runtime.Diagnostics.DiagnosticTrace.StackTraceString(System.Exception)
00000000053cc460 000007fee61c915c System.Runtime.Diagnostics.DiagnosticTrace.ExceptionToTraceString(System.Exception)
00000000053cc4f0 000007fee61c941a System.Runtime.Diagnostics.DiagnosticTrace.ExceptionToTraceString(System.Exception)
00000000053cc580 000007fee61c941a System.Runtime.Diagnostics.DiagnosticTrace.ExceptionToTraceString(System.Exception)
00000000053cc610 000007fee61c941a System.Runtime.Diagnostics.DiagnosticTrace.ExceptionToTraceString(System.Exception)
00000000053cc6a0 000007fee623645d System.Runtime.Diagnostics.DiagnosticTrace.GetSerializedPayload(System.Object, System.Runtime.Diagnostics.TraceRecord, System.Exception, Boolean)
00000000053cc760 000007fee61c6f07 System.Runtime.TraceCore.ThrowingException(System.Runtime.Diagnostics.DiagnosticTrace, System.String, System.Exception)
00000000053cc840 000007fee6236878 System.Runtime.AsyncResult.End[[System.__Canon, mscorlib]](System.IAsyncResult)
00000000053cc880 000007fee1465e39 System.ServiceModel.Channels.FramingDuplexSessionChannel+TryReceiveAsyncResult.End(System.IAsyncResult, System.ServiceModel.Channels.Message ByRef)
00000000053cc8c0 000007fee133850e System.ServiceModel.Channels.ReplyOverDuplexChannelBase`[[System.__Canon, mscorlib]].EndTryReceiveRequest(System.IAsyncResult, System.ServiceModel.Channels.RequestContext ByRef)
00000000053cc910 000007fee162ef16 System.ServiceModel.Channels.SecurityChannelListener`+ReceiveItemAndVerifySecurityAsyncResult`[[System.__Canon, mscorlib],[System.__Canon, mscorlib],[System.__Canon, mscorlib]].InnerTryReceiveCompletedCallback(System.IAsyncResult)
00000000053cc980 000007fee61605e2 System.Runtime.Fx+AsyncThunk.UnhandledExceptionFrame(System.IAsyncResult)
00000000053cc9d0 000007fee615c6eb System.Runtime.AsyncResult.Complete(Boolean)
00000000053cca90 000007fee0c3b9da System.ServiceModel.Channels.FramingDuplexSessionChannel+TryReceiveAsyncResult.OnReceive(System.IAsyncResult)
00000000053ccb00 000007fee61605e2 System.Runtime.Fx+AsyncThunk.UnhandledExceptionFrame(System.IAsyncResult)
00000000053ccb50 000007fee615c6eb System.Runtime.AsyncResult.Complete(Boolean)
00000000053ccc10 000007fee0c3b903 System.ServiceModel.Channels.SynchronizedMessageSource+ReceiveAsyncResult.OnReceiveComplete(System.Object)
00000000053ccc70 000007fee0c3b070 System.ServiceModel.Channels.SessionConnectionReader.OnAsyncReadComplete(System.Object)
00000000053cccd0 000007fee61605e2 System.Runtime.Fx+AsyncThunk.UnhandledExceptionFrame(System.IAsyncResult)
00000000053ccd20 000007fef69545c5 System.Net.LazyAsyncResult.Complete(IntPtr)
00000000053ccd80 000007fef7106a29 System.Net.FixedSizeReader.ReadCallback(System.IAsyncResult)
00000000053cec48 000007fef8b865ed [HelperMethodFrame: 00000000053cec48]
00000000053ced90 000007fee6236880 System.Runtime.AsyncResult.End[[System.__Canon, mscorlib]](System.IAsyncResult)
00000000053cedd0 000007fee145e504 System.ServiceModel.Channels.ConnectionStream+ReadAsyncResult.End(System.IAsyncResult)
00000000053cee00 000007fef697af12 System.Net.FixedSizeReader.ReadCallback(System.IAsyncResult)
00000000053cee80 000007fee615c6eb System.Runtime.AsyncResult.Complete(Boolean)
00000000053cef40 000007fee0c17e73 System.ServiceModel.Channels.ConnectionStream+ReadAsyncResult.OnAsyncReadComplete(System.Object)
00000000053cefb0 000007fee15144b6 System.ServiceModel.Channels.TracingConnection+TracingConnectionState.ExecuteCallback()
00000000053cf000 000007ff00187a8b System.ServiceModel.Channels.SocketConnection.AsyncReadCallback(Boolean, Int32, Int32)
00000000053cf080 000007fee615ade0 System.Runtime.Fx+IOCompletionThunk.UnhandledExceptionFrame(UInt32, UInt32, System.Threading.NativeOverlapped*)
00000000053cf0e0 000007fef7f95da6 System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
00000000053cf380 000007fef8aaee74 [GCFrame: 00000000053cf380]
00000000053cf550 000007fef8aaee74 [DebuggerU2MCatchHandlerFrame: 00000000053cf550]
00000000053cf728 000007fef8aaee74 [ContextTransitionFrame: 00000000053cf728]
00000000053cf910 000007fef8aaee74 [DebuggerU2MCatchHandlerFrame: 00000000053cf910]

结论

使用以上方式依然未解决问题。

不过之后使用同事的机器重新编译部署了后运行了两天竟然妥妥的,所以我猜可能是OS或VS的问题。

之后继续观察。

参考

Appfabric failing on untrappable System.Runtime.Fx+InternalException

A hotfix is available for performance issues in Windows Communication Foundation for the .NET Framework 4.0

FIX: .NET Framework 4-based WCF service may crash when many client web applications access the service if the TCP protocol is used

为应用程序池“XX”提供服务的进程在与 Windows Process Activation Service 通信时出现严重错误的更多相关文章

  1. [转帖]为应用程序池“XXX”提供服务的进程在与 Windows Process Activation Service 通信时出现严重错误。该进程 ID 为“XXXX”。数据字段包含错误号。

    [终极解决方案]为应用程序池“XXX”提供服务的进程在与 Windows Process Activation Service 通信时出现严重错误.该进程 ID 为“XXXX”.数据字段包含错误号. ...

  2. 【必杀】为应用程序池“XXX”提供服务的进程在与 Windows Process Activation Service 通信时出现严重错误。该进程 ID 为“XXXX”。数据字段包含错误号。

    之前写过一篇文章,https://www.cnblogs.com/qidian10/p/6028784.html 解释如何解决此类问题,但现在回过头来想一下,之前的文章还是太过浅显,无法完全有效的彻底 ...

  3. 【终极解决方案】为应用程序池“XXX”提供服务的进程在与 Windows Process Activation Service 通信时出现严重错误。该进程 ID 为“XXXX”。数据字段包含错误号。

    困扰我大半年的错误,今天偶然间被解决了,特此分享给被同样问题纠结的朋友们! 之前的求助帖,无人应答: http://www.cnblogs.com/freeton/archive/2012/08/28 ...

  4. IIS故障 应用程序池“XXX”提供服务的进程在与 Windows Process Activation Service 通信时出现严重错误。该进程 ID 为“XXXX”。数据字段包含错误号。

    (尝试失败,但觉得有可行性) 参考https://www.cnblogs.com/qidian10/p/6028784.html https://yq.aliyun.com/articles/6434 ...

  5. 为应用程序池“XXX”提供服务的进程在与 Windows Process Activation Service 通信时出现严重错误。该进程 ID 为“XXXX”。数据字段包含错误号。 改进查找流程

    原文链接:https://www.cnblogs.com/qidian10/p/6028784.html  为防止原作者删除,留作解决方法备份 ---------------------------- ...

  6. IIS 为应用程序池提供服务的进程在与 Windows Process Activation Service 通信时出现严重错误的解决方法

    系统环境:Windows Server 2008 R2 64位, IIS 7.0 错误信息: 为应用程序池提供服务的进程在与 Windows Process Activation Service 通信 ...

  7. 为应用程序池 'DefaultAppPool' 提供服务的进程无法响应Ping

    打开Windows 2008 的事件查看器,应用警告提示: 为应用程序池 'DefaultAppPool' 提供服务的进程无法响应 Ping.进程 ID 是 '2144'. 注意: 需要重新注册一vb ...

  8. 加载为应用程序池‘DefaultAppPool'提供服务的进程失败,应用程序池被禁用【解决方法】

    iis应用程序池不能启动2008年03月13日 星期四 15:29iis应用程序池不能启动.WINDOWS2003 ENT SERVER(64位)环境下(测试过32位系统一样操作无此问题),当打开“应 ...

  9. 为应用程序池 'DefaultAppPool' 提供服务的进程关闭时间超过了限制

    服务器经常产生“应用程序池 'DefaultAppPool' 提供服务的进程关闭时间超过了限制.进程 ID 是 '2068'.”的错误,导致iis处于假死状态,经了解是IIS应用程序池的设置问题.解决 ...

随机推荐

  1. Ajax - 异步调用后台程序 -JSON

    在ASP.NET使用ajax时基本上每个操作都要新建一个.ashx处理程序,页面很多,每个页面的操作也很多,这样的话项目就会产生新建很多很多的.ashx页面,能不能把方法写在后台中,然后Jquery直 ...

  2. rsync Backups for Windows

    Transfer your Windows Backups to an rsync server over SSH rsync.net provides cloud storage for offsi ...

  3. Redis intset

    Redis intset也非常简单.它是一个有序整数集合,实际上是一个有序数组,查找时二分查找,添加时可能需要内存挪动.唯一不同的是,它的整数类型是变动的,可以支持int16,int32,int64三 ...

  4. wiki 3143 二叉树的前序、中序及后序遍历

    先序遍历:訪问根.遍历左子树.遍历右子树,简称:DLR. 中序遍历:遍历左子树,訪问根,遍历右子树,简称:LDR. 后序遍历:遍历左子树,遍历右子树.訪问根.简称:LRD. 数组搞的: #pragma ...

  5. openCV之头文件分析

    我们利用openCV开源库进行项目开发时,往往要牵涉到头文件的添加问题,而openCV中头文件众多,该如何选择呢?下面对openCV2.4.10的头文件进行一个简单的梳理,以便能够快速的添加对应的头文 ...

  6. qt+boost::asio+tcp文件传输

    客户端: void qt_boost::pbSendFileClicked(){ QString filename = ui.leFileName->text(); QByteArray ba ...

  7. EXTJS4两个ComboBox的数据源联动,解决遇到第二个ComboBox第二次以后显示忙的状态问题

    定义如下[红色部分是后加上的,它是解决问题的关键]: var bu_store = Ext.create('Ext.data.Store', { fields: ['key', 'value'], r ...

  8. MongoDB查询命令具体解释

    1.查询全部记录 复制代码代码例如以下: db.userInfo.find(); 相当于:select* from userInfo; 默认每页显示20条记录,当显示不下的情况下,能够用it迭代命令查 ...

  9. 近期在调用 calendar.js 的时候出现中文乱码! 解决方式

    近期写一个小项目的时候:在调用 calendar.js  的时候出现中文乱码! 如图所看到的: 原因在于: 我的jsp 页面,指定的是 UTF-8 编码,然而,调用的 calendar.js 的编码确 ...

  10. 奋斗的孩子的TableView(三篇文章)

    http://blog.sina.com.cn/s/blog_a6fb6cc90101i8it.html http://blog.sina.com.cn/s/blog_a6fb6cc90101hhse ...