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

[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 Next
From:
Brian Carpenter via RT
Date:
April 23, 2015 20:57
Subject:
[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:
rt-4.0.18-23267-1429822628-1587.124368-14-0@perl.org
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. 

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

Hexdump:
0000000 616d 7b70 5b73 5b5d 6f5d 7e3d 3040 242c
0000010 5b30 5d30 6d3e 7061 307b 7b3f 2873 2829
0000020 7d29 303a 307d 3c7d 5f3e 455f 444e 5f5f
0000030 300a                                   
0000032


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