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
regcomp.c:6207: SV *S_concat_pat(RExC_state_t *const, SV *, SV **const, int, OP *, _Bool *, SV *): Assertion `oplist->op_type == OP_PADAV || oplist->op_type == OP_RV2AV' failed #15656
Comments
From @geeknikTriggered in Perl v5.25.6 (v5.25.5-104-gaff2be5). perl -e 'qr{(?{}){@0{@}}@0}' perl: regcomp.c:6207: SV *S_concat_pat(RExC_state_t *const, SV *, SV |
From @hvdsOn Fri Oct 14 14:42:19 2016, brian.carpenter@gmail.com wrote:
It appears to be sufficient to expand the assert as below; however I don't know if there's a bug elsewhere that's causing the OP_HSLICE to leak to us in this case - a valid case (such as qr{(?{}){@x{@y}}@y}) has the hash slice expanded before it reaches concat_pat(). I'm guessing Dave would know. Hugo if (oplist) { |
The RT System itself - Status changed from 'new' to 'open' |
From @dur-randirOn Sun, 16 Oct 2016 07:09:15 -0700, hv wrote:
Here is another program that triggers the same assertion, but now with oplist->op_type == OP_CONST: qr!@0{0,{}}(?{{}})@$ ! |
From [Unknown Contact. See original ticket]On Sun, 16 Oct 2016 07:09:15 -0700, hv wrote:
Here is another program that triggers the same assertion, but now with oplist->op_type == OP_CONST: qr!@0{0,{}}(?{{}})@$ ! |
From @geeknikperl -e 'qr/(?{})@0{@0}@0/' also triggers this assertion failure in version perl: regcomp.c:6404: SV *S_concat_pat(RExC_state_t *const, SV *, SV On Sun, Oct 16, 2016 at 9:09 AM, Hugo van der Sanden via RT <
|
Migrated from rt.perl.org#129880 (status was 'open')
Searchable as RT129880$
The text was updated successfully, but these errors were encountered: