INTERACT FORUM

Please login or register.

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

Author Topic: Ubuntu Minimal on Lenovo Thinkpad x61 - Core Dump  (Read 3105 times)

shadowlight

  • Junior Woodchuck
  • **
  • Posts: 69
Ubuntu Minimal on Lenovo Thinkpad x61 - Core Dump
« on: January 10, 2015, 04:01:58 pm »

How do I troubleshoot segmentation fault (core dumped) messages under Ubuntu x64 14.04 server install with remote X remote setup via SSH?  I followed all the instruction related to install from Setup JRiver Media Center 20 In Ubuntu 14.04/14.10, Linux Mint 17.  Need to merge two systems in to one so have to give up on the Debian installed.
I get the same issue on two other system one is running under ESXi and other was a old Dell Laptop.

from /var/log/syslog
Jan 10 16:51:43 ubuntu kernel: [  272.000521] mediacenter20[1219]: segfault at 4 ip 00000000f57035b9 sp 00000000fffe96d0 error 4 in libJRImage.so[f569a000+3f5000]


root@ubuntu:/usr/bin# ldd -d mediacenter20
        linux-gate.so.1 =>  (0xf77b7000)
        libcryptlib.so => /usr/lib/jriver/Media Center 20/libcryptlib.so (0xf7448000)
        libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7422000)
        librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf7418000)
        libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7413000)
        libboost_regex.so.1.54.0 => /usr/lib/jriver/Media Center 20/libboost_regex.so.1.54.0 (0xf7360000)
        libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf722c000)
        libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xf7226000)
        libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf713c000)
        libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf70f6000)
        libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf70d9000)
        libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf6f2a000)
        /lib/ld-linux.so.2 (0xf77b8000)
        libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf6f08000)
        libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf6f03000)
        libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf6efc000)


root@ubuntu:/usr/lib/jriver/Media Center 20# ldd -d libJRImage.so
        linux-gate.so.1 =>  (0xf7731000)
        libcryptlib.so => /usr/lib/jriver/Media Center 20/libcryptlib.so (0xf6f9b000)
        libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf6f75000)
        libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf6f6f000)
        librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf6f66000)
        libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf6e32000)
        libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xf6e2c000)
        libboost_regex.so.1.54.0 => /usr/lib/jriver/Media Center 20/libboost_regex.so.1.54.0 (0xf6d79000)
        libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf6c8f000)
        libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf6c49000)
        libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf6c2c000)
        libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf6a7d000)
        /lib/ld-linux.so.2 (0xf7732000)
        libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf6a5b000)
        libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf6a56000)
        libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf6a4f000)

root@typhoon:~# dpkg -i MediaCenter-20.0.54.deb
Selecting previously unselected package mediacenter20.
(Reading database ... 61694 files and directories currently installed.)
Preparing to unpack MediaCenter-20.0.54.deb ...
Unpacking mediacenter20 (20.0.54) ...
Setting up mediacenter20 (20.0.54) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...

Edit: the last dpkg install is from another system with 4th gen i3 processor.
Edit2: I am able to start up xterm via SSH and X11 forwarding.  I installed bare bone xfce4 and start it up with startx and I am successfully able to run Mediacenter on Ubuntu system, so all the dependencies are met.  I must be missing something related to starting MC in a headless environment.
Edit3: Getting the same message when trying to run under Debian instance under VMWare
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13871
Re: Ubuntu Minimal on Lenovo Thinkpad x61 - Core Dump
« Reply #1 on: January 12, 2015, 10:40:06 am »

This thread is a little out of date but you should read through it.
http://yabb.jriver.com/interact/index.php?topic=84477.0

Note that even when running headless MC must have an xserver available and the DISPLAY variable must be set to use the xserver.
If you run xterm over a ssh forwarded X connection, the server is your client ssh. When you aren't trying to run MC over the ssh connection
unless you set the DISPLAY variable, there is no xserver.

The way to do this totally headlessly is to run the dummy xserver on the headless PC then startup MC with a script the sets
DISPLAY=:0 before running
mediacenter20 /mediaserver

Logged

shadowlight

  • Junior Woodchuck
  • **
  • Posts: 69
Re: Ubuntu Minimal on Lenovo Thinkpad x61 - Core Dump
« Reply #2 on: January 12, 2015, 07:02:01 pm »

Hi Bob,

When I am forwarding XWin through SSH the display environment is being set automatically to something along the lines of DISPLAY=localhost:10.0.  With that setting in place if I start xterm it display's on my pc which is running Xming.  I am pretty sure that I tried the headless setup also but will try it again, if not I will just install xfce and do the auto logon option.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13871
Re: Ubuntu Minimal on Lenovo Thinkpad x61 - Core Dump
« Reply #3 on: January 13, 2015, 02:34:30 pm »

Hi Bob,

When I am forwarding XWin through SSH the display environment is being set automatically to something along the lines of DISPLAY=localhost:10.0.  With that setting in place if I start xterm it display's on my pc which is running Xming. 
...

and MC should run under that scenario also (unless you don't have the right fonts on your xming pc).
I thought you were trying to run MC headless... Even in that situation it must have have a running Xserver to display to (hence the use of the dummy).
Logged

shadowlight

  • Junior Woodchuck
  • **
  • Posts: 69
Re: Ubuntu Minimal on Lenovo Thinkpad x61 - Core Dump
« Reply #4 on: January 14, 2015, 07:51:26 pm »

Ok, got MC working after I replaced Xmin with MobaXterm.  Now on to the next step of really making it a headless server and starting it up with dummy x server.
Logged
Pages: [1]   Go Up