Repeating segfaults from the Plex Transcoder ( specifically ld-musl-x86_64.so.1 )

Server Version#: 1.31.0.6654
Player Version#:n/a

I run PMS with the official Plex docker image under unRAID, in my logs I am seeing:

eb 15 07:14:30 Tower kernel: Plex Transcoder[25471]: segfault at 14ddfa703000 ip 000014ddfdbd5204 sp 000014ddfaa99948 error 4 in ld-musl-x86_64.so.1[14ddfdb90000+53000
]
Feb 15 07:14:30 Tower kernel: Code: 75 f4 c3 cc cc cc 48 89 f8 48 83 fa 08 72 14 f7 c7 07 00 00 00 74 0c a4 48 ff ca f7 c7 07 00 00 00 75 f4 48 89 d1 48 c1 e9 03 <f3> 4
8 a5 83 e2 07 74 05 a4 ff ca 75 fb c3 cc cc 48 89 f8 48 29 f0
Feb 15 07:15:31 Tower kernel: Plex Transcoder[26291]: segfault at 148031266000 ip 0000148034595204 sp 00001480313a0948 error 4 in ld-musl-x86_64.so.1[148034550000+53000
]
Feb 15 07:15:31 Tower kernel: Code: 75 f4 c3 cc cc cc 48 89 f8 48 83 fa 08 72 14 f7 c7 07 00 00 00 74 0c a4 48 ff ca f7 c7 07 00 00 00 75 f4 48 89 d1 48 c1 e9 03 <f3> 4
8 a5 83 e2 07 74 05 a4 ff ca 75 fb c3 cc cc 48 89 f8 48 29 f0
Feb 15 07:16:27 Tower kernel: Plex Transcoder[26978]: segfault at 14b8acf96000 ip 000014b8b060b204 sp 000014b8ad4bc948 error 4 in ld-musl-x86_64.so.1[14b8b05c6000+53000
]
Feb 15 07:16:27 Tower kernel: Code: 75 f4 c3 cc cc cc 48 89 f8 48 83 fa 08 72 14 f7 c7 07 00 00 00 74 0c a4 48 ff ca f7 c7 07 00 00 00 75 f4 48 89 d1 48 c1 e9 03 <f3> 4
8 a5 83 e2 07 74 05 a4 ff ca 75 fb c3 cc cc 48 89 f8 48 29 f0
Feb 15 07:17:23 Tower kernel: Plex Transcoder[27743]: segfault at 14fb5285c000 ip 000014fb556ec204 sp 000014fb5270f948 error 4 in ld-musl-x86_64.so.1[14fb556a7000+53000
]
Feb 15 07:17:23 Tower kernel: Code: 75 f4 c3 cc cc cc 48 89 f8 48 83 fa 08 72 14 f7 c7 07 00 00 00 74 0c a4 48 ff ca f7 c7 07 00 00 00 75 f4 48 89 d1 48 c1 e9 03 <f3> 4
8 a5 83 e2 07 74 05 a4 ff ca 75 fb c3 cc cc 48 89 f8 48 29 f0
Feb 15 07:18:20 Tower kernel: Plex Transcoder[28487]: segfault at 14fcd4f82000 ip 000014fcd785a204 sp 000014fcd474d948 error 4 in ld-musl-x86_64.so.1[14fcd7815000+53000
]
Feb 15 07:18:20 Tower kernel: Code: 75 f4 c3 cc cc cc 48 89 f8 48 83 fa 08 72 14 f7 c7 07 00 00 00 74 0c a4 48 ff ca f7 c7 07 00 00 00 75 f4 48 89 d1 48 c1 e9 03 <f3> 4
8 a5 83 e2 07 74 05 a4 ff ca 75 fb c3 cc cc 48 89 f8 48 29 f0
Feb 15 07:19:17 Tower kernel: Plex Transcoder[29291]: segfault at 14b504dae000 ip 000014b507c07204 sp 000014b504c66948 error 4 in ld-musl-x86_64.so.1[14b507bc2000+53000
]
Feb 15 07:19:17 Tower kernel: Code: 75 f4 c3 cc cc cc 48 89 f8 48 83 fa 08 72 14 f7 c7 07 00 00 00 74 0c a4 48 ff ca f7 c7 07 00 00 00 75 f4 48 89 d1 48 c1 e9 03 <f3> 4
8 a5 83 e2 07 74 05 a4 ff ca 75 fb c3 cc cc 48 89 f8 48 29 f0
Feb 15 07:19:21 Tower kernel: Plex Transcoder[29389]: segfault at 14b2f86ac000 ip 000014b2fb9d2204 sp 000014b2f87f9948 error 4 in ld-musl-x86_64.so.1[14b2fb98d000+53000
]
Feb 15 07:19:21 Tower kernel: Code: 75 f4 c3 cc cc cc 48 89 f8 48 83 fa 08 72 14 f7 c7 07 00 00 00 74 0c a4 48 ff ca f7 c7 07 00 00 00 75 f4 48 89 d1 48 c1 e9 03 <f3> 4
8 a5 83 e2 07 74 05 a4 ff ca 75 fb c3 cc cc 48 89 f8 48 29 f0
Feb 15 07:19:25 Tower kernel: Plex Transcoder[29446]: segfault at 153882ec6000 ip 0000153885d11204 sp 0000153882b8b948 error 4 in ld-musl-x86_64.so.1[153885ccc000+53000
]
Feb 15 07:19:25 Tower kernel: Code: 75 f4 c3 cc cc cc 48 89 f8 48 83 fa 08 72 14 f7 c7 07 00 00 00 74 0c a4 48 ff ca f7 c7 07 00 00 00 75 f4 48 89 d1 48 c1 e9 03 <f3> 4
8 a5 83 e2 07 74 05 a4 ff ca 75 fb c3 cc cc 48 89 f8 48 29 f0
Feb 15 07:20:19 Tower kernel: Plex Transcoder[30211]: segfault at 145d7f0eb000 ip 0000145d82027204 sp 0000145d7eedf948 error 4 in ld-musl-x86_64.so.1[145d81fe2000+53000
]
Feb 15 07:20:19 Tower kernel: Code: 75 f4 c3 cc cc cc 48 89 f8 48 83 fa 08 72 14 f7 c7 07 00 00 00 74 0c a4 48 ff ca f7 c7 07 00 00 00 75 f4 48 89 d1 48 c1 e9 03 <f3> 4
8 a5 83 e2 07 74 05 a4 ff ca 75 fb c3 cc cc 48 89 f8 48 29 f0
Feb 15 07:21:22 Tower kernel: Plex Transcoder[30995]: segfault at 15171adb7000 ip 000015171dbdc204 sp 000015171aad2948 error 4 in ld-musl-x86_64.so.1[15171db97000+53000
]
Feb 15 07:21:22 Tower kernel: Code: 75 f4 c3 cc cc cc 48 89 f8 48 83 fa 08 72 14 f7 c7 07 00 00 00 74 0c a4 48 ff ca f7 c7 07 00 00 00 75 f4 48 89 d1 48 c1 e9 03 <f3> 4
8 a5 83 e2 07 74 05 a4 ff ca 75 fb c3 cc cc 48 89 f8 48 29 f0
Feb 15 07:22:18 Tower kernel: Plex Transcoder[31749]: segfault at 1482087b0000 ip 000014820b3f3204 sp 0000148208386948 error 4 in ld-musl-x86_64.so.1[14820b3ae000+53000
]

