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: 
Highlighted
Visitor schroeca
Visitor
14,395 Views
Registered: ‎06-27-2012

ISim 14.1 segmentation fault (ERROR: 776 SIGSEGV)

Jump to solution

ISim crashes with segmentation fault during compiling.

 

I checked all the installation paths and library paths - seem to be ok.

 

System: RHEL 5 ( 64-bit)

 

Any hints?

 

 

 

 

-- Dumping System Information
sysname = Linux
release = 2.6.18-348.4.1.el5
version = #1 SMP Fri Mar 22 05:41:51 EDT 2013
machine = x86_64
ram = 131893736 KB
-- Done dumping System Information

 

 

Compiling isim/mercury_kx1_top_isim_beh.exe.sim/work/p_0530328101.c to isim/mercury_kx1_top_isim_beh.exe.sim/work/p_0530328101.lin64.o with command:
"/usr/bin/gcc" -Wa,-W  -O  -fPIC  -m64  -c -o "isim/mercury_kx1_top_isim_beh.exe.sim/work/p_0530328101.lin64.o" -I"/opt/Xilinx_14.1/ISE_DS/ISE/./data/include" "isim/mercury_kx1_top_isim_beh.exe.sim/work/p_0530328101.c"
Compiling package line_stock_list_pkg - p_4274026910
ERROR:Simulator:776 - Signal SIGSEGV received
Printing stacktrace...

[0] /opt/Xilinx_14.1/ISE_DS/ISE/bin/lin64/unwrapped/fuse [0x50f50f]
[1] /opt/Xilinx_14.1/ISE_DS/ISE/bin/lin64/unwrapped/fuse [0x50f620]
[2] /opt/Xilinx_14.1/ISE_DS/ISE/bin/lin64/unwrapped/fuse [0x5122ce]
[3] /opt/Xilinx_14.1/ISE_DS/ISE/bin/lin64/unwrapped/fuse [0x51e1f3]
[4] /opt/Xilinx_14.1/ISE_DS/ISE/bin/lin64/unwrapped/fuse [0x51ded3]
[5] /opt/Xilinx_14.1/ISE_DS/ISE/bin/lin64/unwrapped/fuse [0x4fffe0]
[6] /opt/Xilinx_14.1/ISE_DS/ISE/bin/lin64/unwrapped/fuse [0x506e62]
[7] /opt/Xilinx_14.1/ISE_DS/ISE/bin/lin64/unwrapped/fuse(ISIMC::VhdlCompiler::compileDesignUnit(Verific::VhdlPrimaryUnit*, Verific::VhdlSecondaryUnit*, Verific::VhdlComponentInstantiationStatement const*, Verific::VhdlPrimaryUnit*, Verific::VhdlSecondaryUnit*, bool, bool)+0x428) [0x4f9808]
[8] /opt/Xilinx_14.1/ISE_DS/ISE/bin/lin64/unwrapped/fuse(ISIMC::VhdlCompiler::compileDesignUnit(stlp_std::vector<stlp_std::pair<Verific::VhdlDesignUnit*, Verific::VhdlComponentInstantiationStatement const*>, stlp_std::allocator<stlp_std::pair<Verific::VhdlDesignUnit*, Verific::VhdlComponentInstantiationStatement const*> > >&)+0x123) [0x4f9f93]
[9] /opt/Xilinx_14.1/ISE_DS/ISE/bin/lin64/unwrapped/fuse(ISIMC::Fuse::compileDesign()+0x1d3c) [0x466c2c]
[10] /opt/Xilinx_14.1/ISE_DS/ISE/bin/lin64/unwrapped/fuse(ISIMC::Fuse::run()+0x2df) [0x46a6ff]
[11] /opt/Xilinx_14.1/ISE_DS/ISE/bin/lin64/unwrapped/fuse(ISIMC::Fuse::main(int, char**)+0x59) [0x46b359]
[12] /lib64/libc.so.6(__libc_start_main+0xf4) [0x3a9bc1d9c4]
[13] /opt/Xilinx_14.1/ISE_DS/ISE/bin/lin64/unwrapped/fuse(__gxx_personality_v0+0x211) [0x451c69]

0 Kudos
1 Solution

Accepted Solutions
Visitor schroeca
Visitor
17,619 Views
Registered: ‎06-27-2012

