Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion `PL_valid_types_PVX[SvTYPE(_svpvx) & SVt_MASK]' failed #17169

Open
p5pRT opened this issue Oct 3, 2019 · 3 comments
Open

Assertion `PL_valid_types_PVX[SvTYPE(_svpvx) & SVt_MASK]' failed #17169

p5pRT opened this issue Oct 3, 2019 · 3 comments

Comments

@p5pRT
Copy link

p5pRT commented Oct 3, 2019

Migrated from rt.perl.org#134474 (status was 'new')

Searchable as RT134474$

@p5pRT
Copy link
Author

p5pRT commented Oct 3, 2019

From geeknik@protonmail.ch

While fuzzing Perl v5.31.4-273-ge55ec39201 compiled with Clang 10 and UBSan, the following assertion failure was observed.

./perl -e 'map2,map$$_[$_],@V_=nmap2,map$$A[$_],@V_=neeee'

perl: pp_hot.c:5387: SV *Perl_vivify_ref(SV *, U32): Assertion `PL_valid_types_PVX[SvTYPE(_svpvx) & SVt_MASK]' failed.
Aborted

@dur-randir
Copy link
Member

Looks like stack-not-refcounted for me.

@jkeenan
Copy link
Contributor

jkeenan commented Apr 29, 2020

Failure confirmed on blead on Linux:

$ git describe
v5.31.11-7-gf50fa03b75
$ sh ./Configure -des -Dusedevel -DDEBUGGING -Dcc=clang && make
$ ./perl -e 'map2,map$$_[$_],@V_=nmap2,map$$A[$_],@V_=neeee'
perl: pp_hot.c:5433: SV *Perl_vivify_ref(SV *, U32): Assertion `PL_valid_types_PVX[SvTYPE(_svpvx) & SVt_MASK]' failed.
Aborted (core dumped)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants