RFC: 8216472: Stack overflow followed by crash

Alan Bateman Alan.Bateman at oracle.com
Sat Nov 9 08:22:00 UTC 2019


On 08/11/2019 16:30, Alex Kashchenko wrote:
>
> Crash itself is reproduced, I am getting it reliably (and it happens 
> much faster with simplified test). Just the hs_err file is not written 
> by JVM. When being run directly, system dialog "Program Has Stopped 
> Working" is displayed instead with details pointing to mswsock.dll 
> (that is called in select() call). For jtreg runs this new behaviour 
> seems not to not change much (process dies and test fails with both 
> old and new variants).
>
> With initial test, hs_err was written most of the times, but not 
> always. As I understand it is not written if process steps over the 
> "red stack zone" and is killed by OS immediately.
>
I ran on an unpatched JDK and the test is failing in jtreg and passing 
with the patch. So I think the test is ago. I'll sponsor this change and 
push it today if I can get time.

-Alan


More information about the nio-dev mailing list