Re: ISim 14.1 segmentation fault (ERROR: 776 SIGSEGV)

Jump to solution

Hi,

 

tried to setup the environment with every *.(c)sh  file without any difference.

 

Finally the root cause was an alias which was used in a type definition...

 

For my opinion this should not lead to a segmentation fault. 

The compiler it self should crash with an error message that helps the user to find the problem.

 

A company like Xilinx should also be able to manage to integrate a substitution script in the compile steps to fix this problem by replacing the alias with the real defintion / name.

 

Thx,

Andreas

 

 

View solution in original post

9 Replies
Moderator
Moderator
14,369 Views
Registered: ‎06-05-2013

Re: ISim 14.1 segmentation fault (ERROR: 776 SIGSEGV)

Jump to solution

Hi,

 

Try running settings64.(c)sh from the location <installed_directory>/bin/lin64 before simulating your design.

 

Thanks

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Visitor schroeca
Visitor
17,620 Views
Registered: ‎06-27-2012

Re: ISim 14.1 segmentation fault (ERROR: 776 SIGSEGV)

Jump to solution

Hi,

 

tried to setup the environment with every *.(c)sh  file without any difference.

 

Finally the root cause was an alias which was used in a type definition...

 

For my opinion this should not lead to a segmentation fault. 

The compiler it self should crash with an error message that helps the user to find the problem.

 

A company like Xilinx should also be able to manage to integrate a substitution script in the compile steps to fix this problem by replacing the alias with the real defintion / name.

 

Thx,

Andreas

 

 

View solution in original post

Moderator
Moderator
14,265 Views
Registered: ‎04-17-2011

Re: ISim 14.1 segmentation fault (ERROR: 776 SIGSEGV)

Jump to solution
Hello,Andreas,

Yes, your are correct. ISIM had issues handling alias data type in VHDL. You may also think of trying the new Vivado Simulator where this issue has been properly fixed. It would be good to hear feedback from new users on Vivado. If you see the segmentation fault in Vivado Simulator, do create a new post and we would take care of your inputs.

I am marking your post as a Solution for others to refer as you have correctly identified the root cause.

Thanks for your contribution.
Regards,
Debraj
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
Visitor aaron1
Visitor
12,749 Views
Registered: ‎06-18-2014

Re: ISim 14.1 segmentation fault (ERROR: 776 SIGSEGV)

Jump to solution
I am have the same issue.

Where exactly did you find that alias used in a type definition?

Thanks,

Aaron1

0 Kudos
Moderator
Moderator
12,739 Views
Registered: ‎04-17-2011

Re: ISim 14.1 segmentation fault (ERROR: 776 SIGSEGV)

Jump to solution
alias declarations are used in VHDL as below example
ALIAS data_bit : std_logic IS link_data(1)(7);
data_bit <= '0';

To avoid this replace the alias with actual data type
link_data(1)(7)<='0';
Regards,
Debraj
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
Visitor aaron1
Visitor
12,724 Views
Registered: ‎06-18-2014

Re: ISim 14.1 segmentation fault (ERROR: 776 SIGSEGV)

Jump to solution

Thank you for your quick response debrajr.

 

I should have been more specific in my question.

 

I was wondering where (which file or location) the alias declaration error was found.

 

Aaron

 

0 Kudos
Visitor aaron1
Visitor
12,716 Views
Registered: ‎06-18-2014

Re: ISim 14.1 segmentation fault (ERROR: 776 SIGSEGV)

Jump to solution

Thanks to all who contributed.

I was able to resolve this issue by following steps in this link.

http://forums.xilinx.com/t5/Installation-and-Licensing/ISE-13-1-on-kubuntu-11-04/m-p/334913/highlight/false#M4656

It gave birth to new problems but new problems are are better than old ones:)

 

0 Kudos
Moderator
Moderator
12,705 Views
Registered: ‎04-17-2011

Re: ISim 14.1 segmentation fault (ERROR: 776 SIGSEGV)

Jump to solution

Thanks Aaron for posting an alternate solution too. 

Regards,
Debraj
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
Visitor aaron1
Visitor
12,509 Views
Registered: ‎06-18-2014

Re: ISim 14.1 segmentation fault (ERROR: 776 SIGSEGV)

Jump to solution

Not a problem.

 

Communication is vital.

 

Aaron

 

0 Kudos