Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the devel-nytprof CPAN distribution.

Report information
The Basics
Id: 53288
Status: resolved
Priority: 0/
Queue: devel-nytprof

People
Owner: Nobody in particular
Requestors: adamk [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 3.01
Fixed in: (no value)



Subject: New Devel::NYTProf fails to pass tests on Windows
The new version 3 of NYTProf fails on Windows.

It fails the test suite on Strawberry, and fails differently on ActivePerl with make issues.

We encourage the testing of important modules like NYTProf on Windows before being released.

If you do not have access to a Windows machine for testing, we can provide you free access to a complete set of Windows virtual machines, courtesy of Microsoft's CPAN Testing Laboratory.

You can email me, or find us in irc.perl.org #msopensource to get access.

The http://www.nntp.perl.org/group/perl.cpan.testers/2009/12/msg6602626.html
failure doesn't look like a problem with NYTProf.

The second http://www.nntp.perl.org/group/perl.cpan.testers/2009/12/msg6603296.html failure isn't windows specific (eg http://www.nntp.perl.org/group/perl.cpan.testers/2009/12/msg6580843.html) I'm not sure about the first.

I haven't used a windows machine in years and, for better or worse, don't have the time to even think about it. I appreciate that Windows is an important platform, but it's not my itch to scratch. I'll happily, and actively, support anyone willing to put in the work.

Meanwhile I rely on cpan-testers, but there is relatively little testing on windows. v2.11_949 (just prior to v3) passed on 5.11.2 so I figured it was safe enough.

[It's worth noting that the timer resolution on windows is *very* poor so NYTProf results should be taken with a large pinch of salt.]
[Ignore the "timer resolution on windows" footnote. It's not that bad, just subject to resyncs with wallclocktime. Ive added a note to NYTProf docs about it.]
Download (untitled) / with headers
text/plain 141b
I surprising have some time and will be looking into NYTProf for work next week anyways so I'll try to bash through this on Windows as well.
Subject: Re: [rt.cpan.org #53288] New Devel::NYTProf fails to pass tests on Windows
Date: Mon, 1 Feb 2010 11:03:54 +0000
To: Steve Peters via RT <bug-devel-nytprof [...] rt.cpan.org>
From: Tim Bunce <Tim.Bunce [...] pobox.com>
Download (untitled) / with headers
text/plain 233b
On Sun, Jan 31, 2010 at 09:12:39AM -0500, Steve Peters via RT wrote: Show quoted text
> > I surprising have some time and will be looking into NYTProf for work > next week anyways so I'll try to bash through this on Windows as well.
Thanks Steve!
I'm going to close this now. Please retest with 3.01_91 which I've just uploaded to cpan.
Download (untitled) / with headers
text/plain 4.5k
This continues to fail t/42-global.t .......... 1/273 # Failed test 'should be 3 subs (got main::BEGIN@0 main::BEGIN@3 main::RUNTIME main::foo)' # at t/42-global.t line 37. # got: '4' # expected: '3' # Failed test 'should be 3 subs' # at t/42-global.t line 56. # got: '4' # expected: '3' # Failed test 'should be 3 subs (got main::BEGIN@0 main::BEGIN@3 main::RUNTIME main::foo)' # at t/42-global.t line 37. # got: '4' # expected: '3' # Failed test 'should be 3 subs' # at t/42-global.t line 56. # got: '4' # expected: '3' # Failed test 'should be 3 subs (got main::BEGIN@0 main::BEGIN@3 main::RUNTIME main::foo)' # at t/42-global.t line 37. # got: '4' # expected: '3' # Failed test 'should be 3 subs' # at t/42-global.t line 56. # got: '4' # expected: '3' t/42-global.t .......... 46/273 # Failed test 'should be 3 subs (got main::BEGIN@0 main::BEGIN@3 main::RUNTIME main::foo)' # at t/42-global.t line 37. # got: '4' # expected: '3' # Failed test 'should be 3 subs' # at t/42-global.t line 56. # got: '4' # expected: '3' # Failed test 'should be 3 subs (got main::BEGIN@0 main::BEGIN@3 main::RUNTIME main::foo)' # at t/42-global.t line 37. # got: '4' # expected: '3' # Failed test 'should be 3 subs' # at t/42-global.t line 56. # got: '4' # expected: '3' # Failed test 'should be 3 subs (got main::BEGIN@0 main::BEGIN@3 main::RUNTIME main::foo)' # at t/42-global.t line 37. # got: '4' # expected: '3' # Failed test 'should be 3 subs' # at t/42-global.t line 56. # got: '4' # expected: '3' # Failed test 'should be 3 subs (got main::BEGIN@0 main::BEGIN@3 main::RUNTIME main::foo)' # at t/42-global.t line 37. # got: '4' # expected: '3' # Failed test 'should be 3 subs' # at t/42-global.t line 56. # got: '4' # expected: '3' # Failed test 'should be 3 subs (got main::BEGIN@0 main::BEGIN@3 main::RUNTIME main::foo)' # at t/42-global.t line 37. # got: '4' # expected: '3' # Failed test 'should be 3 subs' # at t/42-global.t line 56. # got: '4' # expected: '3' # Failed test 'should be 3 subs (got main::BEGIN@0 main::BEGIN@3 main::RUNTIME main::foo)' # at t/42-global.t line 37. # got: '4' # expected: '3' # Failed test 'should be 3 subs' # at t/42-global.t line 56. # got: '4' # expected: '3' # Failed test 'should be 3 subs (got main::BEGIN@0 main::BEGIN@3 main::RUNTIME main::foo)' # at t/42-global.t line 37. # got: '4' # expected: '3' # Failed test 'should be 3 subs' # at t/42-global.t line 56. # got: '4' # expected: '3' # Failed test 'should be 3 subs (got main::BEGIN@0 main::BEGIN@3 main::RUNTIME main::foo)' # at t/42-global.t line 37. # got: '4' # expected: '3' # Failed test 'should be 3 subs' # at t/42-global.t line 56. # got: '4' # expected: '3' # Failed test 'should be 3 subs (got main::BEGIN@0 main::BEGIN@3 main::RUNTIME main::foo)' # at t/42-global.t line 37. # got: '4' # expected: '3' # Failed test 'should be 3 subs' # at t/42-global.t line 56. # got: '4' # expected: '3' # Failed test 'should be 3 subs (got main::BEGIN@0 main::BEGIN@3 main::RUNTIME main::foo)' # at t/42-global.t line 37. # got: '4' # expected: '3' # Failed test 'should be 3 subs' # at t/42-global.t line 56. # got: '4' # expected: '3' # Failed test 'should be 3 subs (got main::BEGIN@0 main::BEGIN@3 main::RUNTIME main::foo)' # at t/42-global.t line 37. # got: '4' # expected: '3' # Failed test 'should be 3 subs' # at t/42-global.t line 56. # got: '4' # expected: '3' # Failed test 'should be 3 subs (got main::BEGIN@0 main::BEGIN@3 main::RUNTIME main::foo)' # at t/42-global.t line 37. # got: '4' # expected: '3' # Failed test 'should be 3 subs' # at t/42-global.t line 56. # got: '4' # expected: '3' # Failed test 'should be 3 subs (got main::BEGIN@0 main::BEGIN@3 main::RUNTIME main::foo)' # at t/42-global.t line 37. # got: '4' # expected: '3' # Failed test 'should be 3 subs' # at t/42-global.t line 56. # got: '4' # expected: '3' # Looks like you failed 32 tests of 273. t/42-global.t .......... Dubious, test returned 32 (wstat 8192, 0x2000) On Sat Feb 20 11:55:12 2010, TIMB wrote: Show quoted text
> I'm going to close this now. Please retest with 3.01_91 which I've > just uploaded to cpan.
Subject: Re: [rt.cpan.org #53288] New Devel::NYTProf fails to pass tests on Windows
Date: Sun, 21 Feb 2010 10:23:18 +0000
To: Adam Kennedy via RT <bug-devel-nytprof [...] rt.cpan.org>
From: Tim Bunce <Tim.Bunce [...] pobox.com>
Thanks. What's your "perl -V"? Tim.
CC: adamk [...] cpan.org
Subject: Re: [rt.cpan.org #53288] New Devel::NYTProf fails to pass tests on Windows
Date: Mon, 22 Feb 2010 10:23:54 +1100
To: bug-devel-nytprof [...] rt.cpan.org
From: Adam Kennedy <adamkennedybackup [...] gmail.com>
Download (untitled) / with headers
text/plain 2.4k
C:\Users\Adam>perl -V Summary of my perl5 (revision 5 version 10 subversion 1) configuration: Platform: osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread uname='Win32 strawberryperl 5.10.1.1 #1 1264655466 i386' config_args='undef' hint=recommended, useposix=true, d_sigaction=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='gcc', ccflags =' -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSV RT_READFIX', optimize='-s -O2', cppflags='-DWIN32' ccversion='', gccversion='3.4.5', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='long long', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++', ldflags ='-s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib"' libpth=C:\strawberry\c\lib libs= -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -l ersion -lodbc32 -lodbccp32 perllibs= -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinm -lversion -lodbc32 -lodbccp32 libc=, so=dll, useshrplib=true, libperl=libperl510.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib"' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_SITECUSTOMIZE Built under MSWin32 Compiled at Jan 27 2010 23:29:51 @INC: C:/strawberry/perl/lib C:/strawberry/perl/site/lib C:\strawberry\perl\vendor\lib . C:\Users\Adam> On 21 February 2010 21:24, Tim Bunce via RT <bug-devel-nytprof@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=53288 > > > Thanks. What's your "perl -V"? > > Tim. > >
Subject: Re: [rt.cpan.org #53288] New Devel::NYTProf fails to pass tests on Windows
Date: Mon, 22 Feb 2010 10:10:00 +0000
To: Reserved Local Account via RT <bug-devel-nytprof [...] rt.cpan.org>
From: Tim Bunce <Tim.Bunce [...] pobox.com>
Download (untitled) / with headers
text/plain 384b
I can't reproduce it locally (using a similar 5.10.1 config, but on OS X). And there are no cpantesters reports for MSWin32 to correlate with. I've just uploaded Devel-NYTProf-3.01_92.tar.gz Assuming you can reproduce it with that (which is very probable) please install that version then send me the output of: NYTPROF=trace=9:stmts=0 perl -d:NYTProf -x t/42-global.t Thanks!
Fixed for next release.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.