UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Adventurer
Adventurer
11,645 Views

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

Jump to solution

I'm trying to launch PlanAhead from within ISE. I double click "Floorplan IO (PlanAhead)" and the Xilinx Console indicates:

 

"Started : "Floorplan Area/IO/Logic (PlanAhead)".
Preparing PlanAhead launch script...
PlanAhead started. PlanAhead output can be found in /home/peon/work/IRAD/GDL/ise_proj/watchvhd/planAhead_run_4/planAhead_run.log"

 

And an ISE dialog then asks me which of my UCF files to use, then tells me something about the ucf file is open in another editor and asks if i want to continue, to which I say yes. and then nothing happens. Planahead never launches. The folder referenced above is created, but is empty.

 

On the terminal from which I launched ISE, there is message:

"/opt/Xilinx/13.1/ISE_DS/PlanAhead/bin/rdiArgs.sh: line 64: 14275 Segmentation fault      $RDI_PROG $*"

 

The contents of rdiArgs.sh are:

 

#!/bin/sh
#
# COPYRIGHT NOTICE
# Copyright 1986-1999, 2001-2010 Xilinx, Inc. All Rights Reserved.
#

#
# Default to 32bit platform options
#
RDI_PLATFORM=lnx32
RDI_JAVA_PLATFORM=i386
#RDI_PLATFORM=lnx64
#RDI_JAVA_PLATFORM=amd64

RDI_ARGS=
while [ $# -gt 0 ]; do
  case "$1" in
    -m64)
      if [ "$RDI_OS_ARCH" == "64" ]; then
        RDI_PLATFORM=lnx64
    RDI_JAVA_PLATFORM=amd64
      else
        echo "WARNING: 64bit architecture not detected. Defaulting to 32bit."
      fi
      shift
      ;;
    -exec)
      #
      # We don't create an RDI_EXE_COMMANDS function and just overload the RDI_PROG variable,
      # so additional debug options can be used with -exec.
      #
      # For example:
      #  -dbg -gdb -exec foo
      #
      # Will launch the debuggable foo executable in gdb.
      #
      shift
      RDI_PROG=$1
      shift
      ;;
    *)
      RDI_ARGS="$RDI_ARGS $1"
      shift
      ;;
  esac
done

RDI_VERBOSE=False
RDI_DATADIR=$RDI_APPROOT
RDI_JAVAROOT=$RDI_APPROOT/tps/$RDI_PLATFORM/jre

if [ "$XIL_PA_NO_XILINX_OVERRIDE" != "1" ]; then
  if [ -d "`dirname $RDI_APPROOT`/ISE" ]; then
    XILINX=`dirname $RDI_APPROOT`/ISE
    export XILINX
  fi
fi

if [ -d "`dirname $RDI_APPROOT`/common" ]; then
  XILINX_COMMON_TOOLS=`dirname $RDI_APPROOT`/common
  export XILINX_COMMON_TOOLS
fi

RDI_EXEC_COMMANDS() {
  $RDI_PROG $*
  return
}

 

 

I have an open webcase for this problem. I've tried changing the first 2 lines to default to 64bit based on some other forum messages / googling. That didn't work. Line 64 is the 3rd to last line. It says $RDI_PROG $*.

 

 

 

0 Kudos
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
14,086 Views

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

Jump to solution

I'm guessing you are using REL 5.6.

We've recently discovered this segfault on REL 5.6 and are looking into it.

Currently, the workaround is to use the 32 bit version of the tools.

We are creating an Answer Record and will update it as we get more information.

 

The AR will not be available until tomorrow but will have the following title.

Article: 42078-13.1PlanAhead - /​​xilinx13.1/​ISE_​DS/​PlanAhead/​bin/​rdiArgs.sh: line 62: 14279 Segmentation fault  $RDI_​PROG $*

0 Kudos
19 Replies
Xilinx Employee
Xilinx Employee
14,087 Views

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

Jump to solution

I'm guessing you are using REL 5.6.

We've recently discovered this segfault on REL 5.6 and are looking into it.

Currently, the workaround is to use the 32 bit version of the tools.

