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: 
18,022 Views
Registered: ‎01-30-2014

TclStackFree: incorrect freePtr. Call out of sequence?

Hi,

I have encountered this error during the synthesis:

"TclStackFree: incorrect freePtr. Call out of sequence?"

I am using Vivado 2013.3 on Linux system.

 

I have already tried some solutions I have found in this forum:
http://forums.xilinx.com/t5/Synthesis/Unknown-Vivado-Synth-Error/td-p/387265/highlight/true

which the user downgraded the version of Vivado from 2013.3 to 2013.2, and
http://www.xilinx.com/support/answers/55687.htm

which suggests to type a specific tcl command before starting the synthesis.

 

The second solution didn't work and, instead downgrading my version to 2013.2, i have upgraded to 2013.4, but the error persists. 

I have to add that Vivado is trying to synthesize a system that will allocate much more than the available resource of Virtex 7. I have 5 different configurations of my system, all of them based on a different size of the problem. The first 4 configurations worked well with the synthesis, everytime allocating ten times the resources the previous configuration allocated.
The 4th one, allocated 31% of slices for logic and 51% of slices for memory. Since the size of the 5th will require at least 10 times the resources used on the 4th configuration, i am sure the error depends for this reason, but, since the synthesis phase does not expect any placing, i expect the synthesis performs smoothly.

 

I have attached the log file with the part of the RTL verification erased.
What do you think? 

 

0 Kudos
23 Replies
Xilinx Employee
Xilinx Employee
18,019 Views
Registered: ‎09-20-2012

Re: TclStackFree: incorrect freePtr. Call out of sequence?

Hi,

 

Can you try using "Flow Run time optimized" synthesis strategy?

 

Try setting "Flatten_hierarchy" to NONE in synthesis settings and see if that helps.

 

Regards,

Deepika.

Thanks,
Deepika.
--------------------------------------------------------------------------------------------
Google your question before posting. If someone's post answers your question, mark the post as answer with "Accept as solution". If you see a particularly good and informative post, consider giving it Kudos (the star on the left)
0 Kudos
18,014 Views
Registered: ‎01-30-2014

Re: TclStackFree: incorrect freePtr. Call out of sequence?

Hi Vemulad, thanks for your reply. 
At the moment the error is still there, even applying your solution.

 

Antonio

0 Kudos
Xilinx Employee
Xilinx Employee
18,007 Views
Registered: ‎09-20-2012

Re: TclStackFree: incorrect freePtr. Call out of sequence?

Hi Antonio,

 

Did you try both the suggestions and still seeing the issue?

 

Is is possible to share the test case for debug?

 

Thanks,

Deepika.

Thanks,
Deepika.
--------------------------------------------------------------------------------------------
Google your question before posting. If someone's post answers your question, mark the post as answer with "Accept as solution". If you see a particularly good and informative post, consider giving it Kudos (the star on the left)
0 Kudos
17,998 Views
Registered: ‎01-30-2014

Re: TclStackFree: incorrect freePtr. Call out of sequence?

At the moment my only test case is my general testbench which let my developed system entirely work

Antonio

0 Kudos
17,994 Views
Registered: ‎01-30-2014

Re: TclStackFree: incorrect freePtr. Call out of sequence?

At the moment i am using Vivado 2013.2 to try to synthesize, as suggested in the first link i shared. It doesn't seem to stop as soon as with 2013.3 and 2013.4. It is still working! 
But i think it is too early to say it's completely working. Since the 4th configuration took around 1h to be synthesized, this will take many hours. Hopefully, i hope i can tell you more tomorrow


Antonio

0 Kudos
17,993 Views
Registered: ‎01-30-2014

Re: TclStackFree: incorrect freePtr. Call out of sequence?

Too many hopes, sorry.
0 Kudos
17,987 Views
Registered: ‎01-30-2014

Re: TclStackFree: incorrect freePtr. Call out of sequence?

The synthesis with 2013.2, after few hours, terminated with the same error, but adding also the phrase

"3 unexpected non-zero reference counts".

 

Antonio

0 Kudos
Xilinx Employee
Xilinx Employee
17,984 Views
Registered: ‎09-20-2012

Re: TclStackFree: incorrect freePtr. Call out of sequence?

Hi,

 

1. Did you try setting "flatten_hierarchy" to NONE in 2013.2 or 2013.4?

 

2. Did you try using synthesis strategy "Run time optimized" in 2013.2 or 2013.4?

 

Thanks,

Deepika.

 

Thanks,
Deepika.
--------------------------------------------------------------------------------------------
Google your question before posting. If someone's post answers your question, mark the post as answer with "Accept as solution". If you see a particularly good and informative post, consider giving it Kudos (the star on the left)
0 Kudos
17,982 Views
Registered: ‎01-30-2014

Re: TclStackFree: incorrect freePtr. Call out of sequence?

I have tried to you use the strategy "Run time optimized" and i saw that the script using this strategy already sets flatten_hierarchy to NONE. Still does not work with all the versions.

 

Antonio 

0 Kudos
Xilinx Employee
Xilinx Employee
12,903 Views
Registered: ‎10-24-2013

Re: TclStackFree: incorrect freePtr. Call out of sequence?

Hi,

Can you please share the testcase so that we can debug this at our end??
Thanks,Vijay
--------------------------------------------------------------------------------------------
Please mark the post as an answer "Accept as solution" in case it helped resolve your query.
Give kudos in case a post in case it guided to the solution.
0 Kudos
Visitor ali_sun
Visitor
12,181 Views
Registered: ‎10-25-2014

Re: TclStackFree: incorrect freePtr. Call out of sequence?

Hi

Did you solve the problem?I met the same problem。

 I am using Vivado 2014.3 with Window 7-64bit

 

0 Kudos
Observer g.pavlikh
Observer
12,020 Views
Registered: ‎09-10-2012

Re: TclStackFree: incorrect freePtr. Call out of sequence?

I've faced same problem. Win7 x64, Vivado 2014.3 and 2014.4. Simplest project consists of one register. Flow_RuntimeOptimized strategy don't help.

0 Kudos
Observer g.pavlikh
Observer
11,929 Views
Registered: ‎09-10-2012

Re: TclStackFree: incorrect freePtr. Call out of sequence?

After some tests, I've solved my problem. Error was caused by cyrillic letters in computer name.

Maybe it will help someone.

Newbie caesarkof97
Newbie
11,074 Views
Registered: ‎05-05-2015

Re: TclStackFree: incorrect freePtr. Call out of sequence?

 It works, thank you very much!

0 Kudos
Xilinx Employee
Xilinx Employee
11,066 Views
Registered: ‎07-01-2010

Re: TclStackFree: incorrect freePtr. Call out of sequence?

@g.pavlikh

 

Thanks for posting your findings.

 

Is the issue with the computer name or the path name?

 

Can you give us the snippet so that we can try reproducing it and see it is fixed?

 

Regards,

Achutha

---------------------------------------------------------------------------------------------
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
Observer g.pavlikh
Observer
11,064 Views
Registered: ‎09-10-2012

Re: TclStackFree: incorrect freePtr. Call out of sequence?

Problem was with the computer name, it was "User-ПК". After changing name to "User-PC" error has disappeared. Path to files is in english only.

2015.1 still have this issue.

0 Kudos
6,695 Views
Registered: ‎09-11-2014

Re: TclStackFree: incorrect freePtr. Call out of sequence?

Just got this error too with Vivado 2016.3. I was able to use Vivado 2015.3 with no problem.

 

2016.3 only started working when I moved it to a different folder. Perhaps the path was too long? Using Windows 7/64.

0 Kudos
Scholar pedro_uno
Scholar
5,888 Views
Registered: ‎02-12-2013

Re: TclStackFree: incorrect freePtr. Call out of sequence?

I am getting this same error message on a Kintex Ultrascale 040 design under Vivado 2016.4.

 

I applied the recommendation from AR# 55687 and that seems to fix the problem for now.

----------------------------------------
DSP in hardware and software
-----------------------------------------
0 Kudos
Moderator
Moderator
5,624 Views
Registered: ‎07-21-2014

Re: TclStackFree: incorrect freePtr. Call out of sequence?

@pedro_uno

 

This could be a different issue. Can you please share more details and log files for us to understand the root cause?

In such cases, we might need to look into the design in order to provide a suitable work around.

 

Thanks,
Anusheel
-----------------------------------------------------------------------------------------------
Search for documents/answer records related to your device and tool before posting query on forums.
Search related forums and make sure your query is not repeated.

Please mark the post as an answer "Accept as solution" in case it helps to resolve your query.
Helpful answer -> Give Kudos
-----------------------------------------------------------------------------------------------

0 Kudos
Scholar pedro_uno
Scholar
3,769 Views
Registered: ‎02-12-2013

Re: TclStackFree: incorrect freePtr. Call out of sequence?

Anusheel,

 

I have lost the exact configuration that gave me this error message.  If I see it again I will try to capture it for you.

 

  Pete

----------------------------------------
DSP in hardware and software
-----------------------------------------
0 Kudos
Observer nan_k
Observer
3,415 Views
Registered: ‎12-12-2017

Re: TclStackFree: incorrect freePtr. Call out of sequence?

I am also facing similar problem on Vivado 2017.3.1.

I am using generate statement in my Verilog code.  The tool was able to synthesize up to for loop limit 15, when it exceeds the 15 it's throwing an error (TclStackFree: incorrect freePtr. Call out of sequence?).

I have tried your suggestions but still, it's not working.

 

What would be the problem?
  

Tags (1)
0 Kudos
Highlighted
Contributor
Contributor
2,932 Views
Registered: ‎04-19-2017

Re: TclStackFree: incorrect freePtr. Call out of sequence?

Hi @anusheel and all,

 

I got the same issue on Vivado 2016.2. Attached is the log file.

 

If you need more detail info, please let me know!

 

Kind regards,

Khoa

0 Kudos
Moderator
Moderator
2,907 Views
Registered: ‎03-16-2017

Re: TclStackFree: incorrect freePtr. Call out of sequence?

Hi @khoa_pham,

 

Create a fresh new thread with your issue to get it noted by the community. 

 

Regards,

hemangd

Regards,
hemangd

Don't forget to give kudos and mark it as accepted solution if your issue gets resolved.
0 Kudos