Transcoder segfault issues since late Feb/Early March Update

Server Version#: 1.40.2.8395
Player Version#: All current, iOS, Windows, etc.

Some time around the February-March time frame, I had transcoder segfaults start while doing credits, intros, loudness, etc.during media scans… So bad that it would crash the entire OS of my server (Unraid). I tried following several posts by @ChuckPa on deleting codecs and such to fix it, nothing was working.

I was always told that it was “hardware issues” in discords and forums so i have swapped all the hardware out, and mixed hardware between 3 other systems. So in a last ditch effort I created a new Plex Docker using the unraid template for my pre-existing Plex (one that crashes). It has been scanning in all the media with loudness, credits, lyrics, intros, etc, all enabled.

Under the fresh install it is 100% stable, ZERO errors in syslog of unraid, ZERO crashes, ZERO plex errors. Its scanning the same media as before, but the HUGE issue is i lose all my metadata this way, alot of my music isnt matching right.

Is there anyway to just take the user metadata from the old install like custom entries and posters? or is there any ideas how to fix the old install/appdata? I feel like there must be parts of the transcoder that are broken and i couldnt get rid of deleting the codec folder and such.

Here is some of the error spam right before it crashes the OS kernel.
Again since I started a new container and scanning fresh. its had zero issues, but all my art, subs, etc are all unset and i would like to try and retain all that somehow.

May  7 14:06:06 Void kernel: Plex Media Serv[21891]: segfault at 14620ddd70d8 ip 0000146712df8f79 sp 00007ffd7cb1d298 error 4 in Plex Media Server[1467121ce000+ca7000] likely on CPU 8 (core 16, socket 0)
May  7 14:06:06 Void kernel: Code: c3 c4 62 7d 18 2b c4 e3 f9 16 c3 01 c4 62 15 b8 e2 c4 c2 05 b8 dd c4 62 7d 18 2b c4 e1 f9 7e cb c4 e2 15 b8 e2 c4 c2 05 b8 ed <c4> 62 7d 18 2b c4 e3 f9 16 cb 01 c4 62 15 b8 ca c4 c2 05 b8 f5 c4
May  7 14:07:41 Void kernel: Plex Media Serv[29379]: segfault at 14906e7d9c2c ip 00001498737f8f50 sp 00007ffcd95e4f48 error 4 in Plex Media Server[149872bce000+ca7000] likely on CPU 8 (core 16, socket 0)
May  7 14:07:41 Void kernel: Code: 69 4b c9 d0 49 8b 58 20 4c 8d 3c 3b 48 39 c3 4c 0f 44 fb 45 31 ed 0f 1f 40 00 c4 c1 7c 28 11 c4 41 7c 28 79 20 c4 e1 f9 7e c3 <c4> 62 7d 18 2b c4 e3 f9 16 c3 01 c4 62 15 b8 e2 c4 c2 05 b8 dd c4
May  7 14:10:03 Void kernel: Plex Media Serv[7238]: segfault at 14c8ad1d9f0c ip 000014cab23f8f79 sp 00007ffd861f6e48 error 4 in Plex Media Server[14cab17ce000+ca7000] likely on CPU 8 (core 16, socket 0)
May  7 14:10:03 Void kernel: Code: c3 c4 62 7d 18 2b c4 e3 f9 16 c3 01 c4 62 15 b8 e2 c4 c2 05 b8 dd c4 62 7d 18 2b c4 e1 f9 7e cb c4 e2 15 b8 e2 c4 c2 05 b8 ed <c4> 62 7d 18 2b c4 e3 f9 16 cb 01 c4 62 15 b8 ca c4 c2 05 b8 f5 c4
May  7 14:13:26 Void kernel: Plex Media Serv[28330]: segfault at 1470efdd8ad0 ip 00001478f4df8f8e sp 00007ffe88dd3218 error 4 in Plex Media Server[1478f41ce000+ca7000] likely on CPU 8 (core 16, socket 0)
May  7 14:13:26 Void kernel: Code: dd c4 62 7d 18 2b c4 e1 f9 7e cb c4 e2 15 b8 e2 c4 c2 05 b8 ed c4 62 7d 18 2b c4 e3 f9 16 cb 01 c4 62 15 b8 ca c4 c2 05 b8 f5 <c4> 62 7d 18 2b c4 62 15 b8 d2 c4 42 05 b8 c5 c4 02 7d 18 2c 2f c4
May  7 14:16:39 Void kernel: Plex Media Serv[7441]: segfault at 1450ff7d79dc ip 00001471049f8f79 sp 00007ffe43779548 error 4 in Plex Media Server[147103dce000+ca7000] likely on CPU 8 (core 16, socket 0)
May  7 14:16:39 Void kernel: Code: c3 c4 62 7d 18 2b c4 e3 f9 16 c3 01 c4 62 15 b8 e2 c4 c2 05 b8 dd c4 62 7d 18 2b c4 e1 f9 7e cb c4 e2 15 b8 e2 c4 c2 05 b8 ed <c4> 62 7d 18 2b c4 e3 f9 16 cb 01 c4 62 15 b8 ca c4 c2 05 b8 f5 c4
May  7 14:17:47 Void kernel: Plex Media Serv[14674]: segfault at 1524255db32c ip 000015262a5f8f8e sp 00007ffe36a66288 error 4 in Plex Media Server[1526299ce000+ca7000] likely on CPU 8 (core 16, socket 0)
May  7 14:17:47 Void kernel: Code: dd c4 62 7d 18 2b c4 e1 f9 7e cb c4 e2 15 b8 e2 c4 c2 05 b8 ed c4 62 7d 18 2b c4 e3 f9 16 cb 01 c4 62 15 b8 ca c4 c2 05 b8 f5 <c4> 62 7d 18 2b c4 62 15 b8 d2 c4 42 05 b8 c5 c4 02 7d 18 2c 2f c4
May  7 14:19:14 Void kernel: Plex Media Serv[21655]: segfault at 14806f1d5128 ip 00001485743f8f50 sp 00007ffd4ce18348 error 4 in Plex Media Server[1485737ce000+ca7000] likely on CPU 8 (core 16, socket 0)
May  7 14:19:14 Void kernel: Code: 69 4b c9 d0 49 8b 58 20 4c 8d 3c 3b 48 39 c3 4c 0f 44 fb 45 31 ed 0f 1f 40 00 c4 c1 7c 28 11 c4 41 7c 28 79 20 c4 e1 f9 7e c3 <c4> 62 7d 18 2b c4 e3 f9 16 c3 01 c4 62 15 b8 e2 c4 c2 05 b8 dd c4
May  7 14:19:59 Void kernel: Plex Media Serv[28598]: segfault at 15500abd8d5c ip 000015510fbf8f50 sp 00007ffec7853b28 error 4 in Plex Media Server[15510efce000+ca7000] likely on CPU 8 (core 16, socket 0)
May  7 14:19:59 Void kernel: Code: 69 4b c9 d0 49 8b 58 20 4c 8d 3c 3b 48 39 c3 4c 0f 44 fb 45 31 ed 0f 1f 40 00 c4 c1 7c 28 11 c4 41 7c 28 79 20 c4 e1 f9 7e c3 <c4> 62 7d 18 2b c4 e3 f9 16 c3 01 c4 62 15 b8 e2 c4 c2 05 b8 dd c4
May  7 14:24:24 Void kernel: Plex Media Serv[15047]: segfault at 14f0437db1a4 ip 000014f3487f8f50 sp 00007fffd6853f58 error 4 in Plex Media Server[14f347bce000+ca7000] likely on CPU 8 (core 16, socket 0)
May  7 14:24:24 Void kernel: Code: 69 4b c9 d0 49 8b 58 20 4c 8d 3c 3b 48 39 c3 4c 0f 44 fb 45 31 ed 0f 1f 40 00 c4 c1 7c 28 11 c4 41 7c 28 79 20 c4 e1 f9 7e c3 <c4> 62 7d 18 2b c4 e3 f9 16 c3 01 c4 62 15 b8 e2 c4 c2 05 b8 dd c4
May  7 14:33:20 Void kernel: Plex Media Serv[23466]: segfault at 148044dd6f50 ip 0000148a49ff8f8e sp 00007ffc4ebbf5d8 error 4 in Plex Media Server[148a493ce000+ca7000] likely on CPU 8 (core 16, socket 0)
May  7 14:33:20 Void kernel: Code: dd c4 62 7d 18 2b c4 e1 f9 7e cb c4 e2 15 b8 e2 c4 c2 05 b8 ed c4 62 7d 18 2b c4 e3 f9 16 cb 01 c4 62 15 b8 ca c4 c2 05 b8 f5 <c4> 62 7d 18 2b c4 62 15 b8 d2 c4 42 05 b8 c5 c4 02 7d 18 2c 2f c4
May  7 14:33:38 Void kernel: Plex Media Serv[29016]: segfault at 1495871daf84 ip 000014978c1f8f79 sp 00007ffe0a1d7bf8 error 4 in Plex Media Server[14978b5ce000+ca7000] likely on CPU 8 (core 16, socket 0)
May  7 14:33:38 Void kernel: Code: c3 c4 62 7d 18 2b c4 e3 f9 16 c3 01 c4 62 15 b8 e2 c4 c2 05 b8 dd c4 62 7d 18 2b c4 e1 f9 7e cb c4 e2 15 b8 e2 c4 c2 05 b8 ed <c4> 62 7d 18 2b c4 e3 f9 16 cb 01 c4 62 15 b8 ca c4 c2 05 b8 f5 c4
May  7 14:33:49 Void kernel: Plex Media Serv[460]: segfault at 1464c3bd8198 ip 000014e4c8df8f79 sp 00007ffedbae7058 error 4 in Plex Media Server[14e4c81ce000+ca7000] likely on CPU 8 (core 16, socket 0)
May  7 14:33:49 Void kernel: Code: c3 c4 62 7d 18 2b c4 e3 f9 16 c3 01 c4 62 15 b8 e2 c4 c2 05 b8 dd c4 62 7d 18 2b c4 e1 f9 7e cb c4 e2 15 b8 e2 c4 c2 05 b8 ed <c4> 62 7d 18 2b c4 e3 f9 16 cb 01 c4 62 15 b8 ca c4 c2 05 b8 f5 c4
May  7 14:34:00 Void kernel: Plex Media Serv[3943]: segfault at 151c65bd04a4 ip 0000151d6abf8f50 sp 00007ffef4a3d748 error 4 in Plex Media Server[151d69fce000+ca7000] likely on CPU 8 (core 16, socket 0)
May  7 14:34:00 Void kernel: Code: 69 4b c9 d0 49 8b 58 20 4c 8d 3c 3b 48 39 c3 4c 0f 44 fb 45 31 ed 0f 1f 40 00 c4 c1 7c 28 11 c4 41 7c 28 79 20 c4 e1 f9 7e c3 <c4> 62 7d 18 2b c4 e3 f9 16 c3 01 c4 62 15 b8 e2 c4 c2 05 b8 dd c4
May  7 14:34:10 Void kernel: Plex Media Serv[7235]: segfault at 146adc9d710c ip 0000146be19f8f79 sp 00007ffc03c21468 error 4 in Plex Media Server[146be0dce000+ca7000] likely on CPU 8 (core 16, socket 0)
May  7 14:34:10 Void kernel: Code: c3 c4 62 7d 18 2b c4 e3 f9 16 c3 01 c4 62 15 b8 e2 c4 c2 05 b8 dd c4 62 7d 18 2b c4 e1 f9 7e cb c4 e2 15 b8 e2 c4 c2 05 b8 ed <c4> 62 7d 18 2b c4 e3 f9 16 cb 01 c4 62 15 b8 ca c4 c2 05 b8 f5 c4
May  7 14:34:20 Void kernel: Plex Media Serv[10388]: segfault at 15440f5d8f48 ip 00001544347f8f79 sp 00007ffd79ba20b8 error 4 in Plex Media Server[154433bce000+ca7000] likely on CPU 8 (core 16, socket 0)
May  7 14:34:20 Void kernel: Code: c3 c4 62 7d 18 2b c4 e3 f9 16 c3 01 c4 62 15 b8 e2 c4 c2 05 b8 dd c4 62 7d 18 2b c4 e1 f9 7e cb c4 e2 15 b8 e2 c4 c2 05 b8 ed <c4> 62 7d 18 2b c4 e3 f9 16 cb 01 c4 62 15 b8 ca c4 c2 05 b8 f5 c4
May  7 14:35:15 Void kernel: Plex Media Serv[13673]: segfault at 14f068fd06d4 ip 000014f26e1f8f50 sp 00007ffc3ab037e8 error 4 in Plex Media Server[14f26d5ce000+ca7000] likely on CPU 8 (core 16, socket 0)
May  7 14:35:15 Void kernel: Code: 69 4b c9 d0 49 8b 58 20 4c 8d 3c 3b 48 39 c3 4c 0f 44 fb 45 31 ed 0f 1f 40 00 c4 c1 7c 28 11 c4 41 7c 28 79 20 c4 e1 f9 7e c3 <c4> 62 7d 18 2b c4 e3 f9 16 c3 01 c4 62 15 b8 e2 c4 c2 05 b8 dd c4
May  7 14:36:41 Void kernel: Plex Media Serv[18927]: segfault at 14810a1d52d8 ip 000014e57f1f8f50 sp 00007fff23ce7db8 error 4 in Plex Media Server[14e57e5ce000+ca7000] likely on CPU 8 (core 16, socket 0)
May  7 14:36:41 Void kernel: Code: 69 4b c9 d0 49 8b 58 20 4c 8d 3c 3b 48 39 c3 4c 0f 44 fb 45 31 ed 0f 1f 40 00 c4 c1 7c 28 11 c4 41 7c 28 79 20 c4 e1 f9 7e c3 <c4> 62 7d 18 2b c4 e3 f9 16 c3 01 c4 62 15 b8 e2 c4 c2 05 b8 dd c4
May  7 14:38:55 Void kernel: Plex Media Serv[26612]: segfault at 14002f9db890 ip 00001470f4bf8f79 sp 00007ffc9d3a5ac8 error 4 in Plex Media Server[1470f3fce000+ca7000] likely on CPU 8 (core 16, socket 0)
May  7 14:38:55 Void kernel: Code: c3 c4 62 7d 18 2b c4 e3 f9 16 c3 01 c4 62 15 b8 e2 c4 c2 05 b8 dd c4 62 7d 18 2b c4 e1 f9 7e cb c4 e2 15 b8 e2 c4 c2 05 b8 ed <c4> 62 7d 18 2b c4 e3 f9 16 cb 01 c4 62 15 b8 ca c4 c2 05 b8 f5 c4
May  7 14:44:23 Void kernel: Plex Media Serv[20909]: segfault at 1474e8dd42c0 ip 00001476edff8f79 sp 00007ffdb0ac9778 error 4 in Plex Media Server[1476ed3ce000+ca7000] likely on CPU 8 (core 16, socket 0)
May  7 14:44:23 Void kernel: Code: c3 c4 62 7d 18 2b c4 e3 f9 16 c3 01 c4 62 15 b8 e2 c4 c2 05 b8 dd c4 62 7d 18 2b c4 e1 f9 7e cb c4 e2 15 b8 e2 c4 c2 05 b8 ed <c4> 62 7d 18 2b c4 e3 f9 16 cb 01 c4 62 15 b8 ca c4 c2 05 b8 f5 c4
May  7 14:47:53 Void kernel: Plex Media Serv[20010]: segfault at 1524139d1828 ip 0000152c189f8f79 sp 00007ffeb3595b58 error 4 in Plex Media Server[152c17dce000+ca7000] likely on CPU 8 (core 16, socket 0)
May  7 14:47:53 Void kernel: Code: c3 c4 62 7d 18 2b c4 e3 f9 16 c3 01 c4 62 15 b8 e2 c4 c2 05 b8 dd c4 62 7d 18 2b c4 e1 f9 7e cb c4 e2 15 b8 e2 c4 c2 05 b8 ed <c4> 62 7d 18 2b c4 e3 f9 16 cb 01 c4 62 15 b8 ca c4 c2 05 b8 f5 c4
May  7 14:49:33 Void kernel: Plex Media Serv[23587]: segfault at 15510dfd43e8 ip 0000155312ff8f50 sp 00007fff40a5f448 error 4 in Plex Media Server[1553123ce000+ca7000] likely on CPU 8 (core 16, socket 0)
May  7 14:49:33 Void kernel: Code: 69 4b c9 d0 49 8b 58 20 4c 8d 3c 3b 48 39 c3 4c 0f 44 fb 45 31 ed 0f 1f 40 00 c4 c1 7c 28 11 c4 41 7c 28 79 20 c4 e1 f9 7e c3 <c4> 62 7d 18 2b c4 e3 f9 16 c3 01 c4 62 15 b8 e2 c4 c2 05 b8 dd c4

