On 03/27/2015 09:00 AM, Nicolas Richard wrote: > > Should I report either of these as a bug ? Thanks, don't bother, I fixed it in master with the first attached patch. > I then get a core dump. Thanks. I reproduced that problem. It's an issue with the Emacs debugger, not with regular-expression matching. (The regular expression matcher is very slow with your example -- which is a problem, but I suggest filing a separate bug report for the performance problem, as this bug report is about a SIGABRT.) I fixed the problem in master by applying the second and third attached patches (which fix some related bugs while I was at it) and am marking this as done. At least, it works for me; if it still doesn't work for you we can reopen the bug report.