develooper Front page | perl.perl5.porters | Postings from April 2017

[perl #131146] infinite loop in compiler with subs (CvOUTSIDE)

Thread Next
From:
l.mai@web.de via RT
Date:
April 13, 2017 22:17
Subject:
[perl #131146] infinite loop in compiler with subs (CvOUTSIDE)
Message ID:
rt-4.0.24-9392-1492121861-358.131146-15-0@perl.org
On Thu, 13 Apr 2017 14:28:53 -0700, mauke- wrote:
> On Thu, 13 Apr 2017 14:19:18 -0700, mauke- wrote:
> > 
> > The following code loops forever (in the compiler):
> > 
> > $ perl -e '\&f2; sub f2 { sub f2; eval "" }'
> > 
> > The loop happens in Perl_pad_tidy because somehow cv == CvOUTSIDE(cv).
> 
> This might be fixed in blead:
> 
> <Zefram> only happened from 5.21.7 to 5.25.4
> 
> I can reproduce it on 5.22 and 5.24, but not 5.20.

I was able to bisect the fix to commit 6da13066b6bca, which means this ticket might be a duplicate of bug #129090.

---
via perlbug:  queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=131146

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About