Re: status behind JDK-8149738

2016-04-14 Thread Matthieu BROUILLARD
Many thanks to you and all the OpenJDK commiters for the great work &
support that you provide.

Matthieu

On Wed, Apr 13, 2016 at 7:49 PM, Guru Hb  wrote:

> Hi Matthieu,
>
> I could re-produce the crash as you have mentioned. Thanks for helping out
> to for the html test content.
>
> Please keep an eye on JI-9035239 for further updates.
>
> Thanks,
> Guru
>
>
> On 13/4/16 9:13 PM, Matthieu BROUILLARD wrote:
>
> Hi Guru,
>
> I have filled an issue in http://bugreport.java.com/ ; denominated for
> the moment JI-9035239.
>
> I have a simple reproducer test app that I also put in the bug report:
> 
> https://gist.github.com/McFoggy/e6166349b8ea012c925665fcf9625501
>
> The problem occures when colgroups>col width are reset/recomputed only. If
> in the webapp you uncheck the "Clear col sizes" combobox then the app
> should work correctly.
> If at startup you uncheck it ; it will normally work. What is weird is
> that if then you re-check it ; it will continue to work and will not fail
> anymore.
>
> Notice that with this simple reproducer test case I now reproduce the
> problem not only on 32bits versions but also on 64bits 8u74 & 8u77.
>
> Thanks
>
> Matthieu
>
>
> On Wed, Apr 13, 2016 at 5:07 AM, Guru Hb  wrote:
>
>> Hi Matthieu,
>>
>> If you could update the re-producer html/js in the JBS would be very help
>> full.
>>
>> I could reproduce with
>> http://advanced-gwt.sourceforge.net/demo/index.html --> "Click Heading
>> (Caption)" --> Crash. There are multiple Table listed in the left panel,
>> where i can re-produce the crash which originates from
>> "com.sun.webkit.WebPage.twkProcessMouseEvent".
>>
>> Thanks,
>> Guru
>>
>> On 12/4/16 10:00 PM, Matthieu BROUILLARD wrote:
>>
>> Hi Guru,
>>
>> I think I have isolated the problem ; it relates to GWT FlexTable (with
>> fixed column & row size) that is cleaned and refilled.
>> Tomorrow I'll build a clean GWT reproducer app and will send it to you.
>> I'll also do the exact same in pure html/js without GWT being involved.
>>
>> Matthieu
>>
>>
>> On Tue, Apr 12, 2016 at 11:18 AM, Guru Hb < 
>> guru...@oracle.com> wrote:
>>
>>> Thank you Matthieu,
>>>
>>> Let me create a sample GWT web  application with tabs along with the use
>>> case mentioned below. Will update the status in the JBS.
>>>
>>> Thanks,
>>> Guru
>>>
>>>
>>> On 12/4/16 2:26 PM, Matthieu BROUILLARD wrote:
>>>
>>> Hi,
>>>
>>> let me try to give more insights
>>>
>>> *>>> 0. resume of running and crashing JVMs*
>>> 64 bits: all tested work (at least issue not reproduced)
>>> 32 bits:
>>>- 8u74-i586, 8u60-i586: fail
>>>- 8u45-i586: OK
>>>
>>> *>>> 00. Application under test*
>>> We have simplified the reproducer JavaFX app as "just" a simple webview
>>> opening our GWT webapplication.
>>> There's no magic here, just a call to load() method on the WebEngine of
>>> a WebView.
>>>
>>> *>>> 1. What Content is loaded to WebEngine. (Live webpage or custom
>>> content)*
>>> It is a dynamic GWT webapplication.
>>> When launched, the application loads correctly: dynamic content
>>> (multiple dynamic parts in the app) is created/loaded/shown.
>>> The loaded page shows several tabs, when clicking on a tab the JVM
>>> crashes.
>>>
>>> *>>> 2. which mouse event lead to crash (Right / left click, Double
>>> click, Scroll)*
>>> single left click.
>>>
>>> *>>> 3. W.r.t 2nd point, is there a pop-up dialog exist ? or what was
>>> the html element under which mouse event triggered (Input element, Editable
>>> div, Form elements, Image , upload dialog, table,etc).*
>>> it is a simple div element that is CSS styled.
>>>
>>> *>>> 4. Any Modal Dialog used in the application under test , which will
>>> be used as a call back to an event from WebEngine ?*
>>> No in this case our JavaFX reproducer app, is nothing more than:
>>> ...
>>> WebView wv = new WebView();
>>> wv.getEngine().load(" http://ourwebapp;);
>>> ...
>>>
>>> In our global product we have indeed interaction between the host JVM &
>>> the webapp ; but here we reproduce the crash with a simple app consisting
>>> of the 2 lines above.
>>>
>>>
>>> On Tue, Apr 12, 2016 at 9:41 AM, Guru Hb < 
>>> guru...@oracle.com> wrote:
>>>
 Hi Matthieu,

 Crash is due to Mouse event is not handled correctly from WebView
 context.

 Could you please provide these details.

 1. What Content is loaded to WebEngine. (Live webpage or custom content)
 2. which mouse event lead to crash (Right / left click, Double click,
 Scroll)
 3. W.r.t 2nd point, is there a pop-up dialog exist ? or what was the
 html element under which mouse event triggered (Input element, Editable
 div, Form elements, Image , upload dialog, table,etc).
 4. Any Modal Dialog used in the application under test , which will be
 used as a call back to an event from WebEngine ?

Re: status behind JDK-8149738

2016-04-13 Thread Guru Hb

Hi Matthieu,

I could re-produce the crash as you have mentioned. Thanks for helping 
out to for the html test content.


Please keep an eye on JI-9035239 for further updates.

Thanks,
Guru

On 13/4/16 9:13 PM, Matthieu BROUILLARD wrote:

Hi Guru,

I have filled an issue in http://bugreport.java.com/ ; denominated for 
the moment JI-9035239.


I have a simple reproducer test app that I also put in the bug report: 
https://gist.github.com/McFoggy/e6166349b8ea012c925665fcf9625501


The problem occures when colgroups>col width are reset/recomputed 
only. If in the webapp you uncheck the "Clear col sizes" combobox then 
the app should work correctly.
If at startup you uncheck it ; it will normally work. What is weird is 
that if then you re-check it ; it will continue to work and will not 
fail anymore.


Notice that with this simple reproducer test case I now reproduce the 
problem not only on 32bits versions but also on 64bits 8u74 & 8u77.


Thanks

Matthieu


On Wed, Apr 13, 2016 at 5:07 AM, Guru Hb > wrote:


Hi Matthieu,

If you could update the re-producer html/js in the JBS would be
very help full.

I could reproduce with
http://advanced-gwt.sourceforge.net/demo/index.html --> "Click
Heading (Caption)" --> Crash. There are multiple Table listed in
the left panel, where i can re-produce the crash which originates
from "com.sun.webkit.WebPage.twkProcessMouseEvent".

Thanks,
Guru

On 12/4/16 10:00 PM, Matthieu BROUILLARD wrote:

Hi Guru,

I think I have isolated the problem ; it relates to GWT FlexTable
(with fixed column & row size) that is cleaned and refilled.
Tomorrow I'll build a clean GWT reproducer app and will send it
to you.
I'll also do the exact same in pure html/js without GWT being
involved.

Matthieu


On Tue, Apr 12, 2016 at 11:18 AM, Guru Hb > wrote:

Thank you Matthieu,

Let me create a sample GWT web  application with tabs along
with the use case mentioned below. Will update the status in
the JBS.

Thanks,
Guru


On 12/4/16 2:26 PM, Matthieu BROUILLARD wrote:

Hi,

let me try to give more insights

/>>> 0. resume of running and crashing JVMs/
64 bits: all tested work (at least issue not reproduced)
32 bits:
   - 8u74-i586, 8u60-i586: fail
   - 8u45-i586: OK

/>>> 00. Application under test/
We have simplified the reproducer JavaFX app as "just" a
simple webview opening our GWT webapplication.
There's no magic here, just a call to load() method on the
WebEngine of a WebView.

/>>> 1. What Content is loaded to WebEngine. (Live webpage
or custom content)/
It is a dynamic GWT webapplication.
When launched, the application loads correctly: dynamic
content (multiple dynamic parts in the app) is
created/loaded/shown.
The loaded page shows several tabs, when clicking on a tab
the JVM crashes.

/>>> 2. which mouse event lead to crash (Right / left click,
Double click, Scroll)/
single left click.

/>>> 3. W.r.t 2nd point, is there a pop-up dialog exist ? or
what was the html element under which mouse event triggered
(Input element, Editable div, Form elements, Image , upload
dialog, table,etc)./
it is a simple div element that is CSS styled.

/>>> 4. Any Modal Dialog used in the application under test
, which will be used as a call back to an event from
WebEngine ?/
No in this case our JavaFX reproducer app, is nothing more than:
...
WebView wv = new WebView();
wv.getEngine().load("http://ourwebapp;);
...

In our global product we have indeed interaction between the
host JVM & the webapp ; but here we reproduce the crash with
a simple app consisting of the 2 lines above.


On Tue, Apr 12, 2016 at 9:41 AM, Guru Hb > wrote:

Hi Matthieu,

Crash is due to Mouse event is not handled correctly
from WebView context.

Could you please provide these details.

1. What Content is loaded to WebEngine. (Live webpage or
custom content)
2. which mouse event lead to crash (Right / left click,
Double click, Scroll)
3. W.r.t 2nd point, is there a pop-up dialog exist ? or
what was the html element under which mouse event
triggered (Input element, Editable div, Form elements,
Image , upload dialog, table,etc).
4. Any Modal Dialog used in the application under test ,
which will be used as a call back to an event from
WebEngine ?


Re: status behind JDK-8149738

2016-04-13 Thread Matthieu BROUILLARD
Hi Guru,

I have filled an issue in http://bugreport.java.com/ ; denominated for the
moment JI-9035239.

I have a simple reproducer test app that I also put in the bug report:
https://gist.github.com/McFoggy/e6166349b8ea012c925665fcf9625501

The problem occures when colgroups>col width are reset/recomputed only. If
in the webapp you uncheck the "Clear col sizes" combobox then the app
should work correctly.
If at startup you uncheck it ; it will normally work. What is weird is that
if then you re-check it ; it will continue to work and will not fail
anymore.

Notice that with this simple reproducer test case I now reproduce the
problem not only on 32bits versions but also on 64bits 8u74 & 8u77.

Thanks

Matthieu


On Wed, Apr 13, 2016 at 5:07 AM, Guru Hb  wrote:

> Hi Matthieu,
>
> If you could update the re-producer html/js in the JBS would be very help
> full.
>
> I could reproduce with http://advanced-gwt.sourceforge.net/demo/index.html
> --> "Click Heading (Caption)" --> Crash. There are multiple Table listed in
> the left panel, where i can re-produce the crash which originates from
> "com.sun.webkit.WebPage.twkProcessMouseEvent".
>
> Thanks,
> Guru
>
> On 12/4/16 10:00 PM, Matthieu BROUILLARD wrote:
>
> Hi Guru,
>
> I think I have isolated the problem ; it relates to GWT FlexTable (with
> fixed column & row size) that is cleaned and refilled.
> Tomorrow I'll build a clean GWT reproducer app and will send it to you.
> I'll also do the exact same in pure html/js without GWT being involved.
>
> Matthieu
>
>
> On Tue, Apr 12, 2016 at 11:18 AM, Guru Hb  wrote:
>
>> Thank you Matthieu,
>>
>> Let me create a sample GWT web  application with tabs along with the use
>> case mentioned below. Will update the status in the JBS.
>>
>> Thanks,
>> Guru
>>
>>
>> On 12/4/16 2:26 PM, Matthieu BROUILLARD wrote:
>>
>> Hi,
>>
>> let me try to give more insights
>>
>> *>>> 0. resume of running and crashing JVMs*
>> 64 bits: all tested work (at least issue not reproduced)
>> 32 bits:
>>- 8u74-i586, 8u60-i586: fail
>>- 8u45-i586: OK
>>
>> *>>> 00. Application under test*
>> We have simplified the reproducer JavaFX app as "just" a simple webview
>> opening our GWT webapplication.
>> There's no magic here, just a call to load() method on the WebEngine of a
>> WebView.
>>
>> *>>> 1. What Content is loaded to WebEngine. (Live webpage or custom
>> content)*
>> It is a dynamic GWT webapplication.
>> When launched, the application loads correctly: dynamic content (multiple
>> dynamic parts in the app) is created/loaded/shown.
>> The loaded page shows several tabs, when clicking on a tab the JVM
>> crashes.
>>
>> *>>> 2. which mouse event lead to crash (Right / left click, Double
>> click, Scroll)*
>> single left click.
>>
>> *>>> 3. W.r.t 2nd point, is there a pop-up dialog exist ? or what was the
>> html element under which mouse event triggered (Input element, Editable
>> div, Form elements, Image , upload dialog, table,etc).*
>> it is a simple div element that is CSS styled.
>>
>> *>>> 4. Any Modal Dialog used in the application under test , which will
>> be used as a call back to an event from WebEngine ?*
>> No in this case our JavaFX reproducer app, is nothing more than:
>> ...
>> WebView wv = new WebView();
>> wv.getEngine().load(" http://ourwebapp;);
>> ...
>>
>> In our global product we have indeed interaction between the host JVM &
>> the webapp ; but here we reproduce the crash with a simple app consisting
>> of the 2 lines above.
>>
>>
>> On Tue, Apr 12, 2016 at 9:41 AM, Guru Hb < 
>> guru...@oracle.com> wrote:
>>
>>> Hi Matthieu,
>>>
>>> Crash is due to Mouse event is not handled correctly from WebView
>>> context.
>>>
>>> Could you please provide these details.
>>>
>>> 1. What Content is loaded to WebEngine. (Live webpage or custom content)
>>> 2. which mouse event lead to crash (Right / left click, Double click,
>>> Scroll)
>>> 3. W.r.t 2nd point, is there a pop-up dialog exist ? or what was the
>>> html element under which mouse event triggered (Input element, Editable
>>> div, Form elements, Image , upload dialog, table,etc).
>>> 4. Any Modal Dialog used in the application under test , which will be
>>> used as a call back to an event from WebEngine ?
>>>
>>> With above details , i could derive a test content / scenario to
>>> re-produce the crash.
>>>
>>> Thanks,
>>> Guru
>>>
>>> On 11/4/16 10:09 PM, Matthieu BROUILLARD wrote:
>>>
 Hi all,

 In our application that integrates some webapps we are facing quite the
 same error than the one reported at
 https://bugs.openjdk.java.net/browse/JDK-8149738.
 The issue above has been marked with 'bugdb_22696741' ; does it mean it
 is
 referenced with more details elsewhere? Is there a known workaround?

 In our use case, when navigating in the webview into some GWT based
 application using 8u74-i586 (or 8u60-i586) we always crash 

Re: status behind JDK-8149738

2016-04-12 Thread Guru Hb

Hi Matthieu,

If you could update the re-producer html/js in the JBS would be very 
help full.


I could reproduce with 
http://advanced-gwt.sourceforge.net/demo/index.html --> "Click Heading 
(Caption)" --> Crash. There are multiple Table listed in the left panel, 
where i can re-produce the crash which originates from 
"com.sun.webkit.WebPage.twkProcessMouseEvent".


Thanks,
Guru
On 12/4/16 10:00 PM, Matthieu BROUILLARD wrote:

Hi Guru,

I think I have isolated the problem ; it relates to GWT FlexTable 
(with fixed column & row size) that is cleaned and refilled.

Tomorrow I'll build a clean GWT reproducer app and will send it to you.
I'll also do the exact same in pure html/js without GWT being involved.

Matthieu


On Tue, Apr 12, 2016 at 11:18 AM, Guru Hb > wrote:


Thank you Matthieu,

Let me create a sample GWT web  application with tabs along with
the use case mentioned below. Will update the status in the JBS.

Thanks,
Guru


On 12/4/16 2:26 PM, Matthieu BROUILLARD wrote:

Hi,

let me try to give more insights

/>>> 0. resume of running and crashing JVMs/
64 bits: all tested work (at least issue not reproduced)
32 bits:
   - 8u74-i586, 8u60-i586: fail
   - 8u45-i586: OK

/>>> 00. Application under test/
We have simplified the reproducer JavaFX app as "just" a simple
webview opening our GWT webapplication.
There's no magic here, just a call to load() method on the
WebEngine of a WebView.

/>>> 1. What Content is loaded to WebEngine. (Live webpage or
custom content)/
It is a dynamic GWT webapplication.
When launched, the application loads correctly: dynamic content
(multiple dynamic parts in the app) is created/loaded/shown.
The loaded page shows several tabs, when clicking on a tab the
JVM crashes.

/>>> 2. which mouse event lead to crash (Right / left click,
Double click, Scroll)/
single left click.

/>>> 3. W.r.t 2nd point, is there a pop-up dialog exist ? or what
was the html element under which mouse event triggered (Input
element, Editable div, Form elements, Image , upload dialog,
table,etc)./
it is a simple div element that is CSS styled.

/>>> 4. Any Modal Dialog used in the application under test ,
which will be used as a call back to an event from WebEngine ?/
No in this case our JavaFX reproducer app, is nothing more than:
...
WebView wv = new WebView();
wv.getEngine().load("http://ourwebapp;);
...

In our global product we have indeed interaction between the host
JVM & the webapp ; but here we reproduce the crash with a simple
app consisting of the 2 lines above.


On Tue, Apr 12, 2016 at 9:41 AM, Guru Hb > wrote:

Hi Matthieu,

Crash is due to Mouse event is not handled correctly from
WebView context.

Could you please provide these details.

1. What Content is loaded to WebEngine. (Live webpage or
custom content)
2. which mouse event lead to crash (Right / left click,
Double click, Scroll)
3. W.r.t 2nd point, is there a pop-up dialog exist ? or what
was the html element under which mouse event triggered (Input
element, Editable div, Form elements, Image , upload dialog,
table,etc).
4. Any Modal Dialog used in the application under test ,
which will be used as a call back to an event from WebEngine ?

With above details , i could derive a test content / scenario
to re-produce the crash.

Thanks,
Guru

On 11/4/16 10:09 PM, Matthieu BROUILLARD wrote:

Hi all,

In our application that integrates some webapps we are
facing quite the
same error than the one reported at
https://bugs.openjdk.java.net/browse/JDK-8149738.
The issue above has been marked with 'bugdb_22696741' ;
does it mean it is
referenced with more details elsewhere? Is there a known
workaround?

In our use case, when navigating in the webview into some
GWT based
application using 8u74-i586 (or 8u60-i586) we always
crash the JVM and
using 8u74 (64 bits) everything works.
Doing additional tests revealed that 8u45-b51-i586 is
working ; but
unfortunately we have already moved on to more recent
JDKs for our entire
application.

Sadly I do not have a simple reproduction app to provide.
We also enable some prism debug settings without seeing
anything relevant
in the logs ; activating the software pipeline didn't
changed anything
neither.

Are there specific debug params for the webview, webkit &
   

Re: status behind JDK-8149738

2016-04-12 Thread Matthieu BROUILLARD
Hi Guru,

I think I have isolated the problem ; it relates to GWT FlexTable (with
fixed column & row size) that is cleaned and refilled.
Tomorrow I'll build a clean GWT reproducer app and will send it to you.
I'll also do the exact same in pure html/js without GWT being involved.

Matthieu


On Tue, Apr 12, 2016 at 11:18 AM, Guru Hb  wrote:

> Thank you Matthieu,
>
> Let me create a sample GWT web  application with tabs along with the use
> case mentioned below. Will update the status in the JBS.
>
> Thanks,
> Guru
>
>
> On 12/4/16 2:26 PM, Matthieu BROUILLARD wrote:
>
> Hi,
>
> let me try to give more insights
>
> *>>> 0. resume of running and crashing JVMs*
> 64 bits: all tested work (at least issue not reproduced)
> 32 bits:
>- 8u74-i586, 8u60-i586: fail
>- 8u45-i586: OK
>
> *>>> 00. Application under test*
> We have simplified the reproducer JavaFX app as "just" a simple webview
> opening our GWT webapplication.
> There's no magic here, just a call to load() method on the WebEngine of a
> WebView.
>
> *>>> 1. What Content is loaded to WebEngine. (Live webpage or custom
> content)*
> It is a dynamic GWT webapplication.
> When launched, the application loads correctly: dynamic content (multiple
> dynamic parts in the app) is created/loaded/shown.
> The loaded page shows several tabs, when clicking on a tab the JVM crashes.
>
> *>>> 2. which mouse event lead to crash (Right / left click, Double click,
> Scroll)*
> single left click.
>
> *>>> 3. W.r.t 2nd point, is there a pop-up dialog exist ? or what was the
> html element under which mouse event triggered (Input element, Editable
> div, Form elements, Image , upload dialog, table,etc).*
> it is a simple div element that is CSS styled.
>
> *>>> 4. Any Modal Dialog used in the application under test , which will
> be used as a call back to an event from WebEngine ?*
> No in this case our JavaFX reproducer app, is nothing more than:
> ...
> WebView wv = new WebView();
> wv.getEngine().load("http://ourwebapp;);
> ...
>
> In our global product we have indeed interaction between the host JVM &
> the webapp ; but here we reproduce the crash with a simple app consisting
> of the 2 lines above.
>
>
> On Tue, Apr 12, 2016 at 9:41 AM, Guru Hb  wrote:
>
>> Hi Matthieu,
>>
>> Crash is due to Mouse event is not handled correctly from WebView context.
>>
>> Could you please provide these details.
>>
>> 1. What Content is loaded to WebEngine. (Live webpage or custom content)
>> 2. which mouse event lead to crash (Right / left click, Double click,
>> Scroll)
>> 3. W.r.t 2nd point, is there a pop-up dialog exist ? or what was the html
>> element under which mouse event triggered (Input element, Editable div,
>> Form elements, Image , upload dialog, table,etc).
>> 4. Any Modal Dialog used in the application under test , which will be
>> used as a call back to an event from WebEngine ?
>>
>> With above details , i could derive a test content / scenario to
>> re-produce the crash.
>>
>> Thanks,
>> Guru
>>
>> On 11/4/16 10:09 PM, Matthieu BROUILLARD wrote:
>>
>>> Hi all,
>>>
>>> In our application that integrates some webapps we are facing quite the
>>> same error than the one reported at
>>> https://bugs.openjdk.java.net/browse/JDK-8149738.
>>> The issue above has been marked with 'bugdb_22696741' ; does it mean it
>>> is
>>> referenced with more details elsewhere? Is there a known workaround?
>>>
>>> In our use case, when navigating in the webview into some GWT based
>>> application using 8u74-i586 (or 8u60-i586) we always crash the JVM and
>>> using 8u74 (64 bits) everything works.
>>> Doing additional tests revealed that 8u45-b51-i586 is working ; but
>>> unfortunately we have already moved on to more recent JDKs for our entire
>>> application.
>>>
>>> Sadly I do not have a simple reproduction app to provide.
>>> We also enable some prism debug settings without seeing anything relevant
>>> in the logs ; activating the software pipeline didn't changed anything
>>> neither.
>>>
>>> Are there specific debug params for the webview, webkit & jfxwebkit.dll ?
>>>
>>> The crash report looks the same than in the above issue:
>>>
>>> # # # # # # # # # # # # # # # # #
>>>
>>> #
>>> # A fatal error has been detected by the Java Runtime Environment:
>>> #
>>> #  EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x5456b7c9, pid=5836,
>>> tid=6260
>>> #
>>> # JRE version: Java(TM) SE Runtime Environment (8.0_74-b02) (build
>>> 1.8.0_74-b02)
>>> # Java VM: Java HotSpot(TM) Client VM (25.74-b02 mixed mode windows-x86 )
>>> # Problematic frame:
>>> # C  [jfxwebkit.dll+0x8eb7c9]
>>> ...
>>> #
>>>
>>> ---  T H R E A D  ---
>>>
>>> Current thread (0x0563d000):  JavaThread "JavaFX Application Thread"
>>> [_thread_in_native, id=6260, stack(0x05c7,0x05cc)]
>>>
>>> siginfo: ExceptionCode=0xc005, reading address 0x002e0060
>>>
>>> Registers:
>>> EAX=0x002e0030, EBX=0x0011, ECX=0x0d457870, 

Re: status behind JDK-8149738

2016-04-12 Thread Matthieu BROUILLARD
Hi,

let me try to give more insights

*>>> 0. resume of running and crashing JVMs*
64 bits: all tested work (at least issue not reproduced)
32 bits:
   - 8u74-i586, 8u60-i586: fail
   - 8u45-i586: OK

*>>> 00. Application under test*
We have simplified the reproducer JavaFX app as "just" a simple webview
opening our GWT webapplication.
There's no magic here, just a call to load() method on the WebEngine of a
WebView.

*>>> 1. What Content is loaded to WebEngine. (Live webpage or custom
content)*
It is a dynamic GWT webapplication.
When launched, the application loads correctly: dynamic content (multiple
dynamic parts in the app) is created/loaded/shown.
The loaded page shows several tabs, when clicking on a tab the JVM crashes.

*>>> 2. which mouse event lead to crash (Right / left click, Double click,
Scroll)*
single left click.

*>>> 3. W.r.t 2nd point, is there a pop-up dialog exist ? or what was the
html element under which mouse event triggered (Input element, Editable
div, Form elements, Image , upload dialog, table,etc).*
it is a simple div element that is CSS styled.

*>>> 4. Any Modal Dialog used in the application under test , which will be
used as a call back to an event from WebEngine ?*
No in this case our JavaFX reproducer app, is nothing more than:
...
WebView wv = new WebView();
wv.getEngine().load("http://ourwebapp;);
...

In our global product we have indeed interaction between the host JVM & the
webapp ; but here we reproduce the crash with a simple app consisting of
the 2 lines above.


On Tue, Apr 12, 2016 at 9:41 AM, Guru Hb  wrote:

> Hi Matthieu,
>
> Crash is due to Mouse event is not handled correctly from WebView context.
>
> Could you please provide these details.
>
> 1. What Content is loaded to WebEngine. (Live webpage or custom content)
> 2. which mouse event lead to crash (Right / left click, Double click,
> Scroll)
> 3. W.r.t 2nd point, is there a pop-up dialog exist ? or what was the html
> element under which mouse event triggered (Input element, Editable div,
> Form elements, Image , upload dialog, table,etc).
> 4. Any Modal Dialog used in the application under test , which will be
> used as a call back to an event from WebEngine ?
>
> With above details , i could derive a test content / scenario to
> re-produce the crash.
>
> Thanks,
> Guru
>
> On 11/4/16 10:09 PM, Matthieu BROUILLARD wrote:
>
>> Hi all,
>>
>> In our application that integrates some webapps we are facing quite the
>> same error than the one reported at
>> https://bugs.openjdk.java.net/browse/JDK-8149738.
>> The issue above has been marked with 'bugdb_22696741' ; does it mean it is
>> referenced with more details elsewhere? Is there a known workaround?
>>
>> In our use case, when navigating in the webview into some GWT based
>> application using 8u74-i586 (or 8u60-i586) we always crash the JVM and
>> using 8u74 (64 bits) everything works.
>> Doing additional tests revealed that 8u45-b51-i586 is working ; but
>> unfortunately we have already moved on to more recent JDKs for our entire
>> application.
>>
>> Sadly I do not have a simple reproduction app to provide.
>> We also enable some prism debug settings without seeing anything relevant
>> in the logs ; activating the software pipeline didn't changed anything
>> neither.
>>
>> Are there specific debug params for the webview, webkit & jfxwebkit.dll ?
>>
>> The crash report looks the same than in the above issue:
>>
>> # # # # # # # # # # # # # # # # #
>>
>> #
>> # A fatal error has been detected by the Java Runtime Environment:
>> #
>> #  EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x5456b7c9, pid=5836,
>> tid=6260
>> #
>> # JRE version: Java(TM) SE Runtime Environment (8.0_74-b02) (build
>> 1.8.0_74-b02)
>> # Java VM: Java HotSpot(TM) Client VM (25.74-b02 mixed mode windows-x86 )
>> # Problematic frame:
>> # C  [jfxwebkit.dll+0x8eb7c9]
>> ...
>> #
>>
>> ---  T H R E A D  ---
>>
>> Current thread (0x0563d000):  JavaThread "JavaFX Application Thread"
>> [_thread_in_native, id=6260, stack(0x05c7,0x05cc)]
>>
>> siginfo: ExceptionCode=0xc005, reading address 0x002e0060
>>
>> Registers:
>> EAX=0x002e0030, EBX=0x0011, ECX=0x0d457870, EDX=0x
>> ESP=0x05cbd578, EBP=0x, ESI=0x0d457870, EDI=0x0bae3030
>> EIP=0x5456b7c9, EFLAGS=0x00210246
>>
>> Top of Stack: (sp=0x05cbd578)
>> 0x05cbd578:   0d202f60 54580e41 0001 0001
>> ...
>> 0x05cbd5e8:   54a51a88  54510e95 0d2f89a0
>>
>> Instructions: (pc=0x5456b7c9)
>> 0x5456b7a9:   24 0c 01 75 35 8b 4e 14 8b c1 c1 e8 09 a8 01 75
>> ...
>> 0x5456b7d9:   06 74 07 8b ce e8 4d de ff ff 5e c2 08 00 cc cc
>>
>>
>> Register to memory mapping:
>>
>> EAX=0x002e0030 is an unknown value
>> EBX=0x0011 is an unknown value
>> ECX=0x0d457870 is an unknown value
>> EDX=0x is an unknown value
>> ESP=0x05cbd578 is pointing into the stack for thread: 0x0563d000
>> EBP=0x is an unknown value
>> ESI=0x0d457870 is an 

Re: status behind JDK-8149738

2016-04-12 Thread Guru Hb

Hi Matthieu,

Crash is due to Mouse event is not handled correctly from WebView context.

Could you please provide these details.

1. What Content is loaded to WebEngine. (Live webpage or custom content)
2. which mouse event lead to crash (Right / left click, Double click, 
Scroll)
3. W.r.t 2nd point, is there a pop-up dialog exist ? or what was the 
html element under which mouse event triggered (Input element, Editable 
div, Form elements, Image , upload dialog, table,etc).
4. Any Modal Dialog used in the application under test , which will be 
used as a call back to an event from WebEngine ?


With above details , i could derive a test content / scenario to 
re-produce the crash.


Thanks,
Guru
On 11/4/16 10:09 PM, Matthieu BROUILLARD wrote:

Hi all,

In our application that integrates some webapps we are facing quite the
same error than the one reported at
https://bugs.openjdk.java.net/browse/JDK-8149738.
The issue above has been marked with 'bugdb_22696741' ; does it mean it is
referenced with more details elsewhere? Is there a known workaround?

In our use case, when navigating in the webview into some GWT based
application using 8u74-i586 (or 8u60-i586) we always crash the JVM and
using 8u74 (64 bits) everything works.
Doing additional tests revealed that 8u45-b51-i586 is working ; but
unfortunately we have already moved on to more recent JDKs for our entire
application.

Sadly I do not have a simple reproduction app to provide.
We also enable some prism debug settings without seeing anything relevant
in the logs ; activating the software pipeline didn't changed anything
neither.

Are there specific debug params for the webview, webkit & jfxwebkit.dll ?

The crash report looks the same than in the above issue:

# # # # # # # # # # # # # # # # #

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x5456b7c9, pid=5836,
tid=6260
#
# JRE version: Java(TM) SE Runtime Environment (8.0_74-b02) (build
1.8.0_74-b02)
# Java VM: Java HotSpot(TM) Client VM (25.74-b02 mixed mode windows-x86 )
# Problematic frame:
# C  [jfxwebkit.dll+0x8eb7c9]
...
#

---  T H R E A D  ---

Current thread (0x0563d000):  JavaThread "JavaFX Application Thread"
[_thread_in_native, id=6260, stack(0x05c7,0x05cc)]

siginfo: ExceptionCode=0xc005, reading address 0x002e0060

Registers:
EAX=0x002e0030, EBX=0x0011, ECX=0x0d457870, EDX=0x
ESP=0x05cbd578, EBP=0x, ESI=0x0d457870, EDI=0x0bae3030
EIP=0x5456b7c9, EFLAGS=0x00210246

Top of Stack: (sp=0x05cbd578)
0x05cbd578:   0d202f60 54580e41 0001 0001
...
0x05cbd5e8:   54a51a88  54510e95 0d2f89a0

Instructions: (pc=0x5456b7c9)
0x5456b7a9:   24 0c 01 75 35 8b 4e 14 8b c1 c1 e8 09 a8 01 75
...
0x5456b7d9:   06 74 07 8b ce e8 4d de ff ff 5e c2 08 00 cc cc


Register to memory mapping:

EAX=0x002e0030 is an unknown value
EBX=0x0011 is an unknown value
ECX=0x0d457870 is an unknown value
EDX=0x is an unknown value
ESP=0x05cbd578 is pointing into the stack for thread: 0x0563d000
EBP=0x is an unknown value
ESI=0x0d457870 is an unknown value
EDI=0x0bae3030 is an unknown value


Stack: [0x05c7,0x05cc],  sp=0x05cbd578,  free space=309k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
code)
C  [jfxwebkit.dll+0x8eb7c9]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  com.sun.webkit.WebPage.twkProcessMouseEvent(JIIIZF)Z+0
j
  
com.sun.webkit.WebPage.dispatchMouseEvent(Lcom/sun/webkit/event/WCMouseEvent;)Z+141
j
  
javafx.scene.web.WebView.processMouseEvent(Ljavafx/scene/input/MouseEvent;)V+175
j
  
javafx.scene.web.WebView.lambda$registerEventHandlers$32(Ljavafx/scene/input/MouseEvent;)V+2
j  javafx.scene.web.WebView$$Lambda$87.handle(Ljavafx/event/Event;)V+8
j
  
com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(Ljavafx/event/Event;)V+5
j
  
com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Ljavafx/event/Event;)V+28
j
  
com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Ljavafx/event/EventType;Ljavafx/event/Event;)Ljavafx/event/Event;+29
j
  
