Artifacts Associated With Ticket 232564ffff
Ticket change [ef68106007] (rid 108989) by junruli on 2001-02-15 18:06:12:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The MAX_NESTING_DEPTH is set in tclInt.C, however in tclBasic.c, the iPtr->maxNestingDepth is set 1000 directly. in Tcl_SetRecursionLimit, there is no checking for the parameter which could be huge, would cause problems
- foundin initialized to: ""
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "junruli"
- subsystem initialized to: "95. contrib ports"
- title initialized to: "MAX_NESTING_DEPTH is not useful"
- type initialized to: "Bug"
Ticket change [668d3000e8] (rid 102731) by msofer on 2001-03-23 23:50:25:
- assignee changed to: "msofer"
- foundin changed to: "obsolete: 8.4a2"
- subsystem changed to: "47. Bytecode Compiler"
Ticket change [c90687485d] (rid 122217) by msofer on 2001-04-07 10:52:30:
- priority changed to: "3 Low"
Ticket change [d7245ba6ec] (rid 123929) by msofer on 2001-08-14 21:03:29:
- closedate changed to: "2001-08-14T14:03:29"
- closer changed to: "msofer"
- icomment:
Logged In: YES user_id=148712 Fixed: tclCreateInterp now uses MAX_NESTING_DEPTH. The problems generated by a huge recursion limit are not trivial: - C-stack overflows are catched by TclpCheckStackSpace(), which is currently not implemented in unix but should work in Mac and Win. The man page for Tcl_SetRecursionLimit specifically warns about this possibility. I am filing a Feature Request for implementation in unix [#450795] - if there is insufficient memory for the tcl stack, there is a memory allocation error
- login: "msofer"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "msofer"