INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: trying out mc20 but constant segfaults  (Read 2241 times)

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3971
trying out mc20 but constant segfaults
« on: November 23, 2014, 10:59:21 am »

I have installed MC20 on a linux workstation, this is a debian jessie 64bit setup with multilib setup for i386 & uses KDE.

All dependencies are installed

Code: [Select]

sudo apt-get install libx11-6:i386 libc6:i386 libasound2:i386 libuuid1:i386 libssl1.0.0:i386 libidn11:i386 libstdc++6:i386 libxcb1:i386 libxau6:i386 libxdmcp6:i386 zlib1g:i386 libxext6:i386 libgtk2.0-0:i386 libp11-kit0:i386 p11-kit-modules:i386 libgl1-mesa-glx:i386 xdg-utils lib32stdc++6 xfonts-75dpi xfonts-100dpi lame vorbis-tools musepack-tools
Reading package lists... Done
Building dependency tree      
Reading state information... Done
xfonts-100dpi is already the newest version.
xfonts-75dpi is already the newest version.
libxdmcp6:i386 is already the newest version.
lib32stdc++6 is already the newest version.
musepack-tools is already the newest version.
vorbis-tools is already the newest version.
xdg-utils is already the newest version.
libasound2:i386 is already the newest version.
libstdc++6:i386 is already the newest version.
libc6:i386 is already the newest version.
libgtk2.0-0:i386 is already the newest version.
libidn11:i386 is already the newest version.
libx11-6:i386 is already the newest version.
libxau6:i386 is already the newest version.
libxcb1:i386 is already the newest version.
libxext6:i386 is already the newest version.
libgl1-mesa-glx:i386 is already the newest version.
libssl1.0.0:i386 is already the newest version.
libp11-kit0:i386 is already the newest version.
p11-kit-modules:i386 is already the newest version.
libuuid1:i386 is already the newest version.
zlib1g:i386 is already the newest version.
lame is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

& MC20 itself installed fine. It started fine, I went through the options screen and then it segfaulted when I closed the options window. The only log entry I can find is

Code: [Select]
mediacenter20[17491]: segfault at 0 ip 000000000814cab4 sp 00000000ff9da9b0 error 4 in mediacenter20[8048000+125f000]
The same error repeats if I do anything with the gui other than navigate around (e.g. try to play something).

Code: [Select]
[21753.671880] mediacenter20[19880]: segfault at 0 ip 0000000008148b79 sp 00000000ffc69be0 error 4 in mediacenter20[8048000+125f000]
[21775.797213] mediacenter20[21917]: segfault at 0 ip 0000000008148b79 sp 00000000ff96ed20 error 4 in mediacenter20[8048000+125f000]
[21898.328173] mediacenter20[22343]: segfault at 0 ip 00000000084de9dc sp 00000000ffae2890 error 4 in mediacenter20[8048000+125f000]

this is running on

Code: [Select]
$ uname -a
Linux uridium 3.16.0-4-amd64 #1 SMP Debian 3.16.7-2 (2014-11-06) x86_64 GNU/Linux

mc20 is linked to

Code: [Select]
$ ldd $(which mediacenter20)
        linux-gate.so.1 (0xf774d000)
        libcryptlib.so => /usr/lib/jriver/Media Center 20/libcryptlib.so (0xf73df000)
        libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xf73a0000)
        librt.so.1 => /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xf7396000)
        libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xf7391000)
        libboost_regex.so.1.54.0 => /usr/lib/jriver/Media Center 20/libboost_regex.so.1.54.0 (0xf72de000)
        libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf718c000)
        libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xf7186000)
        libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf7093000)
        libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xf704d000)
        libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7030000)
        libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xf6e85000)
        /lib/ld-linux.so.2 (0xf7750000)
        libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf6e5f000)
        libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf6e5a000)
        libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf6e54000)

and a dpkg -S search on the above just to show what is providing them

Code: [Select]
$ for each in $(ldd $(which mediacenter20)|awk '{print $1}');do echo "**** ${each} ****"; echo "----";dpkg -S ${each};echo "----";done
**** linux-gate.so.1 ****
----
dpkg-query: no path found matching pattern *linux-gate.so.1*
----
**** libcryptlib.so ****
----
mediacenter20: /usr/lib/jriver/Media Center 20/libcryptlib.so
----
**** libpthread.so.0 ****
----
libc6-i386: /lib32/libpthread.so.0
libc6-i686:i386: /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
libc6:i386: /lib/i386-linux-gnu/libpthread.so.0
libc6:amd64: /lib/x86_64-linux-gnu/libpthread.so.0
----
**** librt.so.1 ****
----
libc6-i686:i386: /lib/i386-linux-gnu/i686/cmov/librt.so.1
libc6:amd64: /lib/x86_64-linux-gnu/librt.so.1
libc6:i386: /lib/i386-linux-gnu/librt.so.1
libc6-i386: /lib32/librt.so.1
----
**** libdl.so.2 ****
----
libc6-i386: /lib32/libdl.so.2
libc6:i386: /lib/i386-linux-gnu/libdl.so.2
libc6:amd64: /lib/x86_64-linux-gnu/libdl.so.2
libc6-i686:i386: /lib/i386-linux-gnu/i686/cmov/libdl.so.2
----
**** libboost_regex.so.1.54.0 ****
----
mediacenter20: /usr/lib/jriver/Media Center 20/libboost_regex.so.1.54.0
----
**** libX11.so.6 ****
----
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
libx11-6:amd64: /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
libx11-6:i386: /usr/lib/i386-linux-gnu/libX11.so.6
----
**** libuuid.so.1 ****
----
libuuid1:i386: /lib/i386-linux-gnu/libuuid.so.1.3.0
libuuid1:i386: /lib/i386-linux-gnu/libuuid.so.1
libuuid1:amd64: /lib/x86_64-linux-gnu/libuuid.so.1.3.0
libuuid1:amd64: /lib/x86_64-linux-gnu/libuuid.so.1
----
**** libstdc++.so.6 ****
----
libstdc++6:i386: /usr/share/gdb/auto-load/usr/lib/i386-linux-gnu/libstdc++.so.6.0.20-gdb.py
libstdc++6:amd64: /usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20-gdb.py
lib32stdc++6: /usr/lib32/libstdc++.so.6.0.20
libstdc++6:i386: /usr/lib/i386-linux-gnu/libstdc++.so.6
libstdc++6:amd64: /usr/lib/x86_64-linux-gnu/libstdc++.so.6
lib32stdc++6: /usr/lib32/libstdc++.so.6
libstdc++6:amd64: /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20
libstdc++6:i386: /usr/lib/i386-linux-gnu/libstdc++.so.6.0.20
lib32stdc++6: /usr/share/gdb/auto-load/usr/lib32/libstdc++.so.6.0.20-gdb.py
----
**** libm.so.6 ****
----
libc6-i386: /lib32/libm.so.6
libc6:amd64: /lib/x86_64-linux-gnu/libm.so.6
libc6:i386: /lib/i386-linux-gnu/libm.so.6
libc6-i686:i386: /lib/i386-linux-gnu/i686/cmov/libm.so.6
----
**** libgcc_s.so.1 ****
----
libgcc1:amd64: /lib/x86_64-linux-gnu/libgcc_s.so.1
libgcc1:i386: /lib/i386-linux-gnu/libgcc_s.so.1
lib32gcc1: /usr/lib32/libgcc_s.so.1
----
**** libc.so.6 ****
----
libc6:i386: /lib/i386-linux-gnu/libc.so.6
libc6:amd64: /lib/x86_64-linux-gnu/libc.so.6
libc6-i686:i386: /lib/i386-linux-gnu/i686/cmov/libc.so.6
libc6-i386: /lib32/libc.so.6
----
**** /lib/ld-linux.so.2 ****
----
libc6:i386: /lib/ld-linux.so.2
----
**** libxcb.so.1 ****
----
libxcb1:i386: /usr/lib/i386-linux-gnu/libxcb.so.1
libxcb1:amd64: /usr/lib/x86_64-linux-gnu/libxcb.so.1
libxcb1:amd64: /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
libxcb1:i386: /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
----
**** libXau.so.6 ****
----
libxau6:amd64: /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
libxau6:amd64: /usr/lib/x86_64-linux-gnu/libXau.so.6
libxau6:i386: /usr/lib/i386-linux-gnu/libXau.so.6.0.0
libxau6:i386: /usr/lib/i386-linux-gnu/libXau.so.6
----
**** libXdmcp.so.6 ****
----
libxdmcp6:i386: /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
libxdmcp6:i386: /usr/lib/i386-linux-gnu/libXdmcp.so.6
libxdmcp6:amd64: /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
libxdmcp6:amd64: /usr/lib/x86_64-linux-gnu/libXdmcp.so.6
----

Any ideas welcome. If there is any other info needed then let me know.

As an aside, another oddity is that it opens as a hidden window, I have to right click on it and select maximise manually before I can see it.
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5180
  • "Linux Merit Badge" Recipient