com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Ljavafx/event/Event;)Ljavafx/event/Event;+8
j
  
com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Ljavafx/event/Event;)Ljavafx/event/Event;+11
j
  
com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Ljavafx/event/Event;Ljavafx/event/EventDispatchChain;)Ljavafx/event/Event;+29
j
  
com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Ljavafx/event/Event;)Ljavafx/event/Event;+69
j
  
com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Ljavafx/event/Event;Ljavafx/event/EventDispatchChain;)Ljavafx/event/Event;+17
j
  
com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Ljavafx/event/Event;)Ljavafx/event/Event;+69
j
  

Re: status behind JDK-8149738

2016-04-11 Thread Matthieu BROUILLARD
Kevin, Vadim,

thanks for the quick reply.

I tested with 1.8.0_102-ea-b01 (32 bits) and it still fails.

@Kevin what kind of report would you like me to generate? how to obtain the
native stack trace? I tried to set `-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=SOME_PATH` but the crash does not generate anything except
an hs_err file (
https://gist.github.com/McFoggy/5371c8409dde065aa7f017b7a00d32ec).


Re: status behind JDK-8149738

2016-04-11 Thread Kevin Rushforth

> is "writing address 0xbbadbeef".  So they are not the same.

Good catch, Vadim.

This is likely an OOM or some other internal failure. That is the 
tell-tale sign of a call to the internal abort . The fact that this 
works with 64-bit and fails with 32-bit suggests an OOM problem.


-- Kevin



Vadim Pakhnushev wrote:

Matthieu,

It's unlikely that your problem is the same as in the JDK-8149738.
You see, your crash is due to "reading address 0x002e0060" and in the 
JDK-8149738 it's "writing address 0xbbadbeef".

So they are not the same.

Vadim

On 11.04.2016 19:39, Matthieu BROUILLARD wrote:

Hi all,

In our application that integrates some webapps we are facing quite the
same error than the one reported at
https://bugs.openjdk.java.net/browse/JDK-8149738.
The issue above has been marked with 'bugdb_22696741' ; does it mean 
it is

referenced with more details elsewhere? Is there a known workaround?

In our use case, when navigating in the webview into some GWT based
application using 8u74-i586 (or 8u60-i586) we always crash the JVM and
using 8u74 (64 bits) everything works.
Doing additional tests revealed that 8u45-b51-i586 is working ; but
unfortunately we have already moved on to more recent JDKs for our 
entire

application.

Sadly I do not have a simple reproduction app to provide.
We also enable some prism debug settings without seeing anything 
relevant

in the logs ; activating the software pipeline didn't changed anything
neither.

Are there specific debug params for the webview, webkit & 
jfxwebkit.dll ?


The crash report looks the same than in the above issue:

# # # # # # # # # # # # # # # # #

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x5456b7c9, pid=5836,
tid=6260
#
# JRE version: Java(TM) SE Runtime Environment (8.0_74-b02) (build
1.8.0_74-b02)
# Java VM: Java HotSpot(TM) Client VM (25.74-b02 mixed mode 
windows-x86 )

