This discussion was created from comments split from: PMS 1.13.0.5023 Crash.
Since the last update to 1.13.0.5023 and BETA 1.13.1.5063 on my QNAP, I have steady crashes on NVIDIA Shield TV (with last PMP) with the following configuration:
-
Play 1 Trailer with 2 Prerolls
-
Transcoder shows “busy circle” and crashes everytime when beginning to play a Trailer (after about 30 seconds)
-
If I skip earlier to next preroll, it will play preroll, but starts not at the beginning of the preroll
-
After playing the prerolls it starts the Mainmovie, but also not from the beginning
Tried to go back to older PMS-Server --> Trailer is playing again, but got other issues, probably due to other changes witch won’t rollback when downgrading.
When starting movies (*.mkv) directly, there are no probs in playing, regardless of Audio-Type (DTS, Dolby, ATMOS etc.) or Movie-Type (HD, UHD, HDR etc.)
@Pio435 said:
Since the last update to 1.13.0.5023 and BETA 1.13.1.5063 on my QNAP, I have steady crashes on NVIDIA Shield TV (with last PMP) with the following configuration:
Play 1 Trailer with 2 Prerolls
Transcoder shows “busy circle” and crashes everytime when beginning to play a Trailer (after about 30 seconds)
If I skip earlier to next preroll, it will play preroll, but starts not at the beginning of the preroll
After playing the prerolls it starts the Mainmovie, but also not from the beginning
Tried to go back to older PMS-Server → Trailer is playing again, but got other issues, probably due to other changes witch won’t rollback when downgrading.
When starting movies (*.mkv) directly, there are no probs in playing, regardless of Audio-Type (DTS, Dolby, ATMOS etc.) or Movie-Type (HD, UHD, HDR etc.)
I am going to move your post to a separate forum topic because your issue is not a Plex Media Server crash but transcoder errors and client app reported failures when playing a trailer
@Pio435 I moved your post of this forum thread https://forums.plex.tv/discussion/320283/pms-1-13-0-5023-crash/ into here because in your case the Plex Media Server was not crashing
I have been looking at the logs for some time and I am afraid it is not clear exactly when you had the issues that you mention with the trailers or pre-roll.
To summarize my understanding of the issue - please confirm
On 24 May at 07:04 you added preroll videos
/share/CACHEDEV1_DATA/LAXMDB/Intros/LAX 20th Century Fox.mp4
/share/CACHEDEV1_DATA/LAXMDB/Teasers/Dolby Atmos New Sound World.mkv
and you re-enabled trailers / pre-roll for the Movies library
and at 07:05 you started playback for E1 - Hallo, Bruder
which played the 2 preroll videos ok with LAX 20th Century Fox.mp4
playing back up to
May 24, 2018 07:06:16.018 [0x7f9940a6b700] DEBUG - Client [ec83f3675bb8a47e-com-plexapp-android] reporting timeline state playing, progress of 27501/29000ms for guid=analyzed.prerolls://ceee1d144879410edf5068f156c9add42808e543, ratingKey=2261 url=, key=/library/metadata/2261, containerKey=/playQueues/3568, metadataId=2261
and then preroll Dolby Atmos New Sound World.mkv
played back up to
May 24, 2018 07:07:44.790 [0x7f99397dc700] DEBUG - Client [ec83f3675bb8a47e-com-plexapp-android] reporting timeline state playing, progress of 113125/113125ms for guid=analyzed.prerolls://3dcb3704ecf87bc81557ca386bcb726d24e229cc, ratingKey=2356 url=, key=/library/metadata/2356, containerKey=/playQueues/3568, metadataId=2356
and then playback for E1 - Hallo, Bruder
actually started - there was an error logged
May 24, 2018 07:07:46.445 [0x7f9949111700] DEBUG - Completed: [192.168.1.81:44169] 400 GET /video/:/transcode/universal/start.m3u8?audioBoost=100&autoAdjustQuality=1&directPlay=0&directStream=1&directStreamAudio=1&fastSeek=1&hasMDE=1&includeCodecs=1&location=lan&maxVideoBitrate=200000&mediaBufferSize=209664&partIndex=0&path=%2Flibrary%2Fmetadata%2F2249&protocol=hls&session=ec83f3675bb8a47e-com-plexapp-android&subtitleSize=100&videoBitrate=200000&videoQuality=100&videoResolution=3840x2160 (21 live) TLS 43ms 265 bytes (range: bytes=0-)
but playback seemed to continue
May 24, 2018 07:07:49.102 [0x7f99397dc700] DEBUG - Client [ec83f3675bb8a47e-com-plexapp-android] reporting timeline state playing, progress of 113160/5414534ms for guid=com.plexapp.agents.imdb://tt0448694?lang=de, ratingKey=2249 url=, key=/library/metadata/2249, containerKey=/playQueues/3568, metadataId=2249
May 24, 2018 07:07:54.795 [0x7f9940a6b700] DEBUG - Client [ec83f3675bb8a47e-com-plexapp-android] reporting timeline state playing, progress of 118672/5414534ms for guid=com.plexapp.agents.imdb://tt0448694?lang=de, ratingKey=2249 url=, key=/library/metadata/2249, containerKey=/playQueues/3568, metadataId=2249
May 24, 2018 07:08:04.793 [0x7f99397dc700] DEBUG - Client [ec83f3675bb8a47e-com-plexapp-android] reporting timeline state playing, progress of 128678/5414534ms for guid=com.plexapp.agents.imdb://tt0448694?lang=de, ratingKey=2249 url=, key=/library/metadata/2249, containerKey=/playQueues/3568, metadataId=2249
May 24, 2018 07:08:14.840 [0x7f9940a6b700] DEBUG - Client [ec83f3675bb8a47e-com-plexapp-android] reporting timeline state playing, progress of 138674/5414534ms for guid=com.plexapp.agents.imdb://tt0448694?lang=de, ratingKey=2249 url=, key=/library/metadata/2249, containerKey=/playQueues/3568, metadataId=2249
May 24, 2018 07:08:24.841 [0x7f99397dc700] DEBUG - Client [ec83f3675bb8a47e-com-plexapp-android] reporting timeline state playing, progress of 148670/5414534ms for guid=com.plexapp.agents.imdb://tt0448694?lang=de, ratingKey=2249 url=, key=/library/metadata/2249, containerKey=/playQueues/3568, metadataId=2249
So I really need to know exactly when the error occurs
Could you do a controlled test and note down when playback occurs and when it fails. Perhaps a photo of the error screen and the time.
And would you still have the same issue if you set only one preroll video instead of two?
And could you see if you could also get logs for the Android app to go with the server logs
See https://support.plex.tv/articles/201573117-android-android-tv-fire-tv-logs/
Best to do the tests with the same video / preroll
I’m going to do the tests this weekend and will note down and take some photos of the problems.
Thank’s in advance for your help!
I’m going to do the tests this weekend and will note down and take some photos of the problems.
Thank’s in advance for your help!
Thanks. I have discussed the issue with the Shield Android Plex app team and we will definitely need both sets of logs - server and app
Ok, just a fiew facts before the report of what I did:
- I’m running a few php-scripts in combination with Webhooks to control the “cinema-feeling” like dimming lights, automask depeding on ascpect ratio, lights on when endcredit starts … with the last function, the prerolls are replaced with new once, which all are in the server database. That’s the reason why, not allways the same preroll was used in the testing mentioned below. You will find the communication from the scripts in the shield logs.
Here is the report what I did:
- Try
- Su, 27.05.2018 - 21.20 -> Set Trailer to on
- 21.22 -> Start Angry Birds
- realized that didn’t refresh the Webrowser for logging Shield TV
- Try
- 21.26 -> Start Angry Birds
- 21.26 -> Wating for Error (see pic “Before Crash.jpg”)
- 21.27 -> Error shows in Screen (see pic “Crash Report.jpg”)
- Try
- 21.28 -> Start Angry Birds
- 21.28 -> Skip the not starting Movie Trailer to Preroll 1 -> Preroll 1 starts and plays correct (see “pic Trailer to play 1.jpg” and pic “Intro 1 1.jpg”) and
- about 21.29 -> Preroll 2 starts and plays correct (see pic “Intro 2 1.jpg”)
- about 21.30 -> Mainmovie starts correct
- Try
- 21.34 -> Start Angry Birds
- 21.34 -> Skip the not starting Movie Trailer to Preroll 1-> Preroll 1 starts and play correct (see pic “Intro 1 2.jpg”)
- about 21.35 -> Preroll 2 starts, but not from beginning rather from about 10 seconds (see pic “Intro 2 2.jpg”)
- about 21.37 -> Mainmovie starts, but not from beginning rahter from about 75 seconds
Hope this will help to find whats going wrong. Not to forget, this worked before with the penultimate PMS-Version and the penultimate PLEX-App on Shield TV. Thanks once agein for your help!
@Pio435 said:
Ok, just a fiew facts before the report of what I did:
- I’m running a few php-scripts in combination with Webhooks to control the “cinema-feeling” like dimming lights, automask depeding on ascpect ratio, lights on when endcredit starts … with the last function, the prerolls are replaced with new once, which all are in the server database. That’s the reason why, not allways the same preroll was used in the testing mentioned below. You will find the communication from the scripts in the shield logs.
Here is the report what I did:
- Try
- Su, 27.05.2018 - 21.20 → Set Trailer to on
- 21.22 → Start Angry Birds
- realized that didn’t refresh the Webrowser for logging Shield TV
- Try
- 21.26 → Start Angry Birds
- 21.26 → Wating for Error (see pic “Before Crash.jpg”)
- 21.27 → Error shows in Screen (see pic “Crash Report.jpg”)
- Try
- 21.28 → Start Angry Birds
- 21.28 → Skip the not starting Movie Trailer to Preroll 1 → Preroll 1 starts and plays correct (see “pic Trailer to play 1.jpg” and pic “Intro 1 1.jpg”) and
- about 21.29 → Preroll 2 starts and plays correct (see pic “Intro 2 1.jpg”)
- about 21.30 → Mainmovie starts correct
- Try
- 21.34 → Start Angry Birds
- 21.34 → Skip the not starting Movie Trailer to Preroll 1-> Preroll 1 starts and play correct (see pic “Intro 1 2.jpg”)
- about 21.35 → Preroll 2 starts, but not from beginning rather from about 10 seconds (see pic “Intro 2 2.jpg”)
- about 21.37 → Mainmovie starts, but not from beginning rahter from about 75 seconds
Hope this will help to find whats going wrong. Not to forget, this worked before with the penultimate PMS-Version and the penultimate PLEX-App on Shield TV. Thanks once agein for your help!
Thanks for the detailed information - where is the Android TV plex log ?
See https://support.plex.tv/articles/201573117-android-android-tv-fire-tv-logs/
I believe you need to retrieve the log through a browser
See https://support.plex.tv/articles/201573117-android-android-tv-fire-tv-logs/
I need a corresponding set of logs
ups, sorry, just forgot to save after edit … Now it’s attached in the post …
Thanks!
@Pio435 said:
ups, sorry, just forgot to save after edit … Now it’s attached in the post …Thanks!
Thank you for the detail - i will be looking into this later today
@sa2000 said:
@Pio435 said:
Ok, just a fiew facts before the report of what I did:
- I’m running a few php-scripts in combination with Webhooks to control the “cinema-feeling” like dimming lights, automask depeding on ascpect ratio, lights on when endcredit starts … with the last function, the prerolls are replaced with new once, which all are in the server database. That’s the reason why, not allways the same preroll was used in the testing mentioned below. You will find the communication from the scripts in the shield logs.
Here is the report what I did:
- Try
- Su, 27.05.2018 - 21.20 → Set Trailer to on
- 21.22 → Start Angry Birds
- realized that didn’t refresh the Webrowser for logging Shield TV
- Try
- 21.26 → Start Angry Birds
- 21.26 → Wating for Error (see pic “Before Crash.jpg”)
- 21.27 → Error shows in Screen (see pic “Crash Report.jpg”)
- Try
- 21.28 → Start Angry Birds
- 21.28 → Skip the not starting Movie Trailer to Preroll 1 → Preroll 1 starts and plays correct (see “pic Trailer to play 1.jpg” and pic “Intro 1 1.jpg”) and
- about 21.29 → Preroll 2 starts and plays correct (see pic “Intro 2 1.jpg”)
- about 21.30 → Mainmovie starts correct
- Try
- 21.34 → Start Angry Birds
- 21.34 → Skip the not starting Movie Trailer to Preroll 1-> Preroll 1 starts and play correct (see pic “Intro 1 2.jpg”)
- about 21.35 → Preroll 2 starts, but not from beginning rather from about 10 seconds (see pic “Intro 2 2.jpg”)
- about 21.37 → Mainmovie starts, but not from beginning rahter from about 75 seconds
Hope this will help to find whats going wrong. Not to forget, this worked before with the penultimate PMS-Version and the penultimate PLEX-App on Shield TV. Thanks once agein for your help!
Thanks for the detailed information - where is the Android TV plex log ?
See https://support.plex.tv/articles/201573117-android-android-tv-fire-tv-logs/
I believe you need to retrieve the log through a browser
See https://support.plex.tv/articles/201573117-android-android-tv-fire-tv-logs/I need a corresponding set of logs
The errors are different from last time. Previously requests were getting error 400 and 503 because of what appeared to be repeated requests from the TV Android app overlapping each other
In the new evidence, these errors do not show but instead a transcoder illegal instruction crash when transcoding the trailers
I need to confirm that you are getting back a trailer and not some error message back - I am aware that if your server system time is wrong then the url’s used for getting the trailers from the cloud may get an error message back as the url’s have an expiry time.
Is your server time correct for the timezone ?
I will send you by PM a link to try to see if you get an error or it plays ok.
@Pio435 could you turn off transcoder hardware acceleration and try these trailers again
Plex/Web Settings / Server / Transcoder / Show Advanced
and let me exact model and firmware level of the QNAP please
To summarize
This is a QNAP TS-853A
with firmware 4.3.4.0569, Build 201080501
with the transcoder process crashing with exit code -4 (illegal instruction) when transcoding trailers
The transcoder fails on versions 1.13.0.5023 and 1.13.1.5063 and also on 1.13.2.5102 but does not fail with this illegal instruction crash on v1.12.0.4829-6de959918 and v1.12.3.4973-215c28d86
The QNAP processor is Intel® Celeron® CPU N3160 @ 1.60GHz
May 29, 2018 22:37:34.385 [0x7f0baf735700] DEBUG - Job running: EAE_ROOT='/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/tmp/pms-1cd81bf4-1320-4f61-9294-2543d803abe6/EasyAudioEncoder' FFMPEG_EXTERNAL_LIBS='/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex\ Media\ Server/Codecs/4b51335-1293-linux-ubuntu-x86_64/' XDG_CACHE_HOME='/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Cache/' XDG_DATA_HOME='/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/' X_PLEX_TOKEN='xxxxxxxxxxxxxxxxxxxx' '/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Plex Transcoder' '-codec:0' 'h264' '-noaccurate_seek' '-i' 'http://127.0.0.1:32400/services/iva/assets/709129/video.mp4?bitrate=2500&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx' '-map' '0:0' '-codec:0' 'copy' '-map' '0:1' '-metadata:s:1' 'language=ger' '-codec:1' 'copy' '-copypriorss:1' '0' '-f' 'segment' '-segment_format' 'matroska' '-segment_format_options' 'live=1' '-segment_time' '1' '-segment_header_filename' 'header' '-segment_start_number' '0' '-segment_list' 'http://127.0.0.1:32400/video/:/transcode/session/78ui3zvoy9g5sce42f5mlk57/052edfd9-f7c2-4583-a682-a820adc3639f/seglist' '-segment_list_type' 'csv' '-segment_list_size' '2147483647' '-segment_list_separate_stream_times' '1' '-avoid_negative_ts' 'disabled' '-map_metadata' '-1' '-map_chapters' '-1' 'chunk-%05d' '-start_at_zero' '-copyts' '-y' '-nostats' '-loglevel' 'quiet' '-loglevel_plex' 'error' '-progressurl' 'http://127.0.0.1:32400/video/:/transcode/session/78ui3zvoy9g5sce42f5mlk57/052edfd9-f7c2-4583-a682-a820adc3639f/progress'
May 29, 2018 22:37:34.389 [0x7f0baf735700] DEBUG - Jobs: Starting child process with pid 22002
May 29, 2018 22:37:34.975 [0x7f0bb6bff700] VERBOSE - JobManager: child process with PID 22002 exited
May 29, 2018 22:37:34.975 [0x7f0bb6bff700] DEBUG - Jobs: '/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Plex Transcoder' exit code for process 22002 is -4 (signal: Illegal instruction)
Would need to establish where the transcoder is crashing and see if we can get a core dump
The failing instruction has been identified - the issue is being looked into… Problem thought to be certain CPUs do not have a specific instruction available
I am linking to another topic for UNRAID - where this illegal intruction failure was seen and i am waiting for knowing what model NAS etc it is
@pio435> @Pio435 said:
ups, sorry, just forgot to save after edit … Now it’s attached in the post …
Thanks!
I will have a pre-beta development build to make available to you. I will send you a link in a private message later today. Please try with trailers and let me know if the illegal instruction transcoder crashes get resolved.
@pio435 I have sent you a PM with a link to the pre-beta build - please let me know if it fixes the trailers issue - if not please let me have debug logs. Thanks
The fix for the Transcoder illegal instruction failure has now been released in Plex Media Server Beta release 1.13.2.5142
See Release Note
- (Transcoder) Conversion of remote content could fail on some x86_64 Linux systems (#8662)