|
Here's an example command that the hang-analyzer tried to run:
['C:\\Program Files (x86)\\Windows Kits\\8.1\\Debuggers\\x64\\cdb.exe', '-c', '.symfix;!sym noisy;.symopt +0x10;.reload;!peb;lm;;!uniqstack -pn;!cs -l;.detach;.attach 4328;!peb;lm;;!uniqstack -pn;!cs -l;.detach;.attach 4928;!peb;lm;;!uniqstack -pn;!cs -l;.detach;q', '-p', '4276']
|
It was able to attach to the first process (4276, specified with -p) and print the stacktrace, but failed to attach to the other 2 (which I tried to attach to using .attach PID. Here was the error:
Bad symbols for NTDLL (error 3). Aborting.
|
Detached
|
Cannot debug pid 17192, Win32 error 0n87
|
"The parameter is incorrect."
|
Unable to initialize target, Win32 error 0n87
|
No export peb found
|
^ Illegal thread error in '.symfix;!sym noisy;.symopt +0x10;.reload;!peb;lm;;!uniqstack -pn;!cs -l;.detach;.attach 4328;!peb;lm;;!uniqstack -pn;!cs -l;.detach;.attach 4928;!peb;lm;;!uniqstack -pn;!cs -l;.detach;q'
|
I also tried removing the -p option and using .attach for all 3 pids. When I did so, the command did not run at all and printed the help message. I tried running with -pv and -pr but got the same thing.
|