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

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

Thread Previous | Thread Next
From:
l.mai@web.de via RT
Date:
April 13, 2017 21:29
Subject:
[perl #131146] infinite loop in compiler with subs (CvOUTSIDE)
Message ID:
rt-4.0.24-6329-1492118934-1014.131146-15-0@perl.org
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.

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

Thread Previous | 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