cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
1,838 Views
Registered: ‎05-12-2017

Creashes when entering multi-line commands into TCL shell

I'm still learning Vivado TCL so I use the console REPL extensivly. However if I enter a multiline command vivado frequently (but not always) crashes:

 

#
# An unexpected error has occurred (11)
#
Stack:
/opt/Xilinx/Vivado/2017.4/tps/lnx64/jre/lib/amd64/server/libjvm.so(+0x923da9) [0x7f3814118da9]
/opt/Xilinx/Vivado/2017.4/tps/lnx64/jre/lib/amd64/server/libjvm.so(JVM_handle_linux_signal+0xb6) [0x7f381411f3f6]
/opt/Xilinx/Vivado/2017.4/tps/lnx64/jre/lib/amd64/server/libjvm.so(+0x9209d3) [0x7f38141159d3]
/lib64/libc.so.6(+0x35270) [0x7f385756e270]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/librdi_coregen.so(HRSBMoDesign::getParent()+0) [0x7f38410e7780]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/librdi_rsb.so(+0x2bc8eb) [0x7f382432a8eb]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/librdi_rsb.so(HRSBEnGetPathVisitor::visitReposBlk(HRSBMoReposBlk*)+0x4e) [0x7f3824320f0e]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/librdi_rsb.so(HRSBEnSearcher::getFullPath[abi:cxx11](HRSBMoBase*)+0x28) [0x7f38243078e8]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/librdi_rsb.so(HRSBEnEngineMgr::getSetMultiPropertyCmd(HRSBMoBase*, HSTMap<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)+0x3e) [0x7f38242c75ae]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/librdi_rsbtasks.so(+0x222092) [0x7f37f8558092]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/librdi_commontasks.so(+0x2d6a75) [0x7f38485e6a75]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/librdi_common.so(+0x747f82) [0x7f38587e4f82]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/libtcl8.5.so(+0x334af) [0x7f38530dd4af]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/libtcl8.5.so(Tcl_EvalObjv+0x32) [0x7f38530dd5e2]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/libtcl8.5.so(TclEvalObjEx+0x322) [0x7f38530df402]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/librdi_commontasks.so(+0x2d035b) [0x7f38485e035b]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/librdi_common.so(+0x747f82) [0x7f38587e4f82]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/libtcl8.5.so(+0x334af) [0x7f38530dd4af]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/libtcl8.5.so(+0x76875) [0x7f3853120875]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/libtcl8.5.so(+0x7e029) [0x7f3853128029]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/libtcl8.5.so(TclEvalObjEx+0x76) [0x7f38530df156]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/libtcl8.5.so(+0x3c35b) [0x7f38530e635b]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/libtcl8.5.so(+0x334af) [0x7f38530dd4af]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/libtcl8.5.so(+0x76875) [0x7f3853120875]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/libtcl8.5.so(+0x7e029) [0x7f3853128029]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/libtcl8.5.so(TclEvalObjEx+0x76) [0x7f38530df156]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/librdi_common.so(+0x746491) [0x7f38587e3491]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/libtcl8.5.so(Tcl_ServiceEvent+0x7f) [0x7f3853151b0f]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/libtcl8.5.so(Tcl_DoOneEvent+0x154) [0x7f3853151e44]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/librdi_commontasks.so(+0x1f9215) [0x7f3848509215]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/librdi_commontasks.so(+0x2011a3) [0x7f38485111a3]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/librdi_commontasks.so(+0x20223e) [0x7f384851223e]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/librdi_common.so(+0x747f82) [0x7f38587e4f82]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/libtcl8.5.so(+0x334af) [0x7f38530dd4af]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/libtcl8.5.so(+0x76875) [0x7f3853120875]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/libtcl8.5.so(+0x7e029) [0x7f3853128029]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/libtcl8.5.so(TclEvalObjEx+0x76) [0x7f38530df156]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/librdi_commonmain.so(+0x7414) [0x7f3857e99414]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/libtcl8.5.so(Tcl_Main+0x1d0) [0x7f385314a210]
/opt/Xilinx/Vivado/2017.4/lib/lnx64.o/librdi_common.so(+0x78ad0b) [0x7f3858827d0b]
/lib64/libpthread.so.0(+0x7e25) [0x7f3857324e25]
/lib64/libc.so.6(clone+0x6d) [0x7f385763134d]

