develooper Front page | perl.perl5.porters | Postings from August 2010

[perl #77392] [PATCH-TESTS] Add tests for commit 1b0124a7c19a5499714e57a00a3d30b2f2647b1f

Thread Next
From:
Bram
Date:
August 23, 2010 15:02
Subject:
[perl #77392] [PATCH-TESTS] Add tests for commit 1b0124a7c19a5499714e57a00a3d30b2f2647b1f
Message ID:
rt-3.6.HEAD-5116-1282591347-1333.77392-75-0@perl.org
# New Ticket Created by  Bram 
# Please include the string:  [perl #77392]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=77392 >


Attached are tests for commit 1b0124a7c19a5499714e57a00a3d30b2f2647b1f.
The test case is a reduced non-fatal version from the Test::Harness  
test (which failed on Windows).

The minimal (fatal) test case:

#!/usr/bin/perl -l

for my $m ("g", "h") {
         my $foo;
         $foo->{bar} = -k _ ? 0 : "baz";
}
__END__
On windows this resulted in the error: 'Use of freed value in iteration'.
(This error could be reproduced on linux after undefining S_ISVTX.)



Best regards,

Bram


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