Plex Media Server Crashes Every night

Server Version#: 1.30.1.6497
Player Version#: N/A

Hi all

Hoping someone can point me in the right direction.
Every night during the scheduled maintenance window Plex crashes.
There is no error in the logs (even after enabling verbose), only an event created in event viewer.

Specifically:
Faulting application name: Plex Media Server.exe, version: 1.30.1.6497, time stamp: 0x639a1ff1
Faulting module name: Plex Media Server.exe, version: 1.30.1.6497, time stamp: 0x639a1ff1
Exception code: 0xc0000005
Fault offset: 0x00000000005c3a5b
Faulting process id: 0x194c
Faulting application start time: 0x01d9180e1030bac0
Faulting application path: C:\Program Files\Plex\Plex Media Server\Plex Media Server.exe
Faulting module path: C:\Program Files\Plex\Plex Media Server\Plex Media Server.exe

I’ve trauled through all the logs, nothing specifically jumping out at me and I’ve also restarted/reinstalled it to no avail.

Does anyone have any idea how I can debug the error further?

Thanks

Something up at the moment as my Plex Media Server is randomly crashing now, it starts and then just crashes. Have rebooted, uninstalled, reverted to earlier build, nothing works. I’ve changed nothing on my Mac.

Maybe it’s trying to do scheduled maintenance at start up and just crashes. I’ve to force quite now. Any suggestion to getting it to work, can’t even download logs as it crashes at start-up.

Version: Version 1.30.1.6497
Mac mini 2012 MacOS 10.13.6

See https://support.plex.tv/articles/201643703-reporting-issues-with-plex-media-server/ for ensuring server debug logging is enabled. If it was disabled, please restart the server after enabling so that fresh logs get created

and after a crash restart the server and download the server logs and attach

There is a known issue to do with scheduled tasks running music loudness analysis - this will be fixed in PMS 1.30.2 - the logs would confirm if it is this issue

You can manually copy out the logs folder and zip it and attached
See section headed Manually Finding Log Files on the server logs support article

I’m having a similar sounding issue on 1.30.1.6497 / Win 10 x64. Logs are attached.

Plex Media Server Logs_2023-01-03_10-41-34.zip (3.2 MB)

Same here on Mac OS. Went back to the previous version and no issues.

Plex Media Server Logs_2023-01-03_21-28-45.zip (3.8 MB)
I’m having the same issue where my server is crashing intermittently. I’ve attached my logs as I have no idea how to read them but would love it if someone could tell me what I’m looking for and where.

Thanks in advance.

Appears to be the loudness analysis DB issue crashes
I am sending you 1.30.2.6492 alpha (32-bit and 64-bit builds) and you can decide if you switch to the 64-bit build - once you update to the 64-bit build then further auto updates will be for that build

Also could you send me by PM your database (obtained as zip through the Plex Web Troubleshooting page) - you would probably need to upload to dropbox/google drive etc and send me a link

Appears to be a different crash/issue

Could you locate these files please and zip and attach

/var/folders/xq/_047qzc566b30b7xrsl6y4780000gn/T/E6E54CD5-F6D6-43D1-88BB-96990377ED02.dmp
/var/folders/xq/_047qzc566b30b7xrsl6y4780000gn/T/6E2000A4-FEB5-4B18-A326-DA1618AB4FBC.dmp
/var/folders/xq/_047qzc566b30b7xrsl6y4780000gn/T/207A3C84-F0A0-47BA-9C35-1FF73CC1BCC6.dmp

Dump Files.zip (130.1 KB)

Thank you. Attached as requested.

Thank You. We need to resolve an issue we have with analyzing Mac M1 dump files - once that is resolved we can then have the dumps processed and investigated

My apologies for the late reply, I was off for the holidays.
Upgrading to 1.30.2 appears to have corrected the issue so I would imagine it was indeed related to advised bug.

Happy for this to be closed!

Thanks
Shane

Hi - Thanks for providing me with the logs and dmp files. We fixed the issue that was impacting analyzing crash dumps from Mac M1 machines - but that fix is only available as from the new beta that was released yesterday - 1.30.2.6563

I will need logs and crash dump files from this version (or a later version)

Please could you update to this beta release and ensure the server is running with debug logging enabled. Capture the server logs after the crash - I will then be able to identify the dmp files to retrieve if they did not manage to successfully get reported to our crash reporting system.

Thanks

Hi, I just updated to version 1.30.2 on my Intel Mac and hopefully that fixes the problems as another hard crash last night. Although it did take 5 minutes for the Server to start, is this normal?

I’ve been running Plex since 2009 and it has hard crashed more in the previous 2 months than the prior 13 years. So hopefully issues will be resolved.

Logs from Plex 1.30.1 in relation to hard crash at ~4am 2023-01-13
Plex Media Server Logs_2023-01-13_09-04-02.zip (4.7 MB)

Just had another crash of the new Plex Pass version 1.30.2.6563 on Intel Mac mini 2012.

See logs attached, unsure of why it crashed. Restarted now and it’s working again for now.

Plex Media Server Logs_2023-01-13_20-20-31.zip (3.3 MB)

Could you see if you find any dmp files in these 2 directories

~/Library/Application Support/Plex Media Server/Crash Reports/1.30.1.6562-915986d62/PLEX MEDIA SERVER
~/Library/Application Support/Plex Media Server/Crash Reports/1.30.2.6563-3d4dc0cce/PLEX MEDIA SERVER

Please zip and attach the files you find and indicating which of the two directories they were found in

thanks

Hi,
The folders are empty in that location, as in there is a crash reports folder created but within each of the 4 folders there are no file.

Thanks, Luke

PMSLogs.zip (3.1 MB)

Thank you @sa2000 . Please find the attached logs as requested.

@sa2000 I’ve been having multiple crashes over the last month or so, it’s very unusual. I’m currently running version 1.30.2.6563 (on Windows 11).

I am happy to provide crash logs as I’d love to get this resolved. Is it safe to upload logs directly in the forum or can I PM them to you?

Thanks.

Thank you

Can you please look for this file and if you find it, zip it and attach it
Hopefully the $TMPDIR folder (where this file is) has not been purged

/var/folders/xq/_047qzc566b30b7xrsl6y4780000gn/T/386177F3-EDB0-42E3-BB22-FF5445AF3B9A.dmp

The forum is the normal place for providing the zipped logs. We do not log security tokens or passwords. You could also PM to me

1 Like