Media crash when playing MP3 over JRT protocol on macOS 26.
To reproduce this issue play any MP3 files over JRT protocol using FXMediaPlayer.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00000001381f46fc, pid=35080, tid=163075
#
# JRE version: Java(TM) SE Runtime Environment (24.0.2+12) (build 24.0.2+12-54)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.0.2+12-54, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
# Problematic frame:
# C [libjfxmedia_avf.dylib+0x46fc] -[AVFMediaPlayer resourceLoader:shouldWaitForLoadingOfRequestedResource:]+0x1cc
This code was introduced withJDK-8287822 (jfx20) and was accidentally disabled by JDK-8282999 (jfx23) and enabled by JDK-8357714 (jfx25). So affected versions are starting with jfx20.
Note: This issue is intermittent. It takes about 1-50 tries to load MP3 before it crashes.
To reproduce this issue play any MP3 files over JRT protocol using FXMediaPlayer.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00000001381f46fc, pid=35080, tid=163075
#
# JRE version: Java(TM) SE Runtime Environment (24.0.2+12) (build 24.0.2+12-54)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.0.2+12-54, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
# Problematic frame:
# C [libjfxmedia_avf.dylib+0x46fc] -[AVFMediaPlayer resourceLoader:shouldWaitForLoadingOfRequestedResource:]+0x1cc
This code was introduced with
Note: This issue is intermittent. It takes about 1-50 tries to load MP3 before it crashes.
- relates to
-
JDK-8357714 AudioClip.play crash on macOS when loading resource from jar
-
- Resolved
-
-
JDK-8282999 Add support for EXT-X-MEDIA tag in HTTP Live Streaming
-
- Resolved
-
-
JDK-8287822 [macos] Remove support of duplicated formats from macOS
-
- Resolved
-