New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"die" and "warn" while looping over array slices #8823
Comments
From perlbug@der-pepe.deThis is a bug report for perl from perlbug@der-pepe.de, This script results in a strange error on perl 5.8.8 built for i686-linux. #!/usr/bin/perl my @examples = ( my @do_examples = (0, 1); for my $foo (@examples[@do_examples]) { The output is: Test Eins... Apparently, $foo is set to 1, though it is never written to. The error will disappear if you This couldn't be reproduced on perl 5.8.5. Flags: Site configuration information for perl v5.8.7: Configured by Gentoo at Sat Nov 12 16:50:54 CET 2005. Summary of my perl5 (revision 5 version 8 subversion 7) configuration: Locally applied patches: @INC for perl v5.8.7: Environment for perl v5.8.7: |
From @andk
I can confirm this weird behaviour and I also could run a blame Change 26011 by rgs@marais on 2005/11/05 10:10:09 Subject: Re: A surprising segfault Travelling to the time that was so rich of summaries: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2005-11/msg00193.html A surprising segfault Robin Houston was rather bemused by: % perl -e 'map print(reverse), ("")x68' and wondered why it was happening. Dave Mitchell promptly described segfault How to kill perl http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2005-11/msg00432.html *A Surprising Segfault (continued)* In a followup to last week's http://xrl.us/ifoh -- |
The RT System itself - Status changed from 'new' to 'open' |
From @rgsThat's fixed by change #30513. (Thanks Andreas for helping to find what |
@rgs - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#41716 (status was 'resolved')
Searchable as RT41716$
The text was updated successfully, but these errors were encountered: