Reply
Accepted Solution

RHEL5 64-bit ISE 13.1, PlanAhead launch from w/in ISE fails, terminal indicates rdiArgs.sh Segmentation Fault

Visitor
Posts: 10
Registered: ‎01-25-2013

Re: RHEL5 64-bit ISE 13.1, PlanAhead launch from w/in ISE fails, terminal indicates rdiArgs.sh Segmentation Fault

The same problem occur with version 14.6 of the PlanAhead.

Debugging the issue I got to this point:

#0  x86_64_fallback_frame_state (fs=0x7fe1b5e63860, context=<optimized out>) at ../../../../src/lnx64/libgcc/../gcc/config/i386/linux-unwind.h:47
#1  uw_frame_state_for (fs=0x7fe1b5e63860, context=0x7fe1b5e639e0) at ../../../../src/lnx64/libgcc/../gcc/unwind-dw2.c:1145
#2  uw_frame_state_for (context=0x7fe1b5e639e0, fs=0x7fe1b5e63860) at ../../../../src/lnx64/libgcc/../gcc/unwind-dw2.c:1124
#3  0x00007fe1eb77bc9d in _Unwind_Backtrace (trace=0x7fe1eb2985f0, trace_argument=0x7fe1b5e63b10) at ../../../../src/lnx64/libgcc/../gcc/unwind.inc:290
#4  0x00007fe1eb298786 in backtrace () from /lib/x86_64-linux-gnu/libc.so.6
#5  0x00007fe1ec2808ea in HUTBackTrace::getTrace(stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> >&, unsigned long) ()
   from /opt/Xilinx/14.6/ISE_DS/PlanAhead/lib/lnx64.o/librdi_common.so
#6  0x00007fe1ec281292 in HUTBackTrace::printTrace(stlp_std::basic_ostream<char, stlp_std::char_traits<char> >&, unsigned long) () from /opt/Xilinx/14.6/ISE_DS/PlanAhead/lib/lnx64.o/librdi_common.so
#7  0x00007fe1ec281a58 in HUTBackTrace::handler(int) () from /opt/Xilinx/14.6/ISE_DS/PlanAhead/lib/lnx64.o/librdi_common.so
#8  0x00007fe1c859a749 in os::Linux::chained_handler(int, siginfo*, void*) () from /opt/Xilinx/14.6/ISE_DS/PlanAhead/tps/lnx64/jre/lib/amd64/server/libjvm.so
#9  0x00007fe1c859efb7 in JVM_handle_linux_signal () from /opt/Xilinx/14.6/ISE_DS/PlanAhead/tps/lnx64/jre/lib/amd64/server/libjvm.so
#10 <signal handler called>
#11 0x00007fe1b3246880 in ?? ()
#12 0x00007fe1eb556d92 in __nptl_deallocate_tsd () from /lib/x86_64-linux-gnu/libpthread.so.0
#13 0x00007fe1eb556f9c in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#14 0x00007fe1eb280e1d in clone () from /lib/x86_64-linux-gnu/libc.so.6

The problem seems to be cause by a function in entry 11, but unfortunately I don't have DEBUG SYMBOLS for PlanAhead. The solution which I found (and doesn't involve running the software with root privileges) requires to create a symbolic link in ....Xilinx/14.6/ISE_DS/PlanAhead/tps/lnx64/jre/lib/amd64/server/  :

libjvm.so -> /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so

What I noticed, it will work only with link to the OpenJDK. The same trick with java-7-oracle causes the known segmentation fault.

 

Visitor
Posts: 5
Registered: ‎10-24-2010

Re: RHEL5 64-bit ISE 13.1, PlanAhead launch from w/in ISE fails, terminal indicates rdiArgs.sh Segmentation Fault

Thank you! This worked great for me on Ubunu 13.04 64bit.

Observer
Posts: 20
Registered: ‎03-02-2010

Re: RHEL5 64-bit ISE 13.1, PlanAhead launch from w/in ISE fails, terminal indicates rdiArgs.sh Segmentation Fault

Worked for me too. Thanks! (Mint 15, 64bit)

Newbie
Posts: 1
Registered: ‎07-14-2013

Re: RHEL5 64-bit ISE 13.1, PlanAhead launch from w/in ISE fails, terminal indicates rdiArgs.sh Segmentation Fault

Thanks for that.  I can confirm this also works for Vivado on Ubuntu 13.04

 

I ran

mv /opt/Xilinx/Vivado/2013.2/tps/lnx64/jre/lib/amd64/server/libjvm.so /opt/Xilinx/Vivado/2013.2/tps/lnx64/jre/lib/amd64/server/libjvm.so.old
ln -s /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so /opt/Xilinx/Vivado/2013.2/tps/lnx64/jre/lib/amd64/server/
Newbie
Posts: 1
Registered: ‎03-21-2014

Re: RHEL5 64-bit ISE 13.1, PlanAhead launch from w/in ISE fails, terminal indicates rdiArgs.sh Segmentation Fault

This also worked for me for Vivado 2013.4 on Ubuntu 13.10:

 

mv /opt/Xilinx/Vivado/2013.4/tps/lnx64/jre/lib/amd64/server/libjvm.so /opt/Xilinx/Vivado/2013.4/tps/lnx64/jre/lib/amd64/server/libjvm.so.old
ln -s /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so /opt/Xilinx/Vivado/2013.4/tps/lnx64/jre/lib/amd64/server/

 

Newbie
Posts: 1
Registered: ‎04-27-2014

Re: RHEL5 64-bit ISE 13.1, PlanAhead launch from w/in ISE fails, terminal indicates rdiArgs.sh Segmentation Fault

I can confirm that this workaround also works on the new Ubuntu 14.04 (64bit)

Moderator
Posts: 1,197
Registered: ‎01-16-2013

Re: RHEL5 64-bit ISE 13.1, PlanAhead launch from w/in ISE fails, terminal indicates rdiArgs.sh Segmentation Fault

Hello @lukasfischer ,

 

Thanks for the information. It will help others too.

 

Thanks,

Yash

Newbie
Posts: 1
Registered: ‎08-16-2014

Re: RHEL5 64-bit ISE 13.1, PlanAhead launch from w/in ISE fails, terminal indicates rdiArgs.sh Segmentation Fault

Thank you.

 

confirmed to work under Fedora 19 x64

Visitor
Posts: 5
Registered: ‎08-12-2015

Centos 7.1.1503, Vivado 2015.2 - Re: RHEL5 64-bit ISE 13.1, PlanAhead launch from w/in ISE fails, terminal indicates rdiArgs.sh Segmentation Fault

Hi all. I'm trying to install the webpack versions of ISE and Vivado a fresh install of Centos. It shouldn't matter, but this is running under VMWare Fusion 8.0.0 under OSX 10.11 GM RC on a late 2012 15" rMBP.

 

Installed vivado in new centos:

 

 

[admin@localhost ~]$ cat /etc/centos-release
CentOS Linux release 7.1.1503 (Core)

[admin@localhost ~]$ source ~/Desktop/centos_disk2/opt/Vivado/2015.2/settings64.sh
[admin@localhost ~]$ vivado
****** Vivado v2015.2 (64-bit)
**** SW Build 1266856 on Fri Jun 26 16:35:25 MDT 2015
**** IP Build 1264090 on Wed Jun 24 14:22:01 MDT 2015
** Copyright 1986-2015 Xilinx, Inc. All Rights Reserved.
start_gui
/mnt/19ef3347-9ad4-4f14-a0ff-168463358fa6/opt/Vivado/2015.2/bin/loader: line 157: 84484 Segmentation fault (core dumped) "$RDI_PROG" "$@"

 

 

 


