Skip to content
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

qr/(?{...})/ regressions in 5.18 #14292

Comments

Copy link

Migrated from rt.perl.org#123344 (status was 'resolved')

Searchable as RT123344$

Copy link
Author

From @cpansprout

I fixed these in two recent commits​:

3bc8ec9​:

$ perl5.18.1 -e 'qr/@​a(?{})/'
Bizarre copy of ARRAY in subroutine exit at -e line 1.

d100ca4​:

$ ./perl -e 'qr/\Q(?{})/'
Assertion failed​: (AvFILLp(PL_comppad) == 0), function Perl_pmruntime, file op.c, line 5395.
Abort trap​: 6

I recommend that we backport the fixes to both maint-5.20 and maint-5.18.

d100ca4 looks complex. If necessary, we could just delete the assertion from the maint branches, instead of backporting the new assertion.

--

Father Chrysostomos

Copy link
Author

@steve-m-hay - Status changed from 'new' to 'pending release'

Copy link
Author

From @khwilliamson

Thanks for submitting this ticket

The issue should be resolved with the release today of Perl v5.22, available at http​://www.perl.org/get.html
If you find that the problem persists, feel free to reopen this ticket

--
Karl Williamson for the Perl 5 porters team

Copy link
Author

@khwilliamson - Status changed from 'pending release' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant