INTERACT FORUM

More => Old Versions => JRiver Media Center 21 for Linux => Topic started by: mattkhan on February 10, 2016, 04:15:16 am

Title: segfault when opening media network dialog box
Post by: mattkhan on February 10, 2016, 04:15:16 am
I now seem to have a mostly repeatable segfault in 21.0.39

steps to reproduce

- start MC
- open options
- open media network options
-  media network is enabled
(segfault occurs at any point in these steps)
- click access key
- click test connection to server
- click ok on resulting dialog

here's a collection of errors that occur while testing the above

Code: [Select]
[ 8712.196492] mediacenter21[25654]: segfault at 7febe4041000 ip 00007fec540e29b0 sp 00007fec1dffa610 error 4 in libX11.so.6.3.0[7fec5409d000+13c000]
[ 8756.176084] mediacenter21[25688]: segfault at 310000024a ip 0000000000f16ea2 sp 00007ffd9b7f3530 error 4 in mediacenter21[400000+14d1000]
[ 8847.232199] mediacenter21[26459]: segfault at 7200000071 ip 0000000000f16ea9 sp 00007ffcf0bca780 error 4 in mediacenter21[400000+14d1000]
[ 8994.416729] mediacenter21[28303]: segfault at 7f3f9807b000 ip 00007f3fa62cb9b0 sp 00007f3f877fd610 error 4 in libX11.so.6.3.0[7f3fa6286000+13c000]
[ 9032.872940] mediacenter21[28340]: segfault at 210 ip 0000000000f16ea2 sp 00007ffe9fe01f90 error 4 in mediacenter21[400000+14d1000]
Title: Re: segfault when opening media network dialog box
Post by: bob on February 12, 2016, 10:07:53 am
No problem on any of the build systems here.
Title: Re: segfault when opening media network dialog box
Post by: BryanC on February 12, 2016, 04:39:10 pm
Can't replicate in fedora.
Title: Re: segfault when opening media network dialog box
Post by: mattkhan on February 23, 2016, 03:14:40 am
certainly repeatable here, not much use if you can't reproduce it though!

Code: [Select]
[  211.347679] mediacenter21[1174]: segfault at 3100000210 ip 0000000000f16ea2 sp 00007ffcac86aa20 error 4 in mediacenter21[400000+14d1000]
[ 4720.407007] mediacenter21[27888]: segfault at 7f7450042000 ip 00007f74a72d39b0 sp 00007f7484ff8610 error 4 in libX11.so.6.3.0[7f74a728e000+13c000]

not sure what info might be useful here

Code: [Select]
# ldd $(which mediacenter21)
        linux-vdso.so.1 (0x00007ffc719d7000)
        libcryptlib.so => /usr/lib/jriver/Media Center 21/libcryptlib.so (0x00007f1d4eac9000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1d4e889000)
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f1d4e680000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1d4e47c000)
        libboost_regex.so.1.59.0 => /usr/lib/jriver/Media Center 21/libboost_regex.so.1.59.0 (0x00007f1d4e193000)
        libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f1d4de4f000)
        libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f1d4dc4a000)
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f1d4d8cf000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1d4d5c9000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1d4d3b3000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1d4d00f000)
        /lib64/ld-linux-x86-64.so.2 (0x00005586d79e5000)
        libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f1d4cdec000)
        libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f1d4cbe8000)
        libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f1d4c9e1000)

Code: [Select]
# dpkg -S libX11.so.6.3.0
libx11-6:i386: /usr/lib/i386-linux-gnu/libX11.so.6.3.0
libx11-6:amd64: /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0

# dpkg -s libx11-6:amd64
Package: libx11-6
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 1535
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Architecture: amd64
Multi-Arch: same
Source: libx11
Version: 2:1.6.3-1
Depends: libc6 (>= 2.15), libxcb1 (>= 1.2), libx11-data
Pre-Depends: multiarch-support
Description: X11 client-side library
 This package provides a client interface to the X Window System, otherwise
 known as 'Xlib'.  It provides a complete API for the basic functions of the
 window system.
 .
 More information about X.Org can be found at:
 <URL:http://www.X.org>
 .
 This module can be found at
 git://anongit.freedesktop.org/git/xorg/lib/libX11

# dpkg -s libx11-6:i386
Package: libx11-6
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 1598
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Architecture: i386
Multi-Arch: same
Source: libx11
Version: 2:1.6.3-1
Depends: libc6 (>= 2.15), libxcb1 (>= 1.2), libx11-data
Pre-Depends: multiarch-support
Description: X11 client-side library
 This package provides a client interface to the X Window System, otherwise
 known as 'Xlib'.  It provides a complete API for the basic functions of the
 window system.
 .
 More information about X.Org can be found at:
 <URL:http://www.X.org>
 .
 This module can be found at
 git://anongit.freedesktop.org/git/xorg/lib/libX11

# uname -a
Linux uridium 4.3.0-1-amd64 #1 SMP Debian 4.3.5-1 (2016-02-06) x86_64 GNU/Linux
Title: Re: segfault when opening media network dialog box
Post by: bob on February 23, 2016, 10:40:08 am
Running on what distro?
Desktop?
i386 or amd64 MC?
Title: Re: segfault when opening media network dialog box
Post by: mattkhan on February 23, 2016, 11:17:26 am
Running on what distro?
Desktop?
i386 or amd64 MC?

debian stretch amd64, vanilla install with kde desktop & onboard gpu (intel)
Title: Re: segfault when opening media network dialog box
Post by: bob on February 23, 2016, 11:27:33 am
debian stretch amd64, vanilla install with kde desktop & onboard gpu (intel)
Haven't tried running with the debain testing distro.
I'd guess a library incompatibility.
You could try deleting your User Settings.ini file (of course you lose the settings) and see if that helps. Perhaps the stored window placement is messed up.
Title: Re: segfault when opening media network dialog box
Post by: mattkhan on February 23, 2016, 01:55:09 pm
I tried this but no joy

not a big deal anyway atm