Plex Media Server Crash

Server Version#: 1.25.0.5220
Player Version#: Version 4.66.1

When attempting to play a movie, on the Web Player or my TV, I will get a playback error message, and the server will appear offline for a small period of time, like 2-5 minutes. If I try playback using an IOS app it works fine. If I access the File from a PC located on the NAS it playbacks fine on explorer. This error appeared to have started AFTER I was asked to swap to the media fetcher.

Plex Media Server Logs_2021-11-16_00-43-50.zip (3.1 MB)

2 Likes

Any ideas or help with this would be appreciated it’s been an issue for a while now

Would you please do the following

  1. Turn VERBOSE logging off again. It’s generating so much noise in the logs that It’s extremely difficult to follow.

  2. Now recreate if you can?

  3. Download and attach a fresh set of logs ?

What I’m seeing is a Plex/web client.
I think it’s trying to transcode but don’t see the FFMPEG invocation.
I do see some DirectStreaming (so it must be transcoding somewhere)

PS: If you turned on transcoder logging to VERBOSE, please put that back at DEBUG.

I agree it seems to be a Transcode issue, I did some well timed screenshots to hopefully help. Also worth saying this server is a dedicated linux box that has been running fine for months.Plex Media Server Logs_2021-11-18_22-46-09.zip (1.3 MB)

@Davidtt485

May I have the XML for the file which you show in your screenshot and logs ?

Need the <media> through </media> part only.
The rest is metadata fluff

I’m having this exact same issue. Segfaults trying to fire up hardware transcoding.

I’ve got an Intel GPU so it lines up with the new XE support update.

I’d love to get you .dmp files except they aren’t saving. It segfaults and says it dumped a file but it didn’t. So that’s fun.

@insanemal

Can you provide the XML and DEBUG logs which capture the failure?

I’ve already spoken to the team. They’re pretty sure they know the problem.
They’ll come take a look.

The more data we can give them, the better.

@ChuckPa I’d love to. Where do I find them? I can’t seem to find anything in the Crash Reporting folder. Just empty folders no files.

  1. Hover over the item . → Get Info → View XML

we only need a small part from the top of the XML
From <media> through </media> tags

  1. The DEBUG loggs are easy - Settings - Server - Troubleshooting (left panel) - Download Logs. Attach the ZIP file it gives you

Oh it breaks for any playback that uses transcode.
I’ll attach the logs tho

Plex Media Server Logs_2021-11-19_11-37-47.zip (767.9 KB)

@insanemal

You have the XML section please? We need that too to confirm.

Yeah, I’ll just go with the one I’ve been testing.

<Media id="21929" duration="5448030" bitrate="33669" width="1920" height="1080" aspectRatio="1.78" audioChannels="8" audioCodec="dca-ma" videoCodec="vc1" videoResolution="1080" container="mkv" videoFrameRate="24p" audioProfile="ma" videoProfile="advanced">
<Part id="22098" key="/library/parts/22098/1614056625/file.mkv" duration="5448030" file="/mnt/ceph/media/downloads/radarr/Rush Hour 3 (2007)/Rush Hour 3 2007.mkv" size="22932022362" audioProfile="ma" container="mkv" deepAnalysisVersion="6" requiredBandwidths="34835,34601,34175,33985,33835,33746,33746,33746" videoProfile="advanced">
<Stream id="65085" streamType="1" default="1" codec="vc1" index="0" bitrate="27999" language="English" languageTag="en" languageCode="eng" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" codedHeight="1080" codedWidth="1920" frameRate="23.976" height="1080" level="3" profile="advanced" refFrames="1" requiredBandwidths="27996,27989,27975,27975,27975,27975,27975,27975" scanType="progressive" width="1920" displayTitle="1080p (VC1)" extendedDisplayTitle="1080p (VC1)">
</Stream>
<Stream id="65086" streamType="2" selected="1" default="1" codec="dca" index="1" channels="8" bitrate="5233" language="English" languageTag="en" languageCode="eng" audioChannelLayout="7.1" bitDepth="24" profile="ma" requiredBandwidths="6395,6149,5798,5588,5579,5579,5579,5579" samplingRate="48000" displayTitle="English (DTS-HD MA 7.1)" extendedDisplayTitle="English (DTS-HD MA 7.1)">
</Stream>
<Stream id="65087" streamType="2" codec="dca" index="2" channels="2" bitrate="255" language="English" languageTag="en" languageCode="eng" audioChannelLayout="stereo" bitDepth="24" profile="dts" requiredBandwidths="256,256,256,256,256,256,256,256" samplingRate="48000" title="Commentary by Director Brett Ratner and Writer Jeff Nathanson" displayTitle="English (DTS Stereo)" extendedDisplayTitle="Commentary by Director Brett Ratner and Writer Jeff Nathanson (English DTS Stereo)">
</Stream>
<Stream id="65088" streamType="3" default="1" forced="1" codec="srt" index="3" language="English" languageTag="en" languageCode="eng" requiredBandwidths="1,1,1,1,1,1,1,1" title="Forced" displayTitle="English Forced (SRT)" extendedDisplayTitle="Forced (English SRT)">
</Stream>
<Stream id="65089" streamType="3" codec="pgs" index="4" bitrate="55" language="English" languageTag="en" languageCode="eng" requiredBandwidths="89,89,89,89,89,89,89,89" title="SDH" displayTitle="English (PGS)" extendedDisplayTitle="SDH (English PGS)">
</Stream>
<Stream id="65090" streamType="3" codec="pgs" index="5" bitrate="46" language="Spanish" languageTag="es" languageCode="spa" requiredBandwidths="65,65,65,65,65,65,65,65" displayTitle="Spanish (PGS)" extendedDisplayTitle="Spanish (PGS)">
</Stream>
<Stream id="65091" streamType="3" codec="pgs" index="6" bitrate="24" language="French" languageTag="fr" languageCode="fra" requiredBandwidths="50,50,50,50,50,50,50,50" displayTitle="French (PGS)" extendedDisplayTitle="French (PGS)">
</Stream>
<Stream id="65092" streamType="3" codec="pgs" index="7" bitrate="56" language="French" languageTag="fr" languageCode="fra" requiredBandwidths="67,67,67,67,67,67,67,67" title="Commentary by Director Brett Ratner and Writer Jeff Nathanson" displayTitle="French (PGS)" extendedDisplayTitle="Commentary by Director Brett Ratner and Writer Jeff Nathanson (French PGS)">
</Stream>
</Part>
</Media>

