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

Re: [perl #124368] Perl_sv_2pv_flags: Assertion`((svtype)((sv)->sv_flags & 0xff)) != SVt_PVAV && ((svtype)((sv)->sv_flags &0xff)) != SVt_PVHV && ((svtype)((sv)->sv_flags & 0xff)) != SVt_PVFM' failed

Thread Previous | Thread Next
From:
Dave Mitchell
Date:
April 29, 2015 11:14
Subject:
Re: [perl #124368] Perl_sv_2pv_flags: Assertion`((svtype)((sv)->sv_flags & 0xff)) != SVt_PVAV && ((svtype)((sv)->sv_flags &0xff)) != SVt_PVHV && ((svtype)((sv)->sv_flags & 0xff)) != SVt_PVFM' failed
Message ID:
20150429111430.GN4035@iabyn.com
On Thu, Apr 23, 2015 at 01:57:08PM -0700, Brian Carpenter via RT wrote:
> I minimized the attached test case with afl-tmin from 469 bytes to 50
> bytes, however, the minimized test case didn't cause the assertion
> failure and caused GDB and Valgrind to hang. 

I can't reproduce the failure with the original code (no assertion
failure; valgrind and ASan ok).

> Reduced test case:
> map{s[][]o=~@0,$0[0]>map{0?{s()()}:0}0}<>__END__
> 0

That hangs because the <> is reading from stdin.


-- 
All wight. I will give you one more chance. This time, I want to hear
no Wubens. No Weginalds. No Wudolf the wed-nosed weindeers.
    -- Life of Brian

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