INTERACT FORUM

More => Old Versions => JRiver Media Center 28 for Linux => Topic started by: wellywu on July 01, 2021, 09:21:55 pm

Title: Segmentation Fault (core dumped) issue
Post by: wellywu on July 01, 2021, 09:21:55 pm
I installed Ubuntu 20.04.2 64-bit LTS GNU/Linux on my secondary Kingston A400 SATA-III 6 GB/s 1.92 TB solid-state disk and JRiver Media Center 28.0.34 64-bit Master License. I got an Ubuntu Software Updater notification that JRiver Media Center 28 needed to be updated and I performed the update successfully. JRiver Media Center 28.0.34 64-bit Master License no longer opens. This is what I did after I opened up the terminal and its' output:

Code: [Select]
wellywu@Late2019CUKHPOmen15t:~$ mediacenter28 &
[1] 24274
wellywu@Late2019CUKHPOmen15t:~$

ERROR in JRLoadLibrary: error=/usr/lib/jriver/Media Center Id/libJRTools.so: cannot open shared object file: No such file or directory, file=/usr/lib/jriver/Media Center Id/libJRTools.so



ERROR in JRLoadLibrary: error=/usr/lib/jriver/Media Center Id/libJRTools.so: cannot open shared object file: No such file or directory, file=/usr/lib/jriver/Media Center Id/libJRTools.so

^C
[1]+  Segmentation fault      (core dumped) mediacenter28

I did a sudo apt install --reinstall mediacenter28 and it reinstalled it again successfully, but I keep getting the same error within the terminal when I try to open up JRiver Media Center 28.0.34 64-bit Master License and none of the application shortcuts allow me to open it up within GNOME 3.36.8 64-bit either. Please take a look at this issue and help me to fix the technical issue. Thank you.
Title: Re: Segmentation Fault (core dumped) issue
Post by: Awesome Donkey on July 02, 2021, 04:09:43 am
Yikes, the same libJRTools Id issue cropping up again, no worries, Bob will fix this again. :)
Title: Re: Segmentation Fault (core dumped) issue
Post by: bob on July 02, 2021, 10:16:52 am
I am not seeing this at all.
Are you using our repo?

I just uninstalled everything then installed MC28 from scratch from the repo. AMD64 on Buster. Runs fine.

Code: [Select]
dpkg -l mediacenter28
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  mediacenter28  28.0.34      amd64        Media Player

Please try these commands:
Code: [Select]
find /usr/lib/jriver/Media\ Center\ 28/ -name \*.so\* -exec ldd -d '{}' \; | grep Id

ldd /usr/bin/mediacenter28 | grep Id

ldd /usr/lib/jriver/Media\ Center\ 28/JRWorker  | grep Id

ldd /usr/lib/jriver/Media\ Center\ 28/PackageInstaller | grep Id

ldd /usr/lib/jriver/Media\ Center\ 28/mc28| grep Id

They should all return nothing.
Title: Re: Segmentation Fault (core dumped) issue
Post by: wellywu on July 02, 2021, 10:41:29 am
This is the output from my terminal:

Code: [Select]
wellywu@Late2019CUKHPOmen15t:~$ find /usr/lib/jriver/Media\ Center\ 28/ -name \*.so\* -exec ldd -d '{}' \; | grep Id
wellywu@Late2019CUKHPOmen15t:~$ ldd /usr/bin/mediacenter | grep Id
ldd: /usr/bin/mediacenter: No such file or directory
wellywu@Late2019CUKHPOmen15t:~$ ldd /usr/lib/jriver/Media\ Center\ 28/JRWorker  | grep Id
wellywu@Late2019CUKHPOmen15t:~$ ldd /usr/lib/jriver/Media\ Center\ 28/PackageInstaller | grep Id
wellywu@Late2019CUKHPOmen15t:~$ ldd /usr/lib/jriver/Media\ Center\ 28/mc28| grep Id
wellywu@Late2019CUKHPOmen15t:~$

Code: [Select]
wellywu@Late2019CUKHPOmen15t:~$ dpkg -l mediacenter28
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  mediacenter28  28.0.34      amd64        Media Player
wellywu@Late2019CUKHPOmen15t:~$

Yes, I am using the official JRiver Media Center 28 software repository and I am on the latest release channel.
Title: Re: Segmentation Fault (core dumped) issue
Post by: bob on July 02, 2021, 11:06:35 am
Sorry that one was
Code: [Select]
ldd /usr/bin/mediacenter28 | grep Id
Missed the 28

All of your others are fine.


Title: Re: Segmentation Fault (core dumped) issue
Post by: wellywu on July 02, 2021, 11:38:34 am
Here is the output of the single command:

