Elapsed Time Thread Time 0:27b4 0 days 0:58:52.469 1:3b58 0 days 0:58:52.047 2:119c 0 days 0:58:52.043 3:2a84 0 days 0:58:51.994 4:331c 0 days 0:58:51.979 5:2a38 0 days 0:58:51.911 6:3558 0 days 0:58:51.802 7:1508 0 days 0:58:51.671 8:3774 0 days 0:58:51.603 9:268 0 days 0:58:51.599
用户态运行时间
1
!runaway 0x1
1 2 3 4 5 6 7 8 9 10 11 12
User Mode Time Thread Time 9:268 0 days 0:58:30.843 8:3774 0 days 0:58:28.640 4:331c 0 days 0:00:00.281 0:27b4 0 days 0:00:00.109 7:1508 0 days 0:00:00.031 6:3558 0 days 0:00:00.000 5:2a38 0 days 0:00:00.000 3:2a84 0 days 0:00:00.000 2:119c 0 days 0:00:00.000 1:3b58 0 days 0:00:00.000
0:004> !clrstack The version of SOS does not match the version of CLR you are debugging. Please load the matching version of SOS for the version of CLR you are debugging. CLR Version: 4.7.4101.0 SOS Version: 4.8.9256.0 OS Thread Id: 0x331c (4) Child SP IP Call Site 0621f1c4 771cee5c [InlinedCallFrame: 0621f1c4] 0621f1a4 0ee71dc8 DomainBoundILStubClass.IL_STUB_PInvoke(IntPtr, IntPtr, IntPtr, IntPtr ByRef, Oracle.DataAccess.Client.OpoSqlValCtx*, Oracle.DataAccess.Client.OpoMetValCtx*, Oracle.DataAccess.Client.OpoDacValCtx*) 0621f1c4 0ee71757 [InlinedCallFrame: 0621f1c4] Oracle.DataAccess.Client.OpsDac.Read(IntPtr, IntPtr, IntPtr, IntPtr ByRef, Oracle.DataAccess.Client.OpoSqlValCtx*, Oracle.DataAccess.Client.OpoMetValCtx*, Oracle.DataAccess.Client.OpoDacValCtx*) 0621f20c 0ee71757 Oracle.DataAccess.Client.OracleDataReader.Read() 0621f244 5d00fd70 System.Data.Common.DataAdapter.FillLoadDataRow(System.Data.ProviderBase.SchemaMapping) 0621f278 5d00fb26 System.Data.Common.DataAdapter.FillFromReader(System.Data.DataSet, System.Data.DataTable, System.String, System.Data.ProviderBase.DataReaderContainer, Int32, Int32, System.Data.DataColumn, System.Object) 0621f2cc 5d00f757 System.Data.Common.DataAdapter.Fill(System.Data.DataSet, System.String, System.Data.IDataReader, Int32, Int32) 0621f30c 0ebcf3f3 Oracle.DataAccess.Client.OracleDataAdapter.Fill(System.Data.DataSet, System.String, System.Data.IDataReader, Int32, Int32) 0621f3dc 0ebca922 Oracle.DataAccess.Client.OracleDataAdapter.Fill(System.Data.DataSet, Int32, Int32, System.String, System.Data.IDbCommand, System.Data.CommandBehavior) 0621f434 5d09e987 System.Data.Common.DbDataAdapter.Fill(System.Data.DataSet, System.String) 0621f468 0ebc8f1b OracleService.ExecuteQue
The -EE option causes the DumpStack command to display only managed functions. Use the top and bottom parameters to limit the stack frames displayed on x86 platforms.
The -n option disables the display of source file names and line numbers. If the debugger has the option SYMOPT_LOAD_LINES specified, SOS will look up the symbols for every managed frame and if successful will display the corresponding source file name and line number. The -n (No line numbers) parameter can be specified to disable this behavior.
kp:
1
kp
WARNING: Stack unwind information not available. Following frames may be wrong.
NtWaitForSingleObject 本身并不直接表示一个网络请求已经发出去了。NtWaitForSingleObject 是 Windows NT 内核中的一个函数,用于使线程等待一个内核对象的信号。这里的“内核对象”可以是多种类型的对象,比如事件(Event)、互斥体(Mutex)、信号量(Semaphore)、线程(Thread)等。
在网络编程的上下文中,NtWaitForSingleObject 可能被用来等待一个与网络操作相关的同步对象。例如,在 Windows Sockets (Winsock) 编程中,当进行非阻塞或异步网络操作时,可能会使用事件(Event)或其他同步机制来通知应用程序何时网络操作完成。此时,NtWaitForSingleObject 可能被用来等待这个事件被触发。
0:004> !help mk SOSEX - Copyright 2007-2015 by Steve Johnson - http://www.stevestechspot.com/ To report bugs or offer feedback about SOSEX, please email sjjohnson@pobox.com
mk Usage: !sosex.mk [-l] [-p] [-a] [-c] [-cc]
Produces and displays a merged stack trace of managed and unmanaged frames. Local variables and parameters can be listed by passing -l, -p, or -a -l = Locals -p = Parameters -a = Locals and Parameters
-c = Clean (similar to the 'kc'command). Does not show frame numbers, ESP, EIP or source info. -c cannot be used with any other switches. -cc = Same as -c, but also strips namespaces. Provides the most compact stack trace display.
0:004> ~kvn # ChildEBP RetAddr Args to Child 00 062191d8 7254a6c9 0000052c 00000001 00000000 ntdll!NtWaitForSingleObject+0xc 01 062191d8 725530dc 00000002 00000006 46be8804 mswsock!SockWaitForSingleObject+0x139 02 0621924c 75e0385e 000005b8 062192c0 00000001 mswsock!WSPRecv+0x864c 03 0621929c 07601b3b 000005b8 062192c0 00000001 ws2_32!WSARecv+0x11e WARNING: Stack unwind information not available. Following frames may be wrong. 04 062192d8 07a747bd 000005b8 0e76dd4e 00002010 OraOCIEI11!slfipsbs+0xdacf
1 2 3 4 5 6 7 8 9 10 11 12 13
0:004> !handle 0000052c f Handle 0000052c Type Event Attributes 0 GrantedAccess 0x1f0003: Delete,ReadControl,WriteDac,WriteOwner,Synch QueryState,ModifyState HandleCount 2 PointerCount 65259 Name <none> Object specific information Event Type Manual Reset Event is Waiting