Front page | perl.perl5.porters |
Postings from September 2014
[perl #122771] Devel::NYTProf causes perl assert failure: function Perl_rpeep, file op.c
Thread Previous
From:
Mark Martinec
Date:
September 12, 2014 15:30
Subject:
[perl #122771] Devel::NYTProf causes perl assert failure: function Perl_rpeep, file op.c
Message ID:
rt-4.0.18-1323-1410535833-1624.122771-75-0@perl.org
# New Ticket Created by Mark Martinec
# Please include the string: [perl #122771]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=122771 >
This is a bug report for perl from Mark.Martinec@ijs.si,
generated with the help of perlbug 1.40 running under perl 5.20.0.
-----------------------------------------------------------------
[Please describe your issue here]
Not sure if the culprit is Devel::NYTProf, or perl 5.20.0 itself.
Using Devel-NYTProf-5.06_80 and perl 5.20.0 compiled
with -DDEBUGGING, one of the Devel-NYTProf self-tests
causes perl to abort on assertion failure:
$ prove t/test25-strevalb.t
Assertion failed: ((kid->op_type == OP_NULL && kid->op_targ == OP_NEXTSTATE)
|| kid->op_type == OP_STUB || kid->op_type == OP_ENTER),
function Perl_rpeep, file op.c, line 12011.
Exit status 6 from /usr/local/bin/perl5.20.0 -d:NYTProf
at t/test25-strevalb.t line 23.
Same with just the offending line from test25-strevalb.t :
$ NYTPROF='use_db_sub=1' perl -d:NYTProf -e 'use Benchmark'
Assertion failed: ((kid->op_type == OP_NULL && kid->op_targ == OP_NEXTSTATE)
|| kid->op_type == OP_STUB || kid->op_type == OP_ENTER),
function Perl_rpeep, file op.c, line 12011.
Abort trap
(wrapped for clarity)
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=core
severity=low
---
Site configuration information for perl 5.20.0:
Configured by root at Mon Jun 16 15:09:13 UTC 2014.
Summary of my perl5 (revision 5 version 20 subversion 0) configuration:
Platform:
osname=freebsd, osvers=10.0-release, archname=amd64-freebsd-thread-multi
uname='freebsd 10amd64-ws-default-job-03 10.0-release freebsd 10.0-release amd64 '
config_args='-sde -Dprefix=/usr/local -Darchlib=/usr/local/lib/perl5/5.20/mach -Dprivlib=/usr/local/lib/perl5/5.20 -Dman3dir=/usr/local/lib/perl5/5.20/perl/man/man3 -Dman1dir=/usr/local/man/man1 -Dsitearch=/usr/local/lib/perl5/site_perl/5.20/mach -Dsitelib=/usr/local/lib/perl5/site_perl/5.20 -Dscriptdir=/usr/local/bin -Dsiteman3dir=/usr/local/lib/perl5/5.20/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dcc=cc -Duseshrplib -Dinc_version_list=none -Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.20/BSDPAN" -Doptimize=-g -DDEBUGGING -Ui_gdbm -Duse64bitint -Dusethreads=y -Dusemymalloc=n'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.20/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include',
optimize='-g',
cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.20/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.2.1 Compatible FreeBSD Clang 3.3 (tags/RELEASE_33/final 183502)', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-pthread -Wl,-E -fstack-protector -L/usr/local/lib'
libpth=/usr/lib /usr/local/lib /usr/include/clang/3.3 /usr/lib
libs=-lm -lcrypt -lutil
perllibs=-lm -lcrypt -lutil
libc=, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-R/usr/local/lib/perl5/5.20/mach/CORE'
cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/lib -fstack-protector'
---
@INC for perl 5.20.0:
/usr/local/lib/perl5/5.20/BSDPAN
/usr/local/lib/perl5/site_perl/5.20/mach
/usr/local/lib/perl5/site_perl/5.20
/usr/local/lib/perl5/5.20/mach
/usr/local/lib/perl5/5.20
.
---
Environment for perl 5.20.0:
HOME=/home/mark
LANG (unset)
LANGUAGE=
LC_ALL=en_US.UTF-8
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/kde4/bin/:/usr/X11R6/bin
PERL_BADLANG (unset)
SHELL=/usr/local/bin/bash
Thread Previous