# Problematic frame:
# C  [jfxwebkit.dll+0x8eb7c9]
...
#

---  T H R E A D  ---

Current thread (0x0563d000):  JavaThread "JavaFX Application Thread"
[_thread_in_native, id=6260, stack(0x05c7,0x05cc)]

siginfo: ExceptionCode=0xc005, reading address 0x002e0060

Registers:
EAX=0x002e0030, EBX=0x0011, ECX=0x0d457870, EDX=0x
ESP=0x05cbd578, EBP=0x, ESI=0x0d457870, EDI=0x0bae3030
EIP=0x5456b7c9, EFLAGS=0x00210246

Top of Stack: (sp=0x05cbd578)
0x05cbd578:   0d202f60 54580e41 0001 0001
...
0x05cbd5e8:   54a51a88  54510e95 0d2f89a0

Instructions: (pc=0x5456b7c9)
0x5456b7a9:   24 0c 01 75 35 8b 4e 14 8b c1 c1 e8 09 a8 01 75
...
0x5456b7d9:   06 74 07 8b ce e8 4d de ff ff 5e c2 08 00 cc cc


Register to memory mapping:

EAX=0x002e0030 is an unknown value
EBX=0x0011 is an unknown value
ECX=0x0d457870 is an unknown value
EDX=0x is an unknown value
ESP=0x05cbd578 is pointing into the stack for thread: 0x0563d000
EBP=0x is an unknown value
ESI=0x0d457870 is an unknown value
EDI=0x0bae3030 is an unknown value


