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 Previous | Thread Next
From:
Hugo van der Sanden via RT
Date:
April 29, 2015 19:07
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-19930-1430334445-1325.124368-15-0@perl.org
On Wed Apr 29 04:14:52 2015, davem wrote:
> I can't reproduce the failure with the original code (no assertion
> failure; valgrind and ASan ok).

I can, with a plain build of blead. Most of the original code is red herrings, I was able to reduce it to this:

% ./miniperl -e '@a = qw{x y}; for (@a) { s{.}{}go =~ @b }'
miniperl: sv.c:2964: 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.
Aborted (core dumped)
% 

Are you able to reproduce it that way? If not I may be able to make some time to dig more over the weekend.

Hugo

---
via perlbug:  queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=124368

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