I’ve a new release of NYTProf ready to upload but I’m stuck.
The CPAN Testers service is reporting a failure on a number of systems but I can’t reproduce it locally or work out the cause.
Can you reproduce the failure with Devel::NYTProf 2.07_94? If so, could you give me remote access via ssh? (Or spare some time to investigate yourself – I’ll happily clue you in if you can reproduce the problem.)
Update: No one could reproduce it. It seems that the failures was not what it appeared to be. A clue was that only one tester was affected. Devel-NYTProf-2.07_94.tar.gz unpacked itself into a directory called Devel-NYTProf-2.07. It seems that when using CPANPLUS if the user had already got an old Devel-NYTProf-2.07 directory its contents got merged and tests would fail. I’m not convinced that’s the whole story, but Devel-NYTProf-2.07_95.tar.gz unpacked into a Devel-NYTProf-2.07_95 directory and didn’t run into the problem.
Update: More usefully, Andreas made my wish come true by pointing out the –solve parameter to the ctgetreports utility in his CPAN::Testers::ParseReports distribution. It “tries to identify the best contenders for a blame using Statistics::Regression. […] The function prints the […] top 3 candidates according to R^2 with their regression analysis.” Cool.
Hi Tim,
just installed latest NYTProf and get many Segmentation Faults (latest Ubuntu). If you want, you can shh to my machine (write to my email).
Greetings,
Hermann Behrens
I’m getting errors from Devel-NYTProf-2.07_94. I can give you an SSH account, just go ahead and shoot an email to my cpan.org email. My CPAN id is DCOLLINS.
All failures seem to come from multi-threaded builds, it has to be related to that. Strangely, it not all multi-threaded builds fail. There has to be an other factor but I haven’t figure out yet what it is.
All FAILs seem to occur with this specific perl configuration
usethreads=define
use64bitint=define
use64bitall=undef
Leon, those settings might be necessary but they’re not sufficient. One of my test perl builds has those settings and NYTProf works fine.
For example, compare these two:
PASS: http://www.nntp.perl.org/group/perl.cpan.testers/2009/01/msg3151674.html
FAIL: http://www.nntp.perl.org/group/perl.cpan.testers/2009/01/msg3136660.html
@@ -3,2 +3,2 @@
- osname=linux, osvers=2.6.21.5-smp, archname=i686-linux-thread-multi-64int-ld
- uname='linux penguin 2.6.21.5-smp #2 smp tue jun 19 14:58:11 cdt 2007 i686 amd athlon(tm) 64 processor 3000+ authenticamd gnulinux '
+ osname=linux, osvers=2.6.16.38, archname=i686-linux-thread-multi-64int-ld
+ uname='linux scratch 2.6.16.38 #1 preempt thu feb 22 16:04:10 gmt 2007 i686 athlon-4 i386 gnulinux '
@@ -15 +15 @@
- ccversion='', gccversion='4.1.2', gccosandvers=''
+ ccversion='', gccversion='4.0.3', gccosandvers=''
@@ -25,2 +25,2 @@
- libc=/lib/libc-2.5.so, so=so, useshrplib=false, libperl=libperl.a
- gnulibc_version='2.5'
+ libc=/lib/libc-2.3.6.so, so=so, useshrplib=false, libperl=libperl.a
+ gnulibc_version='2.3.6'