Plex segfaulting once every day or so

Hello,

I’ve been running Plex on Unraid for a couple months on a new (to me) Supermicro server.

I’ve seen a total of 5 segfaults, and have attached the logs from the most recent one, which I caught live in a tail of my syslog.

This server has 128gb of RAM - I’m frankly hoping this is a bug rather than an indication that one of those RAM sticks might be faulty, because it’d take a real long time to determine which one.

There should be a few crash reports sent from my account that I presume would have more details on the crash, but I’ve attached my logs as well.
Plex Media Server Logs_2021-05-21_23-17-42.zip (7.2 MB)

Hello,

I’m still seeing occasional segfaults every day or 2-3. The most recent one was on May 31st.

Is anyone able to assist?

12 days and nothing? My issue hasn’t seen much action either…

All I can suggest is find a ninja/employee and tag them with @

1 Like

Sorry I didn’t see this until now. ( I’ve been running crazy, like a cat in a room full of rocking chairs, for the last week at least.

Thanks for including the logs but they’re aren’t useful.

You turned on VERBOSE logging. (it’s OFF by default. Only DEBUG is ON)

Verbose logging only holds about 20-30 seconds per file; there are 5 files.
Debug logging holds 5-20 minutes per file depending on activity.

Please do the following.

  1. Verbose OFF
  2. Keep DEBUG on
  3. SAVE that change
  4. Turn OFF “Report Crashes to Plex”
  5. SAVE that too
  6. Now capture the next one.
  7. You will have DMP files in the “Crash Reports” directory under “PLEX MEDIA SERVER”
  8. Please put the DMP in a ZIP
  9. and attach the logs
  10. with your next reply.

I’ll see what the logs are showing for activity as I pull it open in the debugger

Very strange - I thought I had specifically checked to make sure that Verbose was off before collecting logs; perhaps the settings didn’t save.

I’ll have to wait until the next segfault (I presume) but I’ll update with fresh logs/dmp once that happens.

Thanks for the response!

Changing logging options is not retroactive.

Log options only change the amount of information sent to the logs.
(think of capturing console output to a file)

That’s not a lot of logs being retained at all. Is there any way to increase this? I don’t care about log file size.

Yes, you can increase the number of logs retained.

  1. each file is 10.4 MB in length

  2. Advanced, Hidden Server Settings | Plex Support

  3. LogNumFiles="10" (or whatever you wish but remember the forum limits)

I’m also getting segfaults randomly. Always a null pointer read.

Running Ubuntu 20.04 on 5.4.0-77-generic with Nvidia 465.27.
Plex is running in a docker container. v1.23.4.4805-186bae04e

Plex Media Server Logs_2021-07-14_03-31-17.zip (6.6 MB)

Plex Media Serv[2528142]: segfault at 0 ip 00007f4d319df604 sp 00007f4d2a8f0ef0 error 4 in Plex Media Server[7f4d31090000+99d000]
[ +0.000012] Code: 38 80 7d cf 00 79 09 48 8b 7d b8 e8 d6 89 04 00 48 8b 45 98 48 8b 18 4c 8b 60 08 4c 39 e3 74 1c 49 8b 07 c6 40 18 01 48 8b 3b <48> 8b 07 4c 89 fe ff 50 18 48 83 c3 10 49 39 dc 75 e4 49 8b 1f 49

@taylrjones

When it does it again, Please grab the logs immediately after restart.
The logs have a very short life span. (10.5 MB as you can see here).

Whatever it was doing at time of failure has rolled off the end.

It had been a while since I had seen a segfault, but one happened early this morning. I’ve added the logs and a zip containing the dump.

One weird thing about the dump is the folder was created on the 10th, though the actual crash from this morning shows as being created/modified today, like I would expect. Not sure why the folder was created days before the dump.
Plex Media Server Logs_2021-07-14_10-17-11.zip (5.3 MB)
1.23.4.4775-b7e0c30f2.zip (32.2 KB)

Jul 14 02:58:21 MemoryAlpha kernel: Plex Media Scan[27800]: segfault at 14dca178a030 ip 000014dca3f3ff80 sp 00007ffc0a8f6f30 error 4 in ld-musl-x86_64.so.1[14dca3ef6000+53000]
Jul 14 02:58:21 MemoryAlpha kernel: Code: 0f b6 49 06 48 c1 e1 08 48 09 c1 41 0f b6 41 07 48 09 c8 eb 02 48 98 48 8b 6c 24 28 45 85 e4 74 3a 41 0f b6 4a ff 48 8d 0c 49 <0f> b6 54 4d 00 c1 e2 18 0f b6 74 4d 01 48 c1 e6 10 48 63 d2 48 09

Thanks for the help!

@ChuckPa That zip should have it covered. My segfault was at

[Tue Jul 13 23:30:37 2021] Plex Media Serv[2528142]: segfault at 0 ip 00007f4d319df604 sp 00007f4d2a8f0ef0 error 4 in Plex Media Server[7f4d31090000+99d000]

The docker TZ isn’t matched up so the plex logs are +4 hours.

Had the same segfault

Unraid: 6.9.2
Plex server version: Version 1.23.6.4810

Jul 25 **18:25:45** Tower kernel: Plex Media Serv[28189]: segfault at 1494dfea82a8 ip 00001494e89013be sp 00001494dfe0e1d0 error 4 in Plex Media Server[1494e8137000+99b000] Jul 25 **18:25:45** Tower kernel: Code: 48 c7 c0 ff ff ff ff f0 48 0f c1 43 08 48 85 c0 75 11 48 8b 03 48 89 df ff 50 10 48 89 df e8 d9 bc 1c 00 0f 57 c0 0f 29 45 d0 <49> 8b be c8 00 00 00 48 85 ff 0f 84 cf 00 00 00 e8 ad bc 1c 00 48

Time in question is in Plex Media Server.1.log

Plex Logs.zip (4.4 MB)

I got the same issue. Nearly every night or second the Plex Server is not responding anymore.

Plex Media Serv[24692]: segfault at 94 ip 00007f94a7f9efc6 sp 00007f94a2cf28b0 error 4 in Plex Media Server[7f94a7b20000+99c000]

Plex Media Server Logs_2021-08-10_08-47-47.zip (5.9 MB)

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