New tcl-8.5 and 8Kingdoms

Hans de Goede j.w.r.degoede at hhs.nl
Sun Jan 6 09:18:30 UTC 2008


Wart wrote:
> Hans de Goede wrote:
>> Michael Thomas wrote:
>>> Did you have to make any changes to 8Kingdoms to get it to build with
>>> Tcl 8.5?  If so please pass along any patches.  I'll try building and
>>> running it myself to see if I can track down the problem.
>>>
>> Nope,
>>
>> No changes, I also did a diff between the buildlogs, no new compiler
>> warnings or anything like that.
>>
>> I did build it with gcc-4.3, as I was working on it not building with
>> gcc-4.3 too.
>>
>> I've just committed my latest 8Kingdoms work to cvs, so you can get it
>> from there, including a patch for the crash you reported (tested using
>> tcl 8.4).
> 
> It looks like it's a result of the stack checking code in the Tcl
> library itself.  Turning off the stack checking code by compiling Tcl
> with -DTCL_NO_STACK_CHECK=1 makes the problem in 8Kingdoms go away.
> 
> With the stack checking turned on, the Tcl scripts in 8Kingdoms fail
> with the error "out of stack space (infinite loop?)".  This error is
> generated by the stack checking code in tclBasic.c line 3439.
> 
> I don't understand enough of this stack checking stuff to debug it any
> further, unfortunately.
> 

This:

http://www.nabble.com/--tcl-Bugs-1815573---Stack-space-check-fails-in-Linux-x86-build-td14439502.html

Is very interesting in this regard, it may be a good idea to completely disable 
stack checking for now, but I'm a bit quick with judging this atm. I'll take a 
further look as time permits.

Right now I first have to go fill in some Tax Forms :(


Regards,

Hans




More information about the devel mailing list