In the PMS logs it reports:

Feb 15, 2023 07:14:30.020 [0x14576b338b38] DEBUG - [Req#c0284/Transcode/bif/bde9dcd3-0b53-48c9-9fa8-9bacf017eac7] Activity: updated activity bde9dcd3-0b53-48c9-9fa8-9bacf017eac7 - completed 11.2% - Generating video preview thumbnails
Feb 15, 2023 07:14:30.428 [0x1457723f9b38] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 19286 is -11 (signal: Segmentation fault)
Feb 15, 2023 07:14:30.429 [0x14576ab3ab38] ERROR - BaseIndexFrameFileManager: transcoder exited abnormally

I can provide full logs via PM if needed.

31 posts were split to a new topic: PMS Pagefaults - UNRAID - Docker

Thoughts?

Hi @ChuckPa , sorry been away

So, I do not believe this is related to unRAID.

As I found in another thread you posted in, it seems that corrupted source video files can cause the video preview process to crash (I’ll try to find the link).

So, I just need to figure out from the PMS logs which video file is causing it so I can remove/fix it, can you help with that please ?

I will PM you my latest logs.

Just to repeat, these are the errors in PMS:

Feb 19, 2023 06:14:58.324 [0x14cb3b8a6b38] DEBUG - [Req#3ddbb/Transcode/bif/fe9ac928-fcad-4b57-ae46-67db6fe6aacc] Activity: updated activity fe9ac928-fcad-4b57-ae46-67db6fe6aacc - completed 13.5% - Generating video preview thumbnails
Feb 19, 2023 06:14:58.340 [0x14cb429f9b38] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 14300 is -11 (signal: Segmentation fault)
Feb 19, 2023 06:14:58.340 [0x14cb3fbbab38] ERROR - BaseIndexFrameFileManager: transcoder exited abnormally

OK, tried to PM you but says you are not accepting message at the moment

@e10kstarfire
@urbanracer34

That should clean things up a bit

2 Likes

OK, looks like I am recording TV every day.

Tomorrow I’ve managed to get to a single recording so can check for transcoder exit code -11 again.

However, if I am getting failures on the transcoder, doing what ever it is doing (intro detection?), will it just keep trying again and again during each maintenance period - in which case I won’t be able to tie it down to a single recording.

I’m having similiar issues all of a sudden. In unraid I see this

Feb 22 01:44:16 tower kernel: mce: [Hardware Error]: Machine check events logged
Feb 22 01:59:54 tower kernel: Plex Media Scan[21743]: segfault at 14f40d3ddff0 ip 000014f412fd3592 sp 00007ffe78c39850 error 4 in Plex Media Scanner[14f412f7f000+2dd000]
Feb 22 02:00:32 tower kernel: mce: [Hardware Error]: Machine check events logged
Feb 22 02:24:34 tower kernel: Plex Media Scan[6015]: segfault at 152fefe2ffe0 ip 0000152ff59d3592 sp 00007ffce1c59650 error 4 in Plex Media Scanner[152ff597f000+2dd000]
Feb 22 02:45:09 tower kernel: Plex Media Scan[8133]: segfault at 14f7abf01ff0 ip 000014f7b19d3592 sp 00007ffda6bc5540 error 4 in Plex Media Scanner[14f7b197f000+2dd000]
Feb 22 03:00:09 tower kernel: invalid opcode: 0000 [#1] PREEMPT SMP NOPTI
Feb 22 03:00:09 tower kernel: CPU: 10 PID: 1247 Comm: Plex Media Scan Not tainted 5.19.17-Unraid #2
Feb 22 03:00:09 tower kernel: Call Trace:

In Plex logs I see this around the same time

Feb 22, 2023 02:59:59.315 [0x14655f330b00] INFO - Plex Media Scanner v1.31.1.6733-bc0674160 - Docker Docker Container x86_64 - build: linux-x86_64 - GMT -05:00
Feb 22, 2023 02:59:59.315 [0x14655f330b00] INFO - Linux version: 5.19.17-Unraid, language: en-US
Feb 22, 2023 02:59:59.315 [0x14655f330b00] INFO - Processor: 16-core Intel(R) Core™ i7-10700 CPU @ 2.90GHz
Feb 22, 2023 02:59:59.315 [0x14655f330b00] INFO - /usr/lib/plexmediaserver/Plex Media Scanner -C -f /data/Media/Shows/Parks and Recreation/Season 3/Parks and Recreation - S03E13 - The Fight.mkv --log-file-suffix Credits
Feb 22, 2023 03:00:05.435 [0x146560e96b40] ERROR - BufferingLineReader: failed to read line (error: -1)

And in the web ui, it shows its stuck scanning that exact file.

Did a full MEMTEST and no error reported back.

This looks like a different issue, I recommend opening a new thread.

MCE are attributed to hardware issues quite a lot of the time.

Hi @ChuckPa , at last I have narrowed this segfault to a single DVR recording.

Looking at the logs I am certain it is failing during video thumbnail detection/creation.

I will PM you the PMS logs and a link to the DVR recording that causes this.

My unRAID syslog shows:

Mar  6 11:35:03 Tower kernel: Plex Transcoder[32571]: segfault at 14a73aee4000 ip 000014a73dbd1204 sp 000014a73aaa0948 error 4 in ld-musl-x86_64.so.1[14a73db8c000+53000]
Mar  6 11:35:03 Tower kernel: Code: 75 f4 c3 cc cc cc 48 89 f8 48 83 fa 08 72 14 f7 c7 07 00 00 00 74 0c a4 48 ff ca f7 c7 07 00 00 00 75 f4 48 89 d1 48 c1 e9 03 <f3> 48 a5 83 e2 07 74 05 a4 ff ca 75 fb c3 cc cc 48 89 f8 48 29 f0
Mar  6 11:35:21 Tower kernel: Plex Transcoder[546]: segfault at 150eed19f000 ip 0000150ef00a2204 sp 0000150eece70948 error 4 in ld-musl-x86_64.so.1[150ef005d000+53000]
Mar  6 11:35:21 Tower kernel: Code: 75 f4 c3 cc cc cc 48 89 f8 48 83 fa 08 72 14 f7 c7 07 00 00 00 74 0c a4 48 ff ca f7 c7 07 00 00 00 75 f4 48 89 d1 48 c1 e9 03 <f3> 48 a5 83 e2 07 74 05 a4 ff ca 75 fb c3 cc cc 48 89 f8 48 29 f0

and the failures in the PMS logs:

Mar 06, 2023 11:35:04.076 [0x14a0943f9b38] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 20760 is -11 (signal: Segmentation fault)
Mar 06, 2023 11:35:21.588 [0x14a0943f9b38] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 20861 is -11 (signal: Segmentation fault)

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