Description: |
The attached test case crashes tclsh with a
"stack overflow" exception.
Configuration:
HEAD as of 2004-04-30
Win2k, VC++ 6 SP5, cygwin
--enable-threads --enable-symbols
The problem is that the activation record for TclReExec
is larger than TCL_WIN_STACK_THRESHOLD, so we
can get into there with insufficient space on the stack
to run the function.
Fix is to increase TCL_WIN_STACK_THRESHOLD -
0x8000 appears sufficient. 0x4000 is not.
I plan to fix this myself - I'm logging this so
I don't forget and for the benefit of future
maintainers.
|