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

Perl_sv_setnv: Assertion `PL_valid_types_NV_set[((svtype)((sv)->sv_flags & 0xff)) & 0xf]' failed. #15283

Open
p5pRT opened this issue Apr 19, 2016 · 7 comments

Comments

@p5pRT
Copy link

p5pRT commented Apr 19, 2016

Migrated from rt.perl.org#127934 (status was 'open')

Searchable as RT127934$

@p5pRT
Copy link
Author

p5pRT commented Apr 19, 2016

From @geeknik

While fuzzing Perl v5.24.0-RC1-2-gde1d2c7 with American Fuzzy Lop, I found that perl -e '$**=@​0=**=@​*=0' triggers Perl_sv_setnv​: Assertion `PL_valid_types_NV_set[((svtype)((sv)->sv_flags & 0xff)) & 0xf]' failed. Perl 5.14.2 returns $* is no longer supported at -e line 1.

@p5pRT
Copy link
Author

p5pRT commented Apr 19, 2016

From zefram@fysh.org

Brian Carpenter wrote​:

perl -e '$**=@​0=**=@​*=0' triggers Perl_sv_setnv​: Assertion `PL_valid_types_NV_set[((svtype)((sv)->sv_flags & 0xff)) & 0xf]' failed.

This reduces to

  perl -e '$z *= *z=0'

which looks like the nonsensical glob assignment is undermining the
scalar that is to be mutated. This only happens if the glob assignment
happens inside the rhs of a modifying assignment.

-zefram

@p5pRT
Copy link
Author

p5pRT commented Apr 19, 2016

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Jun 21, 2016

From @geeknik

Just ran into this issue again while fuzzing v5.25.1-152-g81b22c1.

@p5pRT
Copy link
Author

p5pRT commented Jun 21, 2016

From [Unknown Contact. See original ticket]

Just ran into this issue again while fuzzing v5.25.1-152-g81b22c1.

@p5pRT
Copy link
Author

p5pRT commented Aug 22, 2016

From @geeknik

Ran into this again while fuzzing v5.25.5 (v5.25.4-5-g92d73bf).

@p5pRT
Copy link
Author

p5pRT commented Aug 22, 2016

From [Unknown Contact. See original ticket]

Ran into this again while fuzzing v5.25.5 (v5.25.4-5-g92d73bf).

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

No branches or pull requests

2 participants