INTERACT FORUM

More => Old Versions => JRiver Media Center 23 for Linux => Topic started by: Djohnson98 on April 09, 2018, 06:41:56 pm

Title: Segmentation Fault When Trying To Run MC23
Post by: Djohnson98 on April 09, 2018, 06:41:56 pm
I’ve been running the trial version of MC22 on Ubuntu 16.04 LTS and decided to purchase a license. After purchasing th license I discovered that it is only good for MC23 and higher so I have installed MC23 but when I try to run MC23 I get “Segmentation Fault”. Anybody have any ideas?  MC22 worked great.
Title: Re: Segmentation Fault When Trying To Run MC23
Post by: JimH on April 09, 2018, 07:17:52 pm
Make sure you have the very latest build. 
Title: Re: Segmentation Fault When Trying To Run MC23
Post by: Djohnson98 on April 10, 2018, 08:56:31 am
As far as I can tell I have installed the latest build.  It is version "mediacenter23  23.0.102     amd64".
Title: Re: Segmentation Fault When Trying To Run MC23
Post by: Awesome Donkey on April 10, 2018, 09:03:10 am
If I had to gander a guess, it's possible Ubuntu 16.04 LTS might have too out-of-date libraries for MC23+ to function correctly, not sure. I've tested MC23 in Ubuntu 17.10 and I've yet to encounter any segfaults there.

