Artifacts Associated With Ticket 8d2c0da36d
Ticket change [944bafe132] (rid 133100) by anonymous on 2013-07-29 19:12:45:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The following script, which is a simplified test case, fails in TCL 8.6.0. It used to work in TCL 8.5.14 (and several older TCL versions; the real code that started failing in TCL 8.6.0 dates back to 2003 or earlier). Sample code: set num "1*" set time_t "$num $num $num $num $num $num $num $num $num" set grp "1 3 8 $time_t 00000000 1 13Hxxxxxxxxxxxxx" set re "^$time_t { $grp $grp $grp $grp $grp $grp $grp $grp $grp $grp $grp }" regexp $re hi Expected output: none. TCL 8.6.0 output: couldn't compile regular expression pattern: out of memory while executing "regexp $re hi" (file "demo.tcl" line 5) This regression was found while trying to run the test suite of the LysKOM server. I've checked in a less simplified test case here: https://git.lysator.liu.se/lyskom-server/lyskom-server/blobs/master/src/server/testsuite/dejagnu.0/01-long-regexp.exp The real code is buried inside this DejaGnu testsuite: https://git.lysator.liu.se/lyskom-server/lyskom-server/blobs/master/src/server/testsuite/lyskomd.0/03.exp (I'm only anonymous because a five-minute search didn't reveal how to create an account here. I'm Per Cederqvist <[email protected]>.) - foundin initialized to: "8.6.0"
- is_private initialized to: "0"
- login: "anonymous"
- priority initialized to: "5 Medium"
- private_contact initialized to: "c6a523e7f8c9eec6b37979254f4b651edaff8a95"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "anonymous"
- subsystem initialized to: "43. Regexp"
- title initialized to: "Regression: TCL 8.6.0 cannot compile a long regexp"
- type initialized to: "Bug"
Add attachment "demo.tcl" [624975ca05] (rid 133101) by anonymous on 2013-07-29 19:20:22.
Ticket change [d542c85d33] (rid 133125) by dgp on 2013-08-01 17:02:59:
- assignee changed to: "dkf"
- icomment:
Bisecting points the source of this regression as: http://core.tcl.tk/tcl/info/1ab85d8c7d This change came from dkf, and is an intentional limiting, but the comment suggests that further tuning may be needed. Here's a use case from in the field to guide that tuning. assigned to dkf for more assessment.
- login: "dgp"
- mimetype: "text/plain"
Ticket change [5af2161746] (rid 133127) by dgp on 2013-08-01 17:36:44:
- assignee changed to: "dgp"
- closedate changed to: "2456506.2338447"
- closer changed to: "dgp"
- icomment:
Better place to track this is http://core.tcl.tk/tcl/tktview/1905562 Closing this as a Duplicate.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Duplicate"
- status changed to: "Closed"