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

[perl #129068] SV *Perl_cv_const_sv_or_av(const CV *const):Assertion `((svtype)((cv)->sv_flags & 0xff)) == SVt_PVCV ||((svtype)((cv)->sv_flags & 0xff)) == SVt_PVFM' failed (op.c:7926)

Thread Next
From:
Brian Carpenter
Date:
August 24, 2016 17:29
Subject:
[perl #129068] SV *Perl_cv_const_sv_or_av(const CV *const):Assertion `((svtype)((cv)->sv_flags & 0xff)) == SVt_PVCV ||((svtype)((cv)->sv_flags & 0xff)) == SVt_PVFM' failed (op.c:7926)
Message ID:
rt-4.0.24-9943-1472059762-1775.129068-75-0@perl.org
# New Ticket Created by  Brian Carpenter 
# Please include the string:  [perl #129068]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=129068 >


v5.25.4-5-g92d73bf

./perl -e 'my __PACKAGE__(&p0000;0;p0000'

perl: op.c:7926: Perl_cv_const_sv_or_av: Assertion `((svtype)((cv)->sv_flags & 0xff)) == SVt_PVCV || ((svtype)((cv)->sv_flags & 0xff)) == SVt_PVFM' failed.

Program received signal SIGABRT, Aborted.
0x00007ffff6cf2067 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007ffff6cf2067 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff6cf3448 in __GI_abort () at abort.c:89
#2  0x00007ffff6ceb266 in __assert_fail_base (fmt=0x7ffff6e24238 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
    assertion=assertion@entry=0x6023e8 "((svtype)((cv)->sv_flags & 0xff)) == SVt_PVCV || ((svtype)((cv)->sv_flags & 0xff)) == SVt_PVFM",
    file=file@entry=0x6c0ae2 "op.c", line=line@entry=7926,
    function=function@entry=0x6157b0 <__PRETTY_FUNCTION__.18188> "Perl_cv_const_sv_or_av") at assert.c:92
#3  0x00007ffff6ceb312 in __GI___assert_fail (
    assertion=assertion@entry=0x6023e8 "((svtype)((cv)->sv_flags & 0xff)) == SVt_PVCV || ((svtype)((cv)->sv_flags & 0xff)) == SVt_PVFM",
    file=file@entry=0x6c0ae2 "op.c", line=line@entry=7926,
    function=function@entry=0x6157b0 <__PRETTY_FUNCTION__.18188> "Perl_cv_const_sv_or_av") at assert.c:101
#4  0x0000000000426f1d in Perl_cv_const_sv_or_av (cv=<optimized out>) at op.c:7926
#5  0x0000000000476323 in Perl_yylex () at toke.c:7154
#6  0x000000000048a223 in Perl_yyparse (gramtype=103) at perly.c:334
#7  0x0000000000450cc8 in S_parse_body (env=env@entry=0x0, xsinit=xsinit@entry=0x421940 <xs_init>) at perl.c:2373
#8  0x000000000045285d in perl_parse (my_perl=<optimized out>, xsinit=xsinit@entry=0x421940 <xs_init>, argc=3, argv=0x7fffffffe6a8,
    env=env@entry=0x0) at perl.c:1689
#9  0x00000000004217b0 in main (argc=3, argv=0x7fffffffe6a8, env=0x7fffffffe6c8) at perlmain.c:121


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