Re: trying out mc20 but constant segfaults
« Reply #1 on: November 23, 2014, 12:29:45 pm »

Another user is seeing similar issues in Mint (program starts but segfaults when interacting with the UI): http://yabb.jriver.com/interact/index.php?topic=93468.0

Although a different process is causing his segfault.  

It's very odd, because I have an up to date Debian Jessie 64-bit install and I can run MC on it just fine.  My Jessie box is mostly used as a NAS, so I don't have KDE installed on it to test; I tested with openbox and XFCE and had no troubles.

Are you game for experimenting with a different desktop environment/window manager to see if we can isolate the issue?  

Here's my ldd output on the working system FWIW (it looks the same as yours to me):
Code: [Select]
linux-gate.so.1 (0xf7775000)
libcryptlib.so => /usr/lib/jriver/Media Center 20/libcryptlib.so (0xf7407000)
libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xf73dd000)
librt.so.1 => /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xf73d3000)
libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xf73ce000)
libboost_regex.so.1.54.0 => /usr/lib/jriver/Media Center 20/libboost_regex.so.1.54.0 (0xf731b000)
libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf71c9000)
libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xf71c3000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf70d0000)
libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xf708a000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf706d000)
libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xf6ec2000)
/lib/ld-linux.so.2 (0xf7776000)
libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf6e9c000)
libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf6e97000)
libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf6e91000)

The Dpkg query looks the same to me too.  

The only other difference I can see (besides the desktop environment) is that my server has about 90 days of uptime, so it's still running on a slightly older version of the linux kernel, here's the uname output:
Code: [Select]
Linux Solar 3.14-2-amd64 #1 SMP Debian 3.14.15-2 (2014-08-09) x86_64 GNU/Linux
So if it's not the DE,  maybe it's a kernel change?  That wouldn't explain the other poster's issue though, as Mint 17 is still running on the older kernel AFAIK.


Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3971
Re: trying out mc20 but constant segfaults
« Reply #2 on: November 23, 2014, 12:36:55 pm »

a few more snippets of info

the core dump gives v little info but it shows it is in

Code: [Select]
#17 0x08b1b758 in ?? ()
#18 0xf68e372b in ?? () from /usr/lib/jriver/Media Center 20/libJRTools.so
#19 0xf68e2e38 in ?? () from /usr/lib/jriver/Media Center 20/libJRTools.so
#20 0x08bf760c in ?? ()
#21 0x08bf6f2a in ?? ()
#22 0x080569ad in ?? ()
#23 0xf6e6aa63 in __libc_start_main () from /lib/i386-linux-gnu/i686/cmov/libc.so.6

meanwhile running it with strace gives me

Code: [Select]
open("/usr/lib/i386-linux-gnu/libasound.so.2", O_RDONLY|O_CLOEXEC) = 21
read(21, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \361\1\0004\0\0\0"..., 512) = 512
fstat64(21, {st_mode=S_IFREG|0644, st_size=1081800, ...}) = 0
mmap2(NULL, 1080556, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 21, 0) = 0xfffffffff15f8000
mmap2(0xf16fb000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 21, 0x103000) = 0xfffffffff16fb000
close(21)                               = 0
open("/usr/lib/jriver/Media Center 20/libGL.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/jriver/Media Center 20/libGL.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/i686/cmov/libGL.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/i686/libGL.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/libGL.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/i386-linux-gnu/i686/cmov/libGL.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/i386-linux-gnu/i686/libGL.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/i386-linux-gnu/libGL.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libGL.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libGL.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
munmap(0xf4cd6000, 141269)              = 0
munmap(0xf0261000, 4845212)             = 0
munmap(0xf15f8000, 1080556)             = 0
gettimeofday({1416767102, 722214}, NULL) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault

something to do with 64bit nvidia drivers perhaps?

happy to try swapping things around to debug
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3971
Re: trying out mc20 but constant segfaults
« Reply #3 on: November 23, 2014, 12:39:45 pm »

actually that was it, I did

Code: [Select]
aptitude install libgl1-nvidia-glx:i386

and it no longer segfaults, I guess it's worth adding that to the dependencies list in one of the sticky posts?
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5180
  • "Linux Merit Badge" Recipient
Re: trying out mc20 but constant segfaults
« Reply #4 on: November 23, 2014, 12:44:04 pm »

My Jessie setup is using onboard video, so that's consistent too.  I'll suggest to the OP of the other thread he might want to look into his video drivers.
Logged
Pages: [1]   Go Up