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

Re: [perl #129893] gv.c:1492: HV *S_gv_stashsvpvn_cached(SV *, constchar *, U32, I32): Assertion `PL_valid_types_IVX[((svtype)((_svivx)->sv_flags& 0xff)) & 0xf]' failed

Thread Previous
From:
Dave Mitchell
Date:
March 27, 2017 11:47
Subject:
Re: [perl #129893] gv.c:1492: HV *S_gv_stashsvpvn_cached(SV *, constchar *, U32, I32): Assertion `PL_valid_types_IVX[((svtype)((_svivx)->sv_flags& 0xff)) & 0xf]' failed
Message ID:
20170327114710.GO3342@iabyn.com
On Fri, Nov 11, 2016 at 06:20:38AM -0800, Hugo van der Sanden via RT wrote:
> Here's a shorter version:
> 
> % echo 'map xx->yy, (@z = 1), (@z = ())' | ./miniperl
> Can't locate object method "yy" via package "xx" (perhaps you forgot to load "xx"?) at - line 1.
> miniperl: gv.c:1500: S_gv_stashsvpvn_cached: Assertion `PL_valid_types_IVX[((svtype)((_svivx)->sv_flags & 0xff)) & 0xf]' failed.
> Aborted (core dumped)
> % 
> 
> I'm pretty sure this is only a stack refcounting issue, but here's the backtrace in case anyone is moved to look further:

It would indeed appear to be. I've linked this ticket to the
"[META] stack not reference counted issues" ticket.

-- 
Never do today what you can put off till tomorrow.

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