JDK-8236832 : [macos 10.15] JavaFX Application hangs on video play on Catalina
  • Type: Bug
  • Component: javafx
  • Sub-Component: media
  • Affected Version: 8,openjfx14
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x_10.15
  • CPU: x86_64
  • Submitted: 2019-12-20
  • Updated: 2021-04-21
  • Resolved: 2020-02-28
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 Other
8u241Fixed openjfx11.0.8Fixed
Related Reports
Cloners :  
Description
ADDITIONAL SYSTEM INFORMATION :
1.8.0_221 and OSX Catalina

A DESCRIPTION OF THE PROBLEM :
The JavaFx application hangs on video play on OSX Catalina. Runs successfully on HighSiera and Mojave.

REGRESSION : Last worked in version 8u231


FREQUENCY : always



Comments
Changeset: 4c82af8d Author: Alexander Matveev <almatvee@openjdk.org> Date: 2020-02-28 05:07:50 +0000 URL: https://git.openjdk.java.net/jfx/commit/4c82af8d
28-02-2020

https://github.com/openjdk/jfx/pull/126
26-02-2020

It will be fixed in openjfx14 if a fix can be found in time, otherwise in openjfx15. JavaFX is unbundled as of JDK 11, so there is no specific JDK release associated with the fix. We will likely backport it to Oracle's JDK 8u after it has been fixed in openjfx14 or openjfx15. There is no specific time table or release for which this will happen.
28-01-2020

Enquiry from submitter: ================== Please clarify on which jdk version this is going to fixed.In bug it is mentioned that this is going to fix in openjfx14 On which jdk version this fix will come?
28-01-2020

Reproducible with latest openjfx14.
22-01-2020

Looks like it is app specific issue. I was able to play media files without issues using my own test player. App hangs due to JavaFX Application Thread hangs when calling media native code. OSXMediaPlayer.osxGetPresentationTime OSXMediaPlayer.playerGetPresentationTime:115 NativeMediaPlayer.getPresentationTime:1075 MediaPlayer.updateTime:1772 MediaTimerTask.lambda$run$0:2857 Hidden Source Calls 887753029.run PlatformImpl.lambda$null$5:295 151575642.run AccessController.doPrivileged PlatformImpl.lambda$runLater$6:294 600746945.run InvokeLaterDispatcher$Future.run:95 Reproducible with 8u251.
22-01-2020

[~almatvee] Can you also test this on the latest openjfx build? If it reproduces on 8, then it very likely will reproduce on openjfx13+.
18-01-2020

Based on the description, this is not a regression, so I'm removing the regression keyword. If it is reproducible, it is still a P3, though.
18-01-2020

Reopening this report with attached test case as shared by the submitter.
18-01-2020

Closing this as incomplete as we haven't received required information from submitter. If we receive an update in future, may reopen this issue.
17-01-2020

Written back to the submitter requesting additional information including a suitable test case to evaluate this issue better.
09-01-2020