Subject: | File format error / filename contains strange characters / report possible corruption |
So I ran a test with Devel::NYTProf 2.02 enabled, and when I ran
nytprofhtml I got this:
-----
Generating report...
File format error: token 38 ('&'), line 8682 at
/home/.../deps/lib/perl5/i86pc-solaris-thread-multi//Devel/NYTProf/Data.pm
line 72.
-----
Googling for a bit resulted in this recent conversation:
http://groups.google.com/group/develnytprof-dev/browse_thread/thread/660485f185a69d5/f0754ab87ee039fe?lnk=gst&q=File+format+error#f0754ab87ee039fe
So, I tried installing the SVN trunk, and then when I run the profiling
run, I get this:
-----
$ PERL5OPT=-d:NYTProf prove aggtests/util/data-general.t
aggtests/util/data-general......Fid 6 filename contains strange characters '
' (please report this possible corruption) at
/home/lindsj05/source/pips3/branches/gold_prof/deps/lib/perl5//Test/More.pm
line 896.
-----
And if I now run nytprofhtml (just for reference), this happens:
-----
$ nytprofhtml
Generating report...
File format error: token 29 (''), chunk 8682, pos 65822 at
/home/lindsj05/source/pips3/branches/gold_prof/deps/lib/perl5/i86pc-solaris-thread-multi//Devel/NYTProf/Data.pm
line 74.
-----
Not sure how to report it other than this bug. I attached the
nytprof.out.* files that was generated if that helps.
Perl 5.8.8 on Solaris:
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=solaris, osvers=2.8, archname=i86pc-solaris-thread-multi
uname='sunos thor 5.8 generic_117351-46 i86pc i386 i86pc'
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -xO3 -xarch=386 -xspace -xildoff
-I/opt/csw/bdb44/include -I/opt/csw/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
optimize='-xO3 -xarch=386 -xspace -xildoff',
cppflags='-D_REENTRANT -xO3 -xarch=386 -xspace -xildoff
-I/opt/csw/bdb44/include -I/opt/csw/include'
ccversion='Sun C 5.8 Patch 121016-05 2007/01/10', gccversion='',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-xarch=386 -L/opt/csw/bdb44/lib -L/opt/csw/lib
-L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro/prod/lib -L/lib'
libpth=/usr/lib /usr/ccs/lib /opt/SUNWspro/prod/lib /lib /opt/csw/lib
libs=-lsocket -lnsl -lgdbm -ldb-4.4 -ldl -lm -lpthread -lc
perllibs=-lsocket -lnsl -ldb-4.4 -ldl -lm -lpthread -lc
libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so.5.8.8
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-R
/opt/csw/lib'
cccdlflags='-KPIC', lddlflags='-G -L/opt/csw/bdb44/lib
-L/opt/csw/lib -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro/prod/lib -L/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES
USE_PERLIO USE_REENTRANT_API USE_SITECUSTOMIZE
Built under solaris
Compiled at Mar 16 2007 11:31:22
Subject: | nytprof.out.tgz |
Message body not shown because it is not plain text.