Plex Media Server Crashing shortly after start up Version 1.24.4.5081

On Friday Oct 1 I noticed by Plex server would crash. If I restart the application it may run for a few minutes and exit again. I have tried reverting to the previous version and rebooting. I upgraded to the latest version and rebooted. But the problem continues.

Server Version#: Version 1.24.4.5081
Player Version#:

Oct 04, 2021 16:11:49.105 [10780] INFO - Crash Uploader - Platform: Windows ServerUUID: 5f58fd9ef7e356a2d7f0c07264c676b112a5bad4 UserId: juan.tejada@gmail.com Version: 1.24.4.5081-e362dc1ee
Oct 04, 2021 16:11:49.105 [10056] DEBUG - HTTP requesting POST https://sentry.io/api/1233455/minidump?sentry_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Oct 04, 2021 16:11:50.470 [10056] DEBUG - HTTP/2.0 (1.4s) 200 response from POST https://sentry.io/api/1233455/minidump?sentry_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Oct 04, 2021 16:11:50.470 [10056] INFO - Successfully reported 20b1c43c-52cc-40f7-9e44-98d859a40ce9
Oct 04, 2021 16:11:50.476 [10056] ERROR - Too many crashdumps detected / retries disallowed!

The log snippet does not provide enough useful information.

Please attach the entire zip file.

Plex Media Server Logs_2021-10-05_08-03-20.zip (2.1 MB)

Attached are my logs. Thank you for your assistance.

Found a number of uploaded crash reports from your system - they were for before the times covered in the logs - last uploaded crash report was for crash at Oct 4, 2021 7:20:48 PM UTC PMS time 12:20:48

But probably they were for the same crash that repeatedly happened after that and appears to be a crash when scanning a TV Library - possibly some extended character issue with the episodes / show names

Library being scanned #TV Shows-DirtyBOX - I do not know if the # is relevant to the issue

Directory being scanned

D:\MEDIA\PLEX\TEKILLA-DIRTY\Plex Versions\Custom_ Universal TV 35

Could you send me a complete directory listing of this path with all directories / filenames - send it as zipped txt file to me by Private Message.

I will refer the dumps to the development team but would need to be able to repro the issue - so filenames /directory names important

@tekilla-808 Could you try the latest beta as it had an update to the boost library and the crash was in boost code relating to regex handling
Current beta 1.24.4.5081-e362dc1ee

Let me know if crashes continue or stop - with fresh logs if they continue
Also please look for temporary dmp files copied to %TEMP% after the crash and attempts to upload the crash report - filenames would look like this 2753dac0-dd93-45a9-8e1c-18bcaca13f44 this is just an example - not sure if there is a .dmp filename extension or not

@tekilla-808 I am going to hold back on referring the crash dumps to the development team until I have the file / directory list and also confirmation that the problem also arises on the latest beta 1.24.4.5081-e362dc1ee

Everyone thank you for the help on this. I was running the beta I uninstalled and reinstalled it a few times. Then I went to older versions. But I can go back to that version again.

Attached is my directly list. Just an FYI, the directory in question is the output directory for my transcoded movies. I will also remove all the finished movies to see if they were the cause.
The # is in the library name but not in the folder name. I’ve used the # for years for my directories that I auto optimize.

Custom_ Universal TV 35.txt (4.0 KB)

OK - I found a crash dump for the beta as well. Thanks

Thank you

I will refer this to the development team

Just thinking - I wonder if it is to do with the apostrophe in this filename
Finding 'Ohana (2021).mp4

So although this is a TV Library - the path you specified has movies !

Why are you doing this ?

It may sound crazy, but I map the same directory twice, once as a temp movie directory and once as a temp tv show directory. When plex detects a movie it outputs the optimized file to the Custom_ Universal TV 35 subfolder, and when it detects a show it outputs the file to the Custom_ Universal TV 36 subfolder. I then run scripts to move items into their correct directories.

FYI. All of the files in the directory that was crashing were created as outputs by Plex. I moved all of those optimized files out and the server stopped crashing. Would you happen to know which file was the one that was causing the crash. I did see a file with an underscore. I’m not sure if that was the problem file. Would you be able to tell me which log file had error for the directory scan?