Tried change of library from webpage
https://forums.xilinx.com/t5/Installation-and-Licensing/RHEL5-64-bit-ISE-13-1-PlanAhead-launch-from-w-in-ISE-fails/m-p/337289#M4680

 

Note: Just before installing vivado, I had installed ise 14.7-64 and it worked fine.


Change link for libjvm.so as shown on webpage with paths updated for my system:

 

 

 

Try running vivado again:

 

[admin@localhost ~]$ source ~/Desktop/centos_disk2/opt/Vivado/2015.2/settings64.sh
[admin@localhost ~]$ vivado
****** Vivado v2015.2 (64-bit)
**** SW Build 1266856 on Fri Jun 26 16:35:25 MDT 2015
**** IP Build 1264090 on Wed Jun 24 14:22:01 MDT 2015
** Copyright 1986-2015 Xilinx, Inc. All Rights Reserved.
start_gui
ERROR: [Common 17-70] Application Exception: JVM: Can't create JVM - ErrorCode: -3
ERROR: [Common 17-211] Error loading jvm.
Vivado% exit
exit
INFO: [Common 17-206] Exiting Vivado at Sun Sep 13 17:39:14 2015...


Now what? This is beyond my Linux system knowledge.

 

Thanks!

 

 David

Visitor
Posts: 5
Registered: ‎08-12-2015

Re: Centos 7.1.1503, Vivado 2015.2 - Re: RHEL5 64-bit ISE 13.1, PlanAhead launch from w/in ISE fails, terminal indicates rdiArgs.sh Segmentation Fault

oops - for some reason, the lines where I showed the links I made are missing. Here they are:

Change link for libjvm.so as shown on webpage with paths updated for my system:

[admin@localhost ~]$ ls -lAFGH ~/Desktop/centos_disk2/opt/Vivado/2015.2/tps/lnx64/jre/lib/amd64/server/
total 16132
lrwxrwxrwx. 1 root 13 Sep 12 22:22 libjsig.so -> ../libjsig.so*
lrwxrwxrwx. 1 root 13 Sep 13 15:53 libjvm.so -> libjvm.so.old*
-rwxr-xr-x. 1 root 16506882 Jun 26 15:37 libjvm.so.old*
lrwxrwxrwx. 1 root 92 Sep 13 15:51 libvjm.so.1.7.0 -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75-2.5.4.2.el7_0.x86_64/jre/lib/amd64/server/libjvm.so*
-rw-r--r--. 1 root 1423 Jun 26 15:37 Xusage.txt
[admin@localhost ~]$ sudo rm ~/Desktop/centos_disk2/opt/Vivado/2015.2/tps/lnx64/jre/lib/amd64/server/libjvm.so
[admin@localhost ~]$ sudo ln -s ~/Desktop/centos_disk2/opt/Vivado/2015.2/tps/lnx64/jre/lib/amd64/server/libvjm.so.1.7.0 ~/Desktop/centos_disk2/opt/Vivado/2015.2/tps/lnx64/jre/lib/amd64/server/libjvm.so
[admin@localhost ~]$ ls -lAFGH ~/Desktop/centos_disk2/opt/Vivado/2015.2/tps/lnx64/jre/lib/amd64/server/total 16136
lrwxrwxrwx. 1 root 13 Sep 12 22:22 libjsig.so -> ../libjsig.so*
lrwxrwxrwx. 1 root 97 Sep 13 17:37 libjvm.so -> /home/admin/Desktop/centos_disk2/opt/Vivado/2015.2/tps/lnx64/jre/lib/amd64/server/libvjm.so.1.7.0*
-rwxr-xr-x. 1 root 16506882 Jun 26 15:37 libjvm.so.old*
lrwxrwxrwx. 1 root 92 Sep 13 15:51 libvjm.so.1.7.0 -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75-2.5.4.2.el7_0.x86_64/jre/lib/amd64/server/libjvm.so*
-rw-r--r--. 1 root 1423 Jun 26 15:37 Xusage.txt