JDK-8154287 : Intermittent crash when disposing MediaPlayer
  • Type: Bug
  • Component: javafx
  • Sub-Component: media
  • Affected Version: 8u51,9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows
  • Submitted: 2016-04-14
  • Updated: 2017-09-07
  • Resolved: 2016-05-10
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 8 JDK 9
8u102Fixed 9Fixed
Description
I noticed intermittent crash when MediaPlayer is disposed. This issue was reproduced with application which creates and dispose MediaPlayer in the loop.
Comments
No issues related to the fix in the recent FX Media nightly results. OK to take in PSU16_03
16-05-2016

http://hg.openjdk.java.net/openjfx/9-dev/rt/rev/1a4193813fd3
10-05-2016

Approved to backport to 8u-dev for 8u112.
10-05-2016

Looks fine to me +1
10-05-2016

Looks good to me. It would be good for Dave D to review, too. +1
09-05-2016

Please review the following: http://cr.openjdk.java.net/~almatvee/8154287/webrev.8u.9.0/ Reviewers: kcr, ddehaven Callbacks from GStreamer will be disabled before we switching pipeline to NULL state during dispose, to prevent accessing pipeline while it transitions to NULL state. 8u and 9 patches are same.
07-05-2016