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!

AR# 45468

PlanAhead - Attempting to set a LOC property on a pointer to a deleted port results in an unexpected error


If I execute the Tcl script with a set_property LOC command similar to the following example, I receive exception errors and the PlanAhead tool crashes.

For Example:

set my_port [get_ports we] 
set _we_loc [get_property LOC $my_port]
set_property LOC "" $my_port
delete_port $my_port
set_property LOC AB17 $my_port

"An unexpected error has occurred (11)
.../ISE_DS/PlanAhead/tps/lnx64/jre/lib/amd64/server/libjvm.so [0x2b44b3a6393d]
.../ISE_DS/PlanAhead/tps/lnx64/jre/lib/amd64/server/libjvm.so [0x2b44b3a60e9b]
.../ISE_DS/PlanAhead/tps/lnx64/jre/lib/amd64/server/libjvm.so(JVM_handle_linux_signal+0x170) [0x2b44b3a643e0]
.../ISE_DS/PlanAhead/tps/lnx64/jre/lib/amd64/server/libjvm.so [0x2b44b3a60dae]
/lib64/libpthread.so.0 [0x32d560eb10]"


The problem is that when a port is deleted by using the "delete_port $my_port" statement, the pointer $my_port still holds the old pointer port data. 

A subsequent reference of the $my_port will cause the software to crash.

To correct this issue, call "set my_port [get_ports we]" again to reset $my_port.

AR# 45468
Date Created 02/27/2012
Last Updated 08/11/2014
Status Active
Type Known Issues
  • PlanAhead - 13.1
  • PlanAhead - 14.1