I'm using the CentOS 7.

0 Kudos
6 Replies
Highlighted
Moderator
Moderator
1,799 Views
Registered: ‎09-15-2016

Re: Creashes when entering multi-line commands into TCL shell

Hi @mpiechotka,

 

What are the commands you are running and tool is crashing?

Please attach a small script reproducing this issue.

 

Regards,
Prathik
-----------------------------------------------------------------------------------------------
Please mark the appropriate post as an answer "Accept as solution" in case it helps to resolve your query.
Give Kudos to a post which you think is helpful and reply oriented.
-----------------------------------------------------------------------------------------------

0 Kudos
Highlighted
Adventurer
Adventurer
1,791 Views
Registered: ‎05-12-2017

Re: Creashes when entering multi-line commands into TCL shell

@prathikm The problem was very irregular and it did not happen every time but it happened a few times when I pasted iterations of code below into REPL window:

 

set clks [list [list 100 "periph"] [list 150 "vid"] [list 200 "hdmi"]]

for {set i 0} {$i < [llength $clks]} {incr i} {
	set_property -dict [list \
		"CONFIG.PCW_FPGA${i}_PERIPHERAL_FREQMHZ" [lindex $clks $i 0] \
		"CONFIG.PCW_EN_CLK${i}_PORT" {1} \
		"CONFIG.PCW_FCLK_CLK${i}_BUF" {1} \
		"CONFIG.PCW_FPGA_FCLK${i}_ENABLE" {1} \
	] $ps7
	create_bd_cell -type ip -vlnv xilinx.com:ip:proc_sys_reset:5.0 "rst_ps7_[lindex $clks $i 0]M"
	connect_bd_net -net "[lindex $clks $i 1]_clk" [get_bd_pin "ps7/FCLK_CLK${i}"] [get_bd_pin "rst_ps7_[lindex $clks $i 0]M/slowest_sync_clk"]
	connect_bd_net -net "fclk_reset0_n" [get_bd_pin ps7/fclk_reset0_n] [get_bd_pin "rst_ps7_[lindex $clks $i 0]M/ext_reset_in"]
	set "rst_[lindex $clks $i 1]" "rst_ps7_[lindex $clks $i 0]M"
}
0 Kudos
Highlighted
Moderator
Moderator
1,781 Views
Registered: ‎09-15-2016

Re: Creashes when entering multi-line commands into TCL shell

Hi @mpiechotka,

 

>>The problem was very irregular and it did not happen every time..

Looking at the script only properties are being set.

 

Are any logs created when tried for Vivado? (link)

Did you try working directly in project mode and check?

 

If you can share complete script that you are seeing crash I can try it at my end since script is manual work.

 

Regards,
Prathik
-----------------------------------------------------------------------------------------------
Please mark the appropriate post as an answer "Accept as solution" in case it helps to resolve your query.
Give Kudos to a post which you think is helpful and reply oriented.
-----------------------------------------------------------------------------------------------

0 Kudos
Highlighted
Adventurer
Adventurer
1,774 Views
Registered: ‎05-12-2017

Re: Creashes when entering multi-line commands into TCL shell

Here's log of one of the crashes. Note that I could not reproduce it using source - it happened when I copy'n'pasted multiple lines.

0 Kudos
Highlighted
Moderator
Moderator
1,762 Views
Registered: ‎09-15-2016

Re: Creashes when entering multi-line commands into TCL shell

Hi @mpiechotka,

 

Thanks for sharing the log. But I am unable to reproduce the issue even from the commands within the log file.

Is there a specific way I can reproduce this issue?

 

Thanks & Regards,
Prathik
-----------------------------------------------------------------------------------------------
Please mark the appropriate post as an answer "Accept as solution" in case it helps to resolve your query.
Give Kudos to a post which you think is helpful and reply oriented.
-----------------------------------------------------------------------------------------------

0 Kudos
Highlighted
Adventurer
Adventurer
1,727 Views
Registered: ‎05-12-2017

Re: Creashes when entering multi-line commands into TCL shell

Sorry - as I mentioned the crash was intermittent and it happened a few times when I copy'n'pasted several lines of TCL code into REPL window and press enter.

0 Kudos