Plex has started to crash on a regular basis on my Windows 10 Server

Server Version#: 1.17.0.1841
Player Version#: Roku, Chrome, LG, you name it !

I’ve noticed my plex server crashing on a regular basis even after i have upgraded to the latest version.

I think it might have something to do with HW transcoding, but i have NUC Skull Canyon (I got this just to be my forever plex server) so it should be fine.

Any help greatly recieved, ive attahced the logs and the crash dump folder

Plex Media Server Logs_2019-10-01_23-05-24.zip (8.5 MB)

CRASH FOLDER.zip (94.5 KB)

+1 on this. Very recent development for me. My media server will just quit minutes after launching it (seemingly unless it’s being used right away).

Thanks for the post BigDan. It would definitely be nice to get that Skull working for you :slightly_smiling_face:

Can we get steps to reproduce please?
Is it all files that cause the crash?

Oct 01, 2019 20:39:14.524 [7040] ERROR - [FFMPEG] - Failed to create Direct3D device
Oct 01, 2019 20:39:14.524 [7040] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Oct 01, 2019 20:39:14.524 [7040] ERROR - [FFMPEG] - Cannot load nvcuda.dll
Oct 01, 2019 20:39:14.524 [7040] ERROR - [FFMPEG] - Could not dynamically load CUDA
Oct 01, 2019 20:39:14.524 [7040] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred

Oct 01, 2019 20:39:14.811 [7040] INFO - [FFMPEG] - MFT name: 'Intel® Quick Sync Video H.264 Encoder MFT'

Oct 01, 2019 20:39:15.148 [10780] WARN - Crash: Crash reporting disabled

Hi @nibbles

Thanks for the help.

I’d love to say this is based on a specific file or action, but its completely random :frowning:

Hi @nibbles ,

I’ve just updated to Plex Server Version 1.18.0.1846 hoping this should fix the problem ?

D

Hmmmmm, weirdly I now get a “There was an unexpected error during playback. Please visit our forums if you continue to experience problems.” message when i try and use the DVR :frowning:

I would use the stable PMS-1.17.0.1841 for Windows at the moment.
Let’s try to reduce the issues you’re facing.

It’s not all that concerning which file as long as it’s reproducible.

Would you install that version, give it 10min to do whatever,
then restart the computer and give PMS another 10min before
you connect to it and download logs? I’d like to see clean debug logs
showing nothing but a reboot and idle behavior.

Do this at a time when your network is quiet so it can update itself easily.
Thank you sir.

Cool, will do.

ON a side note, the DVR is working again, i think its because i didnt restart the web browser.

I just tried a quick transcode and nothing seems to be crashing either.

I’ll reboot the system now and give you the updated logs !

Logs thanks. If you happen to stay on the beta that’s okay too.

Plex Media Server Logs_2019-10-02_17-23-47.zip (7.6 MB)

This error that’s not really an error is repeating throughout your logs:

