Artifacts Associated With Ticket 906201ffffffffff
Ticket change [01c0ca67ad] (rid 119539) by wilkason on 2004-02-27 22:00:23:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Calling expr "[string repeat +1 10000]" in later versions of tcl (8.4+) will cause a core/gpf due to a stack overflow. What is happening is CompileSubExpr is recursively calling itself as it compiles each +1 token pair.
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "wilkason"
- subsystem initialized to: "None"
- title initialized to: "expr parser stack overflow"
- type initialized to: "Bug"
Ticket change [8a6d91e563] (rid 127390) by dgp on 2004-02-28 09:02:09:
- assignee changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 Later versions of Tcl ? The recursive nature of CompileSubExpr() hasn't changed, has it? FWIW, on my system (Solaris 9): % expr [string repeat +1 10000] 10000 returns in just a few seconds.
- login: "dgp"
- mimetype: "text/plain"
- subsystem changed to: "45. Parsing and Eval"
- username: "dgp"
Ticket change [9b6a3dfbd6] (rid 111118) by mistachkin on 2004-03-10 06:32:22:
- icomment:
Logged In: YES user_id=113501 Confirmed for HEAD. The exact value required to get a crash is system dependant due to variations in actual stack size on different platforms.
- login: "mistachkin"
- mimetype: "text/plain"
- username: "mistachkin"
- icomment:
Ticket change [4e03fed44e] (rid 127153) by dgp on 2006-07-05 12:34:56:
- closedate changed to: "2006-07-05T05:34:56"
- closer changed to: "dgp"
- foundin changed to: "obsolete: 8.5a4"
- icomment:
Logged In: YES user_id=80530 fixed in 8.5a5
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dgp"