develooper Front page | perl.perl5.porters | Postings from August 2001

Re: [ID 20010822.001] Freeing pads after parse error

Thread Previous
Simon Cozens
August 23, 2001 07:47
Re: [ID 20010822.001] Freeing pads after parse error
Message ID:
On Thu, Aug 23, 2001 at 07:43:12AM -0700, Gurusamy Sarathy wrote:
> On Thu, 23 Aug 2001 13:41:28 +0200, Arthur Bergman wrote:
> >01-08-23 13.06, skrev Simon Cozens på följande:
> >
> >> Yes. On error, Perl is unwinding the save stack too many times,
> >> meaning that PL_comppad is at the wrong level. This causes Perl
> >> to try to free an op from an element of PL_comppad that isn't
> >> there any more. Here's a patch.
> >
> >Applied, thanks.
> >
> >Possibly to be picked up for 5.6.2?
> FWIW, I'm not convinced the patch will do the right thing yet,

It doesn't seem to, but I can't find a better way of doing it without
major reworking. Maybe I'm missing something obvious.

But apparently it breaks "use strict" too, so we're back to segfaults
for now. :(

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About