# Segfault help

**URL:** <https://forums.plex.tv/t/segfault-help/686499>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [February 3, 2021, 8:54pm UTC](https://forums.plex.tv/t/segfault-help/686499 "2021-02-03T20:54:27Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hhhonlyfan](https://avatars.discourse-cdn.com/v4/letter/h/9fc348/32.png) [@Hhhonlyfan](https://forums.plex.tv/u/Hhhonlyfan)\
**Post date:** [February 3, 2021, 8:54pm UTC](https://forums.plex.tv/t/segfault-help/686499/1 "2021-02-03T20:54:28Z")

</div>

version: plexmediaserver 1.21.2.3943-a91458577 amd64  
segfault:   
segfault at c8 ip 0000000000c04051 sp 00007f665bffb270 error 4 in Plex Media Server[a04000+f0c000]

I’m getting this error and wondering if anyone could help me resolve it? Thanks[Plex Media Server Logs\_2021-02-03\_20-32-49.zip](https://forums.plex.tv/uploads/short-url/17QopSOC1zHJIfXS5zILI3q7C8W.zip) (1.1 MB)

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [February 3, 2021, 9:28pm UTC](https://forums.plex.tv/t/segfault-help/686499/2 "2021-02-03T21:28:34Z")

</div>

DEBUG log files ZIP please?

Can’t help resolve without seeing what caused it.

Note: If you’ve turned off DEBUG logging then you need to turn it on again and wait.  
INFO logging is insufficient. VERBOSE logging will cause it to get lost before we can see what happened.

DEBUG logging ON, VERBOSE logging OFF.

---

<div class="post-metadata">

**Author:** ![Hhhonlyfan](https://avatars.discourse-cdn.com/v4/letter/h/9fc348/32.png) [@Hhhonlyfan](https://forums.plex.tv/u/Hhhonlyfan)\
**Post date:** [February 3, 2021, 9:39pm UTC](https://forums.plex.tv/t/segfault-help/686499/4 "2021-02-03T21:39:02Z")

</div>

have attached the logs on my original post but here they are

[Plex Media Server Logs\_2021-02-03\_20-32-49.zip](https://forums.plex.tv/uploads/short-url/17QopSOC1zHJIfXS5zILI3q7C8W.zip) (1.1 MB)

---

<div class="post-metadata">

**Author:** ![Hhhonlyfan](https://avatars.discourse-cdn.com/v4/letter/h/9fc348/32.png) [@Hhhonlyfan](https://forums.plex.tv/u/Hhhonlyfan)\
**Post date:** [February 3, 2021, 9:50pm UTC](https://forums.plex.tv/t/segfault-help/686499/5 "2021-02-03T21:50:31Z")

</div>

thank you for the reply as well. have added my logs

---

<div class="post-metadata">

**Author:** ![Hhhonlyfan](https://avatars.discourse-cdn.com/v4/letter/h/9fc348/32.png) [@Hhhonlyfan](https://forums.plex.tv/u/Hhhonlyfan)\
**Post date:** [February 4, 2021, 1:49am UTC](https://forums.plex.tv/t/segfault-help/686499/6 "2021-02-04T01:49:43Z")

</div>

Any reply or joy with the logs please?.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [February 4, 2021, 2:43am UTC](https://forums.plex.tv/t/segfault-help/686499/7 "2021-02-04T02:43:10Z")

</div>

@Hhhonlyfan

Sorry , but i’ve been swamped all afternoon. Only getting a chance to sit down now (everyone gone to bed) and see what else I can get done.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [February 4, 2021, 2:49am UTC](https://forums.plex.tv/t/segfault-help/686499/8 "2021-02-04T02:49:23Z")

</div>

@Hhhonlyfan

There are no smoking guns in your logs.  
This one is going to take direct examination of a DMP file (from the Crash Reports directory).

The best way to capture these is to turn off Crash Report uploading (Settings - Server - General) and recreating / getting the next one.

When it does, grab current logs ZIP  
put the DMP in a ZIP.

Upload both.

I’ll grab that version of PMS + Debug files and run the post morten here locally.

---

<div class="post-metadata">

**Author:** ![Hhhonlyfan](https://avatars.discourse-cdn.com/v4/letter/h/9fc348/32.png) [@Hhhonlyfan](https://forums.plex.tv/u/Hhhonlyfan)\
**Post date:** [February 8, 2021, 3:06pm UTC](https://forums.plex.tv/t/segfault-help/686499/9 "2021-02-08T15:06:44Z")

</div>

Ok sorry for the delay. Will sort this out. Been having issues so haven’t been able to log on.

---

<div class="post-metadata">

**Author:** ![jamiew0w](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@jamiew0w](https://forums.plex.tv/u/jamiew0w)\
**Post date:** [February 8, 2021, 8:47pm UTC](https://forums.plex.tv/t/segfault-help/686499/10 "2021-02-08T20:47:38Z")

</div>

Hi @ChuckPa

I’ve been working on this with OP. Here are the crash report/debug logs for today. [https://down.loaded.ie/qPCgrX6V.zip](https://down.loaded.ie/qPCgrX6V.zip)

we’ve tested with upgrading back to newest release but now it’s crashing even more often, and I’m not seeing any sigterms in syslog. Appreciate any feedback on this!

edit; we’ve had to downgrade serveral versions to `1.21.1.3876-3c3adfcb4` to get things stable again.

---

<div class="post-metadata">

**Author:** ![dsully](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dsully/32/81_2.png) [@dsully](https://forums.plex.tv/u/dsully)\
**Post date:** [February 9, 2021, 3:49am UTC](https://forums.plex.tv/t/segfault-help/686499/11 "2021-02-09T03:49:37Z")

</div>

I’m seeing this segfault as well. Will try that downgraded version. Running on Ubuntu 20.10 x86\_64

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [February 9, 2021, 6:02am UTC](https://forums.plex.tv/t/segfault-help/686499/12 "2021-02-09T06:02:01Z")

</div>

@jamiew0w

Which PMS version - build hash are these from? (so I know which PMS debug symbols to download and setup with)

---

<div class="post-metadata">

**Author:** ![jamiew0w](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@jamiew0w](https://forums.plex.tv/u/jamiew0w)\
**Post date:** [February 9, 2021, 6:16am UTC](https://forums.plex.tv/t/segfault-help/686499/13 "2021-02-09T06:16:36Z")

</div>

Hi ChuckPa!

I believe these are from `1.21.3.4014-58bd20c02`, the most recent build on the apt repos.

```auto
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.2 LTS
Release:	20.04
Codename:	focal

```

We downgraded several versions to `1.21.1.3876-3c3adfcb4` and things appear stable for now.

If you need anything else be sure to let us know, happy to help in any way.

---

<div class="post-metadata">

**Author:** ![jamiew0w](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@jamiew0w](https://forums.plex.tv/u/jamiew0w)\
**Post date:** [February 9, 2021, 7:25pm UTC](https://forums.plex.tv/t/segfault-help/686499/14 "2021-02-09T19:25:27Z")

</div>

new segfaults found in syslog:

```auto
Feb 9 00:33:21 test kernel: [12911.215940] Plex Media Serv[460502]: segfault at c8 ip 0000000000bf1411 sp 00007f10b6ffbb70 error 4 in Plex Media Server[9f2000+ee5000]
Feb 9 13:39:50 test kernel: [60101.066045] Plex Media Serv[712125]: segfault at c8 ip 0000000000bf1411 sp 00007f92bb7fcb70 error 4 in Plex Media Server[9f2000+ee5000]
Feb 9 15:37:12 test kernel: [67142.709891] Plex Media Serv[739620]: segfault at c8 ip 0000000000bf1411 sp 00007fb9aa7fab70 error 4 in Plex Media Server[9f2000+ee5000]
Feb 9 18:40:49 test kernel: [78160.123338] Plex Media Serv[783618]: segfault at c8 ip 0000000000bf1411 sp 00007f6cd77fcb70 error 4 in Plex Media Server[9f2000+ee5000]
Feb 9 20:16:43 test kernel: [83914.516242] Plex Media Serv[791370]: segfault at c8 ip 0000000000bf1411 sp 00007f6eb0ff7b70 error 4 in Plex Media Server[9f2000+ee5000]
Feb 9 20:21:39 test kernel: [84210.060461] Plex Media Serv[807844]: segfault at c8 ip 0000000000bf1411 sp 00007fdce5ff9b70 error 4 in Plex Media Server[9f2000+ee5000]

```

This is on version `1.21.1.3876-3c3adfcb4` also. yikes. Nothing new in crash reports either, presumably because ist segfaulting instead of crashing.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [February 9, 2021, 7:27pm UTC](https://forums.plex.tv/t/segfault-help/686499/15 "2021-02-09T19:27:50Z")

</div>

Would you mind jumping ahead?

Go right to build 4014.

They’ve been making corrections faster than I can keep up.

If we can track one in 4014, I’ll have something to pin it on there too.  
(two different versions)

---

<div class="post-metadata">

**Author:** ![jamiew0w](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@jamiew0w](https://forums.plex.tv/u/jamiew0w)\
**Post date:** [February 9, 2021, 7:28pm UTC](https://forums.plex.tv/t/segfault-help/686499/16 "2021-02-09T19:28:11Z")

</div>

Sure thing, doing so now.

edit; done - I’ll keep you posted. Thanks for your continued help ChuckPa, appreciated 🙂

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [February 9, 2021, 7:28pm UTC](https://forums.plex.tv/t/segfault-help/686499/17 "2021-02-09T19:28:18Z")

</div>

thanks

---

<div class="post-metadata">

**Author:** ![jamiew0w](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@jamiew0w](https://forums.plex.tv/u/jamiew0w)\
**Post date:** [February 9, 2021, 7:38pm UTC](https://forums.plex.tv/t/segfault-help/686499/18 "2021-02-09T19:38:37Z")

</div>

segfaulted immediately:

```auto
Feb 9 20:32:22 test kernel: [84853.545662] Plex Media Serv[811297]: segfault at c8 ip 0000000000c04051 sp 00007f170aff9270 error 4 in Plex Media Server[a04000+f0d000]

```

updated crash reports from today - [https://down.loaded.ie/MQRpfITH.zip](https://down.loaded.ie/MQRpfITH.zip)  
Let me know if you need other debug logs too

**MODERATOR EDIT** :

PMS Crash dmp files  
[https://down.loaded.ie/ZSUHXevl.zip](https://down.loaded.ie/ZSUHXevl.zip)

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [February 9, 2021, 7:44pm UTC](https://forums.plex.tv/t/segfault-help/686499/19 "2021-02-09T19:44:24Z")

</div>

Need your PMS Logs Dir too 🙂

---

<div class="post-metadata">

**Author:** ![Hhhonlyfan](https://avatars.discourse-cdn.com/v4/letter/h/9fc348/32.png) [@Hhhonlyfan](https://forums.plex.tv/u/Hhhonlyfan)\
**Post date:** [February 9, 2021, 7:50pm UTC](https://forums.plex.tv/t/segfault-help/686499/20 "2021-02-09T19:50:22Z")

</div>

Thank you to you and @jamiew0w who has bene massively trying to help me get this resolved.

---

<div class="post-metadata">

**Author:** ![jamiew0w](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@jamiew0w](https://forums.plex.tv/u/jamiew0w)\
**Post date:** [February 9, 2021, 7:51pm UTC](https://forums.plex.tv/t/segfault-help/686499/21 "2021-02-09T19:51:20Z")

</div>

done and done -

**MODERATOR EDIT** - These are the PMS logs

[https://down.loaded.ie/NSLejeXo.zip](https://down.loaded.ie/NSLejeXo.zip)

[Next page](https://forums.plex.tv/t/segfault-help/686499.md?page=2)