Which OS/Platform and PMS version please?

Also , do you have logs for me? These messages alone don’t tell me what’s really wrong even thought I have an idea.

Server Version#: 1.40.2.8395 Official Docker from Community Apps (Unraid)

I will try to get logs, you need them all? specific ones? I have been using this metadata for a long time between 3 servers and its probably huge. Do I need to do anything to protect my account or privacy from anything in the logs? like tokens?

Yes please… Make a tar.gz or zip of the “Logs” directory (easiest) and drop it here

So looking in the Crash Reports folder, it was the “1.40.0.7998” when it started crashing constantly, In fact I have zero crash reports before that in any of the other folders.

Still trying to find out if there is some way to remove any sensitive info like login info or anything from logs before posting

Check your PM.

I have sent you a PM for your unedited logs (privately)

If needed, I will make 1.32.8 available for you while we diagnose the root issue

I sadly do not have any of the backups that far back of the database, so i was not able to go backwards without starting over.

That’s fine. We’ll figure it out.

Before we go further, I got feedback from one of my other customers.

  1. Go into the container on the command line.
  2. ‘cd’ into /config/Library/Application Support/Plex Media Server/Codecs
  3. Delete the ‘linux’ codecs subdirectory and the files in it.
  4. You will see a .device_id file. Don’t delete this. It’s your license.
  5. Restart the container. PMS will download a fresh copy of the codecs.

