Server Version#:1.23.0.4497 on Synology DS918+
Player Version#:8.17.0.25028 on Pixel 3a XL & Nvidia Shield
This happens with MPEG2 video (DVD rip) or H.264 video (DVD rip run through Handbrake).
Scenario 1: Subtitles enabled prior to transcode
a) Play movie with subtitles enabled. It direct plays as expected.
b) Force a transcode by changing quality in playback settings.
c) Plex client immediately crashes and restarts, returning to home screen.
Scenario 2: Subtitles enabled after transcoding begins
a) Play movie without subtitles. It direct plays as expected.
b) Force a transcode by changing quality in playback settings. Plex Media Server transcodes video & audio as expected.
c) Enable VOBSUB subtitles. Plex client immediately crashes and restarts, returning to home page.
The above happens on my Android mobile and Shield TV.
It happens whether or not hardware accelerated transcoding is enabled.
Movies with embedded PGS or SRT subtitles do not exhibit this problem.
Sample log entries when a crash occurred:
Android mobile client:
05-10 13:52:30.395 e: Fatal exception occurred.
05-10 13:52:30.397 e: An exception occurred: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
05-10 13:52:30.398 e: Stacktrace: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
Server log:
May 10, 2021 13:52:31.566 [0x7f805556ab38] DEBUG - Failed to stream media, client probably disconnected after 311296 bytes: 104 - Connection reset by peer
Android mobile client & server logs and XML for both movies attached. The logs are for Scenario 1, and hardware accelerated transcoding is enabled. I did not pull Shield client logs, but can if necessary.
(attachments deleted since Plex can reproduce internally)