RFR: JDK-8245660: Try to recover from "Windbg Error: WaitForEvent failed" error

Chris Plummer chris.plummer at oracle.com
Sat May 23 00:12:42 UTC 2020


Hi Alex,

I think this is a good experiment, but I don't really see a reason to 
push the change and wait for a failure to pop up in CI testing. I think 
you should be able to get the data you are looking for with adhoc runs. 
I find it pretty easy to reproduce by just running all the SA tests 
about 100 times (maybe more). In fact it was so noisy for me when I was 
trying to reproduce some very rare x86 failures that I stopped doing the 
testing on windows and just stuck with osx and linux.

Is there a reason the 2nd AttachProcess() does not re-fetch 
ptrIDebugControl_ID? Is it sure to be the same value as with the first 
attach?

thanks,

Chris

On 5/22/20 3:51 PM, Alex Menkov wrote:
> Hi all,
>
> Please review the fix for
> https://bugs.openjdk.java.net/browse/JDK-8245660
> webrev:
> http://cr.openjdk.java.net/~amenkov/jdk15/windbg_waitForEvent_try/webrev/
>
> This is temporary change to try different approaches to fix
> https://bugs.openjdk.java.net/browse/JDK-8204994 (SA might fail to 
> attach to process with "Windbg Error: WaitForEvent failed")
>
> --alex
>



More information about the serviceability-dev mailing list