Program hang...

Hi,

I am running a multi-threaded test program that do byte lock. However, the test program would hang after some time. Below is the process and locks info from the Windbg.

Could anyone help to advise what are the remedial steps?

Thanks.

kd> !process 815e9da8 7
PROCESS 815e9da8 SessionId: 0 Cid: 3f34 Peb: 7ffdf000 ParentCid: 25c8
DirBase: 07932000 ObjectTable: e1161588 HandleCount: 65.
Image: t1.exe
VadRoot 8196f2f0 Vads 60 Clone 0 Private 17050. Modified 56000020. Locked 0.
DeviceMap e1ad8e10
Token e1d9ee50
ElapsedTime 15:31:12.0437
UserTime 0:15:52.0531
KernelTime 0:21:56.0078
QuotaPoolUsage[PagedPool] 20884
QuotaPoolUsage[NonPagedPool] 2888
Working Set Sizes (now,min,max) (17477, 50, 345) (69908KB, 200KB, 1380KB)
PeakWorkingSetSize 17504
VirtualSize 88 Mb
PeakVirtualSize 96 Mb
PageFaultCount 58117367
MemoryPriority BACKGROUND
BasePriority 8
CommitCharge 17106
THREAD 815e9b30 Cid 3f34.3f00 Teb: 7ffde000 Win32Thread: e1fb9eb0 WAIT: (UserRequest) UserMode Non-Alertable
816ba020 Thread
81a40698 SynchronizationEvent
Not impersonating
DeviceMap e1ad8e10
Owning Process 815e9da8
Wait Start TickCount 13142718 Elapsed Ticks: 14634691
Context Switch Count 1537 LargeStack
UserTime 00:00:00.0031
KernelTime 00:00:03.0625
Start Address kernel32!GetCurrentDirectoryW (0x77e8149f)
Win32 Start Address t1 (0x0040a20c)
Stack Init f41d2000 Current f41d195c Base f41d2000 Limit f41ce000 Call 0
Priority 8 BasePriority 8 PriorityDecrement 0 DecrementCount 16
Kernel stack not resident.
ChildEBP RetAddr Args to Child
f41d1974 804ebd36 00000000 815e9b30 804eda97 nt!KiSwapContext+0x2e (FPO: [EBP 0xf41d19b8] [0,0,4])
f41d1980 804eda97 815e9b30 00000002 00000004 nt!KiSwapThread+0x44 (FPO: [0,0,2])
f41d19b8 8059468e 00000002 f41d19f8 00000001 nt!KeWaitForMultipleObjects+0x282 (FPO: [Non-Fpo])
f41d1d48 804da140 00000002 0012f7dc 00000001 nt!NtWaitForMultipleObjects+0x2eb (FPO: [Non-Fpo])
f41d1d48 7ffe0304 00000002 0012f7dc 00000001 nt!KiSystemService+0xc4 (FPO: [0,0] TrapFrame @ f41d1d64)
0012f830 00000000 00000000 00000000 00000000 SharedUserData!SystemCallStub+0x4 (FPO: [0,0,0])
THREAD 816ba020 Cid 3f34.3ca0 Teb: 7ffdd000 Win32Thread: e1fa6068 WAIT: (Executive) UserMode Non-Alertable
822b99ec NotificationEvent
IRP List:
81c3f008: (0006,01b4) Flags: 00000000 Mdl: 00000000
81c8d250: (0006,01b4) Flags: 00000000 Mdl: 00000000
Not impersonating
DeviceMap e1ad8e10
Owning Process 815e9da8
Wait Start TickCount 13318007 Elapsed Ticks: 14459402
Context Switch Count 191701 LargeStack
UserTime 00:02:40.0203
KernelTime 00:03:38.0390
Start Address kernel32!RegisterWaitForInputIdle (0x77e7d342)
Win32 Start Address t1 (0x00408510)
Stack Init f45ac000 Current f45abc1c Base f45ac000 Limit f45a8000 Call 0
Priority 9 BasePriority 8 PriorityDecrement 1 DecrementCount 16
Kernel stack not resident.
ChildEBP RetAddr Args to Child
f45abc34 804ebd36 816ba090 816ba020 804ec950 nt!KiSwapContext+0x2e (FPO: [EBP 0xf45abc68] [0,0,4])
f45abc40 804ec950 00000103 00000000 81c3f008 nt!KiSwapThread+0x44 (FPO: [0,0,2])
f45abc68 8058dfef 00000001 00000000 00a0f701 nt!KeWaitForSingleObject+0x1c0 (FPO: [Non-Fpo])
f45abc90 805c122a 82179dd0 00000103 822b9990 nt!IopSynchronousServiceTail+0xc4 (FPO: [Non-Fpo])
f45abd34 804da140 00000750 00000000 00000000 nt!NtLockFile+0x363
f45abd34 7ffe0304 00000750 00000000 00000000 nt!KiSystemService+0xc4 (FPO: [0,0] TrapFrame @ f45abd64)
00a0fd50 00000000 00000000 00000000 00000000 SharedUserData!SystemCallStub+0x4 (FPO: [0,0,0])
THREAD 81c90020 Cid 3f34.3958 Teb: 7ffdc000 Win32Thread: e12715b0 WAIT: (Executive) UserMode Non-Alertable
81c0f2fc NotificationEvent
IRP List:
81c1d008: (0006,01b4) Flags: 00000000 Mdl: 00000000
Not impersonating
DeviceMap e1ad8e10
Owning Process 815e9da8
Wait Start TickCount 13317672 Elapsed Ticks: 14459737
Context Switch Count 192104 LargeStack
UserTime 00:02:38.0281
KernelTime 00:03:41.0078
Start Address kernel32!RegisterWaitForInputIdle (0x77e7d342)
Win32 Start Address t1 (0x00408510)
Stack Init f40d3000 Current f40d2c1c Base f40d3000 Limit f40cf000 Call 0
Priority 8 BasePriority 8 PriorityDecrement 0 DecrementCount 16
Kernel stack not resident.
ChildEBP RetAddr Args to Child
f40d2c34 804ebd36 81c90090 81c90020 804ec950 nt!KiSwapContext+0x2e (FPO: [EBP 0xf40d2c68] [0,0,4])
f40d2c40 804ec950 00000103 00000000 81c1d008 nt!KiSwapThread+0x44 (FPO: [0,0,2])
f40d2c68 8058dfef 00000001 00000000 00b0f701 nt!KeWaitForSingleObject+0x1c0 (FPO: [Non-Fpo])
f40d2c90 805c122a 82179dd0 00000103 81c0f2a0 nt!IopSynchronousServiceTail+0xc4 (FPO: [Non-Fpo])
f40d2d34 804da140 00000758 00000000 00000000 nt!NtLockFile+0x363
f40d2d34 7ffe0304 00000758 00000000 00000000 nt!KiSystemService+0xc4 (FPO: [0,0] TrapFrame @ f40d2d64)
00b0fd50 00000000 00000000 00000000 00000000 SharedUserData!SystemCallStub+0x4 (FPO: [0,0,0])
THREAD 817e4020 Cid 3f34.3cc0 Teb: 7ffdb000 Win32Thread: e1f90cf8 WAIT: (Executive) UserMode Non-Alertable
8221edcc NotificationEvent
IRP List:
81a40008: (0006,01b4) Flags: 00000000 Mdl: 00000000
817a3320: (0006,01b4) Flags: 00000000 Mdl: 00000000
Not impersonating
DeviceMap e1ad8e10
Owning Process 815e9da8
Wait Start TickCount 13317727 Elapsed Ticks: 14459682
Context Switch Count 188288 LargeStack
UserTime 00:02:37.0671
KernelTime 00:03:36.0625
Start Address kernel32!RegisterWaitForInputIdle (0x77e7d342)
Win32 Start Address t1 (0x00408510)
Stack Init f8085000 Current f8084c1c Base f8085000 Limit f8081000 Call 0
Priority 8 BasePriority 8 PriorityDecrement 0 DecrementCount 16
Kernel stack not resident.
ChildEBP RetAddr Args to Child
f8084c34 804ebd36 817e4090 817e4020 804ec950 nt!KiSwapContext+0x2e (FPO: [EBP 0xf8084c68] [0,0,4])
f8084c40 804ec950 00000103 00000000 81a40008 nt!KiSwapThread+0x44 (FPO: [0,0,2])
f8084c68 8058dfef 00000001 00000000 00c0f701 nt!KeWaitForSingleObject+0x1c0 (FPO: [Non-Fpo])
f8084c90 805c122a 82179dd0 00000103 8221ed70 nt!IopSynchronousServiceTail+0xc4 (FPO: [Non-Fpo])
f8084d34 804da140 00000754 00000000 00000000 nt!NtLockFile+0x363
f8084d34 7ffe0304 00000754 00000000 00000000 nt!KiSystemService+0xc4 (FPO: [0,0] TrapFrame @ f8084d64)
00c0fd50 00000000 00000000 00000000 00000000 SharedUserData!SystemCallStub+0x4 (FPO: [0,0,0])
THREAD 816e4020 Cid 3f34.3cc8 Teb: 7ffda000 Win32Thread: e1e6f008 WAIT: (Executive) UserMode Non-Alertable
822cad24 NotificationEvent
IRP List:
81c12008: (0006,01b4) Flags: 00000000 Mdl: 00000000
81bf8008: (0006,01b4) Flags: 00000000 Mdl: 00000000
Not impersonating
DeviceMap e1ad8e10
Owning Process 815e9da8
Wait Start TickCount 13317727 Elapsed Ticks: 14459682
Context Switch Count 196189 LargeStack
UserTime 00:02:41.0218
KernelTime 00:03:42.0484
Start Address kernel32!RegisterWaitForInputIdle (0x77e7d342)
Win32 Start Address t1 (0x00408510)
Stack Init f4172000 Current f4171c1c Base f4172000 Limit f416e000 Call 0
Priority 8 BasePriority 8 PriorityDecrement 0 DecrementCount 16
Kernel stack not resident.
ChildEBP RetAddr Args to Child
f4171c34 804ebd36 816e4090 816e4020 804ec950 nt!KiSwapContext+0x2e (FPO: [EBP 0xf4171c68] [0,0,4])
f4171c40 804ec950 00000103 00000000 81c12008 nt!KiSwapThread+0x44 (FPO: [0,0,2])
f4171c68 8058dfef 00000001 00000000 00d0f701 nt!KeWaitForSingleObject+0x1c0 (FPO: [Non-Fpo])
f4171c90 805c122a 82179dd0 00000103 822cacc8 nt!IopSynchronousServiceTail+0xc4 (FPO: [Non-Fpo])
f4171d34 804da140 00000778 00000000 00000000 nt!NtLockFile+0x363
f4171d34 7ffe0304 00000778 00000000 00000000 nt!KiSystemService+0xc4 (FPO: [0,0] TrapFrame @ f4171d64)
00d0fd50 00000000 00000000 00000000 00000000 SharedUserData!SystemCallStub+0x4 (FPO: [0,0,0])
THREAD 817f2020 Cid 3f34.3ccc Teb: 7ffd9000 Win32Thread: e12b6eb0 WAIT: (Executive) UserMode Non-Alertable
822cb544 NotificationEvent
IRP List:
81c09008: (0006,01b4) Flags: 00000000 Mdl: 00000000
81c18008: (0006,01b4) Flags: 00000000 Mdl: 00000000
Not impersonating
DeviceMap e1ad8e10
Owning Process 815e9da8
Wait Start TickCount 13318101 Elapsed Ticks: 14459308
Context Switch Count 190107 LargeStack
UserTime 00:02:38.0156
KernelTime 00:03:39.0937
Start Address kernel32!RegisterWaitForInputIdle (0x77e7d342)
Win32 Start Address t1 (0x00408510)
Stack Init f3fc3000 Current f3fc2c1c Base f3fc3000 Limit f3fbf000 Call 0
Priority 8 BasePriority 8 PriorityDecrement 0 DecrementCount 16
Kernel stack not resident.
ChildEBP RetAddr Args to Child
f3fc2c34 804ebd36 817f2090 817f2020 804ec950 nt!KiSwapContext+0x2e (FPO: [EBP 0xf3fc2c68] [0,0,4])
f3fc2c40 804ec950 00000103 00000000 81c09008 nt!KiSwapThread+0x44 (FPO: [0,0,2])
f3fc2c68 8058dfef 00000001 00000000 0191f701 nt!KeWaitForSingleObject+0x1c0 (FPO: [Non-Fpo])
f3fc2c90 805c122a 82179dd0 00000103 822cb4e8 nt!IopSynchronousServiceTail+0xc4 (FPO: [Non-Fpo])
f3fc2d34 804da140 0000073c 00000000 00000000 nt!NtLockFile+0x363
f3fc2d34 7ffe0304 0000073c 00000000 00000000 nt!KiSystemService+0xc4 (FPO: [0,0] TrapFrame @ f3fc2d64)
0191fd50 00000000 00000000 00000000 00000000 SharedUserData!SystemCallStub+0x4 (FPO: [0,0,0])
THREAD 81701020 Cid 3f34.3cd8 Teb: 7ffd8000 Win32Thread: e1f1a728 WAIT: (Executive) UserMode Non-Alertable
822c2764 NotificationEvent
IRP List:
81d60008: (0006,01b4) Flags: 00000000 Mdl: 00000000
Not impersonating
DeviceMap e1ad8e10
Owning Process 815e9da8
Wait Start TickCount 13317371 Elapsed Ticks: 14460038
Context Switch Count 190085 LargeStack
UserTime 00:02:36.0953
KernelTime 00:03:35.0390
Start Address kernel32!RegisterWaitForInputIdle (0x77e7d342)
Win32 Start Address t1 (0x00408510)
Stack Init f42d1000 Current f42d0c1c Base f42d1000 Limit f42cd000 Call 0
Priority 8 BasePriority 8 PriorityDecrement 0 DecrementCount 16
Kernel stack not resident.
ChildEBP RetAddr Args to Child
f42d0c34 804ebd36 81701090 81701020 804ec950 nt!KiSwapContext+0x2e (FPO: [EBP 0xf42d0c68] [0,0,4])
f42d0c40 804ec950 00000103 00000000 81d60008 nt!KiSwapThread+0x44 (FPO: [0,0,2])
f42d0c68 8058dfef 00000001 00000000 0466f701 nt!KeWaitForSingleObject+0x1c0 (FPO: [Non-Fpo])
f42d0c90 805c122a 82179dd0 00000103 822c2708 nt!IopSynchronousServiceTail+0xc4 (FPO: [Non-Fpo])
f42d0d34 804da140 0000072c 00000000 00000000 nt!NtLockFile+0x363
f42d0d34 7ffe0304 0000072c 00000000 00000000 nt!KiSystemService+0xc4 (FPO: [0,0] TrapFrame @ f42d0d64)
0466fd50 00000000 00000000 00000000 00000000 SharedUserData!SystemCallStub+0x4 (FPO: [0,0,0])
THREAD 815d35e0 Cid 3f34.3c1c Teb: 7ffd7000 Win32Thread: 00000000 WAIT: (WrQueue) UserMode Non-Alertable
82172910 Unknown
IRP List:
81c03f68: (0006,0094) Flags: 00000800 Mdl: 00000000
Not impersonating
DeviceMap e1ad8e10
Owning Process 815e9da8
Wait Start TickCount 13321681 Elapsed Ticks: 14455728
Context Switch Count 89
UserTime 00:00:00.0000
KernelTime 00:00:00.0000
Start Address kernel32!RegisterWaitForInputIdle (0x77e7d342)
Win32 Start Address RPCRT4 (0x780015dd)
Stack Init f480f000 Current f480ec70 Base f480f000 Limit f480c000 Call 0
Priority 8 BasePriority 8 PriorityDecrement 0 DecrementCount 0
Kernel stack not resident.
ChildEBP RetAddr Args to Child
f480ec88 804ebd36 815d3650 815d35e0 804ed48e nt!KiSwapContext+0x2e (FPO: [EBP 0xf480ecc0] [0,0,4])
f480ec94 804ed48e f480ed64 00000000 8057e11f nt!KiSwapThread+0x44 (FPO: [0,0,2])
f480ecc0 8057e1f6 00000001 0527fe01 00000000 nt!KeRemoveQueue+0x20c (FPO: [Non-Fpo])
f480ed48 804da140 000007bc 0527ff14 0527ff04 nt!NtRemoveIoCompletion+0xdf (FPO: [Non-Fpo])
f480ed48 7ffe0304 000007bc 0527ff14 0527ff04 nt!KiSystemService+0xc4 (FPO: [0,0] TrapFrame @ f480ed64)
0527feec 00000000 00000000 00000000 00000000 SharedUserData!SystemCallStub+0x4 (FPO: [0,0,0])

