New tcl-8.5 and 8Kingdoms
Hans de Goede
j.w.r.degoede at hhs.nl
Sun Jan 6 09:03:33 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.
>
Well that looks like C-code to me, so I'll dive into it when I find the time.
Regards,
Hans
More information about the fedora-devel-list
mailing list