Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f9173eeae9296f25864513fca36d51fb5ebe7d44
Ticket: 267b7e2334ee2e9de34c4b00d6e72e2f1997085f
RE patterns regressed
User & Date: anonymous on 2013-08-30 15:25:45
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    When testing gcc, one gets a new failure that wasn't present in 8.5.
    
    ERROR: tcl error sourcing
    /home/uros/gcc-svn/trunk/libffi/testsuite/libffi.call/call.exp.
    ERROR: couldn't compile regular expression pattern: out of memory
    
    My machine has a 12 GB of ram with another 100 GB of swap space to back it.  The machine is not out of memory.
    
    Please fix this, we have people that use gcc and the gcc developers still use tcl to driving compiler testing to ensure product quality.  Please test 100 MB regexps and ensure they work, the 1980s are over.
    
    Please read and understand the wisdom of:
    
      http://www.gnu.org/prep/standards/html_node/Semantics.html
    
    it is as relevant today, as when it was written.  Also, please don't just close and ignore issues like this:
    
      http://sourceforge.net/p/tcl/bugs/5178/
    
    It is a bug, and you should fix it.  It is not amoral to test gcc.  If you want the user to explain the limit that is suitable for them, feel free.  It should not be a configure option however, but a run-time option.
    
    Also, allocating 100 MB on the stack isn't cool.  You should have two paths, if the object is very small, allocate on the stack, say 32K or less.  If larger, it should be allocated with malloc.
    
  5. foundin changed to: "8.6"
  6. is_private changed to: "0"
  7. login: "anonymous"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "34cbfcde50648b9242217b4bda6c2ad1986aa29c"
  10. resolution changed to: "None"
  11. severity changed to: "Critical"
  12. status changed to: "Open"
  13. submitter changed to: "anonymous"
  14. subsystem changed to: "43. Regexp"
  15. title changed to: "RE patterns regressed"
  16. type changed to: "Bug"