develooper Front page | perl.perl5.porters | Postings from May 2009

[perl #58614] foreach @foo ( @bar ) causes segfault with namespace::clean

From:
Bram via RT
Date:
May 29, 2009 08:56
Subject:
[perl #58614] foreach @foo ( @bar ) causes segfault with namespace::clean
Message ID:
rt-3.6.HEAD-13988-1243533906-1368.58614-15-0@perl.org
On Thu May 28 07:28:55 2009, nicholas wrote:
> Dave notes:
> 
> coredump on bleed, maint. regression since 5.8.8
> I think its the pad-already-freed-ibn yy_stack_clear() issue

Binary search:

Running the prog '/tmp/rt-58614/script.pl' for installed-perls/perl/
p9sdLdP/perl-5.9.4@29542/bin/perl and installed-perls/perl/pbRb9Qz/perl-
5.9.4@29543/bin/perl
----Program----
    #!/usr/bin/perl
    use lib qw#/tmp/rt-58614/#;


    use F1;

    sub bar {
        my ($x,$y);
        for my @e ( @args ) { }
    }

----Output of .../p9sdLdP/perl-5.9.4@29542/bin/perl----
Missing $ on loop variable at /tmp/rt-58614/script.pl line 9.

----EOF ($?='65280')----
----Output of .../pbRb9Qz/perl-5.9.4@29543/bin/perl----
Missing $ on loop variable at /tmp/rt-58614/script.pl line 9.

----EOF ($?='11')----


http://public.activestate.com/cgi-bin/perlbrowse/p/29543
Change 29543 by davem@davem-monkey on 2006/12/13 01:47:34

	fix parser leaks caused by croaking while shifting or reducing
	e.g. these no longer leak:
	    eval q[my $x; local $x] while 1;
	    eval q[$s = sub <> {}]  while 1;




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