BUG: Plex Media Scanner Crashes every night

Server Version#: 1.20.3.3483

Every night my Plex Media Scanner crashes. Having done some googling it seems it may be some specific files the scanner is having problems with, but I cant seen to figure out which ones. Looking at the Plex Media Scanner Logs I see 5 Analysis files that all look like this, but there is no information about which file. Any ideas?

Oct 26, 2020 01:09:15.557 [3008] INFO - Plex Media Scanner v1.20.3.3483-211702a9f - Microsoft PC x64 - build: windows-x86 - GMT -07:00
Oct 26, 2020 01:09:15.557 [3008] INFO - Windows version: 6.2 (Build 9200), language en-US
Oct 26, 2020 01:09:15.557 [3008] INFO - 32 3493 MHz processor(s): Architecture=0, Level=23, Revision=2050 Processor Identifier=AMD64 Family 23 Model 8 Stepping 2, AuthenticAMD
Oct 26, 2020 01:09:16.012 [23592] WARN - [FFMPEG] - stream 0, timescale not set
Oct 26, 2020 01:09:16.390 [23592] WARN - [FFMPEG] - stream 0, timescale not set
Oct 26, 2020 01:09:16.782 [23592] WARN - [FFMPEG] - stream 0, timescale not set
Oct 26, 2020 01:09:17.103 [23592] WARN - [FFMPEG] - stream 0, timescale not set

Looking at the Deep Analysis Log I see things that look like this, again no specific file information

Oct 26, 2020 01:02:51.193 [30156] INFO - Plex Media Scanner v1.20.3.3483-211702a9f - Microsoft PC x64 - build: windows-x86 - GMT -07:00
Oct 26, 2020 01:02:51.193 [30156] INFO - Windows version: 6.2 (Build 9200), language en-US
Oct 26, 2020 01:02:51.193 [30156] INFO - 32 3493 MHz processor(s): Architecture=0, Level=23, Revision=2050 Processor Identifier=AMD64 Family 23 Model 8 Stepping 2, AuthenticAMD
Oct 26, 2020 01:02:51.333 [28004] WARN - [FFMPEG] - ignoring 'frma' atom of 'mp4a', stream format is 'drms'
Oct 26, 2020 01:02:51.334 [28644] WARN - [FFMPEG] - ignoring 'frma' atom of 'mp4a', stream format is 'drms'
Oct 26, 2020 01:02:51.520 [28644] WARN - [FFMPEG] - stream 0, timescale not set
Oct 26, 2020 01:02:51.523 [28644] ERROR - [FFMPEG] - channel element 2.9 is not allocated
Oct 26, 2020 01:02:51.534 [28644] ERROR - [FFMPEG] - channel element 2.9 is not allocated
Oct 26, 2020 01:02:51.534 [28644] ERROR - Analysis: Codec error 'Invalid data found when processing input'.
Oct 26, 2020 01:02:51.534 [28644] ERROR - [FFMPEG] - SBR was found before the first channel element.
Oct 26, 2020 01:02:51.534 [28644] WARN - [FFMPEG] - Sample rate index in program config element does not match the sample rate index configured by the container.
Oct 26, 2020 01:02:51.534 [28644] WARN - [FFMPEG] - Too large remapped id
Oct 26, 2020 01:02:51.534 [28644] WARN - [FFMPEG] -  is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
Oct 26, 2020 01:02:51.534 [28644] WARN - [FFMPEG] - If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
Oct 26, 2020 01:02:51.534 [28644] ERROR - Analysis: Codec error 'Not yet implemented in FFmpeg, patches welcome'.
Oct 26, 2020 01:02:51.534 [28644] ERROR - [FFMPEG] - Reserved bit set.
Oct 26, 2020 01:02:51.534 [28644] ERROR - [FFMPEG] - Number of scalefactor bands in group (52) exceeds limit (47).
Oct 26, 2020 01:02:51.534 [28644] ERROR - Analysis: Codec error 'Invalid data found when processing input'.
Oct 26, 2020 01:02:51.534 [28644] ERROR - [FFMPEG] - channel element 2.5 is not allocated
Oct 26, 2020 01:02:51.534 [28644] ERROR - Analysis: Codec error 'Invalid data found when processing input'.
Oct 26, 2020 01:02:51.534 [28644] ERROR - [FFMPEG] - Reserved bit set.
Oct 26, 2020 01:02:51.534 [28644] ERROR - [FFMPEG] - Number of bands (70) exceeds limit (42).
Oct 26, 2020 01:02:51.534 [28644] ERROR - Analysis: Codec error 'Invalid data found when processing input'.
Oct 26, 2020 01:02:51.534 [28644] WARN - [FFMPEG] - Multiple frames in a packet.
Oct 26, 2020 01:02:51.534 [28644] WARN - [FFMPEG] - Sample rate index in program config element does not match the sample rate index configured by the container.
Oct 26, 2020 01:02:51.537 [28644] ERROR - [FFMPEG] - Inconsistent channel configuration.
Oct 26, 2020 01:02:51.537 [28644] ERROR - [FFMPEG] - get_buffer() failed
Oct 26, 2020 01:02:51.537 [28644] ERROR - Analysis: Codec error 'Invalid argument'.
Oct 26, 2020 01:02:51.537 [28644] WARN - [FFMPEG] - Sample rate index in program config element does not match the sample rate index configured by the container.
Oct 26, 2020 01:02:51.537 [28644] WARN - [FFMPEG] - Too large remapped id
Oct 26, 2020 01:02:51.537 [28644] WARN - [FFMPEG] -  is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
Oct 26, 2020 01:02:51.537 [28644] WARN - [FFMPEG] - If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
Oct 26, 2020 01:02:51.537 [28644] ERROR - Analysis: Codec error 'Not yet implemented in FFmpeg, patches welcome'.
Oct 26, 2020 01:02:51.537 [28644] ERROR - [FFMPEG] - Reserved bit set.
Oct 26, 2020 01:02:51.537 [28644] ERROR - [FFMPEG] - Prediction is not allowed in AAC-LC.
Oct 26, 2020 01:02:51.537 [28644] ERROR - Analysis: Codec error 'Invalid data found when processing input'.
Oct 26, 2020 01:02:51.537 [28644] ERROR - [FFMPEG] - Pulse tool not allowed in eight short sequence.
Oct 26, 2020 01:02:51.537 [28644] ERROR - Analysis: Codec error 'Invalid data found when processing input'.
Oct 26, 2020 01:02:51.537 [28644] WARN - [FFMPEG] - Sample rate index in program config element does not match the sample rate index configured by the container.
Oct 26, 2020 01:02:51.537 [28644] WARN - [FFMPEG] - Too large remapped id
Oct 26, 2020 01:02:51.537 [28644] WARN - [FFMPEG] -  is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
Oct 26, 2020 01:02:51.537 [28644] WARN - [FFMPEG] - If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
Oct 26, 2020 01:02:51.537 [28644] ERROR - Analysis: Codec error 'Not yet implemented in FFmpeg, patches welcome'.
Oct 26, 2020 01:02:51.537 [28644] ERROR - [FFMPEG] - channel element 2.2 is not allocated
Oct 26, 2020 01:02:51.537 [28644] ERROR - Analysis: Codec error 'Invalid data found when processing input'.
Oct 26, 2020 01:02:51.537 [28644] WARN - [FFMPEG] - Sample rate index in program config element does not match the sample rate index configured by the container.
Oct 26, 2020 01:02:51.537 [28644] WARN - [FFMPEG] - Too large remapped id
Oct 26, 2020 01:02:51.537 [28644] WARN - [FFMPEG] -  is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
Oct 26, 2020 01:02:51.537 [28644] WARN - [FFMPEG] - If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
Oct 26, 2020 01:02:51.537 [28644] ERROR - Analysis: Codec error 'Not yet implemented in FFmpeg, patches welcome'.


