Hartmut Birr wrote:
I've test your changes (r20579 with r20601,20605,20606).
KeAbortWaitThread is called for waiting threads only. But I'm running in
another problem. Compiling ros on ros (with the nice parameter '-j2')
hangs after some time. If I look to taskmgr or ctm, only the idle thread
consumes cpu power. Sometimes I can stop the compiling with Ctrl-C,
sometimes not. I wasn't able to compile ros on the smp machine. On the
up machine, one of four compile runs does finish.
- Hartmut
Hi Hartmut,
try ps.exe and dump all the threads and processes.
Thanks,
James
I've attached the output from PS. It seems, it isn't possible to
terminate AS. AS has no running threads.
- Hartmut
P PID PPID KTime UTime NAME
t TID KTime UTime State WaitResson
w PID Hwnd WndStile TID WndName
P 0 0 0:07:27 0:00:00 ProcName:
P 4 0 0:00:17 0:00:00 ProcName: System
t 8 8:44:17 0:00:00 Wait WrQueue
t 12 8:44:17 0:00:00 Wait WrQueue
t 16 8:44:17 0:00:00 Wait WrQueue
t 20 8:44:19 0:00:00 Wait WrQueue
t 24 8:44:18 0:00:00 Ready Executive
t 28 8:44:17 0:00:00 Wait WrQueue
t 32 8:44:17 0:00:00 Wait WrQueue
t 36 8:44:17 0:00:00 Ready Executive
t 40 8:44:21 0:00:00 Wait WrQueue
t 44 8:44:17 0:00:00 Wait Executive
t 48 8:44:18 0:00:00 Wait Executive
t 52 8:44:24 0:00:00 Wait Executive
t 56 8:44:17 0:00:00 Wait Executive
t 60 8:44:17 0:00:00 Wait Executive
t 64 8:44:22 0:00:00 Wait Executive
t 68 8:44:17 0:00:00 Wait DelayExecution
t 72 8:44:17 0:00:00 Wait Executive
t 76 8:44:18 0:00:00 Wait Executive
t 128 8:44:17 0:00:00 Wait Executive
t 132 8:44:20 0:00:00 Wait Executive
t 264 8:44:18 0:00:00 Wait Executive
P 80 4 0:00:00 0:00:00 ProcName: smss.exe
t 88 8:44:17 0:00:00 Wait UserRequest
t 92 8:44:17 0:00:00 Wait UserRequest
t 96 8:44:17 0:00:00 Wait UserRequest
t 100 8:44:17 0:00:00 Wait UserRequest
t 104 8:44:17 0:00:00 Wait UserRequest
t 120 8:44:17 0:00:00 Wait UserRequest
P 108 80 0:01:54 0:00:01 ProcName: csrss.exe
t 84 8:44:17 0:00:00 Wait UserRequest
t 124 8:44:18 0:00:00 Wait UserRequest
t 136 8:44:17 0:00:00 Wait UserRequest
t 140 8:44:18 0:00:00 Wait Executive
t 152 8:44:19 0:00:00 Wait UserRequest
t 156 8:44:17 0:00:00 Wait UserRequest
t 160 8:44:20 0:00:00 Wait Executive
w 108 20020 96000000 160
t 164 8:44:18 0:00:00 Wait Executive
w 108 20022 86000000 164
t 168 8:44:17 0:00:00 Wait Executive
w 108 20024 86000000 168
t 180 8:44:19 0:00:00 Wait UserRequest
t 196 8:44:17 0:00:00 Wait UserRequest
t 208 8:44:17 0:00:00 Wait UserRequest
t 228 8:44:17 0:00:00 Wait UserRequest
t 252 8:44:17 0:00:00 Wait UserRequest
t 316 8:44:17 0:00:00 Wait UserRequest
t 328 8:44:18 0:00:00 Wait UserRequest
t 332 8:46:13 0:00:00 Wait Executive
w 108 200d4 04cf0000 332
w 108 200d6 14ca0000 332 Command Prompt
w 108 200de 14ca0000 332 Command Prompt
t 340 8:44:18 0:00:00 Wait UserRequest
t 380 8:44:17 0:00:00 Wait UserRequest
t 400 8:44:17 0:00:00 Wait UserRequest
t 412 8:44:17 0:00:00 Wait UserRequest
P 144 108 0:00:00 0:00:00 ProcName: winlogon.exe
t 148 8:44:18 0:00:00 Wait UserRequest
w 144 20032 84000000 148 SAS
P 172 144 0:00:00 0:00:00 ProcName: services.exe
t 176 8:44:19 0:00:00 Wait Executive
t 184 8:44:17 0:00:00 Wait UserRequest
P 188 172 0:00:00 0:00:00 ProcName: eventlog.exe
t 192 8:44:19 0:00:00 Wait UserRequest
t 204 8:44:17 0:00:00 Wait UserRequest
t 200 8:44:19 0:00:00 Wait UserRequest
P 212 172 0:00:00 0:00:00 ProcName: umpnpmgr.exe
t 216 8:44:19 0:00:00 Wait UserRequest
t 224 8:44:19 0:00:00 Wait UserRequest
t 236 8:44:19 0:00:00 Wait UserRequest
t 256 8:44:19 0:00:00 Wait UserRequest
t 268 8:44:19 0:00:00 Wait UserRequest
t 272 8:44:19 0:00:00 Wait UserRequest
t 276 8:44:19 0:00:00 Wait UserRequest
t 280 8:44:19 0:00:00 Wait UserRequest
t 284 8:44:19 0:00:00 Wait UserRequest
t 288 8:44:19 0:00:00 Wait UserRequest
t 292 8:44:18 0:00:00 Wait UserRequest
t 296 8:44:19 0:00:00 Wait UserRequest
t 308 8:44:19 0:00:00 Wait UserRequest
t 312 8:44:19 0:00:00 Wait UserRequest
P 232 172 0:00:00 0:00:00 ProcName: dhcp.exe
t 220 8:44:18 0:00:00 Wait DelayExecution
t 240 8:44:17 0:00:00 Wait Executive
P 244 144 0:00:00 0:00:00 ProcName: userinit.exe
t 248 8:44:18 0:00:00 Wait UserRequest
P 300 244 0:00:01 0:00:00 ProcName: explorer.exe
t 304 8:44:22 0:00:00 Wait Executive
w 300 60040 84000000 304
w 300 20042 84000000 304
w 300 20044 84000000 304
w 300 20046 84000000 304
w 300 2006c 04c00000 304
w 300 20074 94000000 304 Program Manager
w 300 20076 50010000 304 Program Manager
w 300 20078 56010340 304 Program Manager
w 300 2007c 40000002 304 Program Manager
w 300 20088 96040000 304 Program Manager
w 300 2008c 5000000b 304 Start
w 300 20090 50000045 304 Running Applications
w 300 20092 56001341 304 Running Applications
w 300 20094 84800000 304 Running Applications
w 300 20096 52000000 304 Running Applications
w 300 20098 84800003 304 Running Applications
w 300 2009a 50000000 304 Running Applications
w 300 2009c 84800003 304 Running Applications
w 300 2009e 56000b4d 304 Running Applications
w 300 200a0 84800001 304 Running Applications
w 300 200a2 5600a249 304 Running Applications
w 300 200aa 86040000 304 Start Menu
P 260 300 0:00:00 0:00:00 ProcName: cmd.exe
t 324 8:44:18 0:00:00 Wait UserRequest
P 344 260 0:00:04 0:00:00 ProcName: _make.EXE
t 336 8:44:31 0:00:00 Wait UserRequest
P 372 300 0:00:00 0:00:00 ProcName: cmd.exe
t 376 8:44:19 0:00:00 Wait UserRequest
P 360 344 0:00:00 0:00:00 ProcName: gcc.exe
t 404 8:44:19 0:00:00 Wait UserRequest
P 396 360 0:00:00 0:00:00 ProcName: as.exe