Skip Menu |
Report information
Id: 133137
Status: open
Priority: 0/
Queue: perl5

Owner: Nobody
Requestors: brian.carpenter [at] gmail.com
Cc:
AdminCc:

Operating System: (no value)
PatchStatus: (no value)
Severity: low
Type: unknown
Perl Version: (no value)
Fixed In: (no value)



Date: Fri, 20 Apr 2018 19:42:21 -0500
Subject: _Bool S_sprintf_is_multiconcatable(): Assertion `!(o->op_flags & OPf_STACKED)' failed (op.c:2533)
From: "Brian C." <brian.carpenter [...] gmail.com>
To: perlbug [...] perl.org
Download (untitled) / with headers
text/plain 338b
This assert was triggered with Perl v5.27.10-134-g2407a17ad5.

./perl -e '0/v$0sprintf$0$0'

Scalar found where operator expected at -e line 1, near "$0$0"
        (Missing operator before $0?)
perl: op.c:2533: _Bool S_sprintf_is_multiconcatable(OP *, struct sprintf_ismc_info *): Assertion `!(o->op_flags & OPf_STACKED)' failed.
Aborted
To: perl5-porters [...] perl.org
From: Dave Mitchell <davem [...] iabyn.com>
Subject: Re: [perl #133137] _Bool S_sprintf_is_multiconcatable(): Assertion `!(o->op_flags & OPf_STACKED)' failed (op.c:2533)
Date: Sat, 21 Apr 2018 16:49:00 +0100
On Fri, Apr 20, 2018 at 05:43:50PM -0700, Brian Carpenter wrote: Show quoted text
> # New Ticket Created by Brian Carpenter > # Please include the string: [perl #133137] > # in the subject line of all future correspondence about this issue. > # <URL: https://rt.perl.org/Ticket/Display.html?id=133137 > > > > This assert was triggered with Perl v5.27.10-134-g2407a17ad5. > > ./perl -e '0/v$0sprintf$0$0' > > Scalar found where operator expected at -e line 1, near "$0$0" > (Missing operator before $0?) > perl: op.c:2533: _Bool S_sprintf_is_multiconcatable(OP *, struct > sprintf_ismc_info *): Assertion `!(o->op_flags & OPf_STACKED)' failed. > Aborted
I think this comes under the category of 'we shouldn't continue parsing when we've encountered a syntax error', which I intend to do sometime in 5.29. -- Music lesson: a symbiotic relationship whereby a pupil's embellishments concerning the amount of practice performed since the last lesson are rewarded with embellishments from the teacher concerning the pupil's progress over the corresponding period.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org