Skip to content
Tcl Source Code History Of Ticket 8d2c0da36d
Login

History Of Ticket 8d2c0da36d

Artifacts Associated With Ticket 8d2c0da36d

  1. Ticket change [944bafe132] (rid 133100) by anonymous on 2013-07-29 19:12:45:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. 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]>.)
      
    5. foundin initialized to: "8.6.0"
    6. is_private initialized to: "0"
    7. login: "anonymous"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "c6a523e7f8c9eec6b37979254f4b651edaff8a95"
    10. resolution initialized to: "None"
    11. severity initialized to: "Important"
    12. status initialized to: "Open"
    13. submitter initialized to: "anonymous"
    14. subsystem initialized to: "43. Regexp"
    15. title initialized to: "Regression: TCL 8.6.0 cannot compile a long regexp"
    16. type initialized to: "Bug"
  2. Add attachment "demo.tcl" [624975ca05] (rid 133101) by anonymous on 2013-07-29 19:20:22.

  3. Ticket change [d542c85d33] (rid 133125) by dgp on 2013-08-01 17:02:59:

    1. assignee changed to: "dkf"
    2. 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.
      
    3. login: "dgp"
    4. mimetype: "text/plain"
  4. Ticket change [5af2161746] (rid 133127) by dgp on 2013-08-01 17:36:44:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2456506.2338447"
    3. closer changed to: "dgp"
    4. icomment:
      Better place to track this is
      http://core.tcl.tk/tcl/tktview/1905562
      
      Closing this as a Duplicate.
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Duplicate"
    8. status changed to: "Closed"