Stack: [0x05c7,0x05cc],  sp=0x05cbd578,  free space=309k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, 
C=native

code)
C  [jfxwebkit.dll+0x8eb7c9]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  com.sun.webkit.WebPage.twkProcessMouseEvent(JIIIZF)Z+0
j
  
com.sun.webkit.WebPage.dispatchMouseEvent(Lcom/sun/webkit/event/WCMouseEvent;)Z+141 


j
  
javafx.scene.web.WebView.processMouseEvent(Ljavafx/scene/input/MouseEvent;)V+175 


j
  
javafx.scene.web.WebView.lambda$registerEventHandlers$32(Ljavafx/scene/input/MouseEvent;)V+2 


j  javafx.scene.web.WebView$$Lambda$87.handle(Ljavafx/event/Event;)V+8
j
  
com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(Ljavafx/event/Event;)V+5 


j
  
com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Ljavafx/event/Event;)V+28 


j
  
com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Ljavafx/event/EventType;Ljavafx/event/Event;)Ljavafx/event/Event;+29 


j
  
com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Ljavafx/event/Event;)Ljavafx/event/Event;+8 


j
  
com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Ljavafx/event/Event;)Ljavafx/event/Event;+11 


j
  
com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Ljavafx/event/Event;Ljavafx/event/EventDispatchChain;)Ljavafx/event/Event;+29 


