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
Perl_peep recursion exceeds stack in 5.8.9 eval-ing a long program #9642
Comments
From Mark.Martinec@ijs.siCreated by root@patsy.ijs.siUnder Perl 5.8.9 on FreeBSD, Perl dies with 'Bus error' while case OP_RANGE: (gdb) bt Seems the additional requirement is that some Perl module with This is not happening with Perl 5.8.8 and neither with 5.10.0 ! THE BIG QUESTION IS WHY MORE THAN 10.000 LEVELS OF RECURSION IS The real-life situation is a SpamAssassin run with many rules, Googling shows a similar report with an arbitrarily fabricated http://mail-archives.apache.org/mod_mbox/spamassassin-users/ See also: ...except in our case (where perl 5.8.9 itself is not linked with any This works fine: $ perl -e 'my $x = q[if ($h->{ALPHA}->{BETA}->{q{stuff}}) {] but with BerkeleyDB loaded it crashes: $ perl -MBerkeleyDB -e 'my $x = q[if ($h->{ALPHA}->{BETA}->{q{stuff}}) {] $ ldd /usr/local/lib/perl5/site_perl/5.8.9/mach/auto/BerkeleyDB/BerkeleyDB.so Perl Info
|
From @doyIf this doesn't happen in 5.10, does this need to stay open? -doy |
The RT System itself - Status changed from 'new' to 'open' |
From @iabynOn Fri, Jul 06, 2012 at 04:35:29PM -0700, Jesse Luehrs via RT wrote:
This was fixed in 5.15.1; almost certainly by my commit: commit 3c78429 make peep optimiser recurse mostly only shallowly (You need to increase the string count to ensure it definitely crashes). -- |
@cpansprout - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#63054 (status was 'resolved')
Searchable as RT63054$
The text was updated successfully, but these errors were encountered: