JDK-8198316 : MediaPlayer crashes when playing m3u8 files on macOS High Sierra 10.13.2
Type:Bug
Component:javafx
Sub-Component:media
Affected Version:8,9,10
Priority:P2
Status:Resolved
Resolution:Fixed
OS:os_x
Submitted:2018-02-16
Updated:2020-01-31
Resolved:2018-02-16
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.
MediaPlayer crashes when running attached application. Crash happens ~25% of the time. This issue is reproducible on OS X 10.13.2 with latest 8, 9 and 10.
We should backport this fix to 8u and 10.x, as it is a P2 crash, and a follow-on to the fix for JDK-8188029.
16-02-2018
Please review the following: http://cr.openjdk.java.net/~almatvee/8198316/webrev.00/
Reviewers: kcr
Fixed crash when output was removed and re-added by doing it on main thread with disabled rendering.
16-02-2018
Attached is Test.java which reproduces this issue. Instead of "URL TO HLS PLAYLIST" put URL to HLS playlist. I was able to reproduce it with several HLS streams which contains video and audio tracks, so I think it is stream independent issue.