develooper Front page | perl.perl5.porters | Postings from March 2017

Re: [perl #130337] Perl_sv_pvn_force_flags(SV *const, STRLEN *const,const I32): Assertion `PL_valid_types_PVX[((svtype)((_svpvx)->sv_flags &0xff)) & 0xf]' failed (sv.c:10056)

Thread Previous
From:
Dave Mitchell
Date:
March 27, 2017 16:28
Subject:
Re: [perl #130337] Perl_sv_pvn_force_flags(SV *const, STRLEN *const,const I32): Assertion `PL_valid_types_PVX[((svtype)((_svpvx)->sv_flags &0xff)) & 0xf]' failed (sv.c:10056)
Message ID:
20170327162813.GR3342@iabyn.com
On Mon, Dec 12, 2016 at 11:07:17PM -0800, Brian Carpenter wrote:
> ./perl test575
> Operator or semicolon missing before *T at test575 line 1.
> Ambiguous use of * resolved as operator * at test575 line 1.
> perl: sv.c:10056: char *Perl_sv_pvn_force_flags(SV *const, STRLEN *const,
> const I32): Assertion `PL_valid_types_PVX[((svtype)((_svpvx)->sv_flags &
> 0xff)) & 0xf]' failed.
> Aborted

Can be reduced to:
    map
        1,
        %x = (a => 1, b => undef),
        %x = (Y => 'Z'),

It's another stack-not-refcounted issue.

-- 
The warp engines start playing up a bit, but seem to sort themselves out
after a while without any intervention from boy genius Wesley Crusher.
    -- Things That Never Happen in "Star Trek" #17

Thread Previous


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