观察出错的线程,可知你这个KILL PROCESS BY APC的DEVICE IO CONTROL正在执行
kd> !thread
GetPointerFromAddress: unable to read from 80558bb4
THREAD 8155d020 Cid 05b8.0240 Teb: 7ffdf000 Win32Thread: e1079330 RUNNING on processor 0
IRP List:
8159d388: (0006,0094) Flags: 00000030 Mdl: 00000000
Not impersonating
GetUlongFromAddress: unable to read from 80558bc4
Owning Process 0 Image: <Unknown>
Attached Process 8157d688 Image: Project1.exe
ffdf0000: Unable to get shared data
Wait Start TickCount 48082
Context Switch Count 708 LargeStack
ReadMemory error: Cannot get nt!KeMaximumIncrement value.
UserTime 00:00:00.000
KernelTime 00:00:00.000
Win32 Start Address 0x004013f0
Start Address 0x7c810665
Stack Init f796e000 Current f796d724 Base f796e000 Limit f7968000 Call 0
Priority 10 BasePriority 8 PriorityDecrement 0 DecrementCount 16
ChildEBP RetAddr Args to Child
f796dbbc f9ca01e4 815ecda0 0000e411 8155d230 nt!CcSetFileSizes+0x16b (FPO: [2,8,4])
WARNING: Stack unwind information not available. Following frames may be wrong.
f796dc34 804eedf9 8165f778 8159d388 806d12d0 Listprocess+0x31e4
f796dc44 80574b3a 8159d3f8 8153af90 8159d388 nt!IopfCallDriver+0x31 (FPO: [0,0,0])
f796dc58 805759c9 8165f778 8159d388 8153af90 nt!IopSynchronousServiceTail+0x60 (FPO: [7,0,4])
f796dd00 8056e326 000000b8 00000000 00000000 nt!IopXxxControlFile+0x5e7 (FPO: [Non-Fpo])
f796dd34 8053d808 000000b8 00000000 00000000 nt!NtDeviceIoControlFile+0x2a (FPO: [10,0,0])
f796dd34 7c92eb94 000000b8 00000000 00000000 nt!KiFastCallEntry+0xf8 (FPO: [0,0] TrapFrame @ f796dd64)
0012fca4 00000000 00000000 00000000 00000000 0x7c92eb94
当前IRP为8159d388
kd> !irp 8159d388
Irp is active with 1 stacks 1 is current (= 0x8159d3f8)
No Mdl: System buffer=81744bf8: Thread 8155d020: Irp stack trace.
cmd *** cl Device File Completion-Context
>[ e, 0] 5 0 8165f778 8153af90 00000000-00000000
8165f778: Could not read device object or _DEVICE_OBJECT not found