Crash when enabling intro detection (hw transcode?)

Hello @StSimm1

Thanks for the update, however this did not resolve my issue.
Attached is another log dump.Plex Media Server Logs_2020-05-24_19-40-44.zip (4.3 MB)

On May 24th 7:33PM, I updated to 1.19.5.2847
By 7:36PM the update had finished
Sometime between 7:36 and 7:40 I tried to analyze a single episode, which I THINK maye be this part:

May 24, 2020 19:38:28.808 [8388] DEBUG - "C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Scanner.exe" --analyze --server-action intro --item 58413 --log-file-suffix " Analysis" 
May 24, 2020 19:38:28.811 [13048] DEBUG - Opening 20 database sessions to library (com.plexapp.plugins.library), SQLite 3.26.0, threadsafe=1
May 24, 2020 19:38:28.925 [13048] DEBUG - Analyzing media parts for item 58413 (Two Cars in Every Garage and Three Eyes on Every Fish): 104596
May 24, 2020 19:38:28.925 [13048] DEBUG - [ID 128962] Media part analysis: \\TORNAS\Plex\TV\The Simpsons\Season 02\The Simpsons - 2x04 - Two Cars in Every Garage and Three Eyes on Every Fish.avi
May 24, 2020 19:38:28.926 [13048] DEBUG - [MI] Opening input file: "\\TORNAS\Plex\TV\The Simpsons\Season 02\The Simpsons - 2x04 - Two Cars in Every Garage and Three Eyes on Every Fish.avi"
May 24, 2020 19:38:28.926 [13048] DEBUG - [FFMPEG] - Opening '\\TORNAS\Plex\TV\The Simpsons\Season 02\The Simpsons - 2x04 - Two Cars in Every Garage and Three Eyes on Every Fish.avi' for reading
May 24, 2020 19:38:28.926 [13048] DEBUG - [FFMPEG] - Setting default whitelist 'file,crypto'
May 24, 2020 19:38:28.934 [13048] DEBUG - [FFMPEG] - Format avi probed with size=2048 and score=100
May 24, 2020 19:38:28.934 [13048] DEBUG - [FFMPEG] - use odml:1
May 24, 2020 19:38:28.935 [13048] DEBUG - [FFMPEG] - st:1 removing common factor 384 from timebase
May 24, 2020 19:38:28.978 [13048] DEBUG - [FFMPEG] - Before avformat_find_stream_info() pos: 10252 bytes read:1558748 seeks:4 nb_streams:2
May 24, 2020 19:38:28.981 [13048] DEBUG - [FFMPEG] - Format yuv420p chosen by get_format().
May 24, 2020 19:38:28.981 [13048] DEBUG - [FFMPEG] - All info found
May 24, 2020 19:38:28.983 [13048] DEBUG - [FFMPEG] - After avformat_find_stream_info() pos: 14550 bytes read:1558748 seeks:4 frames:21
May 24, 2020 19:38:28.983 [13048] DEBUG - [MI]  * 18283c278d3e75b256028a076b4c4b0bbb5973ed [avi mpeg4/mp3] Duration: 1337680ms, 512x384 (1.333333) 25.000fps, bitrate=1098kbps, audio channels=2, optimizedForStreaming=0 ("\\TORNAS\Plex\TV\The Simpsons\Season 02\The Simpsons - 2x04 - Two Cars in Every Garage and Three Eyes on Every Fish.avi")
May 24, 2020 19:38:28.983 [13048] DEBUG - [MI] Chapters had generic titles, clearing.
May 24, 2020 19:38:28.984 [13048] DEBUG - [MI] Closing input file: "\\TORNAS\Plex\TV\The Simpsons\Season 02\The Simpsons - 2x04 - Two Cars in Every Garage and Three Eyes on Every Fish.avi"
May 24, 2020 19:38:28.985 [13048] DEBUG - Updating media item 104596, size=183756800, metadata_item_id=58413
May 24, 2020 19:38:28.985 [13048] DEBUG - Updating part with ID=128962 [\\TORNAS\Plex\TV\The Simpsons\Season 02\The Simpsons - 2x04 - Two Cars in Every Garage and Three Eyes on Every Fish.avi]
May 24, 2020 19:38:28.985 [3576] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/notify/changeItemState?librarySectionID=5&metadataItemID=58413&metadataType=4&state=-1&mediaState=analyzing
May 24, 2020 19:38:28.987 [3576] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/:/metadata/notify/changeItemState?librarySectionID=5&metadataItemID=58413&metadataType=4&state=-1&mediaState=analyzing
May 24, 2020 19:38:28.987 [3576] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/notify/changeItemState?librarySectionID=5&metadataItemID=58413&metadataType=4&state=-1&mediaState=thumbnailing
May 24, 2020 19:38:28.988 [3576] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/:/metadata/notify/changeItemState?librarySectionID=5&metadataItemID=58413&metadataType=4&state=-1&mediaState=thumbnailing
May 24, 2020 19:38:28.988 [3576] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/notify/changeItemState?librarySectionID=5&metadataItemID=58413&metadataType=4&state=-1&mediaState=idle
May 24, 2020 19:38:28.989 [13048] DEBUG - Downloading document http://127.0.0.1:32400/library/changestamp
May 24, 2020 19:38:28.989 [13048] DEBUG - HTTP requesting GET http://127.0.0.1:32400/library/changestamp
May 24, 2020 19:38:28.989 [3576] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/:/metadata/notify/changeItemState?librarySectionID=5&metadataItemID=58413&metadataType=4&state=-1&mediaState=idle
May 24, 2020 19:38:28.990 [13048] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/library/changestamp
May 24, 2020 19:38:28.990 [13048] DEBUG - Updating metadata item (save) (Two Cars in Every Garage and Three Eyes on Every Fish) with ID 58413
May 24, 2020 19:38:28.993 [3576] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/flushMetadataCounterCache
May 24, 2020 19:38:28.994 [13048] DEBUG - HTTP requesting PUT http://127.0.0.1:32400/library/metadata/58413/intro?force=0
May 24, 2020 19:38:28.994 [3576] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/:/metadata/flushMetadataCounterCache
May 24, 2020 19:38:28.998 [13048] DEBUG - HTTP 200 response from PUT http://127.0.0.1:32400/library/metadata/58413/intro?force=0