the logs roll over after they get to a certain size. the ones with higher numbers are the older logs. no number = newest. number 5 is the oldest for a particular log. then it deletes the oldest when a new one is made. might have file name in an earlier one. If it is really taking a super long time to analyze you can increase the number of logs the it keeps in the advanced settings file of server.

will you share how?

Change the value for LogNumFiles then restart server https://support.plex.tv/articles/201105343-advanced-hidden-server-settings/

Im not sure having more files without the information about the files causing the issue will help.

How do I find out which files are actually causing the crash? Obviously something in my library is giving Plex fits, it just doesnt seem to log which file.

Found this old thread and I am getting the exact same error code. I bet its some kind of bug regression

Description
Faulting Application Path: C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Scanner.exe

Problem signature
Problem Event Name: APPCRASH
Application Name: Plex Media Scanner.exe
Application Version: 1.20.4.3517
Application Timestamp: 5f99e132
Fault Module Name: StackHash_718d
Fault Module Version: 10.0.19041.546
Fault Module Timestamp: d49544eb
Exception Code: c0000374
Exception Offset: PCH_78_FROM_ntdll+0x00071BDC
OS Version: 10.0.19041.2.0.0.256.48
Locale ID: 1033
Additional Information 1: 718d
Additional Information 2: 718d3f233729b33464dc80b1be159a7b
Additional Information 3: 7e8f
Additional Information 4: 7e8f0891a4916afd528437753b5592db

Extra information about the problem
Bucket ID: 5aec5395d1f93ad7e13f6a9c213a5ebe (1242829240982462142)

Do you have debug logging enabled in settings?

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