Plex keeps core dumping

I’m running Plex 1.10.1.4602-f54242b6b in an Ubuntu 16.04.3 LTS zone. It was working fine until recently. Plex has crashed and now it won’t start up. Systemd tried to start it a few times, but it stopped because of too many failures.

● plexmediaserver.service - Plex Media Server for Linux
   Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
   Active: activating (auto-restart) (Result: exit-code) since Wed 2018-02-07 07:22:35 MST; 22ms ago
  Process: 43806 ExecStart=/bin/sh -c LD_LIBRARY_PATH=/usr/lib/plexmediaserver "/usr/lib/plexmediaserver/Plex Media Server" (code=exited, status=139)
  Process: 43801 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" (code=exited, status=0/SUCCESS)
 Main PID: 43806 (code=exited, status=139)
   CGroup: /system.slice/plexmediaserver.service

journalctl shows:

Feb 07 07:22:34 leech sh[43806]: Segmentation fault (core dumped)

Looking in the Crash Reports folder there is nothing of interest there. Just empty directories

drwxr-xr-x  5 plex plex  5 Jan 23 02:08 1.10.1.4602-f54242b6b <- date doesn't match this current crash

Logs don’t seem to show anything interesting. I can upload the logs or the core dump somewhere if that would help.

Here is the process map of the process: http://termbin.com/e8pv
Here are the stack traces: http://termbin.com/l6fu though these don’t seem to be useful because of no symbols.

Let me know if there is anything I can do to help.

So I ran the following dtrace script on the failing process: http://termbin.com/rpa0

Not sure if this is a red herring:

Plex Media Serve 69209 20 UNSUPP: clone(2) a thread requires that all or none of CLONE_VM/FS/FILES/THREAD/SIGHAND be set. (flags:0x00800600)\0

Not sure why that would happen all of a sudden.

It looks like the server finally started up again. Looking at the dtrace log there is no UNSUPP message. So it seems like the crash is transient? Or maybe there is a background thread that forks and causes the crash?

Thanks for the feedback

I could not find any crash reports uploaded for either of your 2 servers on the account.

If problems come back please ensure you have debug logging and crash reporting enabled and attach the zipped logs and can then look for the crash report

https://support.plex.tv/articles/201643703-reporting-issues-with-plex-media-server/
https://support.plex.tv/articles/200250417-plex-media-server-log-files/