j
  
com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Ljavafx/event/Event;)Ljavafx/event/Event;+69 


j
  
com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Ljavafx/event/Event;Ljavafx/event/EventDispatchChain;)Ljavafx/event/Event;+17 


j
  
com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Ljavafx/event/Event;)Ljavafx/event/Event;+69 


j
  
com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Ljavafx/event/Event;Ljavafx/event/EventDispatchChain;)Ljavafx/event/Event;+17 


j
  

Re: status behind JDK-8149738

2016-04-11 Thread Vadim Pakhnushev

Matthieu,

It's unlikely that your problem is the same as in the JDK-8149738.
You see, your crash is due to "reading address 0x002e0060" and in the 
JDK-8149738 it's "writing address 0xbbadbeef".

So they are not the same.

Vadim

On 11.04.2016 19:39, Matthieu BROUILLARD wrote:

Hi all,

In our application that integrates some webapps we are facing quite the
same error than the one reported at
https://bugs.openjdk.java.net/browse/JDK-8149738.
The issue above has been marked with 'bugdb_22696741' ; does it mean it is
referenced with more details elsewhere? Is there a known workaround?

In our use case, when navigating in the webview into some GWT based
application using 8u74-i586 (or 8u60-i586) we always crash the JVM and
using 8u74 (64 bits) everything works.
Doing additional tests revealed that 8u45-b51-i586 is working ; but
unfortunately we have already moved on to more recent JDKs for our entire
application.

