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

[perl #117607] (regression?) v5.17.6+ segfaulting on simple (buggy) code

Thread Previous
From:
Tony Cook via RT
Date:
April 26, 2013 02:04
Subject:
[perl #117607] (regression?) v5.17.6+ segfaulting on simple (buggy) code
Message ID:
rt-3.6.HEAD-28177-1366941880-144.117607-15-0@perl.org
On Thu Apr 25 01:29:45 2013, tonyc wrote:
> On Mon Apr 15 04:06:51 2013, davem wrote:
> > On Sun, Apr 14, 2013 at 06:19:56AM -0700, Breno G. de Oliveira wrote:
> > > $ cat Boom.pm
> > > BEGIN {
> > >   $^H |= 0x00000400; # strict vars
> > > }
> > > # Undeclared variable here
> > > sub foo { return $anyvar; }
> > > # Any CORE:: here
> > > sub bar { \&CORE::lc }
> > 
> > It can be reduced slightly further:
> > 
> > 
> >     BEGIN {
> >       $^H |= 0x00000400; # strict vars
> >     }
> >     $anyvar;
> >     &CORE::lc;
> > 
> > Looks like it should be 5.18 blocker.
> 
> Even simpler:
> 
> $foo/; # some syntax error
> \&CORE::lc;
> 
> Pushed a fix to smoke-me/tonyc/core_lc_error

Fix pushed as a92039c3eeab8e70aea3bee8729202a4b052282c, closing.

Tony

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=117607

Thread Previous


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