kd> !locks
**** DUMP OF ALL RESOURCE OBJECTS ****
KD: Scanning for held locks…
Resource @ 0x81d494cc Exclusively owned
Threads: 81d55468-01<*>
KD: Scanning for held locks…
Resource @ 0xffba3300 Shared 1 owning threads
Threads: 823cddab-01<*> *** Actual Thread 823cdda8
Resource @ 0xff87c2f0 Shared 1 owning threads
Threads: 823cddab-01<*> *** Actual Thread 823cdda8
Resource @ 0xffa2c578 Shared 1 owning threads
Threads: 823cd643-01<*> *** Actual Thread 823cd640
KD: Scanning for held locks…
Resource @ 0x82213368 Shared 1 owning threads
Threads: 823cd643-01<*> *** Actual Thread 823cd640
KD: Scanning for held locks.
Resource @ 0x81646308 Shared 1 owning threads
Threads: 823cd643-01<*> *** Actual Thread 823cd640
2729 total locks, 6 locks currently held


Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!

!process 0 7 and look in all call stacks.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: Faith Chua
To: Windows System Software Devs Interest List
Sent: Monday, July 12, 2004 9:30 AM
Subject: [ntdev] Program hang…

Hi,

I am running a multi-threaded test program that do byte lock. However, the test program would hang after some time. Below is the process and locks info from the Windbg.

