I can still reproduce this on trusty, however on xenial and above, I now get this instead of the segv:
$ bash -c "ulimit -v 50000; grep -E -e '.++++++++++++++++++++++'" grep: Memory exhausted -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/343894 Title: Regular expressions cause out of memory or SIGSEGV To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/343894/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
