Plex Home Theater on Ubuntu 12.04 | Segmentation fault?

Plex Home Theater no longer starts on my Ubuntu 12.04 LTS box after latest update:
 
Here is what shows up in my logs, when I try to launch Plex Home Theater, using the startup icon or plexhometheater.sh from the command line:
 
ratmedia kernel: [12227.871392] CTimer[9469]: segfault at 24fd ip 00007f5ef1d8523d sp 00007f5ee6803e30 error 4 in libdl-2.15.so[7f5ef1d84000+2000]
 
What could possibly cause this? And, yes, I have tried out different RAM sticks, all Kingston and all fine.
 
Can anyone help?

Did you update via launchpad or build it yourself ?

No I updated via launchpad, and just to be sure, I uninstalled and reinstalled after I got the error. I thought maybe there was something wrong with the flow of data from launchpad to my machine. But no, it seems that there is some sort of incompatibility with the new release.

Hello Christian, any idea what may be causing the issue?

Nope not at the moment. Best guess is that it is that libdl does not match in version on thebuild servers. But this is a far fetched guess. Have you tried deleteing (move) your .plexht folder so it generates a new on on upstart. And when you do so please post entire log here if it still don’t work.

I do not att themoment have access to a computer so i can test 12.04 in a vm to see how it behaves.

Hey Christian,

I deleted the .plexht folders. Could not figure out how to really get full logs out, sorry. I mean, I know some linux, but only enough to get by. Meanwhile, I was lucky and found the previous version in my cache folder (0.9.10.0-20130626-git), name of package (plexhometheater_0.9.10.0-201306261333-ubuntu1~precise1_amd64.deb) and installed it. Works fine like before.

Thanks and sorry I could not help with the logs.

Ahmed

Hmzz strange. The logfile is located in .plexht/temp

Strange that the lates build does not work. I need to try it out on a vm.

Just installed a fresh 12.04 Precise 64 bit.

Did not do any updates just added the 3 repos 

Jons FFMPEG

Libcec

PlexHT

installed plexht and it started without any issues.

I just tried to install PHT on Ubuntu 12.04 for the first time. I have noticed that if I have the Media Server running at the same time, I get a Core Dump. 

I also tried with the MS disabled, then started PHT, which launched, and then launched the MS and it dumped again.

Using strace, it seems that it is crashing while reading the XML responses from the media server.

I just tried to install PHT on Ubuntu 12.04 for the first time. I have noticed that if I have the Media Server running at the same time, I get a Core Dump. 

I also tried with the MS disabled, then started PHT, which launched, and then launched the MS and it dumped again.

Using strace, it seems that it is crashing while reading the XML responses from the media server.

Just installed PMS 0.9.8.4.125 on the same 12.04 machine and They work fine side by side for me. I can't recreate the issue you guys have. I will need those logs and strace to provide to the developers.

Just installed PMS 0.9.8.4.125 on the same 12.04 machine and They work fine side by side for me. I can't recreate the issue you guys have. I will need those logs and strace to provide to the developers.


I've been able to repro a crash on fedora 19 with PHT and PMS. I have been able to get PHT running, since the latest packaging I did in testing it only crashed on first launch after reboot. But haven't nailed it just yet. It might be a thread timing issue. As per some if the errors I have seen. (Yes fedora is not Ubuntu, but the bug might be related)

- Mark

Btw my test machine is a vm with 12.04 fresh all updates and only pht and pms installed with it deps. Pms only has one section with 1 movie and is not logged in to myplex. So this could explain why i don’t see any issues.

Btw my test machine is a vm with 12.04 fresh all updates and only pht and pms installed with it deps. Pms only has one section with 1 movie and is not logged in to myplex. So this could explain why i don't see any issues.


I only have 1 section, with movies, but it's signed into myPlex account, haven't tested without being logged in.

/Mark

I'm having the same issue with Ubuntu 12.04.4 LTS (GNU/Linux 3.8.0-35-generic x86_64)

[250516.699606] plexhometheater[32383]: segfault at 7e7f ip 00007f3f28a9b23d sp 00007f3f20fd8e30 error 4 in libdl-2.15.so[7f3f28a9a000+2000]

I've installed the latest PMS with dpkg -i (deb downloaded from plexapp.com), it works just fine. Then installed plexht:

add-apt-repository ppa:plexapp/plexht
add-apt-repository ppa:jon-severinsson/ffmpeg
add-apt-repository ppa:pulse-eight/libcec
apt-get update
apt-get install plexhometheater
 
Installation went fine but I can't start it. It just crashes everytime - without creating the ~/.plexht folder. Any solution?
 
I'm considering PlexPass but I'd like to try before I buy :)
 
Thank you

I've managed to install plexht. I don't know what the problem was, but the following worked for me:

  1. install ubuntu server from scratch, 12.04LTS 64bit, base install
  2. apt-get install xinit xauth
  3. install the latest nvidia driver from nvidia.com
  4. add-apt-repository ppa:pulse-eight/libcec
  5. add-apt-repository ppa:plexapp/plexht
  6. apt-get update
  7. apt-get install plexhometheater
  8. install init script, get plex up and running
  9. download and install plex media server from plex.tv

Note that I've installed plexht before pms and also note there's no need to add ffmpeg ppa. Hope it helps.

I had seg faults with PHT as well with mint 16 with cinnamon 2.0 (ubuntu 13.10) so I downloaded the source code and compiled it with the commands offered via this site somewhere.

My intention is to make my own home made NAS/Media Center. Do I need to install PMC as well to use my own local files and then point PHT to my PMC server?

On a side note I'm not an experienced Lunix user, running win since 3.11, but have some light experience from back in the day with Debian. I'm a bit surprised how easy and nice cinnamon 2.0 is.

cannot get this working on saucy 13.10

added xbmc-nightly ppa, and plex ppa as per instructions

cannot stand fglrx so i used the default open source radeon drivers, which appear to be working just fine

apt-get install plexhometheater installs fine,

but plexhometheater.sh gives me a cannot open display

any ideas?

Are you running it from a terminal window in X? And as your local user?


P.S. Yes this is a dumb set of questions, but you didn’t specify what context you were executing the .sh in :confused:

  • Mark

I'm running PHT on Debian 7 and I'm getting a lot of segfaults also, the pht debug log doesn't mention anything interesting before the crashes.

Here's my syslog when it happens:

kernel: [   39.148864] Jobworker[2203]: segfault at 0 ip 00000000012d4aeb sp 00007ff0157f9630 error 4 in plexhometheater[400000+1726000]

I'm running PHT on Debian 7 and I'm getting a lot of segfaults also, the pht debug log doesn't mention anything interesting before the crashes.

Here's my syslog when it happens:

kernel: [   39.148864] Jobworker[2203]: segfault at 0 ip 00000000012d4aeb sp 00007ff0157f9630 error 4 in plexhometheater[400000+1726000]

I am getting this same error on Debian 7. Have you found a solution?