Could anyone help to advise what are the remedial steps?

Thanks.

kd> !process 815e9da8 7
PROCESS 815e9da8 SessionId: 0 Cid: 3f34 Peb: 7ffdf000 ParentCid: 25c8
DirBase: 07932000 ObjectTable: e1161588 HandleCount: 65.
Image: t1.exe
VadRoot 8196f2f0 Vads 60 Clone 0 Private 17050. Modified 56000020. Locked 0.
DeviceMap e1ad8e10
Token e1d9ee50
ElapsedTime 15:31:12.0437
UserTime 0:15:52.0531
KernelTime 0:21:56.0078
QuotaPoolUsage[PagedPool] 20884
QuotaPoolUsage[NonPagedPool] 2888
Working Set Sizes (now,min,max) (17477, 50, 345) (69908KB, 200KB, 1380KB)
PeakWorkingSetSize 17504
VirtualSize 88 Mb
PeakVirtualSize 96 Mb
PageFaultCount 58117367
MemoryPriority BACKGROUND
BasePriority 8
CommitCharge 17106
THREAD 815e9b30 Cid 3f34.3f00 Teb: 7ffde000 Win32Thread: e1fb9eb0 WAIT: (UserRequest) UserMode Non-Alertable
816ba020 Thread
81a40698 SynchronizationEvent
Not impersonating
DeviceMap e1ad8e10
Owning Process 815e9da8
Wait Start TickCount 13142718 Elapsed Ticks: 14634691
Context Switch Count 1537 LargeStack
UserTime 00:00:00.0031
KernelTime 00:00:03.0625
Start Address kernel32!GetCurrentDirectoryW (0x77e8149f)
Win32 Start Address t1 (0x0040a20c)
Stack Init f41d2000 Current f41d195c Base f41d2000 Limit f41ce000 Call 0
Priority 8 BasePriority 8 PriorityDecrement 0 DecrementCount 16
Kernel stack not resident.
ChildEBP RetAddr Args to Child
f41d1974 804ebd36 00000000 815e9b30 804eda97 nt!KiSwapContext+0x2e (FPO: [EBP 0xf41d19b8] [0,0,4])
f41d1980 804eda97 815e9b30 00000002 00000004 nt!KiSwapThread+0x44 (FPO: [0,0,2])
f41d19b8 8059468e 00000002 f41d19f8 00000001 nt!KeWaitForMultipleObjects+0x282 (FPO: [Non-Fpo])
f41d1d48 804da140 00000002 0012f7dc 00000001 nt!NtWaitForMultipleObjects+0x2eb (FPO: [Non-Fpo])
f41d1d48 7ffe0304 00000002 0012f7dc 00000001 nt!KiSystemService+0xc4 (FPO: [0,0] TrapFrame @ f41d1d64)
0012f830 00000000 00000000 00000000 00000000 SharedUserData!SystemCallStub+0x4 (FPO: [0,0,0])
THREAD 816ba020 Cid 3f34.3ca0 Teb: 7ffdd000 Win32Thread: e1fa6068 WAIT: (Executive) UserMode Non-Alertable
822b99ec NotificationEvent
IRP List:
81c3f008: (0006,01b4) Flags: 00000000 Mdl: 00000000
81c8d250: (0006,01b4) Flags: 00000000 Mdl: 00000000
Not impersonating
DeviceMap e1ad8e10
Owning Process 815e9da8
! Wait Start TickCount 13318007 Elapsed Ticks: 14459402
Context Switch Count 191701 LargeStack
UserTime 00:02:40.0203
KernelTime 00:03:38.0390
Start Address kernel32!RegisterWaitForInputIdle (0x77e7d342)
Win32 Start Address t1 (0x00408510)
Stack Init f45ac000 Current f45abc1c Base f45ac000 Limit f45a8000 Call 0
Priority 9 BasePriority 8 PriorityDecrement 1 DecrementCount 16
Kernel stack not resident.
ChildEBP RetAddr Args to Child
f45abc34 804ebd36 816ba090 816ba020 804ec950 nt!KiSwapContext+0x2e (FPO: [EBP 0xf45abc68] [0,0,4])
f45abc40 804ec950 00000103 00000000 81c3f008 nt!KiSwapThread+0x44 (FPO: [0,0,2])
f45abc68 8058dfef 00000001 00000000 00a0f701 nt!KeWaitForSingleObject+0x1c0 (FPO: [Non-Fpo])
f45abc90 805c122a 82179dd0 00000103 822b9990 nt!IopSynchronousServiceTail+0xc4 (FPO: [Non-Fpo])
f45abd34 804da140 00000750 00000000 000000! 00 nt!NtLockFile+0x363
f45abd34 7ffe0304 00000750 00000000 00000000 nt!KiSystemService+0xc4 (FPO: [0,0] TrapFrame @ f45abd64)
00a0fd50 00000000 00000000 00000000 00000000 SharedUserData!SystemCallStub+0x4 (FPO: [0,0,0])
THREAD 81c90020 Cid 3f34.3958 Teb: 7ffdc000 Win32Thread: e12715b0 WAIT: (Executive) UserMode Non-Alertable
81c0f2fc NotificationEvent
IRP List:
81c1d008: (0006,01b4) Flags: 00000000 Mdl: 00000000
Not impersonating
DeviceMap e1ad8e10
Owning Process 815e9da8
Wait Start TickCount 13317672 Elapsed Ticks: 14459737
Context Switch Count 192104 LargeStack
UserTime 00:02:38.0281
KernelTime 00:03:41.0078
Start Address kernel32!RegisterWaitForInputIdle (0x77e7d342)
Win32 Start Address t1 (0x00408510)
Stack Init f40d3000 Current f40d2c1c Base f40d3000 Limit f40cf000 Call 0
Priority 8 BasePriority 8 PriorityDecrement 0 DecrementCount 16
Kernel stack not resident.
ChildEBP RetAddr Args to Child
f40d2c34 804ebd36 81c90090 81c90020 804ec950 nt!KiSwapContext+0x2e (FPO: [EBP 0xf40d2c68] [0,0,4])
f40d2c40 804ec950 00000103 00000000 81c1d008 nt!KiSwapThread+0x44 (FPO: [0,0,2])
f40d2c68 8058dfef 00000001 00000000 00b0f701 nt!KeWaitForSingleObject+0x1c0 (FPO: [Non-Fpo])
f40d2c90 805c122a 82179dd0 00000103 81c0f2a0 nt!IopSynchronousServiceTail+0xc4 (FPO: [Non-Fpo])
f40d2d34 804da140 00000758 00000000 00000000 nt!NtLockFile+0x363
f40d2d34 7ffe0304 00000758 00000000 0000! 0000 nt!KiSystemService+0xc4 (FPO: [0,0] TrapFrame @ f40d2d64)
00b0fd50 00000000 00000000 00000000 00000000 SharedUserData!SystemCallStub+0x4 (FPO: [0,0,0])
THREAD 817e4020 Cid 3f34.3cc0 Teb: 7ffdb000 Win32Thread: e1f90cf8 WAIT: (Executive) UserMode Non-Alertable
8221edcc NotificationEvent
IRP List:
81a40008: (0006,01b4) Flags: 00000000 Mdl: 00000000
817a3320: (0006,01b4) Flags: 00000000 Mdl: 00000000
Not impersonating
DeviceMap e1ad8e10
Owning Process 815e9da8
! Wait Start TickCount 13317727 Elapsed Ticks: 14459682
Context Switch Count 188288 LargeStack
UserTime 00:02:37.0671
KernelTime 00:03:36.0625
Start Address kernel32!RegisterWaitForInputIdle (0x77e7d342)
Win32 Start Address t1 (0x00408510)
Stack Init f8085000 Current f8084c1c Base f8085000 Limit f8081000 Call 0
Priority 8 BasePriority 8 PriorityDecrement 0 DecrementCount 16
Kernel stack not resident.
ChildEBP RetAddr Args to Child
f8084c34 804ebd36 817e4090 817e4020 804ec950 nt!KiSwapContext+0x2e (FPO: [EBP 0xf8084c68] [0,0,4])
f8084c40 804ec950 00000103 00000000 81a40008 nt!KiSwapThread+0x44 (FPO: [0,0,2])
f8084c68 8058dfef 00000001 00000000 00c0f701 nt!KeWaitForSingleObject+0x1c0 (FPO: [Non-Fpo])
f8084c90 805c122a 82179dd0 00000103 8221ed70 nt!IopSynchronousServiceTail+0xc4 (FPO: [Non-Fpo])
f8084d34 804da140 00000754 00000000 000000! 00 nt!NtLockFile+0x363
f8084d34 7ffe0304 00000754 00000000 00000000 nt!KiSystemService+0xc4 (FPO: [0,0] TrapFrame @ f8084d64)
00c0fd50 00000000 00000000 00000000 00000000 SharedUserData!SystemCallStub+0x4 (FPO: [0,0,0])
THREAD 816e4020 Cid 3f34.3cc8 Teb: 7ffda000 Win32Thread: e1e6f008 WAIT: (Executive) UserMode Non-Alertable
822cad24 NotificationEvent
IRP List:
81c12008: (0006,01b4) Flags: 00000000 Mdl: 00000000
81bf8008: (0006,01b4) Flags: 00000000 Mdl: 00000000
Not impersonating
DeviceMap e1ad8e10
Owning Process 815e9da8
! Wait Start TickCount 13317727 Elapsed Ticks: 14459682
Context Switch Count 196189 LargeStack
UserTime 00:02:41.0218
KernelTime 00:03:42.0484
Start Address kernel32!RegisterWaitForInputIdle (0x77e7d342)
Win32 Start Address t1 (0x00408510)
Stack Init f4172000 Current f4171c1c Base f4172000 Limit f416e000 Call 0
Priority 8 BasePriority 8 PriorityDecrement 0 DecrementCount 16
Kernel stack not resident.
ChildEBP RetAddr Args to Child
f4171c34 804ebd36 816e4090 816e4020 804ec950 nt!KiSwapContext+0x2e (FPO: [EBP 0xf4171c68] [0,0,4])
f4171c40 804ec950 00000103 00000000 81c12008 nt!KiSwapThread+0x44 (FPO: [0,0,2])
f4171c68 8058dfef 00000001 00000000 00d0f701 nt!KeWaitForSingleObject+0x1c0 (FPO: [Non-Fpo])
f4171c90 805c122a 82179dd0 00000103 822cacc8 nt!IopSynchronousServiceTail+0xc4 (FPO: [Non-Fpo])
f4171d34 804da140 00000778 00000000 000000! 00 nt!NtLockFile+0x363
f4171d34 7ffe0304 00000778 00000000 00000000 nt!KiSystemService+0xc4 (FPO: [0,0] TrapFrame @ f4171d64)
00d0fd50 00000000 00000000 00000000 00000000 SharedUserData!SystemCallStub+0x4 (FPO: [0,0,0])
THREAD 817f2020 Cid 3f34.3ccc Teb: 7ffd9000 Win32Thread: e12b6eb0 WAIT: (Executive) UserMode Non-Alertable
822cb544 NotificationEvent
IRP List:
81c09008: (0006,01b4) Flags: 00000000 Mdl: 00000000
81c18008: (0006,01b4) Flags: 00000000 Mdl: 00000000
Not impersonating
DeviceMap e1ad8e10
Owning Process 815e9da8
! Wait Start TickCount 13318101 Elapsed Ticks: 14459308
Context Switch Count 190107 LargeStack
UserTime 00:02:38.0156
KernelTime 00:03:39.0937
Start Address kernel32!RegisterWaitForInputIdle (0x77e7d342)
Win32 Start Address t1 (0x00408510)
Stack Init f3fc3000 Current f3fc2c1c Base f3fc3000 Limit f3fbf000 Call 0
Priority 8 BasePriority 8 PriorityDecrement 0 DecrementCount 16
Kernel stack not resident.
ChildEBP RetAddr Args to Child
f3fc2c34 804ebd36 817f2090 817f2020 804ec950 nt!KiSwapContext+0x2e (FPO: [EBP 0xf3fc2c68] [0,0,4])
f3fc2c40 804ec950 00000103 00000000 81c09008 nt!KiSwapThread+0x44 (FPO: [0,0,2])
f3fc2c68 8058dfef 00000001 00000000 0191f701 nt!KeWaitForSingleObject+0x1c0 (FPO: [Non-Fpo])
f3fc2c90 805c122a 82179dd0 00000103 822cb4e8 nt!IopSynchronousServiceTail+0xc4 (FPO: [Non-Fpo])
f3fc2d34 804da140 0000073c 00000000 000000! 00 nt!NtLockFile+0x363
f3fc2d34 7ffe0304 0000073c 00000000 00000000 nt!KiSystemService+0xc4 (FPO: [0,0] TrapFrame @ f3fc2d64)
0191fd50 00000000 00000000 00000000 00000000 SharedUserData!SystemCallStub+0x4 (FPO: [0,0,0])
THREAD 81701020 Cid 3f34.3cd8 Teb: 7ffd8000 Win32Thread: e1f1a728 WAIT: (Executive) UserMode Non-Alertable
822c2764 NotificationEvent
IRP List:
81d60008: (0006,01b4) Flags: 00000000 Mdl: 00000000
Not impersonating
DeviceMap e1ad8e10
Owning Process 815e9da8
Wait Start TickCount 13317371 Elapsed Ticks: 14460038
Context Switch Count 190085 LargeStack
UserTime 00:02:36.0953
KernelTime 00:03:35.0390
Start Address kernel32!RegisterWaitForInputIdle (0x77e7d342)
Win32 Start Address t1 (0x00408510)
Stack Init f42d1000 Current f42d0c1c Base f42d1000 Limit f42cd000 Call 0
Priority 8 BasePriority 8 PriorityDecrement 0 DecrementCount 16
Kernel stack not resident.
ChildEBP RetAddr Args to Child
f42d0c34 804ebd36 81701090 81701020 804ec950 nt!KiSwapContext+0x2e (FPO: [EBP 0xf42d0c68] [0,0,4])
f42d0c40 804ec950 00000103 00000000 81d60008 nt!KiSwapThread+0x44 (FPO: [0,0,2])
f42d0c68 8058dfef 00000001 00000000 0466f701 nt!KeWaitForSingleObject+0x1c0 (FPO: [Non-Fpo])
f42d0c90 805c122a 82179dd0 00000103 822c2708 nt!IopSynchronousServiceTail+0xc4 (FPO: [Non-Fpo])
f42d0d34 804da140 0000072c 00000000 00000000 nt!NtLockFile+0x363
f42d0d34 7ffe0304 0000072c 00000000 0000! 0000 nt!KiSystemService+0xc4 (FPO: [0,0] TrapFrame @ f42d0d64)
0466fd50 00000000 00000000 00000000 00000000 SharedUserData!SystemCallStub+0x4 (FPO: [0,0,0])
THREAD 815d35e0 Cid 3f34.3c1c Teb: 7ffd7000 Win32Thread: 00000000 WAIT: (WrQueue) UserMode Non-Alertable
82172910 Unknown
IRP List:
81c03f68: (0006,0094) Flags: 00000800 Mdl: 00000000
Not impersonating
DeviceMap e1ad8e10
Owning Process 815e9da8
Wait Start TickCount 13321681 Elapsed Ticks: 14455728
Context Switch Count 89
UserTime 00:00:00.0000
KernelTime 00:00:00.0000
Start Address kernel32!RegisterWaitForInputIdle (0x77e7d342)
Win32 Start Address RPCRT4 (0x780015dd)
Stack Init f480f000 Current f480ec70 Base f480f000 Limit f480c000 Call 0
Priority 8 BasePriority 8 PriorityDecrement 0 DecrementCount 0
Kernel ! stack not resident.
ChildEBP RetAddr Args to Child
f480ec88 804ebd36 815d3650 815d35e0 804ed48e nt!KiSwapContext+0x2e (FPO: [EBP 0xf480ecc0] [0,0,4])
f480ec94 804ed48e f480ed64 00000000 8057e11f nt!KiSwapThread+0x44 (FPO: [0,0,2])
f480ecc0 8057e1f6 00000001 0527fe01 00000000 nt!KeRemoveQueue+0x20c (FPO: [Non-Fpo])
f480ed48 804da140 000007bc 0527ff14 0527ff04 nt!NtRemoveIoCompletion+0xdf (FPO: [Non-Fpo])
f480ed48 7ffe0304 000007bc 0527ff14 0527ff04 nt!KiSystemService+0xc4 (FPO: [0,0] TrapFrame @ f480ed64)
0527feec 00000000 00000000 00000000 00000000 SharedUserData!SystemCallStub+0x4 (F! PO: [0,0,0])