I suggest this because a recent version of PMS had trouble updating codecs.
I don’t see the identical behavior but do see some things which don’t make sense and reloading codecs is painless.

Ok, I will try again, I did it 4.27 but maybe it was bad again. will try it.

Should I try to copy the the codecs from the known working copy of the docker? Its the same machine

Woke up to the entire OS crashed again was during maintenance hours

May 11 01:50:08 Void kernel: Plex Media Scan[5967]: segfault at 2c74f ip 000015515441b229 sp 00007fffdbe939a0 error 6 in Plex Media Scanner[1551543b3000+31e000] likely on CPU 8 (core 16, socket 0)
May 11 01:50:08 Void kernel: Code: ff e8 cb 33 2b 00 84 c0 74 09 31 d2 31 c9 e9 82 00 00 00 48 8d bd d0 fe ff ff 4c 89 fe e8 6b 06 01 00 4c 89 ff e8 b7 33 2b 00 <48> 8b 8d d0 fe ff ff 48 85 c0 74 58 48 85 c9 74 53 48 8b b5 d8 fe
May 11 01:50:34 Void kernel: Plex Media Scan[7776]: segfault at 2c74f ip 000015137b21b229 sp 00007fff45d48b00 error 6 in Plex Media Scanner[15137b1b3000+31e000] likely on CPU 8 (core 16, socket 0)
May 11 01:50:34 Void kernel: Code: ff e8 cb 33 2b 00 84 c0 74 09 31 d2 31 c9 e9 82 00 00 00 48 8d bd d0 fe ff ff 4c 89 fe e8 6b 06 01 00 4c 89 ff e8 b7 33 2b 00 <48> 8b 8d d0 fe ff ff 48 85 c0 74 58 48 85 c9 74 53 48 8b b5 d8 fe
May 11 01:50:52 Void kernel: Plex Media Scan[9146]: segfault at 7ffc00000000 ip 00007ffc00000000 sp 00007ffc2d8aef28 error 15 likely on CPU 10 (core 20, socket 0)
May 11 01:50:52 Void kernel: Code: Unable to access opcode bytes at 0x7ffbffffffd6.
May 11 01:51:04 Void kernel: Plex Media Scan[9946]: segfault at 242ff4004 ip 00001495c6f6cebe sp 00007ffe56fe2688 error 4 in libopencv_core.so.405[1495c6ec3000+182000] likely on CPU 19 (core 35, socket 0)
May 11 01:51:04 Void kernel: Code: 78 0c 48 39 c8 7d 0a 49 0f af d0 48 01 d7 48 89 fb 49 89 5e 10 5b 41 5c 41 5e 41 5f 5d c3 55 48 89 e5 48 85 f6 74 4b 48 8b 07 <44> 8b 40 04 41 83 f8 02 75 18 4c 63 06 48 8b 40 40 48 63 48 04 49
May 11 01:51:29 Void kernel: Plex Media Scan[12075]: segfault at 242ff4004 ip 000014dd7d96cebe sp 00007fff455c8848 error 4 in libopencv_core.so.405[14dd7d8c3000+182000] likely on CPU 18 (core 34, socket 0)
May 11 01:51:29 Void kernel: Code: 78 0c 48 39 c8 7d 0a 49 0f af d0 48 01 d7 48 89 fb 49 89 5e 10 5b 41 5c 41 5e 41 5f 5d c3 55 48 89 e5 48 85 f6 74 4b 48 8b 07 <44> 8b 40 04 41 83 f8 02 75 18 4c 63 06 48 8b 40 40 48 63 48 04 49
May 11 01:51:33 Void kernel: traps: Plex Media Scan[12446] trap invalid opcode ip:14b6cd21b74f sp:7fff1a8fac80 error:0 in Plex Media Scanner[14b6cd1b3000+31e000]
May 11 01:52:06 Void kernel: Plex Media Scan[14846]: segfault at 242ff4004 ip 000014b841b6cebe sp 00007ffd79348128 error 4 in libopencv_core.so.405[14b841ac3000+182000] likely on CPU 8 (core 16, socket 0)
May 11 01:52:06 Void kernel: Code: 78 0c 48 39 c8 7d 0a 49 0f af d0 48 01 d7 48 89 fb 49 89 5e 10 5b 41 5c 41 5e 41 5f 5d c3 55 48 89 e5 48 85 f6 74 4b 48 8b 07 <44> 8b 40 04 41 83 f8 02 75 18 4c 63 06 48 8b 40 40 48 63 48 04 49
May 11 01:52:24 Void kernel: Plex Media Scan[16194]: segfault at 2c74f ip 0000149b1421b229 sp 00007ffcbceec240 error 6 in Plex Media Scanner[149b141b3000+31e000] likely on CPU 8 (core 16, socket 0)

So I ran your repair script, tried downloading codecs a couple times, then copied them from the working test docker, all issues have gone except credits scans still causing segfaults. so i have those off. not sure if there has been anything discovered on Plex’s end.

So, I figured there was no fix, since no responses in months. So I switched to Emby and Jellyfin, ZERO issues. You guys already have my money, so I just have to take the L for the unusable product. best of luck.

You are on latest unraid version right? 6.12.11?

yes. was on 6.12.10 untill like a week ago or whever it came out. I reverted to plex version before last and it started working again, but the reliability is just not there for me. Seems every other Plex update i have codec issues or some other thing.

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