Roland Schwingel
2012-04-17 10:15:47 UTC
Hi...
I am using insight (GNU Debugger with tcl/tk frontend) together with
tcl/tk 8.6 (most recent sources from fossil) on windows 7 64bit in
64bit. Compiled using mingw-w64.
While it worked very well and stable for some weeks I am seeing now a
reproducable Tcl_Panic() when stepping thru certain c++ code using 64bit
insight (and so also 64bit tcl):
TclStackFree: incorrect freePtr (<some address> != <some other
address>). Call out of sequence?
When searching the internet I found that this should most likely be
related to multithreaded usage of the tcl interpreter. In my case this
seems not to be the case. I added some code to TclStackFree() to dump
the threadids and to alert when it changes. It is always the same
threadid. So accessing the interpreter from multiple threads is not
happening.
Moreover when debugging my application in 32bit mode (on the same
system) using the very same 32bit version of insight with the very same
tcl just compiled for 32bit it does not panic.
Has anyone any clue on how to isolate and fix that?
Thanks for your help,
Roland
I am using insight (GNU Debugger with tcl/tk frontend) together with
tcl/tk 8.6 (most recent sources from fossil) on windows 7 64bit in
64bit. Compiled using mingw-w64.
While it worked very well and stable for some weeks I am seeing now a
reproducable Tcl_Panic() when stepping thru certain c++ code using 64bit
insight (and so also 64bit tcl):
TclStackFree: incorrect freePtr (<some address> != <some other
address>). Call out of sequence?
When searching the internet I found that this should most likely be
related to multithreaded usage of the tcl interpreter. In my case this
seems not to be the case. I added some code to TclStackFree() to dump
the threadids and to alert when it changes. It is always the same
threadid. So accessing the interpreter from multiple threads is not
happening.
Moreover when debugging my application in 32bit mode (on the same
system) using the very same 32bit version of insight with the very same
tcl just compiled for 32bit it does not panic.
Has anyone any clue on how to isolate and fix that?
Thanks for your help,
Roland