# Plex keeps core dumping

**URL:** <https://forums.plex.tv/t/plex-keeps-core-dumping/224573>\
**Category:** General Discussions\
**Created:** [February 7, 2018, 3:41pm UTC](https://forums.plex.tv/t/plex-keeps-core-dumping/224573 "2018-02-07T15:41:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![plx81hk](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@plx81hk](https://forums.plex.tv/u/plx81hk)\
**Post date:** [February 7, 2018, 3:41pm UTC](https://forums.plex.tv/t/plex-keeps-core-dumping/224573/1 "2018-02-07T15:41:17Z")

</div>

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.

```auto
● 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](http://termbin.com/e8pv)  
Here are the stack traces: [http://termbin.com/l6fu](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.

---

<div class="post-metadata">

**Author:** ![plx81hk](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@plx81hk](https://forums.plex.tv/u/plx81hk)\
**Post date:** [February 7, 2018, 4:46pm UTC](https://forums.plex.tv/t/plex-keeps-core-dumping/224573/2 "2018-02-07T16:46:20Z")

</div>

So I ran the following [dtrace script](https://us-east.manta.joyent.com/jjelinek/public/lxz.d "dtrace script") on the failing process: [http://termbin.com/rpa0](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.

---

<div class="post-metadata">

**Author:** ![plx81hk](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@plx81hk](https://forums.plex.tv/u/plx81hk)\
**Post date:** [February 7, 2018, 4:48pm UTC](https://forums.plex.tv/t/plex-keeps-core-dumping/224573/3 "2018-02-07T16:48:22Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![sa2000](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sa2000/32/6922_2.png) [@sa2000](https://forums.plex.tv/u/sa2000)\
**Post date:** [February 8, 2018, 3:13am UTC](https://forums.plex.tv/t/plex-keeps-core-dumping/224573/4 "2018-02-08T03:13:44Z")

</div>

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/201643703-reporting-issues-with-plex-media-server/)  
[https://support.plex.tv/articles/200250417-plex-media-server-log-files/](https://support.plex.tv/articles/200250417-plex-media-server-log-files/)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [January 8, 2020, 12:34am UTC](https://forums.plex.tv/t/plex-keeps-core-dumping/224573/5 "2020-01-08T00:34:52Z")

</div>