Sadly I do not have a simple reproduction app to provide.
We also enable some prism debug settings without seeing anything relevant
in the logs ; activating the software pipeline didn't changed anything
neither.

Are there specific debug params for the webview, webkit & jfxwebkit.dll ?

The crash report looks the same than in the above issue:

# # # # # # # # # # # # # # # # #

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x5456b7c9, pid=5836,
tid=6260
#
# JRE version: Java(TM) SE Runtime Environment (8.0_74-b02) (build
1.8.0_74-b02)
# Java VM: Java HotSpot(TM) Client VM (25.74-b02 mixed mode windows-x86 )
# Problematic frame:
# C  [jfxwebkit.dll+0x8eb7c9]
...
#

---  T H R E A D  ---

Current thread (0x0563d000):  JavaThread "JavaFX Application Thread"
[_thread_in_native, id=6260, stack(0x05c7,0x05cc)]

siginfo: ExceptionCode=0xc005, reading address 0x002e0060

Registers:
EAX=0x002e0030, EBX=0x0011, ECX=0x0d457870, EDX=0x
ESP=0x05cbd578, EBP=0x, ESI=0x0d457870, EDI=0x0bae3030
EIP=0x5456b7c9, EFLAGS=0x00210246

Top of Stack: (sp=0x05cbd578)
0x05cbd578:   0d202f60 54580e41 0001 0001
...
0x05cbd5e8:   54a51a88  54510e95 0d2f89a0

Instructions: (pc=0x5456b7c9)
0x5456b7a9:   24 0c 01 75 35 8b 4e 14 8b c1 c1 e8 09 a8 01 75
...
0x5456b7d9:   06 74 07 8b ce e8 4d de ff ff 5e c2 08 00 cc cc


Register to memory mapping:

EAX=0x002e0030 is an unknown value
EBX=0x0011 is an unknown value
ECX=0x0d457870 is an unknown value
EDX=0x is an unknown value
ESP=0x05cbd578 is pointing into the stack for thread: 0x0563d000
EBP=0x is an unknown value
ESI=0x0d457870 is an unknown value
EDI=0x0bae3030 is an unknown value


Stack: [0x05c7,0x05cc],  sp=0x05cbd578,  free space=309k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
code)
C  [jfxwebkit.dll+0x8eb7c9]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  com.sun.webkit.WebPage.twkProcessMouseEvent(JIIIZF)Z+0
j
  
com.sun.webkit.WebPage.dispatchMouseEvent(Lcom/sun/webkit/event/WCMouseEvent;)Z+141
j
  
javafx.scene.web.WebView.processMouseEvent(Ljavafx/scene/input/MouseEvent;)V+175
j
  
javafx.scene.web.WebView.lambda$registerEventHandlers$32(Ljavafx/scene/input/MouseEvent;)V+2
j  javafx.scene.web.WebView$$Lambda$87.handle(Ljavafx/event/Event;)V+8
j
  
com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(Ljavafx/event/Event;)V+5
j
  
com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Ljavafx/event/Event;)V+28
j
  
com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Ljavafx/event/EventType;Ljavafx/event/Event;)Ljavafx/event/Event;+29
j
  
com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Ljavafx/event/Event;)Ljavafx/event/Event;+8
j
  
com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Ljavafx/event/Event;)Ljavafx/event/Event;+11
j
  
com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Ljavafx/event/Event;Ljavafx/event/EventDispatchChain;)Ljavafx/event/Event;+29
j
  
com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Ljavafx/event/Event;)Ljavafx/event/Event;+69
j
  
com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Ljavafx/event/Event;Ljavafx/event/EventDispatchChain;)Ljavafx/event/Event;+17
j
  
com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Ljavafx/event/Event;)Ljavafx/event/Event;+69
j
  
com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Ljavafx/event/Event;Ljavafx/event/EventDispatchChain;)Ljavafx/event/Event;+17
j
  
com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Ljavafx/event/Event;)Ljavafx/event/Event;+69
j
  
com.sun.javafx.event.EventUtil.fireEventImpl(Ljavafx/event/EventDispatchChain;Ljavafx/event/EventTarget;Ljavafx/event/Event;)Ljavafx/event/Event;+10
j
  
com.sun.javafx.event.EventUtil.fireEvent(Ljavafx/event/EventTarget;Ljavafx/event/Event;)Ljavafx/event/Event;+46
j
  

Re: status behind JDK-8149738

2016-04-11 Thread Kevin Rushforth
Without a native stack trace it will be hard to say whether this is the 
same bug or not.


Several fixes for other crashes (not specifically JDK-8149738) have 
recently gone into 8-dev for 8u102. An early access build of 8u102-b01 
with some of these fixes is available here:


https://jdk8.java.net/download.html

8u102-b02 will have additional WebKit fixes and will likely be available 
next week.


-- Kevin


Matthieu BROUILLARD wrote:

Hi all,

In our application that integrates some webapps we are facing quite the
same error than the one reported at
https://bugs.openjdk.java.net/browse/JDK-8149738.
The issue above has been marked with 'bugdb_22696741' ; does it mean it is
referenced with more details elsewhere? Is there a known workaround?

In our use case, when navigating in the webview into some GWT based
application using 8u74-i586 (or 8u60-i586) we always crash the JVM and
using 8u74 (64 bits) everything works.
Doing additional tests revealed that 8u45-b51-i586 is working ; but
unfortunately we have already moved on to more recent JDKs for our entire
application.

Sadly I do not have a simple reproduction app to provide.
We also enable some prism debug settings without seeing anything relevant
in the logs ; activating the software pipeline didn't changed anything
neither.

Are there specific debug params for the webview, webkit & jfxwebkit.dll ?

The crash report looks the same than in the above issue:

# # # # # # # # # # # # # # # # #

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x5456b7c9, pid=5836,
tid=6260
#
# JRE version: Java(TM) SE Runtime Environment (8.0_74-b02) (build
1.8.0_74-b02)
# Java VM: Java HotSpot(TM) Client VM (25.74-b02 mixed mode windows-x86 )
# Problematic frame:
# C  [jfxwebkit.dll+0x8eb7c9]
...
#

---  T H R E A D  ---

Current thread (0x0563d000):  JavaThread "JavaFX Application Thread"
[_thread_in_native, id=6260, stack(0x05c7,0x05cc)]

siginfo: ExceptionCode=0xc005, reading address 0x002e0060

Registers:
EAX=0x002e0030, EBX=0x0011, ECX=0x0d457870, EDX=0x
ESP=0x05cbd578, EBP=0x, ESI=0x0d457870, EDI=0x0bae3030
EIP=0x5456b7c9, EFLAGS=0x00210246

Top of Stack: (sp=0x05cbd578)
0x05cbd578:   0d202f60 54580e41 0001 0001
...
0x05cbd5e8:   54a51a88  54510e95 0d2f89a0

Instructions: (pc=0x5456b7c9)
0x5456b7a9:   24 0c 01 75 35 8b 4e 14 8b c1 c1 e8 09 a8 01 75
...
0x5456b7d9:   06 74 07 8b ce e8 4d de ff ff 5e c2 08 00 cc cc


Register to memory mapping:

EAX=0x002e0030 is an unknown value
EBX=0x0011 is an unknown value
ECX=0x0d457870 is an unknown value
EDX=0x is an unknown value
ESP=0x05cbd578 is pointing into the stack for thread: 0x0563d000
EBP=0x is an unknown value
ESI=0x0d457870 is an unknown value
EDI=0x0bae3030 is an unknown value


Stack: [0x05c7,0x05cc],  sp=0x05cbd578,  free space=309k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
code)
C  [jfxwebkit.dll+0x8eb7c9]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  com.sun.webkit.WebPage.twkProcessMouseEvent(JIIIZF)Z+0
j
 
