RFR: 8079441: Intermittent failures on Windows with "Unexpected exit from test [exit code: 1080890248]" (0x406d1388)
Ioi Lam
ioi.lam at oracle.com
Tue Jan 10 19:30:49 UTC 2017
Looks good to me.
Thanks
- Ioi
On 1/10/17 2:14 AM, Robbin Ehn wrote:
> Hi all, please review.
>
> We still have exit code 1080890248/0x406d1388 on windows when running
> kitchensink.
> Since this is the same value as windows thread name exception:
> http://msdn.microsoft.com/en-us/library/xcb2z8hs.aspx
> and we are still suspicious about this.
>
> This is not a bug fix per se, but it will determine if this exception
> is the cause of this
> and if so only when a debugger is attached this failure can happen.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8079441
>
> Tested with windbg and passes winx64 hotspot_jprt.
>
> /Robbin
>
> --- a/src/os/windows/vm/os_windows.cpp Mon Jan 09 19:36:47 2017 +0000
> +++ b/src/os/windows/vm/os_windows.cpp Tue Jan 10 11:00:45 2017 +0100
> @@ -777,6 +777,11 @@
> // Note that unfortunately this only works if the process
> // is already attached to a debugger; debugger must observe
> // the exception below to show the correct name.
> +
> + // If there is no debugger attached skip raising the exception
> + if (!IsDebuggerPresent()) {
> + return;
> + }
>
> const DWORD MS_VC_EXCEPTION = 0x406D1388;
> struct {
More information about the hotspot-runtime-dev
mailing list