develooper Front page | perl.perl5.porters | Postings from October 2016

[perl #129866] hv.c:355: void *Perl_hv_common(HV *, SV *, const char*, STRLEN, int, int, SV *, U32): Assertion `((svtype)((hv)->sv_flags & 0xff))== SVt_PVHV' failed

From:
Brian Carpenter
Date:
October 13, 2016 06:09
Subject:
[perl #129866] hv.c:355: void *Perl_hv_common(HV *, SV *, const char*, STRLEN, int, int, SV *, U32): Assertion `((svtype)((hv)->sv_flags & 0xff))== SVt_PVHV' failed
Message ID:
rt-4.0.24-19845-1476338934-1012.129866-75-0@perl.org
# New Ticket Created by  Brian Carpenter 
# Please include the string:  [perl #129866]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=129866 >


Triggered in Perl v5.25.6 (v5.25.5-76-g91dca83) with AFL+ASAN.

Odd number of elements in hash assignment at test113 line 1.
Can't locate package IO::Handle for @IO::File::ISA at test113 line 1.
Can't locate package IO::Seekable for @IO::File::ISA at test113 line 1.
Can't locate package IO::Handle for @IO::File::ISA at test113 line 1.
Can't locate package IO::Seekable for @IO::File::ISA at test113 line 1.
Unrecognized escape \m passed through in regex; marked by <-- HERE in
m/;ememee-c¦¦;@:: e; cme;@:: =2A^D= \m <-- HERE ¦9: =^D=
\PPPPPPPPPPPPPPPPPPPPPPPPPPPPPm/ at test113 line 1.
perl: hv.c:355: void *Perl_hv_common(HV *, SV *, const char *, STRLEN, int,
int, SV *, U32): Assertion `((svtype)((hv)->sv_flags & 0xff)) == SVt_PVHV'
failed.
Aborted

The attached doesn't always trigger this assertion failure failure though,
it also returns:

Odd number of elements in hash assignment at test113 line 1.
Can't locate package Exporter for @IO::File::ISA at test113 line 1.
Can't locate package Exporter for @IO::File::ISA at test113 line 1.
Unrecognized escape \m passed through in regex; marked by <-- HERE in
m/;ememee-c¦¦;@:: e; cme;@:: =2A^D= \m <-- HERE ¦9: =^D=
\PPPPPPPPPPPPPPPPPPPPPPPPPPPPPm/ at test113 line 1.
Can't locate utf8.pm in @INC (you may need to install the utf8 module)
(@INC contains: /usr/local/lib/perl5/site_perl/5.25.6/x86_64-linux
/usr/local/lib/perl5/site_perl/5.25.6
/usr/local/lib/perl5/5.25.6/x86_64-linux /usr/local/lib/perl5/5.25.6 .) at
test113 line 1.
BEGIN failed--compilation aborted.

and

Odd number of elements in hash assignment at test113 line 1.
Can't locate package IO::Handle for @IO::File::ISA at test113 line 1.
Can't locate package IO::Seekable for @IO::File::ISA at test113 line 1.
Can't locate package IO::Handle for @IO::File::ISA at test113 line 1.
Can't locate package IO::Seekable for @IO::File::ISA at test113 line 1.
Unrecognized escape \m passed through in regex; marked by <-- HERE in
m/;ememee-c¦¦;@:: e; cme;@:: =2A^D= \m <-- HERE ¦9: =^D=
\PPPPPPPPPPPPPPPPPPPPPPPPPPPPPm/ at test113 line 1.
Can't locate utf8.pm in @INC (you may need to install the utf8 module)
(@INC contains: /usr/local/lib/perl5/site_perl/5.25.6/x86_64-linux
/usr/local/lib/perl5/site_perl/5.25.6
/usr/local/lib/perl5/5.25.6/x86_64-linux /usr/local/lib/perl5/5.25.6 .) at
test113 line 1.
BEGIN failed--compilation aborted.
Can't locate package IO::Handle for @IO::File::ISA during global
destruction.
Can't locate package IO::Seekable for @IO::File::ISA during global
destruction.
Can't locate package Exporter for @IO::File::ISA during global destruction.
Can't locate package IO::Handle for @IO::File::ISA during global
destruction.
Can't locate package IO::Seekable for @IO::File::ISA during global
destruction.
Can't locate package Exporter for @IO::File::ISA during global destruction.

and

Odd number of elements in hash assignment at test113 line 1.
Can't locate package Exporter for @IO::File::ISA at test113 line 1.
Can't locate package Exporter for @IO::File::ISA at test113 line 1.
Unrecognized escape \m passed through in regex; marked by <-- HERE in
m/;ememee-c¦¦;@:: e; cme;@:: =2A^D= \m <-- HERE ¦9: =^D=
\PPPPPPPPPPPPPPPPPPPPPPPPPPPPPm/ at test113 line 1.
Can't locate utf8.pm in @INC (you may need to install the utf8 module)
(@INC contains: /usr/local/lib/perl5/site_perl/5.25.6/x86_64-linux
/usr/local/lib/perl5/site_perl/5.25.6
/usr/local/lib/perl5/5.25.6/x86_64-linux /usr/local/lib/perl5/5.25.6 .) at
test113 line 1.
BEGIN failed--compilation aborted.



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