New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5.6.0, 5.6.1, 5.8.0 regexp core on (\@\@|.)* #5962
Comments
From barries@jester.slaysys.comCreated by barries@slaysys.comGet the file http://slaysys.com:81/regexp_corer and do: perl -le '$/=undef; $_=<>; s/(\@\@|.)*//s' regexp_corer This produces a segfault in 5.6.0 and 5.8.0. Using a bigger Perl Info
|
From @rspierAble to replicate with 5.8.1. This is a stack size issue: [robert@x1 /tmp]$ /big/robert/perl-5.8.1/bin/perl -le '$/=undef; $_=<>; (The regex causes the engine to recurse in S_regmatch a _lot_, and kaboom.) Closing ticket, because I don't think there's anything perl can do about |
@rspier - Status changed from 'new' to 'resolved' |
From @hvdsRobert (via RT) <perlbug-followup@perl.org> wrote: I think it is possible to avoid using the C stack for such recursion, But there are many similar reports in the bug database, and it might be Hugo |
From @smpeters
I don't have access to your original file, but perl.c seems to work just fine.
After change #27598, this core dump has been stopped.
|
@smpeters - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#17611 (status was 'resolved')
Searchable as RT17611$
The text was updated successfully, but these errors were encountered: