Hi,
nyprofhtml chokes on a file generated by Devel::NYTProf (0.05):
Show quoted text
> nytprofhtml
Generating report...
*** glibc detected *** perl: free(): invalid next size (fast):
0x00000000008843b0 ***
======= Backtrace: =========
/lib64/libc.so.6[0x2afb1b83834e]
/lib64/libc.so.6(__libc_free+0x6c)[0x2afb1b83995c]
/usr/local/lib/perl5/site_perl/5.10.0/x86_64-linux/auto/Devel/NYTProf/NYTProf.so(addline+0xb2)[0x2afb1ba36022]
/usr/local/lib/perl5/site_perl/5.10.0/x86_64-linux/auto/Devel/NYTProf/NYTProf.so(process+0xf6)[0x2afb1ba36c16]
/usr/local/lib/perl5/site_perl/5.10.0/x86_64-linux/auto/Devel/NYTProf/NYTProf.so(XS_Devel__NYTProf__Reader_process+0x7f)[0x2afb1ba36eaf]
perl(Perl_pp_entersub+0x5a2)[0x45e702]
perl(Perl_runops_standard+0xe)[0x45ce9e]
perl(perl_run+0x2be)[0x4595ce]
perl(main+0xb4)[0x41bfc4]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x2afb1b7ea154]
perl(exp+0x101)[0x41be79]
======= Memory map: ========
00400000-00522000 r-xp 00000000 08:03 137460
/usr/local/bin/perl
00622000-00626000 rw-p 00122000 08:03 137460
/usr/local/bin/perl
00626000-00899000 rw-p 00626000 00:00 0
[heap]
2afb1b105000-2afb1b120000 r-xp 00000000 08:03 9995
/lib64/ld-2.4.so
2afb1b120000-2afb1b121000 rw-p 2afb1b120000 00:00 0
2afb1b121000-2afb1b122000 r--p 00000000 08:03 10780
/usr/lib/locale/en_GB.utf8/LC_IDENTIFICATION
2afb1b122000-2afb1b129000 r--s 00000000 08:03 12828
/usr/lib64/gconv/gconv-modules.cache
2afb1b129000-2afb1b12a000 r--p 00000000 08:03 13293
/usr/lib/locale/en_GB.utf8/LC_MEASUREMENT
2afb1b12a000-2afb1b12b000 r--p 00000000 08:03 13161
/usr/lib/locale/en_GB.utf8/LC_TELEPHONE
2afb1b12b000-2afb1b12c000 r--p 00000000 08:03 13089
/usr/lib/locale/en_GB.utf8/LC_ADDRESS
2afb1b12c000-2afb1b12d000 r--p 00000000 08:03 13252
/usr/lib/locale/en_GB.utf8/LC_NAME
2afb1b12d000-2afb1b12e000 r--p 00000000 08:03 13289
/usr/lib/locale/en_GB.utf8/LC_PAPER
2afb1b12e000-2afb1b12f000 r--p 00000000 08:03 13259
/usr/lib/locale/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES
2afb1b12f000-2afb1b130000 r--p 00000000 08:03 13162
/usr/lib/locale/en_GB.utf8/LC_MONETARY
2afb1b13d000-2afb1b13e000 rw-p 2afb1b13d000 00:00 0
2afb1b13e000-2afb1b215000 r--p 00000000 08:03 40145
/usr/lib/locale/en_GB.utf8/LC_COLLATE
2afb1b215000-2afb1b216000 r--p 00000000 08:03 13088
/usr/lib/locale/en_GB.utf8/LC_TIME
2afb1b216000-2afb1b217000 r--p 00000000 08:03 13269
/usr/lib/locale/en_GB.utf8/LC_NUMERIC
2afb1b21f000-2afb1b221000 rw-p 0001a000 08:03 9995
/lib64/ld-2.4.so
2afb1b221000-2afb1b234000 r-xp 00000000 08:03 10013
/lib64/libnsl-2.4.so
2afb1b234000-2afb1b333000 ---p 00013000 08:03 10013
/lib64/libnsl-2.4.so
2afb1b333000-2afb1b335000 rw-p 00012000 08:03 10013
/lib64/libnsl-2.4.so
2afb1b335000-2afb1b337000 rw-p 2afb1b335000 00:00 0
2afb1b337000-2afb1b339000 r-xp 00000000 08:03 10008
/lib64/libdl-2.4.so
2afb1b339000-2afb1b439000 ---p 00002000 08:03 10008
/lib64/libdl-2.4.so
2afb1b439000-2afb1b43b000 rw-p 00002000 08:03 10008
/lib64/libdl-2.4.so
2afb1b43b000-2afb1b48f000 r-xp 00000000 08:03 10010
/lib64/libm-2.4.so
2afb1b48f000-2afb1b58e000 ---p 00054000 08:03 10010
/lib64/libm-2.4.so
2afb1b58e000-2afb1b590000 rw-p 00053000 08:03 10010
/lib64/libm-2.4.so
2afb1b590000-2afb1b591000 rw-p 2afb1b590000 00:00 0
2afb1b591000-2afb1b59a000 r-xp 00000000 08:03 10006
/lib64/libcrypt-2.4.so
2afb1b59a000-2afb1b699000 ---p 00009000 08:03 10006
/lib64/libcrypt-2.4.so
2afb1b699000-2afb1b69c000 rw-p 00008000 08:03 10006
/lib64/libcrypt-2.4.so
2afb1b69c000-2afb1b6ca000 rw-p 2afb1b69c000 00:00 0
2afb1b6ca000-2afb1b6cc000 r-xp 00000000 08:03 10036
/lib64/libutil-2.4.so
2afb1b6cc000-2afb1b7cb000 ---p 00002000 08:03 10036
/lib64/libutil-2.4.so
2afb1b7cb000-2afb1b7cd000 rw-p 00001000 08:03 10036
/lib64/libutil-2.4.so
2afb1b7cd000-2afb1b8f4000 r-xp 00000000 08:03 10002
/lib64/libc-2.4.so
2afb1b8f4000-2afb1b9f4000 ---p 00127000 08:03 10002
/lib64/libc-2.4.so
2afb1b9f4000-2afb1b9f7000 r--p 00127000 08:03 10002
/lib64/libc-2.4.so
2afb1b9f7000-2afb1b9f9000 rw-p 0012a000 08:03 10002
/lib64/libc-2.4.so
2afb1b9f9000-2afb1ba00000 rw-p 2afb1b9f9000 00:00 0
2afb1ba00000-2afb1ba33000 r--p 00000000 08:03 40144
/usr/lib/locale/en_GB.utf8/LC_CTYPE
2afb1ba33000-2afb1ba39000 r-xp 00000000 08:03 212765
/usr/local/lib/perl5/site_perl/5.10.0/x86_64-linux/auto/Devel/NYTProf/NYTProf.so
2afb1ba39000-2afb1bb38000 ---p 00006000 08:03 212765
/usr/local/lib/perl5/site_perl/5.10.0/x86_64-linux/auto/Devel/NYTProf/NYTProf.so
2afb1bb38000-2afb1bb39000 rw-p 00005000 08:03 212765
/usr/local/lib/perl5/site_perl/5.10.0/x86_64-linux/auto/Devel/NYTProf/NYTProf.so
2afb1bb39000-2afb1bb3d000 r-xp 00000000 08:03 195568
/usr/local/lib/perl5/5.10.0/x86_64-linux/auto/File/Glob/Glob.so
2afb1bb3d000-2afb1bc3c000 ---p 00004000 08:03 195568
/usr/local/lib/perl5/5.10.0/x86_64-linux/auto/File/Glob/Glob.so
2afb1bc3c000-2afb1bc3d000 rw-p 00003000 08:03 195568
/usr/local/lib/perl5/5.10.0/x86_64-linux/auto/File/Glob/Glob.so
2afb1bc3d000-2afb1bc3e000 rw-p 2afb1bc3d000 00:00 0
2afb1bd00000-2afb1bd21000 rw-p 2afb1bd00000 00:00 0
2afb1bd21000-2afb1be00000 ---p 2afb1bd21000 00:00 0
2afb1be00000-2afb1be0d000 r-xp 00000000 08:03 14422
/lib64/libgcc_s.so.1
2afb1be0d000-2afb1bf0c000 ---p 0000d000 08:03 14422
/lib64/libgcc_s.so.1
2afb1bf0c000-2afb1bf0d000 rw-p 0000c000 08:03 14422
/lib64/libgcc_s.so.1
7fff8f990000-7fff8f9a5000 rw-p 7fff8f990000 00:00 0
[stack]
ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0
[vdso]
Aborted
Show quoted text> perl -V
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
Platform:
osname=linux, osvers=2.6.16.53-0.16-smp, archname=x86_64-linux
uname='linux app02 2.6.16.53-0.16-smp #1 smp tue oct 2 16:57:49 utc
2007 x86_64 x86_64 x86_64 gnulinux '
config_args='-de'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='4.1.2 20070115 (prerelease) (SUSE Linux)',
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 =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.4.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.4'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
USE_64_BIT_ALL
USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO
Built under linux
Compiled at Jan 9 2008 00:52:44
@INC:
/usr/local/lib/perl5/5.10.0/x86_64-linux
/usr/local/lib/perl5/5.10.0
/usr/local/lib/perl5/site_perl/5.10.0/x86_64-linux
/usr/local/lib/perl5/site_perl/5.10.0
/usr/local/lib/perl5/site_perl
.
Show quoted text> du -h nytprof.out
21M nytprof.out