is Plusnuts indeed
Oct 02, 2019 17:02:45.974 [10660] ERROR - DVR:Device: Error refreshing existing device device://tv.plex.grabbers.hdhomerun/12345678, marking as dead.
Oct 02, 2019 17:02:46.315 [11840] ERROR - Error issuing curl_easy_perform(handle): 56
Oct 02, 2019 17:02:46.315 [11840] WARN - HTTP error requesting GET http://192.168.1.254:2555/upnp/DSLF_PlusnetHubOne-1_8C-10-D4-10-72-48/desc.xml (0, No error) (Recv failure: Connection was reset)
Oct 02, 2019 17:02:46.315 [11840] ERROR - SSDP: Error parsing device schema for http://192.168.1.254:2555/upnp/DSLF_PlusnetHubOne-1_8C-10-D4-10-72-48/desc.xml
Oct 02, 2019 17:03:17.072 [11840] ERROR - Error issuing curl_easy_perform(handle): 56
Oct 02, 2019 17:03:17.072 [11840] WARN - HTTP error requesting GET http://192.168.1.254:2555/upnp/DSLF_PlusnetHubOne-1_8C-10-D4-10-72-48/desc.xml (0, No error) (Recv failure: Connection was reset)
Oct 02, 2019 17:03:17.072 [11840] ERROR - SSDP: Error parsing device schema for http://192.168.1.254:2555/upnp/DSLF_PlusnetHubOne-1_8C-10-D4-10-72-48/desc.xml
Oct 02, 2019 17:03:54.569 [11840] ERROR - Error issuing curl_easy_perform(handle): 56
Oct 02, 2019 17:03:54.569 [11840] WARN - HTTP error requesting GET http://192.168.1.254:2555/upnp/DSLF_PlusnetHubOne-1_8C-10-D4-10-72-48/desc.xml (0, No error) (Recv failure: Connection was reset)
Oct 02, 2019 17:03:54.569 [11840] ERROR - SSDP: Error parsing device schema for http://192.168.1.254:2555/upnp/DSLF_PlusnetHubOne-1_8C-10-D4-10-72-48/desc.xml
Oct 02, 2019 17:04:24.754 [11840] ERROR - Error issuing curl_easy_perform(handle): 56
Oct 02, 2019 17:04:24.754 [11840] WARN - HTTP error requesting GET http://192.168.1.254:2555/upnp/DSLF_PlusnetHubOne-1_8C-10-D4-10-72-48/desc.xml (0, No error) (Recv failure: Connection was reset)
Oct 02, 2019 17:04:24.754 [11840] ERROR - SSDP: Error parsing device schema for http://192.168.1.254:2555/upnp/DSLF_PlusnetHubOne-1_8C-10-D4-10-72-48/desc.xml
Oct 02, 2019 17:04:38.800 [10632] DEBUG - NotificationStream: Removing because of error
Oct 02, 2019 17:04:54.620 [11840] ERROR - Error issuing curl_easy_perform(handle): 56
Oct 02, 2019 17:04:54.620 [11840] WARN - HTTP error requesting GET http://192.168.1.254:2555/upnp/DSLF_PlusnetHubOne-1_8C-10-D4-10-72-48/desc.xml (0, No error) (Recv failure: Connection was reset)
Oct 02, 2019 17:04:54.620 [11840] ERROR - SSDP: Error parsing device schema for http://192.168.1.254:2555/upnp/DSLF_PlusnetHubOne-1_8C-10-D4-10-72-48/desc.xml
Oct 02, 2019 17:05:26.805 [11840] ERROR - Error issuing curl_easy_perform(handle): 52
Oct 02, 2019 17:05:26.805 [11840] WARN - HTTP error requesting GET http://192.168.1.254:2555/upnp/DSLF_PlusnetHubOne-1_8C-10-D4-10-72-48/desc.xml (0, No error) (Empty reply from server)
Oct 02, 2019 17:05:26.805 [11840] ERROR - SSDP: Error parsing device schema for http://192.168.1.254:2555/upnp/DSLF_PlusnetHubOne-1_8C-10-D4-10-72-48/desc.xml
Oct 02, 2019 17:06:02.751 [11840] ERROR - Error issuing curl_easy_perform(handle): 56
Oct 02, 2019 17:06:02.751 [11840] WARN - HTTP error requesting GET http://192.168.1.254:2555/upnp/DSLF_PlusnetHubOne-1_8C-10-D4-10-72-48/desc.xml (0, No error) (Recv failure: Connection was reset)
Oct 02, 2019 17:06:02.751 [11840] ERROR - SSDP: Error parsing device schema for http://192.168.1.254:2555/upnp/DSLF_PlusnetHubOne-1_8C-10-D4-10-72-48/desc.xml
Oct 02, 2019 17:06:36.555 [11840] ERROR - Error issuing curl_easy_perform(handle): 52
Oct 02, 2019 17:06:36.555 [11840] WARN - HTTP error requesting GET http://192.168.1.254:2555/upnp/DSLF_PlusnetHubOne-1_8C-10-D4-10-72-48/desc.xml (0, No error) (Empty reply from server)
Oct 02, 2019 17:06:36.555 [11840] ERROR - SSDP: Error parsing device schema for http://192.168.1.254:2555/upnp/DSLF_PlusnetHubOne-1_8C-10-D4-10-72-48/desc.xml
Oct 02, 2019 17:07:06.115 [11840] ERROR - Error issuing curl_easy_perform(handle): 56

Maybe we can turn off GDM in your Settings - Show Advanced - Enable Local Network Discovery?

I’m not 100% sure it’s even an error or worth worrying about, but it’s nonstop.

Previously you did have two exceptions raised, where processes crashed:

Oct 02, 2019 17:01:27.172 [12300] DEBUG - Jobs: 'D:\Plex\Plex Media Server\PlexRelay.exe' exit code for process 8300 is 1073807364 (failure)
Oct 02, 2019 17:01:27.172 [12300] DEBUG - Jobs: 'D:\Plex\Plex Media Server\Plex Tuner Service.exe' exit code for process 9628 is 1073807364 (failure)

Didn’t see anything bad in the new logs except the plus one device.

Hi,

Its looking better, I turned off GDM as you suggested.

One quick thing, i noticed this error:-

DEBUG - MDE: Selected protocol hls; container: mkv
Oct 02, 2019 16:32:55.266 [2140] DEBUG - MDE: analyzing media item 250313
Oct 02, 2019 16:32:55.266 [2140] DEBUG - MDE: Deadpool 2 (2018): Direct Play is disabled
Oct 02, 2019 16:32:55.266 [2140] DEBUG - MDE: Deadpool 2 (2018): media must be transcoded in order to use the hls protocol
Oct 02, 2019 16:32:55.266 [2140] DEBUG - MDE: Deadpool 2 (2018): no direct play video profile exists for http/mkv/hevc
Oct 02, 2019 16:32:55.266 [2140] DEBUG - MDE: Deadpool 2 (2018): no direct play video profile exists for http/mkv/hevc/truehd
Oct 02, 2019 16:32:55.266 [2140] DEBUG - MDE: Deadpool 2 (2018): Direct Streaming is disabled, so video stream will be transcoded
Oct 02, 2019 16:32:55.266 [2140] DEBUG - MDE: Deadpool 2 (2018): no remuxable profile found, so video stream will be transcoded
Oct 02, 2019 16:32:55.266 [2140] DEBUG - MDE: Cannot direct stream video stream due to profile or setting limitations
Oct 02, 2019 16:32:55.266 [2140] DEBUG - Codecs: testing hevc (decoder) with hwdevice nvdec
Oct 02, 2019 16:32:55.266 [2140] DEBUG - Codecs: hardware transcoding: testing API nvdec
Oct 02, 2019 16:32:55.266 [2140] ERROR - [FFMPEG] - Cannot load nvcuda.dll
Oct 02, 2019 16:32:55.266 [2140] ERROR - [FFMPEG] - Could not dynamically load CUDA
Oct 02, 2019 16:32:55.266 [2140] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Oct 02, 2019 16:32:55.266 [2140] DEBUG - Codecs: testing hevc (decoder) with hwdevice dxva2
Oct 02, 2019 16:32:55.266 [2140] DEBUG - Codecs: hardware transcoding: testing API dxva2
Oct 02, 2019 16:32:55.297 [2140] DEBUG - Codecs: Testing with profile 'Main 10'
Oct 02, 2019 16:32:55.297 [2140] DEBUG - [FFMPEG] - nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
Oct 02, 2019 16:32:55.297 [2140] DEBUG - [FFMPEG] - nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
Oct 02, 2019 16:32:55.297 [2140] DEBUG - [FFMPEG] - nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
Oct 02, 2019 16:32:55.297 [2140] DEBUG - [FFMPEG] - nal_unit_type: 20(IDR_N_LP), nuh_layer_id: 0, temporal_id: 0
Oct 02, 2019 16:32:55.297 [2140] DEBUG - [FFMPEG] - Decoding VPS
Oct 02, 2019 16:32:55.297 [2140] DEBUG - [FFMPEG] - Main 10 profile bitstream
Oct 02, 2019 16:32:55.297 [2140] DEBUG - [FFMPEG] - Decoding SPS
Oct 02, 2019 16:32:55.297 [2140] DEBUG - [FFMPEG] - Main 10 profile bitstream
Oct 02, 2019 16:32:55.297 [2140] DEBUG - [FFMPEG] - Decoding VUI
Oct 02, 2019 16:32:55.297 [2140] DEBUG - [FFMPEG] - Decoding PPS
Oct 02, 2019 16:32:55.297 [2140] DEBUG - [FFMPEG] - Format dxva2_vld chosen by get_format().
Oct 02, 2019 16:32:55.297 [2140] DEBUG - [FFMPEG] - Format dxva2_vld requires hwaccel initialisation.
Oct 02, 2019 16:32:55.328 [2140] DEBUG - Codecs: 10-bit HEVC test succeeded
Oct 02, 2019 16:32:55.359 [2140] DEBUG - Scaled up video bitrate to 78021Kbps based on 4.500000x fudge factor.
Oct 02, 2019 16:32:55.375 [2140] DEBUG - MDE: Deadpool 2 (2018): Audio Direct Streaming is disabled, so video's audio stream will be transcoded
Oct 02, 2019 16:32:55.375 [2140] DEBUG - Codecs: testing aac_mf (encoder)
Oct 02, 2019 16:32:55.375 [2140] INFO - [FFMPEG] - MFT name: 'Microsoft AAC Audio Encoder MFT'