kd> !locks
**** DUMP OF ALL RESOURCE OBJECTS ****
KD: Scanning for held locks…
Resource @ 0x81d494cc Exclusively owned
Threads: 81d55468-01<*>
KD: Scanning for held locks…
Resource @ 0xffba3300 Shared 1 owning threads
Threads: 823cddab-01<*> *** Actual Thread 823cdda8
Resource @ 0xff87c2f0 Shared 1 owning threads
Threads: 823cddab-01<*> *** Actual Thread 823cdda8
Resource @ 0xffa2c578 Shared 1 owning threads
Threads: 823cd643-01<*> *** Actual Thread 823cd640
KD: Scanning for held locks…
Resource @ 0x82213368 Shared 1 owning threads
Threads: 823cd643-01<*> *** Actual Thread 823cd640
KD: Scanning for held locks.
Resource @ 0x81646308 Shared 1 owning threads
Threads: 823cd643-01<*> *** Actual Thread 823cd640
2729 total locks, 6 locks currently held


Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage! — Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 You are currently subscribed to ntdev as: xxxxx@storagecraft.com To unsubscribe send a blank email to xxxxx@lists.osr.com

Hi,

Sorry I’m new to driver development. Specifically, what should I look out for in the call stacks?

Thks.

“Maxim S. Shatskih” wrote:
!process 0 7 and look in all call stacks.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: Faith Chua
To: Windows System Software Devs Interest List
Sent: Monday, July 12, 2004 9:30 AM
Subject: [ntdev] Program hang…

