On Thu, 5 Mar 2020 14:51:03 GMT, Arun Joseph <ajos...@openjdk.org> wrote:

> Issue: The stack pointer is checked close to the stack limit during the last 
> iteration of calling frameLoaded() and then, grows beyond the thread's stack 
> range causing a stack overflow and crashes. This occurs as the stack grows by 
> an amount larger than the reserved zone at the end of the stack.
> 
> Fix: Reduce the stack range visible to the thread in 
> [StackBounds.cpp](https://github.com/openjdk/jfx/blob/master/modules/javafx.web/src/main/native/Source/WTF/wtf/StackBounds.cpp)
>  similar to Mac and Linux. This causes the stack pointer check to throw a 
> StackOverflowError during the last iteration.

I did a full build / test and verified that on Windows 32-bit the 
apply-style-iframe-crash.html test crashes without the fix and passes with the 
fix.

-------------

Marked as reviewed by kcr (Lead).

PR: https://git.openjdk.java.net/jfx/pull/137

Reply via email to