Fortunately, Ubuntu 18.04 LTS is due for release in a couple weeks.
Title: Re: Segmentation Fault When Trying To Run MC23
Post by: bob on April 10, 2018, 10:14:00 am
IIRC, it's due to a missing package that MC needs to run but didn't specify in the dependencies (it's installed by default on debian).
It's running here on my test 16.04LTS box fine.
If you pull up a terminal window and do
Code: [Select]
ldd -d /usr/lib/jriver/Media\ Center\ 23/*.so* | grep -i foundand post the results here I'm sure we can figure it out.

EDIT:
It might be libgomp1 I just saw that in reference to an arm build

sudo apt-get install libgomp1

If it installs you didn't have it. If not, do the ldd above.

Report back in any case please.
Title: Re: Segmentation Fault When Trying To Run MC23
Post by: Djohnson98 on April 10, 2018, 02:22:49 pm
No results from the command:

admin@ubuntu_1604:~$ ldd -d /usr/lib/jriver/Media\ Center\ 23/*.so* | grep -i found
admin@ubuntu_1604:~$

libgomp1is installed and I it is current, but I agree with you that it is probably a missing package or one that is out of date.  I'm not sure how to find it though.
Title: Re: Segmentation Fault When Trying To Run MC23
Post by: bob on April 10, 2018, 04:30:58 pm
No results from the command:

admin@ubuntu_1604:~$ ldd -d /usr/lib/jriver/Media\ Center\ 23/*.so* | grep -i found
admin@ubuntu_1604:~$

libgomp1is installed and I it is current, but I agree with you that it is probably a missing package or one that is out of date.  I'm not sure how to find it though.
How about ldd on /usr/bin/mediacenter23 ?

Also, if you execute it from the command line (mediacenter23) do you see anything other than Segfault?
Title: Re: Segmentation Fault When Trying To Run MC23
Post by: Djohnson98 on April 11, 2018, 07:11:45 am
Here's what I got from ldd:
admin@ubuntu_1604:~$ ldd /usr/bin/mediacenter23
   linux-vdso.so.1 =>  (0x00007ffe9cfed000)
   libcryptlib.so => /usr/lib/jriver/Media Center 23/libcryptlib.so (0x00007fa53679e000)
   libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fa536566000)
   librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fa53635e000)
   libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fa536159000)
   libboost_regex.so.1.59.0 => /usr/lib/jriver/Media Center 23/libboost_regex.so.1.59.0 (0x00007fa535e70000)
   libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fa535b36000)
   libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007fa535930000)
   libGL.so.1 => /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 (0x00007fa5356bd000)
   libXrandr.so.2 => /usr/lib/x86_64-linux-gnu/libXrandr.so.2 (0x00007fa5354b2000)
   libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fa53512f000)
   libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fa534e26000)
   libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fa534c10000)
   libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa534845000)
   /lib64/ld-linux-x86-64.so.2 (0x000055ca69cf4000)
   libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fa534623000)
   libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007fa5343f9000)
   libxcb-dri3.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 (0x00007fa5341f6000)
   libxcb-present.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-present.so.0 (0x00007fa533ff3000)
   libxcb-sync.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007fa533deb000)
   libxshmfence.so.1 => /usr/lib/x86_64-linux-gnu/libxshmfence.so.1 (0x00007fa533be8000)
   libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007fa5339b8000)
   libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007fa5337a5000)
   libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007fa5335a2000)
   libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007fa53339c000)
   libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007fa533199000)
   libxcb-glx.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007fa532f80000)
   libxcb-dri2.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 (0x00007fa532d7b000)
   libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007fa532b74000)
   libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007fa532963000)
   libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007fa532758000)
   libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fa532554000)
   libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fa53234e000)
When I execute mediacenter23 from command line all I get is "Segmentation Fault"
Title: Re: Segmentation Fault When Trying To Run MC23
Post by: bob on April 11, 2018, 09:13:40 am
That all looks fine.
Try removing the .jriver folder from your home directory and trying again.
Title: Re: Segmentation Fault When Trying To Run MC23
Post by: Djohnson98 on April 11, 2018, 04:03:16 pm
No luck.  After removing MediaCenter23 I reinstalled it and still get the Segmentation Fault message.  Here is the output from the terminal:

admin@ubuntu_1604:~$ sudo dpkg -i /home/admin/Downloads/MediaCenter-23.0.102-amd64.deb
[sudo] password for admin:
Selecting previously unselected package mediacenter23.
(Reading database ... 170369 files and directories currently installed.)
Preparing to unpack .../MediaCenter-23.0.102-amd64.deb ...
Unpacking mediacenter23 (23.0.102) ...
Setting up mediacenter23 (23.0.102) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for shared-mime-info (1.5-2ubuntu0.1) ...
admin@ubuntu_1604:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
admin@ubuntu_1604:~$ ldd /usr/bin/mediacenter23
   linux-vdso.so.1 =>  (0x00007ffe64f8a000)
   libcryptlib.so => /usr/lib/jriver/Media Center 23/libcryptlib.so (0x00007f05779c6000)
   libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f057778e000)
   librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f0577586000)
   libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f0577381000)
   libboost_regex.so.1.59.0 => /usr/lib/jriver/Media Center 23/libboost_regex.so.1.59.0 (0x00007f0577098000)
   libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f0576d5e000)
   libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f0576b58000)
   libGL.so.1 => /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 (0x00007f05768e5000)
   libXrandr.so.2 => /usr/lib/x86_64-linux-gnu/libXrandr.so.2 (0x00007f05766da000)
   libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f0576357000)
   libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f057604e000)
   libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f0575e38000)
   libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f0575a6d000)
   /lib64/ld-linux-x86-64.so.2 (0x000056324c83d000)
   libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f057584b000)
   libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f0575621000)
   libxcb-dri3.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 (0x00007f057541e000)
   libxcb-present.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-present.so.0 (0x00007f057521b000)
   libxcb-sync.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007f0575013000)
   libxshmfence.so.1 => /usr/lib/x86_64-linux-gnu/libxshmfence.so.1 (0x00007f0574e10000)
   libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007f0574be0000)
   libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f05749cd000)
   libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007f05747ca000)
   libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f05745c4000)
   libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f05743c1000)
   libxcb-glx.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007f05741a8000)
   libxcb-dri2.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 (0x00007f0573fa3000)
   libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007f0573d9c000)
   libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007f0573b8b000)
   libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f0573980000)
   libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f057377c000)
   libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f0573576000)
admin@ubuntu_1604:~$ mediacenter23
Segmentation fault
Title: Re: Segmentation Fault When Trying To Run MC23
Post by: bob on April 12, 2018, 08:45:37 am
Did you remove the ~/.jriver directory as I suggested?

If so, run a strace on MediaCenter23 and email the result to bob (at) jriver (dot) com.

sudo apt-get install strace
strace -o /tmp/trace.out -f -s 256 mediacenter23

zip and email the /tmp/trace.out file.