JDK-8118236 : Runtime crashes with an EXCEPTION ACCESS VIOLATION after playing a video and then loading other URLs
  • Type: Bug
  • Component: javafx
  • Sub-Component: media
  • Affected Version: 7u7,7u10,7u13,7u40
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2013-05-31
  • Updated: 2015-06-17
  • Resolved: 2013-06-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7u40Resolved
Related Reports
Relates :  
Description
The only conditions required are:
 1) Play a video using a webview ( e.g. youtube)
 2) Use Engine.load(url) to browse to other websites
 3) The crash will inevitably occur after some time..may take a few minutes of browsing 

I managed to reproduce the crash every single time with about 150 different code tweaks in the last 5 days.

The system crashes immediately if you use a for loop to bulk load other URLs. (so that you can crash it faster).

The crash report is the following:

A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000673028e0, pid=3544, tid=7532
#
# JRE version: Java(TM) SE Runtime Environment (7.0_40-b26) (build 1.7.0_40-ea-b26)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.0-b45 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [glass.dll+0x128e0]




Comments
ok great thank you!
07-06-2013

The addition of the dispose() method is being backported to FX 2.2.40 which will released this summer with JDK 7u40.
06-06-2013

Thank you for the clarification..from the javafx roadmap i can see that JavaFX 8 is scheduled for 2014 and from what i understand JavaFX 8 = lombard release..am i correct that this will be resolved in more than 6 months..? Apologies for the many questions, but if i am correct..is there a way to increase the priority of this issue because there is no point in having a webview that crashes after a video..if it just means adding a dispose() method from what i understand with your expertise you could fix this in no time..
06-06-2013

Marios, as far as I know build that you tested does not have dispose() API yet. Not sure which build will have RT-28817. You need to wait for build that have dispose() API and crash should go away. Another possibility that we reproducing same crash, but using different repro case. You can provide more details on repro case such as sample app and exact videos that you using, then I can re-investigate.
05-06-2013

It duplicates part of RT-28817 which already fixed.
03-06-2013

I was able to reproduce with 7.0_40-b26. This issue was already fixed as part of RT-28817.
03-06-2013

hello, have you managed to reproduce this or would you like more information?
02-06-2013

��an you please take a look, Alexander. I remember you had some thoughts on MTA/STA mode.
31-05-2013

This looks like a Media bug. IIRC, there's a problem with unbalanced COM initialize/uninitialize calls that can produce such results.
31-05-2013