Disabling Hardware Acceleration on the plex server fixes the issue but also disables Direct Play. Which makes no sense.

Is there a way to disable hardware acceleration on the sever without killing client side acceleration?

Which client? Which acceleration? you’re a bit shy on the specifics. :slight_smile:

When I go into this menu and disable “Use hardware acceleration when available” my clients lose the ability to do direct play. As this is an option on the “Transcoding” menu and seems to predominately talking about the server, it just strikes me as odd that direct play stops working as that case requires no transcoding

Obviously I’ve got that disabled at the moment as it resolves the issue with Plex sever crashing when transcoding is asked for

<Media id="1380" duration="6417417" bitrate="34617" width="1920" height="1080" aspectRatio="1.78" audioChannels="6" audioCodec="dca-ma" videoCodec="vc1" videoResolution="1080" container="mkv" videoFrameRate="24p" audioProfile="ma" videoProfile="advanced">
<Part accessible="1" exists="1" id="1381" key="/library/parts/1381/1462077992/file.mkv" duration="6417417" file="/media/movies/The Fast and the Furious (2001)/The Fast and the Furious (2001).mkv" size="27772087226" audioProfile="ma" container="mkv" deepAnalysisVersion="6" requiredBandwidths="39050,38385,36769,36094,35735,35735,35735,35735" videoProfile="advanced">
<Stream id="97050" streamType="1" codec="vc1" index="0" bitrate="28517" language="English" languageTag="en" languageCode="eng" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" codedHeight="1080" codedWidth="1920" frameRate="23.976" height="1080" level="3" profile="advanced" refFrames="1" requiredBandwidths="32813,31991,30461,29697,29526,29526,29526,29526" scanType="progressive" width="1920" displayTitle="1080p (VC1)" extendedDisplayTitle="1080p (VC1)"> </Stream>
<Stream id="97051" streamType="2" default="1" codec="dca" index="1" channels="6" bitrate="4590" language="English" languageTag="en" languageCode="eng" audioChannelLayout="5.1(side)" bitDepth="24" profile="ma" requiredBandwidths="5104,4937,4831,4831,4831,4831,4831,4831" samplingRate="48000" title="Surround 5.1" displayTitle="English (DTS-HD MA 5.1)" extendedDisplayTitle="Surround 5.1 (English DTS-HD MA)"> </Stream>
<Stream id="97052" streamType="2" selected="1" codec="dca" index="2" channels="6" bitrate="1509" language="English" languageTag="en" languageCode="eng" audioChannelLayout="5.1(side)" bitDepth="24" profile="dts" requiredBandwidths="1509,1509,1509,1509,1509,1509,1509,1509" samplingRate="48000" title="Surround 5.1" displayTitle="English (DTS 5.1)" extendedDisplayTitle="Surround 5.1 (English DTS)"> </Stream>
</Part>
</Media>

Any updates or advice?

1 Like

Any status change is there something we can do or is there a fix coming ?

@Davidtt485

You posted in the other thread as well as here.

Again I ask -

Do you have DEBUG log files which capture this failure ?

If you scroll up I posted the logs taken after the failure as well as a screenshot of the console from when the crash happened.