Skip Menu |

This queue is for tickets about the Imager CPAN distribution.

Report information
The Basics
Id: 78575
Status: resolved
Priority: 40/
Queue: Imager

People
Owner: Nobody in particular
Requestors: myra.nelson [...] hughes.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.91
Fixed in: (no value)



Subject: 99thread.t test failure test out of sequence
Imager-0.91 Summary of my perl5 (revision 5 version 16 subversion 0), see attached file for full info. Linux gandalf 3.5.0-1-ARCH #1 SMP PREEMPT Sun Jul 22 12:53:41 CEST 2012 x86_64 GNU/Linux When running the test suite t/99thread.t fails with the following error [myra@gandalf ../imager/src/Imager-0.91]:prove -lvb --merge t/t99thread.t t/t99thread.t .. TAP version 13 1..11 ok 1 - join first thread ok 2 - made the color ok 3 - made the float color ok 4 - made the hlines ok 5 - made the io ok 6 # SKIP No TT font support ok 7 - made ft2 font ok 8 - made the fill ok 9 - the low level image object should be undef ok 9 - join second thread ok 10 - but the object should be fine in the main thread # 11 tests planned, but 10 ran. Dubious, test returned 255 (wstat 65280, 0xff00) All 11 subtests passed (less 1 skipped subtest: 10 okay) Test Summary Report ------------------- t/t99thread.t (Wstat: 65280 Tests: 11 Failed: 0) Non-zero exit status: 255 Parse errors: Tests out of sequence. Found (9) but expected (10) Tests out of sequence. Found (10) but expected (11) Files=1, Tests=11, 0 wallclock secs ( 0.05 usr 0.00 sys + 0.21 cusr 0.01 csys = 0.27 CPU) Result: FAIL The tests pass but as you can see the join thread test doesn't get counted properly. Since the tests pass this shouldn't have any effect except during the installation. It will take me some time to sort out threading as I've never worked with it before. Myar
Subject: sysinfo.txt
Summary of my perl5 (revision 5 version 16 subversion 0) configuration: Platform: osname=linux, osvers=3.4.0-1-arch, archname=x86_64-linux-thread-multi uname='linux marin 3.4.0-1-arch #1 smp preempt mon may 21 10:10:13 cest 2012 x86_64 gnulinux ' config_args='-des -Dusethreads -Duseshrplib -Doptimize=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Dprefix=/usr -Dinstallprefix=/usr -Dvendorprefix=/usr -Dprivlib=/usr/share/perl5/core_perl -Darchlib=/usr/lib/perl5/core_perl -Dsitelib=/usr/share/perl5/site_perl -Dsitearch=/usr/lib/perl5/site_perl -Dvendorlib=/usr/share/perl5/vendor_perl -Dvendorarch=/usr/lib/perl5/vendor_perl -Dscriptdir=/usr/bin/core_perl -Dsitescript=/usr/bin/site_perl -Dvendorscript=/usr/bin/vendor_perl -Dinc_version_list=none -Dman1ext=1perl -Dman3ext=3perl -Dcccdlflags='-fPIC' -Dlddlflags=-shared -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -Dldflags=-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2', cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.7.0 20120505 (prerelease)', 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 ='-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /lib/../lib /usr/lib/../lib /lib /usr/lib libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.15.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.15' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/core_perl/CORE' cccdlflags='-fPIC', lddlflags='-shared -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -L/usr/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Built under linux Compiled at May 24 2012 11:54:13 %ENV: PERL5LIB="" PERLBREW_BASHRC_VERSION="0.46" PERLBREW_HOME="/home/myra/.perlbrew" PERLBREW_LIB="" PERLBREW_MANPATH="" PERLBREW_PATH="/home/myra/perl5/perlbrew/bin" PERLBREW_PERL="" PERLBREW_ROOT="/home/myra/perl5/perlbrew" PERLBREW_VERSION="0.46" PERL_LOCAL_LIB_ROOT="" PERL_MB_OPT="" PERL_MM_OPT="" @INC: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl
On Wed Jul 25 19:36:33 2012, myra.nelson@hughes.net wrote: Show quoted text
> [myra@gandalf ../imager/src/Imager-0.91]:prove -lvb --merge t/t99thread.t > t/t99thread.t .. > TAP version 13 > 1..11 > ok 1 - join first thread > ok 2 - made the color > ok 3 - made the float color > ok 4 - made the hlines > ok 5 - made the io > ok 6 # SKIP No TT font support > ok 7 - made ft2 font > ok 8 - made the fill > ok 9 - the low level image object should be undef > ok 9 - join second thread > ok 10 - but the object should be fine in the main thread > # 11 tests planned, but 10 ran. > Dubious, test returned 255 (wstat 65280, 0xff00) > All 11 subtests passed > (less 1 skipped subtest: 10 okay)
I suspected a bug in the beta Test-Simple, which I suspect you have installed, but installing 5.16.0 here and running: perl -Mblib -Mblib=/home/tony/src/Test-Simple-1.005000_005 t/t99thread.t passed. Tony