DebugDiag analysis

Giganews Newsgroups
Subject: DebugDiag analysis
Posted by:  johnsolv…@gmail.com
Date: 8 Nov 2006

Hi, I'm having some weird crashes with my website, I first tried to
attach the debugdiag as a crash rule but apparently a stuck w3wp
process (100 cpu, for an hour isn't a crash) so I added a hang rule
which caught a different type of exception (I think, since the w3wp is
active and healthy), anyway I did the analysis on the dump but I can't
figure anything relevant, some help would be much appreciated.

Thanks.

ps. The web project files (dlls) are all release compiled should I
recompile as debug? (I did add the pdb files for my project to the
symbols path)

w3wp.exe__DefaultAppPool__PID__764__Date__11_07_2006__Time_02_29_07PM__970__IIS
Hang Dump.dmp
Type of Analysis Performed  Hang Analysis
Machine Name  TOKYO
Operating System  Windows Server 2003 Service Pack 1
Number Of Processors  1
Process ID  764
Process Image  c:\WINDOWS\system32\inetsrv\w3wp.exe
System Up-Time  184 day(s) 03:22:26
Process Up-Time  0 day(s) 00:00:29

Top 5 Threads by CPU time
Note - Times include both user mode and kernel mode for each thread
Thread ID: 15    Total CPU Time: 0 day(s) 00:00:00.765    Entry Point
for Thread: mscorwks!ThreadpoolMgr::intermediateThreadProc
Thread ID: 18    Total CPU Time: 0 day(s) 00:00:00.750    Entry Point
for Thread: mscorwks!ThreadpoolMgr::intermediateThreadProc
Thread ID: 9    Total CPU Time: 0 day(s) 00:00:00.562    Entry Point
for Thread: w3tp!THREAD_MANAGER::ThreadManagerThread
Thread ID: 21    Total CPU Time: 0 day(s) 00:00:00.328    Entry Point
for Thread: mscorwks!ThreadpoolMgr::intermediateThreadProc
Thread ID: 20    Total CPU Time: 0 day(s) 00:00:00.312    Entry Point
for Thread: mscorwks!ThreadpoolMgr::intermediateThreadProc

Thread report

Thread 0 - System ID 4332
Entry point  w3wp!wmainCRTStartup
Create time  07/11/2006 14:28:39
Time spent in user mode  0 Days 0:0:0.62
Time spent in kernel mode  0 Days 0:0:0.15

Function  Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForSingleObject+c
kernel32!WaitForSingleObjectEx+ac
kernel32!WaitForSingleObject+12
w3dt!WP_CONTEXT::RunMainThreadLoop+10
w3dt!UlAtqStartListen+2d
w3core!W3_SERVER::StartListen+bd
w3core!UlW3Start+26e
w3wp!wmain+22a
w3wp!wmainCRTStartup+12b
kernel32!BaseProcessStart+23

Thread 1 - System ID 2488
Entry point  ntdll!EtwpEventPump
Create time  07/11/2006 14:28:39
Time spent in user mode  0 Days 0:0:0.0
Time spent in kernel mode  0 Days 0:0:0.0

Function  Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForMultipleObjects+c
ntdll!EtwpWaitForMultipleObjectsEx+f7
ntdll!EtwpEventPump+27f
kernel32!BaseThreadStart+34

Thread 2 - System ID 5056
Entry point  ntdll!RtlpTimerThread
Create time  07/11/2006 14:28:39
Time spent in user mode  0 Days 0:0:0.0
Time spent in kernel mode  0 Days 0:0:0.0

Function  Source
ntdll!KiFastSystemCallRet
ntdll!NtDelayExecution+c
ntdll!RtlpTimerThread+47
kernel32!BaseThreadStart+34

Thread 3 - System ID 3764
Entry point  ntdll!RtlpWorkerThread
Create time  07/11/2006 14:28:39
Time spent in user mode  0 Days 0:0:0.0
Time spent in kernel mode  0 Days 0:0:0.0

Function  Source
ntdll!KiFastSystemCallRet
ntdll!NtRemoveIoCompletion+c
ntdll!RtlpWorkerThread+3d
kernel32!BaseThreadStart+34

Thread 4 - System ID 2172
Create time  00:00:00
Time spent in user mode  0 Days 0:0:0.0
Time spent in kernel mode  0 Days 0:0:0.0

Function  Source
ntdll!KiFastSystemCallRet
ntdll!ZwReplyWaitReceivePortEx+c
rpcrt4!LRPC_ADDRESS::ReceiveLotsaCalls+198
rpcrt4!RecvLotsaCallsWrapper+d
rpcrt4!BaseCachedThreadRoutine+9d
rpcrt4!ThreadStartRoutine+1b
kernel32!BaseThreadStart+34

Thread 5 - System ID 2612
Entry point  ole32!CRpcThreadCache::RpcWorkerThreadEntry
Create time  07/11/2006 14:28:39
Time spent in user mode  0 Days 0:0:0.0
Time spent in kernel mode  0 Days 0:0:0.0

Function  Source
ntdll!KiFastSystemCallRet
ntdll!NtDelayExecution+c
kernel32!SleepEx+68
kernel32!Sleep+f
ole32!CROIDTable::WorkerThreadLoop+14
ole32!CRpcThread::WorkerLoop+1e
ole32!_imp__InstallApplication <PERF> (ole32+0x0)
kernel32!BaseThreadStart+34

Thread 6 - System ID 3968
Entry point  w3tp!THREAD_MANAGER::ThreadManagerThread
Create time  07/11/2006 14:28:40
Time spent in user mode  0 Days 0:0:0.0
Time spent in kernel mode  0 Days 0:0:0.0

Function  Source
ntdll!KiFastSystemCallRet
ntdll!NtRemoveIoCompletion+c
kernel32!GetQueuedCompletionStatus+29
w3tp!THREAD_POOL_DATA::ThreadPoolThread+33
w3tp!THREAD_POOL_DATA::ThreadPoolThread+24
w3tp!THREAD_MANAGER::ThreadManagerThread+39
kernel32!BaseThreadStart+34

Thread 7 - System ID 4572
Entry point  w3tp!THREAD_MANAGER::ThreadManagerThread
Create time  07/11/2006 14:28:40
Time spent in user mode  0 Days 0:0:0.0
Time spent in kernel mode  0 Days 0:0:0.0

Function  Source
ntdll!KiFastSystemCallRet
ntdll!NtRemoveIoCompletion+c
kernel32!GetQueuedCompletionStatus+29
w3tp!THREAD_POOL_DATA::ThreadPoolThread+33
w3tp!THREAD_POOL_DATA::ThreadPoolThread+24
w3tp!THREAD_MANAGER::ThreadManagerThread+39
kernel32!BaseThreadStart+34

Thread 8 - System ID 4664
Entry point  w3tp!THREAD_MANAGER::ThreadManagerThread
Create time  07/11/2006 14:28:40
Time spent in user mode  0 Days 0:0:0.62
Time spent in kernel mode  0 Days 0:0:0.0

Function  Source
ntdll!KiFastSystemCallRet
ntdll!NtRemoveIoCompletion+c
kernel32!GetQueuedCompletionStatus+29
w3tp!THREAD_POOL_DATA::ThreadPoolThread+33
w3tp!THREAD_POOL_DATA::ThreadPoolThread+24
w3tp!THREAD_MANAGER::ThreadManagerThread+39
kernel32!BaseThreadStart+34

Thread 9 - System ID 1928
Entry point  w3tp!THREAD_MANAGER::ThreadManagerThread
Create time  07/11/2006 14:28:40
Time spent in user mode  0 Days 0:0:0.500
Time spent in kernel mode  0 Days 0:0:0.62

Function  Source
ntdll!KiFastSystemCallRet
ntdll!NtRemoveIoCompletion+c
kernel32!GetQueuedCompletionStatus+29
w3tp!THREAD_POOL_DATA::ThreadPoolThread+33
w3tp!THREAD_POOL_DATA::ThreadPoolThread+24
w3tp!THREAD_MANAGER::ThreadManagerThread+39
kernel32!BaseThreadStart+34

Thread 10 - System ID 4380
Entry point  ntdll!RtlpWaitThread
Create time  07/11/2006 14:28:40
Time spent in user mode  0 Days 0:0:0.0
Time spent in kernel mode  0 Days 0:0:0.0

Function  Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForMultipleObjects+c
ntdll!RtlpWaitThread+161
kernel32!BaseThreadStart+34

Thread 11 - System ID 3896
Entry point  w3core!HTTP_COMPRESSION::CompressionThread
Create time  07/11/2006 14:28:40
Time spent in user mode  0 Days 0:0:0.0
Time spent in kernel mode  0 Days 0:0:0.0

Function  Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForSingleObject+c
kernel32!WaitForSingleObjectEx+ac
kernel32!WaitForSingleObject+12
w3core!HTTP_COMPRESSION::CompressionThread+126
kernel32!BaseThreadStart+34

Thread 12 - System ID 2180
Entry point  rpcrt4!ThreadStartRoutine
Create time  07/11/2006 14:28:40
Time spent in user mode  0 Days 0:0:0.0
Time spent in kernel mode  0 Days 0:0:0.0

Function  Source
ntdll!KiFastSystemCallRet
ntdll!ZwReplyWaitReceivePortEx+c
rpcrt4!LRPC_ADDRESS::ReceiveLotsaCalls+198
rpcrt4!RecvLotsaCallsWrapper+d
rpcrt4!BaseCachedThreadRoutine+9d
rpcrt4!ThreadStartRoutine+1b
kernel32!BaseThreadStart+34

Thread 13 - System ID 5960
Entry point  ntdll!RtlpIOWorkerThread
Create time  07/11/2006 14:28:40
Time spent in user mode  0 Days 0:0:0.0
Time spent in kernel mode  0 Days 0:0:0.0

Function  Source
ntdll!KiFastSystemCallRet
ntdll!NtDelayExecution+c
ntdll!RtlpIOWorkerThread+3f
kernel32!BaseThreadStart+34

Thread 14 - System ID 3416
Entry point  mscorwks!ThreadpoolMgr::GateThreadStart
Create time  07/11/2006 14:28:42
Time spent in user mode  0 Days 0:0:0.0
Time spent in kernel mode  0 Days 0:0:0.0

Function  Source
ntdll!KiFastSystemCallRet
ntdll!NtDelayExecution+c
kernel32!SleepEx+68
kernel32!Sleep+f
mscorwks!ThreadpoolMgr::GateThreadStart+54
kernel32!BaseThreadStart+34

Thread 15 - System ID 3396
Entry point  mscorwks!ThreadpoolMgr::intermediateThreadProc
Create time  07/11/2006 14:28:42
Time spent in user mode  0 Days 0:0:0.640
Time spent in kernel mode  0 Days 0:0:0.125

Function  Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForSingleObject+c
kernel32!WaitForSingleObjectEx+ac
kernel32!WaitForSingleObject+12
mscorwks!ThreadpoolMgr::WorkerThreadStart+3a
mscorwks!ThreadpoolMgr::intermediateThreadProc+44
kernel32!BaseThreadStart+34

Thread 16 - System ID 3040
Entry point  mscorwks!DebuggerRCThread::ThreadProcStatic
Create time  07/11/2006 14:28:42
Time spent in user mode  0 Days 0:0:0.0
Time spent in kernel mode  0 Days 0:0:0.0

Function  Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForMultipleObjects+c
kernel32!WaitForMultipleObjectsEx+11a
kernel32!WaitForMultipleObjects+18
mscorwks!DebuggerRCThread::MainLoop+90
mscorwks!DebuggerRCThread::ThreadProc+68
mscorwks!DebuggerRCThread::ThreadProcStatic+b
kernel32!BaseThreadStart+34

Thread 17 - System ID 4368
Entry point  mscorwks!Thread::intermediateThreadProc
Create time  07/11/2006 14:28:42
Time spent in user mode  0 Days 0:0:0.0
Time spent in kernel mode  0 Days 0:0:0.0

Function  Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForMultipleObjects+c
kernel32!WaitForMultipleObjectsEx+11a
kernel32!WaitForMultipleObjects+18
mscorwks!WaitForFinalizerEvent+5a
mscorwks!GCHeap::FinalizerThreadStart+96
mscorwks!Thread::intermediateThreadProc+44
kernel32!BaseThreadStart+34

Thread 18 - System ID 3344
Entry point  mscorwks!ThreadpoolMgr::intermediateThreadProc
Create time  07/11/2006 14:28:42
Time spent in user mode  0 Days 0:0:0.718
Time spent in kernel mode  0 Days 0:0:0.31

Function  Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForSingleObject+c
kernel32!WaitForSingleObjectEx+ac
kernel32!WaitForSingleObject+12
mscorwks!ThreadpoolMgr::WorkerThreadStart+3a
mscorwks!ThreadpoolMgr::intermediateThreadProc+44
kernel32!BaseThreadStart+34

Thread 19 - System ID 2192
Entry point  mscorwks!ThreadpoolMgr::TimerThreadStart
Create time  07/11/2006 14:28:42
Time spent in user mode  0 Days 0:0:0.0
Time spent in kernel mode  0 Days 0:0:0.0

Function  Source
ntdll!KiFastSystemCallRet
ntdll!NtDelayExecution+c
kernel32!SleepEx+68
mscorwks!ThreadpoolMgr::TimerThreadStart+30
kernel32!BaseThreadStart+34

Thread 20 - System ID 1048
Entry point  mscorwks!ThreadpoolMgr::intermediateThreadProc
Create time  07/11/2006 14:28:43
Time spent in user mode  0 Days 0:0:0.250
Time spent in kernel mode  0 Days 0:0:0.62

Function  Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForSingleObject+c
kernel32!WaitForSingleObjectEx+ac
kernel32!WaitForSingleObject+12
mscorwks!ThreadpoolMgr::WorkerThreadStart+3a
mscorwks!ThreadpoolMgr::intermediateThreadProc+44
kernel32!BaseThreadStart+34

Thread 21 - System ID 2656
Entry point  mscorwks!ThreadpoolMgr::intermediateThreadProc
Create time  07/11/2006 14:28:44
Time spent in user mode  0 Days 0:0:0.328
Time spent in kernel mode  0 Days 0:0:0.0

Function  Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForSingleObject+c
kernel32!WaitForSingleObjectEx+ac
kernel32!WaitForSingleObject+12
mscorwks!ThreadpoolMgr::WorkerThreadStart+3a
mscorwks!ThreadpoolMgr::intermediateThreadProc+44
kernel32!BaseThreadStart+34

Thread 22 - System ID 3232
Entry point  GdiPlus!BackgroundThreadProc
Create time  07/11/2006 14:28:46
Time spent in user mode  0 Days 0:0:0.0
Time spent in kernel mode  0 Days 0:0:0.0

Function  Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForMultipleObjects+c
kernel32!WaitForMultipleObjectsEx+11a
user32!RealMsgWaitForMultipleObjectsEx+141
user32!MsgWaitForMultipleObjects+1f
GdiPlus!BackgroundThreadProc+59
kernel32!BaseThreadStart+34

Thread 23 - System ID 5312
Entry point  mscorwks!ThreadpoolMgr::WaitThreadStart
Create time  07/11/2006 14:28:47
Time spent in user mode  0 Days 0:0:0.0
Time spent in kernel mode  0 Days 0:0:0.0

Function  Source
ntdll!KiFastSystemCallRet
ntdll!NtDelayExecution+c
kernel32!SleepEx+68
mscorwks!ThreadpoolMgr::WaitThreadStart+22
kernel32!BaseThreadStart+34

Thread 24 - System ID 5940
Entry point  mscorwks!ThreadpoolMgr::intermediateThreadProc
Create time  07/11/2006 14:28:49
Time spent in user mode  0 Days 0:0:0.0
Time spent in kernel mode  0 Days 0:0:0.0

Function  Source
ntdll!KiFastSystemCallRet
ntdll!NtRemoveIoCompletion+c
kernel32!GetQueuedCompletionStatus+29
mscorwks!ThreadpoolMgr::CompletionPortThreadStart+49
mscorwks!ThreadpoolMgr::intermediateThreadProc+44
kernel32!BaseThreadStart+34

HTTP report
IIS ATQ worker thread count  4 Thread(s)
Available ATQ worker thread count  4 Thread(s)
Active client connections  20 client connection(s)

Client Connections
Client connection from 207.190.37.139:21807 to *****:80
Host Header  ******:80
GET request for  ******.jpg
HTTP Version  HTTP/1.1
SSL Request  False
Time alive  0 day(s) 00:00:05
QueryString
Request mapped to
HTTP Request State  HTR_READING_CLIENT_REQUEST
Native Request State  NREQ_STATE_PROCESS

19 connection(s) waiting for the next request.

Replies