INTERACT FORUM

More => Old Versions => JRiver Media Center 21 for Linux => Topic started by: roald.andresen on February 01, 2016, 01:41:05 pm

Title: Segmentation fault from JRiver Media Center 21.x - OpenSuSE LEAP
Post by: roald.andresen on February 01, 2016, 01:41:05 pm
Hi
Just to give everybody a heads up...
MediaCenter 21.x runs straight into segmentation fault on OpenSuSE LEAP. 
I have run all MediaCenter 2x.x on earlier OpenSuSE without problems.  I installed by running alien on the Debian package.  But, after upgrading to OpenSuSE LEAP... No luck!  The only error message I get is simply Segmentation fault.

 :o Roald
Title: Re: Segmentation fault from JRiver Media Center 21.x - OpenSuSE LEAP
Post by: Mike Noe on February 01, 2016, 01:53:03 pm
Are you running x86-64 version?  If so, try the i386 version.  Still, most likey a req'd libs mismatch of some sort.

I've found it nearly impossible to get x86-64 working with TumbleWeed due to req'd libs.  i386, OTOH, seems to always work fine.  Granted, TW is rolling and this is to be expected, but Leap, while not considered rolling, is still teething and, of course, MediaCenter is not really supported on anything other than Debian-based...

You could also try extracting the necessary files from the .deb manually and building an installable rpm with togo (or something comparable).  I've had luck in the past with the x86-64 version using this approach, but I'm not sure why.  Alien is *maybe* doing a bit more than just what a manual effort creates, YMMV.
Title: Re: Segmentation fault from JRiver Media Center 21.x - OpenSuSE LEAP
Post by: roald.andresen on February 01, 2016, 03:54:03 pm
No, I'm running i386 version.   The same as I did when running OpenSuSE 13.2.  So it is certainly Leap that causes the problem.
I will give the manual building process a try.  Thanks for the tips.  I'll come back with results either when I'm done or when I've given up.
Title: Re: Segmentation fault from JRiver Media Center 21.x - OpenSuSE LEAP
Post by: Mike Noe on February 01, 2016, 05:00:41 pm
Also, check the boost version in Leap.  I think  a recent MC build either changed boost req'd libs or maybe Leap got an upgrade to boost 6?
Title: Re: Segmentation fault from JRiver Media Center 21.x - OpenSuSE LEAP
Post by: roald.andresen on February 02, 2016, 11:04:17 am
Nope.  Manual build didn't help.
As to the boost version: I'm a bit confused about the version.  From what I can tell, I have version 1.54 installed, so I am not sure how that relates to boost 6.
Anyhow, it seems that I'm stuck.  So I guess I'll be using more native Linux programs for a while.
Title: Re: Segmentation fault from JRiver Media Center 21.x - OpenSuSE LEAP
Post by: Mike Noe on February 02, 2016, 11:31:17 am
A bit of a shot in the dark, but here is my "ldd libboost_regex.so.1.59.0"
Code: [Select]

        linux-gate.so.1 (0xf774e000)
        librt.so.1 => /lib/librt.so.1 (0xf7617000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf74a1000)
        libm.so.6 => /lib/libm.so.6 (0xf7453000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf7435000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xf7417000)
        libc.so.6 => /lib/libc.so.6 (0xf725d000)
        /lib/ld-linux.so.2 (0x565ff000)

fwiw, my current TW(1/30/2016) has boost 1.59/1.60 installed (1.59 shows as orphaned).
Title: Re: Segmentation fault from JRiver Media Center 21.x - OpenSuSE LEAP
Post by: roald.andresen on February 03, 2016, 05:30:49 am
I doubt that the boost regex library is the problem, since it seems that mediacenter21 loads its own copy of that
/usr/bin> ldd mediacenter21
        linux-gate.so.1 (0xf7769000)
        libcryptlib.so => /usr/lib/jriver/Media Center 21/libcryptlib.so (0xf73fa000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xf739a000)
        librt.so.1 => /lib/librt.so.1 (0xf7391000)
        libdl.so.2 => /lib/libdl.so.2 (0xf738c000)
        libboost_regex.so.1.59.0 => /usr/lib/jriver/Media Center 21/libboost_regex.so.1.59.0 (0xf729e000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xf7163000)
        libuuid.so.1 => /usr/lib/libuuid.so.1 (0xf715d000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf6fe7000)
        libm.so.6 => /lib/libm.so.6 (0xf6fa1000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf6f82000)
        libc.so.6 => /lib/libc.so.6 (0xf6dd6000)
        /lib/ld-linux.so.2 (0x565c7000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xf6db2000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xf6dae000)
 
Title: Re: Segmentation fault from JRiver Media Center 21.x - OpenSuSE LEAP
Post by: roald.andresen on February 03, 2016, 05:36:34 am
Finally, I found some info that may be useful for tracking down the cause of this.  In the syslog, I found:
mediacenter21[2450]: segfault at 0 ip 00000000f6f5a3af sp 00000000fffaf5f8 error 6 in libc-2.19.so[f6e28000+1a6000]
Title: Re: Segmentation fault from JRiver Media Center 21.x - OpenSuSE LEAP
Post by: Mike Noe on February 03, 2016, 07:48:47 am
Have you seen anything like this:
Code: [Select]
[ 2173.280919] mediacenter21[4043]: segfault at 0 ip 00000000ecbef0c0 sp 00000000ed4c4420 error 4 in libout_Main.so[eca51000+25a000]

I've been getting these on i386 version about every three days or so....
Title: Re: Segmentation fault from JRiver Media Center 21.x - OpenSuSE LEAP
Post by: bob on February 04, 2016, 11:30:30 am
Have you seen anything like this:
Code: [Select]
[ 2173.280919] mediacenter21[4043]: segfault at 0 ip 00000000ecbef0c0 sp 00000000ed4c4420 error 4 in libout_Main.so[eca51000+25a000]

I've been getting these on i386 version about every three days or so....
libout_Main has the audio driver in it.
It could be a difference in ALSA versions or perhaps a hiccup with your device?
Maybe change the auto format selection in MC's Audio device settings to a fixed format your device supports?
Title: Re: Segmentation fault from JRiver Media Center 21.x - OpenSuSE LEAP
Post by: bob on February 04, 2016, 11:31:38 am
Finally, I found some info that may be useful for tracking down the cause of this.  In the syslog, I found:
mediacenter21[2450]: segfault at 0 ip 00000000f6f5a3af sp 00000000fffaf5f8 error 6 in libc-2.19.so[f6e28000+1a6000]
This could be anything unfortunately.
Title: Re: Segmentation fault from JRiver Media Center 21.x - OpenSuSE LEAP
Post by: Mike Noe on February 05, 2016, 07:57:43 am
Maybe change the auto format selection in MC's Audio device settings to a fixed format your device supports?

I'll give it shot....I noticed, however, that it sometimes segfaults after startup after about 3-4 minutes without even playing.  I see JRWorkers going by in the "task manager" and I also have media network turned on **and** I have a NFS share that is listed in the auto-imports that may or may not be available sometimes.  The segfault is in the tools lib:
Code: [Select]
mediacenter21[4525]: segfault at 14 ip 00000000f6858561 sp 00000000ffc85f90 error 4 in libJRTools.so[f67e9000+411000]
I'll try some logging too, see if that gives any clues.