Hi,

I am running a multi-threaded test program that do byte lock. However, the test program would hang after some time. Below is the process and locks info from the Windbg.

Could anyone help to advise what are the remedial steps?

Thanks.

kd> !process 815e9da8 7
PROCESS 815e9da8 SessionId: 0 Cid: 3f34 Peb: 7ffdf000 ParentCid: 25c8
DirBase: 07932000 ObjectTable: e1161588 HandleCount: 65.
Image: t1.exe
VadRoot 8196f2f0 Vads 60 Clone 0 Private 17050. Modified 56000020. Locked 0.
DeviceMap e1ad8e10
Token e1d9ee50
ElapsedTime 15:31:12.0437
UserTime 0:15:52.0531
KernelTime 0:21:56.0078
QuotaPoolUsage[PagedPool] 20884
QuotaPoolUsage[NonPagedPool] 2888
Working Set Sizes (now,min,max) (17477, 50, 345) (69908KB, 200KB, 1380KB)
PeakWorkingSetSize 17504
VirtualSize 88 Mb
PeakVirtualSize 96 Mb
PageFaultCount 58117367
MemoryPriority BACKGROUND
BasePriority 8
CommitCharge 17106
THREAD 815e9b30 Cid 3f34.3f00 Teb: 7ffde000 Win32Thread: e1fb9eb0 WAIT: (UserRequest) UserMode Non-Alertable
816ba020 Thread
81a40698 SynchronizationEvent
Not impersonating
DeviceMap e1ad8e10
Owning Process 815e9da8
Wait Start TickCount 13142718 Elapsed Ticks: 14634691
Context Switch Count 1537 LargeStack
UserTime 00:00:00.0031
KernelTime 00:00:03.0625
Start Address kernel32!GetCurrentDirectoryW (0x77e8149f)
Win32 Start Address t1 (0x0040a20c)
Stack Init f41d2000 Current f41d195c Base f41d2000 Limit f41ce000 Call 0
Priority 8 BasePriority 8 PriorityDecrement 0 DecrementCount 16
Kernel stack not resident.
ChildEBP RetAddr Args to Child
f41d1974 804ebd36 00000000 815e9b30 804eda97 nt!KiSwapContext+0x2e (FPO: [EBP 0xf41d19b8] [0,0,4])
f41d1980 804eda97 815e9b30 00000002 00000004 nt!KiSwapThread+0x44 (FPO: [0,0,2])
f41d19b8 8059468e 00000002 f41d19f8 00000001 nt!KeWaitForMultipleObjects+0x282 (FPO: [Non-Fpo])
f41d1d48 804da140 00000002 0012f7dc 00000001 nt!NtWaitForMultipleObjects+0x2eb (FPO: [Non-Fpo])
f41d1d48 7ffe0304 00000002 0012f7dc 00000001 nt!KiSystemService+0xc4 (FPO: [0,0] TrapFrame @ f41d1d64)
0012f830 00000000 00000000 00000000 00000000 SharedUserData!SystemCallStub+0x4 (FPO: [0,0,0])
THREAD 816ba020 Cid 3f34.3ca0 Teb: 7ffdd000 Win32Thread: e1fa6068 WAIT: (Executive) UserMode Non-Alertable
822b99ec NotificationEvent
IRP List:
81c3f008: (0006,01b4) Flags: 00000000 Mdl: 00000000
81c8d250: (0006,01b4) Flags: 00000000 Mdl: 00000000
Not impersonating
DeviceMap e1ad8e10
Owning Process 815e9da8
! Wait Start TickCount 13318007 Elapsed Ticks: 14459402
Context Switch Count 191701 LargeStack
UserTime 00:02:40.0203
KernelTime 00:03:38.0390
Start Address kernel32!RegisterWaitForInputIdle (0x77e7d342)
Win32 Start Address t1 (0x00408510)
Stack Init f45ac000 Current f45abc1c Base f45ac000 Limit f45a8000 Call 0
Priority 9 BasePriority 8 PriorityDecrement 1 DecrementCount 16
Kernel stack not resident.
ChildEBP RetAddr Args to Child
f45abc34 804ebd36 816ba090 816ba020 804ec950 nt!KiSwapContext+0x2e (FPO: [EBP 0xf45abc68] [0,0,4])
f45abc40 804ec950 00000103 00000000 81c3f008 nt!KiSwapThread+0x44 (FPO: [0,0,2])
f45abc68 8058dfef 00000001 00000000 00a0f701 nt!KeWaitForSingleObject+0x1c0 (FPO: [Non-Fpo])
f45abc90 805c122a 82179dd0 00000103 822b9990 nt!IopSynchronousServiceTail+0xc4 (FPO: [Non-Fpo])
f45abd34 804da140 00000750 00000000 000000! 00 nt!NtLockFile+0x363
f45abd34 7ffe0304 00000750 00000000 00000000 nt!KiSystemService+0xc4 (FPO: [0,0] TrapFrame @ f45abd64)
00a0fd50 00000000 00000000 00000000 00000000 SharedUserData!SystemCallStub+0x4 (FPO: [0,0,0])
THREAD 81c90020 Cid 3f34.3958 Teb: 7ffdc000 Win32Thread: e12715b0 WAIT: (Executive) UserMode Non-Alertable
81c0f2fc NotificationEvent
IRP List:
81c1d008: (0006,01b4) Flags: 00000000 Mdl: 00000000
Not impersonating
DeviceMap e1ad8e10
Owning Process 815e9da8
Wait Start TickCount 13317672 Elapsed Ticks: 14459737
Context Switch Count 192104 LargeStack
UserTime 00:02:38.0281
KernelTime 00:03:41.0078
Start Address kernel32!RegisterWaitForInputIdle (0x77e7d342)
Win32 Start Address t1 (0x00408510)
Stack Init f40d3000 Current f40d2c1c Base f40d3000 Limit f40cf000 Call 0
Priority 8 BasePriority 8 PriorityDecrement 0 DecrementCount 16
Kernel stack not resident.
ChildEBP RetAddr Args to Child
f40d2c34 804ebd36 81c90090 81c90020 804ec950 nt!KiSwapContext+0x2e (FPO: [EBP 0xf40d2c68] [0,0,4])
f40d2c40 804ec950 00000103 00000000 81c1d008 nt!KiSwapThread+0x44 (FPO: [0,0,2])
f40d2c68 8058dfef 00000001 00000000 00b0f701 nt!KeWaitForSingleObject+0x1c0 (FPO: [Non-Fpo])
f40d2c90 805c122a 82179dd0 00000103 81c0f2a0 nt!IopSynchronousServiceTail+0xc4 (FPO: [Non-Fpo])
f40d2d34 804da140 00000758 00000000 00000000 nt!NtLockFile+0x363
f40d2d34 7ffe0304 00000758 00000000 0000! 0000 nt!KiSystemService+0xc4 (FPO: [0,0] TrapFrame @ f40d2d64)
00b0fd50 00000000 00000000 00000000 00000000 SharedUserData!SystemCallStub+0x4 (FPO: [0,0,0])
THREAD 817e4020 Cid 3f34.3cc0 Teb: 7ffdb000 Win32Thread: e1f90cf8 WAIT: (Executive) UserMode Non-Alertable
8221edcc NotificationEvent
IRP List:
81a40008: (0006,01b4) Flags: 00000000 Mdl: 00000000
817a3320: (0006,01b4) Flags: 00000000 Mdl: 00000000
Not impersonating
DeviceMap e1ad8e10
Owning Process 815e9da8
! Wait Start TickCount 13317727 Elapsed Ticks: 14459682
Context Switch Count 188288 LargeStack
UserTime 00:02:37.0671
KernelTime 00:03:36.0625
Start Address kernel32!RegisterWaitForInputIdle (0x77e7d342)
Win32 Start Address t1 (0x00408510)
Stack Init f8085000 Current f8084c1c Base f8085000 Limit f8081000 Call 0
Priority 8 BasePriority 8 PriorityDecrement 0 DecrementCount 16
Kernel stack not resident.
ChildEBP RetAddr Args to Child
f8084c34 804ebd36 817e4090 817e4020 804ec950 nt!KiSwapContext+0x2e (FPO: [EBP 0xf8084c68] [0,0,4])
f8084c40 804ec950 00000103 00000000 81a40008 nt!KiSwapThread+0x44 (FPO: [0,0,2])
f8084c68 8058dfef 00000001 00000000 00c0f701 nt!KeWaitForSingleObject+0x1c0 (FPO: [Non-Fpo])
f8084c90 805c122a 82179dd0 00000103 8221ed70 nt!IopSynchronousServiceTail+0xc4 (FPO: [Non-Fpo])
f8084d34 804da140 00000754 00000000 000000! 00 nt!NtLockFile+0x363
f8084d34 7ffe0304 00000754 00000000 00000000 nt!KiSystemService+0xc4 (FPO: [0,0] TrapFrame @ f8084d64)
00c0fd50 00000000 00000000 00000000 00000000 SharedUserData!SystemCallStub+0x4 (FPO: [0,0,0])
THREAD 816e4020 Cid 3f34.3cc8 Teb: 7ffda000 Win32Thread: e1e6f008 WAIT: (Executive) UserMode Non-Alertable
822cad24 NotificationEvent
IRP List:
81c12008: (0006,01b4) Flags: 00000000 Mdl: 00000000
81bf8008: (0006,01b4) Flags: 00000000 Mdl: 00000000
Not impersonating
DeviceMap e1ad8e10
Owning Process 815e9da8
! Wait Start TickCount 13317727 Elapsed Ticks: 14459682
Context Switch Count 196189 LargeStack
UserTime 00:02:41.0218
KernelTime 00:03:42.0484
Start Address kernel32!RegisterWaitForInputIdle (0x77e7d342)
Win32 Start Address t1 (0x00408510)
Stack Init f4172000 Current f4171c1c Base f4172000 Limit f416e000 Call 0
Priority 8 BasePriority 8 PriorityDecrement 0 DecrementCount 16
Kernel stack not resident.
ChildEBP RetAddr Args to Child
f4171c34 804ebd36 816e4090 816e4020 804ec950 nt!KiSwapContext+0x2e (FPO: [EBP 0xf4171c68] [0,0,4])
f4171c40 804ec950 00000103 00000000 81c12008 nt!KiSwapThread+0x44 (FPO: [0,0,2])
f4171c68 8058dfef 00000001 00000000 00d0f701 nt!KeWaitForSingleObject+0x1c0 (FPO: [Non-Fpo])
f4171c90 805c122a 82179dd0 00000103 822cacc8 nt!IopSynchronousServiceTail+0xc4 (FPO: [Non-Fpo])
f4171d34 804da140 00000778 00000000 000000! 00 nt!NtLockFile+0x363
f4171d34 7ffe0304 00000778 00000000 00000000 nt!KiSystemService+0xc4 (FPO: [0,0] TrapFrame @ f4171d64)
00d0fd50 00000000 00000000 00000000 00000000 SharedUserData!SystemCallStub+0x4 (FPO: [0,0,0])
THREAD 817f2020 Cid 3f34.3ccc Teb: 7ffd9000 Win32Thread: e12b6eb0 WAIT: (Executive) UserMode Non-Alertable
822cb544 NotificationEvent
IRP List:
81c09008: (0006,01b4) Flags: 00000000 Mdl: 00000000
81c18008: (0006,01b4) Flags: 00000000 Mdl: 00000000
Not impersonating
DeviceMap e1ad8e10
Owning Process 815e9da8
! Wait Start TickCount 13318101 Elapsed Ticks: 14459308
Context Switch Count 190107 LargeStack
UserTime 00:02:38.0156
KernelTime 00:03:39.0937
Start Address kernel32!RegisterWaitForInputIdle (0x77e7d342)
Win32 Start Address t1 (0x00408510)
Stack Init f3fc3000 Current f3fc2c1c Base f3fc3000 Limit f3fbf000 Call 0
Priority 8 BasePriority 8 PriorityDecrement 0 DecrementCount 16
Kernel stack not resident.
ChildEBP RetAddr Args to Child
f3fc2c34 804ebd36 817f2090 817f2020 804ec950 nt!KiSwapContext+0x2e (FPO: [EBP 0xf3fc2c68] [0,0,4])
f3fc2c40 804ec950 00000103 00000000 81c09008 nt!KiSwapThread+0x44 (FPO: [0,0,2])
f3fc2c68 8058dfef 00000001 00000000 0191f701 nt!KeWaitForSingleObject+0x1c0 (FPO: [Non-Fpo])
f3fc2c90 805c122a 82179dd0 00000103 822cb4e8 nt!IopSynchronousServiceTail+0xc4 (FPO: [Non-Fpo])
f3fc2d34 804da140 0000073c 00000000 000000! 00 nt!NtLockFile+0x363
f3fc2d34 7ffe0304 0000073c 00000000 00000000 nt!KiSystemService+0xc4 (FPO: [0,0] TrapFrame @ f3fc2d64)
0191fd50 00000000 00000000 00000000 00000000 SharedUserData!SystemCallStub+0x4 (FPO: [0,0,0])
THREAD 81701020 Cid 3f34.3cd8 Teb: 7ffd8000 Win32Thread: e1f1a728 WAIT: (Executive) UserMode Non-Alertable
822c2764 NotificationEvent
IRP List:
81d60008: (0006,01b4) Flags: 00000000 Mdl: 00000000
Not impersonating
DeviceMap e1ad8e10
Owning Process 815e9da8
Wait Start TickCount 13317371 Elapsed Ticks: 14460038
Context Switch Count 190085 LargeStack
UserTime 00:02:36.0953
KernelTime 00:03:35.0390
Start Address kernel32!RegisterWaitForInputIdle (0x77e7d342)
Win32 Start Address t1 (0x00408510)
Stack Init f42d1000 Current f42d0c1c Base f42d1000 Limit f42cd000 Call 0
Priority 8 BasePriority 8 PriorityDecrement 0 DecrementCount 16
Kernel stack not resident.
ChildEBP RetAddr Args to Child
f42d0c34 804ebd36 81701090 81701020 804ec950 nt!KiSwapContext+0x2e (FPO: [EBP 0xf42d0c68] [0,0,4])
f42d0c40 804ec950 00000103 00000000 81d60008 nt!KiSwapThread+0x44 (FPO: [0,0,2])
f42d0c68 8058dfef 00000001 00000000 0466f701 nt!KeWaitForSingleObject+0x1c0 (FPO: [Non-Fpo])
f42d0c90 805c122a 82179dd0 00000103 822c2708 nt!IopSynchronousServiceTail+0xc4 (FPO: [Non-Fpo])
f42d0d34 804da140 0000072c 00000000 00000000 nt!NtLockFile+0x363
f42d0d34 7ffe0304 0000072c 00000000 0000! 0000 nt!KiSystemService+0xc4 (FPO: [0,0] TrapFrame @ f42d0d64)
0466fd50 00000000 00000000 00000000 00000000 SharedUserData!SystemCallStub+0x4 (FPO: [0,0,0])
THREAD 815d35e0 Cid 3f34.3c1c Teb: 7ffd7000 Win32Thread: 00000000 WAIT: (WrQueue) UserMode Non-Alertable
82172910 Unknown
IRP List:
81c03f68: (0006,0094) Flags: 00000800 Mdl: 00000000
Not impersonating
DeviceMap e1ad8e10
Owning Process 815e9da8
Wait Start TickCount 13321681 Elapsed Ticks: 14455728
Context Switch Count 89
UserTime 00:00:00.0000
KernelTime 00:00:00.0000
Start Address kernel32!RegisterWaitForInputIdle (0x77e7d342)
Win32 Start Address RPCRT4 (0x780015dd)
Stack Init f480f000 Current f480ec70 Base f480f000 Limit f480c000 Call 0
Priority 8 BasePriority 8 PriorityDecrement 0 DecrementCount 0
Kernel ! stack not resident.
ChildEBP RetAddr Args to Child
f480ec88 804ebd36 815d3650 815d35e0 804ed48e nt!KiSwapContext+0x2e (FPO: [EBP 0xf480ecc0] [0,0,4])
f480ec94 804ed48e f480ed64 00000000 8057e11f nt!KiSwapThread+0x44 (FPO: [0,0,2])
f480ecc0 8057e1f6 00000001 0527fe01 00000000 nt!KeRemoveQueue+0x20c (FPO: [Non-Fpo])
f480ed48 804da140 000007bc 0527ff14 0527ff04 nt!NtRemoveIoCompletion+0xdf (FPO: [Non-Fpo])
f480ed48 7ffe0304 000007bc 0527ff14 0527ff04 nt!KiSystemService+0xc4 (FPO: [0,0] TrapFrame @ f480ed64)
0527feec 00000000 00000000 00000000 00000000 SharedUserData!SystemCallStub+0x4 (F! PO: [0,0,0])