should this be something to worry about:- “Cannot load nvcuda.dll” ?

Cheers

D

Yes I believe that’s is the likely symptom. There are reports of hw encoder/decoder failure in the new PMS 1.17.0.xxxx. They are similar to yours, and people have been trying to narrow down if they can fix the problem by updating to the latest GPU driver.

Would you describe your hardware the server runs on, OS patch and driver details, method of installing it, etc?

My two guesses: Only 1 of the 12 possible ways of getting that driver into Windows works, or it’s a PMS issue already being worked on. They get bug reports uploaded to them if people share.

So I have a standard Intel NUC Skull Canyon:-

Processor - Intel Core i7-6770HQ Skylake-H, 4C/8T, 2.6 GHz (Turbo to 3.5 GHz), 14nm, 6MB L2, 45W TDP
Memory - 16 GB Ram
Graphics - Intel Iris Pro Graphics 580
Dedicated Samsung SSD for the Plex app.

I’m on Windows 10 PRO 64 bit version.
I use the Intel driver and support assitant which tells me im on all the latest drives.

Also, I run the Skull Canyon remotley (As its tiny and in a cabinet in the study) and access it on my laptop via MS Remote Desktop.

Did you recently get a big MS OS update? I had a similar issue with running an ARK: Survival Evolved server where it would work great until I disconnected from RDP.

Basically windows won’t give control of the graphics unless there is someone logged in after the 2018 Fall update (I believe). I made a script batch script from here that I can run that will log out of rdp and give control back to the console. This is kind of a security risk however, since that means the console is logged into the machine.

Worth a try to see if this helps narrow it down at least, my server just pulled down the fall update about a month ago when I ran into it. I would test for you on my rig, but I run Plex as a Service so I already can’t run H/W transcoding.

People are reporting success with the PMS-1.18.0.1846 beta just released.
If you have a plex pass, try that out.

1 Like

Seems to be working for me … I think!

@Nights0ng - Be good to know what you think of the new release ?

D.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.