com.sun.webkit.WebPage.dispatchMouseEvent(Lcom/sun/webkit/event/WCMouseEvent;)Z+141
j
 
javafx.scene.web.WebView.processMouseEvent(Ljavafx/scene/input/MouseEvent;)V+175
j
 
javafx.scene.web.WebView.lambda$registerEventHandlers$32(Ljavafx/scene/input/MouseEvent;)V+2
j  javafx.scene.web.WebView$$Lambda$87.handle(Ljavafx/event/Event;)V+8
j
 
com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(Ljavafx/event/Event;)V+5
j
 
com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Ljavafx/event/Event;)V+28
j
 
com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Ljavafx/event/EventType;Ljavafx/event/Event;)Ljavafx/event/Event;+29
j
 
com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Ljavafx/event/Event;)Ljavafx/event/Event;+8
j
 
com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Ljavafx/event/Event;)Ljavafx/event/Event;+11
j
 
com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Ljavafx/event/Event;Ljavafx/event/EventDispatchChain;)Ljavafx/event/Event;+29
j
 
com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Ljavafx/event/Event;)Ljavafx/event/Event;+69
j
 
com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Ljavafx/event/Event;Ljavafx/event/EventDispatchChain;)Ljavafx/event/Event;+17
j
 
com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Ljavafx/event/Event;)Ljavafx/event/Event;+69
j
 
com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Ljavafx/event/Event;Ljavafx/event/EventDispatchChain;)Ljavafx/event/Event;+17
j
 
com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Ljavafx/event/Event;)Ljavafx/event/Event;+69
j
 
com.sun.javafx.event.EventUtil.fireEventImpl(Ljavafx/event/EventDispatchChain;Ljavafx/event/EventTarget;Ljavafx/event/Event;)Ljavafx/event/Event;+10
j
 

status behind JDK-8149738

2016-04-11 Thread Matthieu BROUILLARD
Hi all,

In our application that integrates some webapps we are facing quite the
same error than the one reported at
https://bugs.openjdk.java.net/browse/JDK-8149738.
The issue above has been marked with 'bugdb_22696741' ; does it mean it is
referenced with more details elsewhere? Is there a known workaround?

In our use case, when navigating in the webview into some GWT based
application using 8u74-i586 (or 8u60-i586) we always crash the JVM and
using 8u74 (64 bits) everything works.
Doing additional tests revealed that 8u45-b51-i586 is working ; but
unfortunately we have already moved on to more recent JDKs for our entire
application.

Sadly I do not have a simple reproduction app to provide.
We also enable some prism debug settings without seeing anything relevant
in the logs ; activating the software pipeline didn't changed anything
neither.

Are there specific debug params for the webview, webkit & jfxwebkit.dll ?

The crash report looks the same than in the above issue:

# # # # # # # # # # # # # # # # #

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x5456b7c9, pid=5836,
tid=6260
#
# JRE version: Java(TM) SE Runtime Environment (8.0_74-b02) (build
1.8.0_74-b02)
# Java VM: Java HotSpot(TM) Client VM (25.74-b02 mixed mode windows-x86 )
# Problematic frame:
# C  [jfxwebkit.dll+0x8eb7c9]
...
#

---  T H R E A D  ---

Current thread (0x0563d000):  JavaThread "JavaFX Application Thread"
[_thread_in_native, id=6260, stack(0x05c7,0x05cc)]

siginfo: ExceptionCode=0xc005, reading address 0x002e0060

Registers:
EAX=0x002e0030, EBX=0x0011, ECX=0x0d457870, EDX=0x
ESP=0x05cbd578, EBP=0x, ESI=0x0d457870, EDI=0x0bae3030
EIP=0x5456b7c9, EFLAGS=0x00210246

Top of Stack: (sp=0x05cbd578)
0x05cbd578:   0d202f60 54580e41 0001 0001
...
0x05cbd5e8:   54a51a88  54510e95 0d2f89a0

Instructions: (pc=0x5456b7c9)
0x5456b7a9:   24 0c 01 75 35 8b 4e 14 8b c1 c1 e8 09 a8 01 75
...
0x5456b7d9:   06 74 07 8b ce e8 4d de ff ff 5e c2 08 00 cc cc


Register to memory mapping:

EAX=0x002e0030 is an unknown value
EBX=0x0011 is an unknown value
ECX=0x0d457870 is an unknown value
EDX=0x is an unknown value
ESP=0x05cbd578 is pointing into the stack for thread: 0x0563d000
EBP=0x is an unknown value
ESI=0x0d457870 is an unknown value
EDI=0x0bae3030 is an unknown value


Stack: [0x05c7,0x05cc],  sp=0x05cbd578,  free space=309k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
code)
C  [jfxwebkit.dll+0x8eb7c9]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  com.sun.webkit.WebPage.twkProcessMouseEvent(JIIIZF)Z+0
j
 
com.sun.webkit.WebPage.dispatchMouseEvent(Lcom/sun/webkit/event/WCMouseEvent;)Z+141
j
 
javafx.scene.web.WebView.processMouseEvent(Ljavafx/scene/input/MouseEvent;)V+175
j
 
javafx.scene.web.WebView.lambda$registerEventHandlers$32(Ljavafx/scene/input/MouseEvent;)V+2
j  javafx.scene.web.WebView$$Lambda$87.handle(Ljavafx/event/Event;)V+8
j
 
com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(Ljavafx/event/Event;)V+5
j
 
com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Ljavafx/event/Event;)V+28
j
 
com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Ljavafx/event/EventType;Ljavafx/event/Event;)Ljavafx/event/Event;+29
j
 
com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Ljavafx/event/Event;)Ljavafx/event/Event;+8
j
 
com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Ljavafx/event/Event;)Ljavafx/event/Event;+11
j
 
com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Ljavafx/event/Event;Ljavafx/event/EventDispatchChain;)Ljavafx/event/Event;+29
j
 
com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Ljavafx/event/Event;)Ljavafx/event/Event;+69
j
 
com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Ljavafx/event/Event;Ljavafx/event/EventDispatchChain;)Ljavafx/event/Event;+17
j
 
com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Ljavafx/event/Event;)Ljavafx/event/Event;+69
j
 
com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Ljavafx/event/Event;Ljavafx/event/EventDispatchChain;)Ljavafx/event/Event;+17
j
 
com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Ljavafx/event/Event;)Ljavafx/event/Event;+69
j
 
com.sun.javafx.event.EventUtil.fireEventImpl(Ljavafx/event/EventDispatchChain;Ljavafx/event/EventTarget;Ljavafx/event/Event;)Ljavafx/event/Event;+10
j
 
com.sun.javafx.event.EventUtil.fireEvent(Ljavafx/event/EventTarget;Ljavafx/event/Event;)Ljavafx/event/Event;+46
j
 
javafx.event.Event.fireEvent(Ljavafx/event/EventTarget;Ljavafx/event/Event;)V+30
j
 javafx.scene.Scene$MouseHandler.process(Ljavafx/scene/input/MouseEvent;Z)V+491
j
 
javafx.scene.Scene$MouseHandler.access$1500(Ljavafx/scene/Scene$MouseHandler;Ljavafx/scene/input/MouseEvent;Z)V+3
j