kd> !locks
DUMP OF ALL RESOURCE OBJECTS
KD: Scanning for held locks…
Resource @ 0x81d494cc Exclusively owned
Threads: 81d55468-01<>
KD: Scanning for held locks…
Resource @ 0xffba3300 Shared 1 owning threads
Threads: 823cddab-01<
> Actual Thread 823cdda8
Resource @ 0xff87c2f0 Shared 1 owning threads
Threads: 823cddab-01<
>
* Actual Thread 823cdda8
Resource @ 0xffa2c578 Shared 1 owning threads
Threads: 823cd643-01<> Actual Thread 823cd640
KD: Scanning for held locks…
Resource @ 0x82213368 Shared 1 owning threads
Threads: 823cd643-01<
>
Actual Thread 823cd640
KD: Scanning for held locks.
Resource @ 0x81646308 Shared 1 owning threads
Threads: 823cd643-01<*> *** Actual Thread 823cd640
2729 total locks, 6 locks currently held

---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage! — Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 You are currently subscribed to ntdev as: xxxxx@storagecraft.com To unsubscribe send a blank email to xxxxx@lists.osr.com—
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@yahoo.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

---------------------------------
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.

Calls like ExAcquireFastMutex or ExAcquirexxxResourceXxx.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

No such call is found in the call stacks.
What’s next?

Thanks.

“Maxim S. Shatskih” wrote:
Calls like ExAcquireFastMutex or ExAcquirexxxResourceXxx.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@yahoo.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

---------------------------------
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.