Code: [Select]
wellywu@Late2019CUKHPOmen15t:~$ ldd /usr/bin/mediacenter28 | grep Id
Title: Re: Segmentation Fault (core dumped) issue
Post by: warchild on July 02, 2021, 02:04:16 pm
Hi, I got no response to any of the commands but MC 28 still will not launch

Code: [Select]
JJul  2 12:52:54 debian kernel: [  102.445614] mediacenter28[4337]: segfault at 0 ip 00007f3c6c23f155 sp 00007ffef7ff8c08 error 6 in $
Title: Re: Segmentation Fault (core dumped) issue
Post by: Awesome Donkey on July 02, 2021, 03:02:50 pm
Seeing the issue on Arch Linux.

Code: [Select]
find /usr/lib/jriver/Media\ Center\ 28/ -name \*.so\* -exec ldd -d '{}' \; | grep Id
Returns...

Code: [Select]
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libaften.so'
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libaften.so.0'
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libaften.so.0.0.8'
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libhogweed.so'
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libhogweed.so.6'
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libhogweed.so.6.3'
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libnettle.so'
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libnettle.so.8'
ldd: warning: you do not have execution permission for `/usr/lib/jriver/Media Center 28/libnettle.so.8.3'

The others return nothing.
Title: Re: Segmentation Fault (core dumped) issue
Post by: Awesome Donkey on July 02, 2021, 03:08:56 pm
Happening in Ubuntu 21.04 too, updated from the repo.

The 5 command all return nothing.
Title: Re: Segmentation Fault (core dumped) issue
Post by: RemyJ on July 02, 2021, 03:19:40 pm
Same issue on Fedora...

ERROR in JRLoadLibrary: error=/usr/lib/jriver/Media Center Id/libJRTools.so: cannot open shared object file: No such file or directory, file=/usr/lib/jriver/Media Center Id/libJRTools.so
ERROR in JRLoadLibrary: error=/usr/lib/jriver/Media Center Id/libJRTools.so: cannot open shared object file: No such file or directory, file=/usr/lib/jriver/Media Center Id/libJRTools.so
Segmentation fault (core dumped)
Title: Re: Segmentation Fault (core dumped) issue
Post by: JimH on July 02, 2021, 04:18:44 pm
Bob is off today, back Tuesday.  There's a chance it won't get fixed quickly.
Title: Re: Segmentation Fault (core dumped) issue
Post by: bob on July 02, 2021, 05:06:39 pm
Checking in remotely.
It doesn't make a lot of sense.
Look and see if you have a Media Center Id directory. Delete it if you do.
Perhaps purge the existing install.
dpkg --purge mediacenter28
and reinstall.
I have a next build I could put in the repo but like I said it works fine for me on buster.
Title: Re: Segmentation Fault (core dumped) issue
Post by: JimH on July 02, 2021, 05:12:20 pm
Thanks, Bob.
Title: Re: Segmentation Fault (core dumped) issue
Post by: Hendrik on July 02, 2021, 05:21:06 pm
I get the same issue with the apt repository package, its definitely the package. It appears the Opus input plugin is from the Id build, maybe one of the scripts wasn't updated to handle it, or the build of that failed?

ldd won't show it, since its dynamically loading those libraries at runtime, and the input plugins have no other hard dependencies inside that folder.
But this would show it, for example:
strings libin_Opus.so | grep "Media Center"

dev@debbuster64:~/workspace/Development$ strings /usr/lib/jriver/MC28/Plugins/libin_WAV.so | grep "Media Center"
/usr/lib/jriver/Media Center 28
dev@debbuster64:~/workspace/Development$ strings /usr/lib/jriver/MC28/Plugins/libin_Opus.so | grep "Media Center"
/usr/lib/jriver/Media Center Id

I assume it works for you because you actually have an Id build installed as well.
Title: Re: Segmentation Fault (core dumped) issue
Post by: bob on July 02, 2021, 05:32:13 pm
I remove the Id build but it still worked.
It is the Opus plugin though.
You can make 34 work by removing it
sudo rm /usr/lib/jriver/Media\ Center\ 28/Plugins/libin_Opus.so
It will whine then, but run.
OR
apt-get purge mediacenter28
then reinstall. I put build 29 back up into latest.
Title: Re: Segmentation Fault (core dumped) issue
Post by: bob on July 02, 2021, 11:24:25 pm
28.0.35 (for amd64 ) is up now to fix this issue.
Title: Re: Segmentation Fault (core dumped) issue
Post by: wellywu on July 03, 2021, 08:22:57 am
28.0.35 64-bit fixed it. Thank you.
Title: Re: Segmentation Fault (core dumped) issue
Post by: RemyJ on July 03, 2021, 06:35:35 pm
28.0.35 64-bit fixed it. Thank you.

Confirmed.  Thanks Bob!