We are creating an Answer Record and will update it as we get more information.

 

The AR will not be available until tomorrow but will have the following title.

Article: 42078-13.1PlanAhead - /​​xilinx13.1/​ISE_​DS/​PlanAhead/​bin/​rdiArgs.sh: line 62: 14279 Segmentation fault  $RDI_​PROG $*

0 Kudos
Newbie jling
Newbie
11,461 Views

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

Jump to solution

How do you launch 32bit ISE?

 

Thanks

John

0 Kudos
Visitor cgl_ict
Visitor
11,422 Views

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

Jump to solution

I meet the same problem, is there any solution?

0 Kudos
Newbie jostbissel
Newbie
11,154 Views

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

Jump to solution

I managed to get the 32 Bit Version of PlanAhead running if I edit "/opt/Xilinx/13.4/ISE_DS/PlanAhead/bin/loader" and comment the architecture detecting lines out as follows:

 

RDI_OS_ARCH=32
#case `uname -m` in
#  x86_64)
#    RDI_OS_ARCH=64
#    ;;
#esac

32 Bit ISE is simply started via "/opt/Xilinx/ISE_DS/ISE/bin/lin32/ise"

 

Cheers

0 Kudos
Visitor paul.mnt
Visitor
10,499 Views

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

Jump to solution

I have the same issue on Ubuntu 13.04 and it doesn't work, even with 32bit. The error it prompts is the same.

 

/opt/Xilinx/14.5/ISE_DS/PlanAhead/bin/rdiArgs.sh: line 95: 31921 Segmentation fault      (core dumped) "$RDI_PROG" "$@"

 

I'm running several EDA tools on this machine and I would swithc to another OS at this point. ISE and the other Xilinx tool run correctly, but for PlanAhead

 

Thanks

 

0 Kudos
Observer adrianf0
Observer
10,352 Views

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

Jump to solution

I confirm to suffer the same issue on Ubuntu 13.04 (PalnAhead 14.5).

Installation of oracle-java-7, replacement of the libjvm.so file in the PlanAhead directories, switch to 32 bit version don't help. I would be grateful for solution, even if Ubuntu is not officially supported.

 

Thanks

0 Kudos
Newbie padudle
Newbie
10,283 Views

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

Jump to solution

I also have the same problem on my Ubuntu 13.04 machine.  It occurs whether I run the 32 or 64 bit tools.

 

I think it is related to file permissions because if I run as root it works.

 

sudo su

source /opt/Xilinx/14.5/ISE_DS/settings32.sh

planAhead

 

The gui comes up properly.

 

Note: I had to reinstall xilinx.lic in the root account to allow PlanAhead to run as root.

0 Kudos
Newbie ecezhang
Newbie
10,273 Views

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

Jump to solution

I encountered the same problem using Vivado v2013.2. I believe it is a permission problem because using root to run vivado works.

0 Kudos
Newbie ecezhang
Newbie
10,272 Views

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

Jump to solution

Sorry, I forgot to mention that my OS is also Ubuntu 13.04 64-bit.

0 Kudos
Observer adrianf0
Observer
13,456 Views

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

Jump to solution

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 embmicro
Visitor
13,385 Views

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

Jump to solution

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

0 Kudos
Contributor
Contributor
13,354 Views

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

Jump to solution

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

0 Kudos
Newbie harryrose
Newbie
13,257 Views

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

Jump to solution

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/
0 Kudos
Newbie mjpelmear
Newbie
12,067 Views

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

Jump to solution

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/

 

0 Kudos
11,149 Views

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

Jump to solution

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

0 Kudos
Moderator
Moderator
11,145 Views

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

Jump to solution

Hello @lukasfischer ,

 

Thanks for the information. It will help others too.

 

Thanks,

Yash

0 Kudos
Newbie jfrkuska
Newbie
10,021 Views

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

Jump to solution

Thank you.

 

confirmed to work under Fedora 19 x64

0 Kudos
Visitor davidrogoff
Visitor
4,834 Views

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

Jump to solution

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

0 Kudos
Visitor davidrogoff
Visitor
4,832 Views

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

Jump to solution
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
0 Kudos