JDK-8187594 : Media crashes with libavcodec 57 on Ubuntu 17.04 32-bit
  • Type: Bug
  • Component: javafx
  • Sub-Component: media
  • Affected Version: 8u162,10
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • Submitted: 2017-09-15
  • Updated: 2020-01-31
  • Resolved: 2017-11-14
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 10 JDK 8
10Fixed 8u162Fixed
Related Reports
Relates :  
Relates :  
Media crashes with libavcodec 57 on Ubuntu 17.04 32-bit. To reproduce this issue load any MP4 files in MediaPlayer.

After investigation it looks like issue with libavcodec on Ubuntu and nothing can be done on our side. It crashes when loading libavplugin-ffmpeg-57.so using dlopen.

No issues with pre-build libav or ffmpeg. Does not reproduces on Ubuntu 17.04 64-bit.


Given that the patch imports cleanly to 8u-dev, this is also approved to backport to 8u-dev for 8u172.


Please review the following: http://cr.openjdk.java.net/~almatvee/8187594/webrev.00 Reviewers: kcr, ddehaven Fixed crash by preloading avplugin on separate thread on 32-bit Linux.

Does it happen on Ubuntu 17.10? If it is a bug in the platform library, it would be worth knowing whether it is fixed by a later version.

This crash is only in new platform support that was added in 10, and backported to 9.0.4 and 8u162.

Is it introduced in 10 or earlier in 9 as well?

Starting with JDK 9, we no longer produce or support 32-bit JDKs, so this will only be an issue for JDK 8u, if the issue is reproducible there after JDK-8181922 is backported to 8u.