I tested several files that had non-standard characters. The file that caused the crash is fear Street_ Part One - 1994 (2021).mp4. The file is a fluke, the name has two years in the name. If I delete 1994 or (2021) the crash stops. If i put a period in between the dates 1994.(2021) it also stops.

The original file did not cause a crash only the optimized version.

Thanks for the investigation,

I will pass that on.

The regex pattern identification code for TV seasons and Episode identification was changed recently to allow for some variations - of course having movie file name syntax in a TV library would complicate matters and may lead to unexpected behaviour

I presume the original file is in a movies library and not a TV library and would not be running same regex code

The Plex Media Server.log and Plex Media Server.x.log files
e.g.

Oct 04, 2021 17:15:34.133 [3720] DEBUG - Scanning #TV Shows-DirtyBOX using en-US(Plex TV Series) with 0 current media items and 1 section locations in the database.
Oct 04, 2021 17:15:34.133 [3720] DEBUG - Performing a scan with 'Plex TV Series' (language: en-US virtual: 0).
Oct 04, 2021 17:15:34.133 [3720] DEBUG -   * Scanning D:\MEDIA\PLEX\TEKILLA-DIRTY\Plex Versions\Custom_ Universal TV 35
Oct 04, 2021 17:15:34.133 [3720] DEBUG - Scanner: Processing directory D:\MEDIA\PLEX\TEKILLA-DIRTY\Plex Versions\Custom_ Universal TV 35 (parent: yes)
Oct 04, 2021 17:15:34.135 [10356] DEBUG - Auth: authenticated user 1 as tekilla-808
Oct 04, 2021 17:15:34.135 [12000] DEBUG - Request: [192.168.2.9:59526 (Subnet)] GET /library/sections (8 live) TLS GZIP Signed-in Token (tekilla-808)
Oct 04, 2021 17:15:34.136 [3720] DEBUG - Directory had 24 files, database had 0 files, can't skip.
Oct 04, 2021 17:15:34.142 [10352] DEBUG - Completed: [192.168.2.9:59526] 200 GET /library/sections (8 live) TLS GZIP 7ms 2216 bytes (pipelined: 3)
Oct 04, 2021 17:15:34.312 [10352] DEBUG - Auth: authenticated user 1 as tekilla-808
Oct 04, 2021 17:15:34.312 [8184] DEBUG - Request: [192.168.2.9:61059 (Subnet)] GET /media/providers (8 live) GZIP Signed-in Token (tekilla-808)
Oct 04, 2021 17:15:34.312 [3788] DEBUG - [JobRunner] Job running: "D:\Program Files (x86)\Plex\Plex Media Server\CrashUploader.exe" "--directory=D:\Users\tejada\AppData\Local\Plex Media Server\Crash Reports\1.24.2.4973-2b1b51db9" --version=1.24.2.4973-2b1b51db9 --platform=Windows "--platformVersion=10.0 (Build 17763)" --serverUuid=5f58fd9ef7e356a2d7f0c07264c676b112a5bad4 --userId=xxxx.xxxx@xxxx.xxx --sentryUrl=https://sentry.io/api/1233455/minidump --sentryKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --vendor=Microsoft --model=x64 --device=PC --allowRetries=0
Oct 04, 2021 17:15:34.312 [10356] DEBUG - Auth: authenticated user 1 as tekilla-808
Oct 04, 2021 17:15:34.312 [12000] DEBUG - Request: [192.168.2.9:59526 (Subnet)] GET /media/providers (8 live) TLS GZIP Signed-in Token (tekilla-808)
Oct 04, 2021 17:15:34.315 [3788] DEBUG - [JobRunner] Jobs: Starting child process with pid 5324

Thank you for all your help on this. I agree my setup is not standard because I am processing both movies and tv shows in the same parent directory. Hopefully the info I provided can be used to tweak a future update how it parses files. You guys rock.

Hi

The fix for this has now been released in the latest beta version of Plex Media Server - version 1.25.0.5220

See release notice

  • (Scanner) The TV scanner could crash if passed a specific path (#13118)
1 Like

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