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_setsv_flags: Assertion `((svtype)((_gvgp)->sv_flags & 0xff)) == SVt_PVGV || ((svtype)((_gvgp)->sv_flags & 0xff)) == SVt_PVLV' failed (sv.c:4569) #15655

Closed
p5pRT opened this issue Oct 13, 2016 · 8 comments

Comments

@p5pRT
Copy link

p5pRT commented Oct 13, 2016

Migrated from rt.perl.org#129869 (status was 'resolved')

Searchable as RT129869$

@p5pRT
Copy link
Author

p5pRT commented Oct 13, 2016

From @geeknik

Triggered in Perl v5.25.6 (v5.25.5-76-g91dca83) with AFL+ASAN but it fails
the same way in non-ASAN builds.

./perl -e '%​::=0;@​0=*0=*​::​::=​::'

perl​: sv.c​:4569​: Perl_sv_setsv_flags​: Assertion
`((svtype)((_gvgp)->sv_flags & 0xff)) == SVt_PVGV ||
((svtype)((_gvgp)->sv_flags & 0xff)) == SVt_PVLV' failed.
Aborted

@p5pRT
Copy link
Author

p5pRT commented Jan 22, 2017

From zefram@fysh.org

Brian Carpenter wrote​:

./perl -e '%​::=0;@​0=*0=*​::​::=​::'

Reduces to '%​::=();*z=​::'. The assertion comes from glob assignment code,
where the coercion of the rhs to a GV surprisingly returns an undef.

-zefram

@p5pRT
Copy link
Author

p5pRT commented Jan 22, 2017

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

@p5pRT
Copy link
Author

p5pRT commented Jan 22, 2017

From zefram@fysh.org

Further conceptually reduces to​:

$ perl -MDevel​::Peek=Dump -e '%​::=(); Dump *{"​::"}'
SV = NULL(0x0) at 0x2401988
  REFCNT = 1
  FLAGS = ()

-zefram

@p5pRT
Copy link
Author

p5pRT commented Jan 22, 2017

From zefram@fysh.org

Fixed in 120921a.

-zefram

@p5pRT
Copy link
Author

p5pRT commented Jan 23, 2017

@iabyn - Status changed from 'open' to 'pending release'

@p5pRT
Copy link
Author

p5pRT commented May 30, 2017

From @khwilliamson

Thank you for filing this report. You have helped make Perl better.

With the release today of Perl 5.26.0, this and 210 other issues have been
resolved.

Perl 5.26.0 may be downloaded via​:
https://metacpan.org/release/XSAWYERX/perl-5.26.0

If you find that the problem persists, feel free to reopen this ticket.

@p5pRT
Copy link
Author

p5pRT commented May 30, 2017

@khwilliamson - Status changed from 'pending release' to 'resolved'

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

1 participant