This time, the alert dropdown in the nav menu said the “The Simpsons S02” was being analyzed, but it got stuck like 2% in. “Settings -> Status -> Alerts” shows like 6 or 7 duplicate notifications for “S02 E04” being finished analyzing immediately (I hear this should be taking a few minutes). And then a few seconds after seeing this, I once again tried to play this episode, but it caused the whole server to crash.

I’ve also noticed that the crash uploader fails with:

May 24, 2020 19:39:42.003 [8924] DEBUG - HTTP requesting POST https://sentry.io/api/1233455/minidump?sentry_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
May 24, 2020 19:39:42.727 [8924] DEBUG - HTTP 429 response from POST https://sentry.io/api/1233455/minidump?sentry_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
May 24, 2020 19:39:42.727 [8924] ERROR - Failed to upload crashdump 4792efea-3d94-4a3d-9615-a9f68a2e1d38: 429

I’ve had to turn the feature off again so my users can keep watching.

I’ll have a RC build in an hour or so, I’d love for you all to take it for a spin beforehand.

@torrobinson - that’s interesting. I’ll take a peek. Intro detection has nothing to do with playback so I’m a little confused. When exactly does it crash?

Hey @StSimm1,

The working state is:

  • Intro detection is totally disabled

I can crash Plex by:

  • Enabling intro detection
  • Analyzing an episode (this is where it instantly alerts me that the episode finished analyzing 3-7 times but the alert dropdown freezes)
  • I then try to play the episode (I haven’t tested if it’s JUST the episode or any episode, but it doesn’t seem to crash until I navigate to an item and try play it - the player opens and indefinitely spins as if buffering, but this is when the server crashes)

I go back to a working state by:

  • Force-closing all Plex sub-processes and restarting Plex
  • Disabling intro-detection

Thanks

Hey @torrobinson can you send me the minidump it generates?
It should be in C:\Users\{USERNAME}\AppData\Local\Plex Media Server\Crash Reports\1.19.5.2847-5d2c77062

Sure, 1.19.5.2847-5d2c77062.rar (36.8 KB)

Error seems to be “The thread tried to read from or write to a virtual address for which it does not have the appropriate access.” (perhaps a permissions issue?)

Thanks for the crash dmp file. Do you run Plex Media Server as a service or scheduled task or through RDP?

Forgive my forgetfulness as it’s been years since I set this up, but is there a quick way I could check?

I do have a scheduled task that starts Plex if it’s ever not running - this helps force-restart Plex if it ever crashes. I have “Start Plex Media Server at Login” checked so that it starts on login.

That would be the normal way of starting Plex Media Server

Running as service or scheduled task or headless ends up without a desktop session for the Plex Media Server process and this has been seen to lead to crashes as you have when Hardware Acceleration is enabled

Ah ok - in that case, I think I’m running it normally and not as a service

At this moment in time from what I have seen in the logs and dmp, I cannot see there is a relation between enabling intro detection and the crash

The crash arose when testing the intel hardware transcoding and crash in the intel dll when this was to be transcoded for playback in web The Simpsons\Season 02\The Simpsons - 2x03 - Treehouse of Horror.avi

The crash is in the intel dll mfx_mft_h264ve_32.dll

Hey, I’ve pulled these posts into a seerate topic to keep to 1 issue / thread.

1 Like

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