Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-Simple CPAN distribution.

Report information
The Basics
Id: 1362
Status: resolved
Priority: 0/
Queue: Test-Simple

People
Owner: Nobody in particular
Requestors: marek.rouchal [...] infineon.com
mstevens [...] etla.org
Cc:
AdminCc:

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



Subject: the sky is falling
Test::Simple doesn't seem to like threads. Running make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/bad_plan..........ok t/buffer............Invalid value for shared scalar at /root/.cpan/build/Test-Simple-0.46/blib/lib/Test/Builder.pm line 332. t/buffer............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-20 Failed 20/20 tests, 0.00% okay t/Builder...........Invalid value for shared scalar at /root/.cpan/build/Test-Simple-0.46/blib/lib/Test/Builder.pm line 332. Invalid value for shared scalar at /root/.cpan/build/Test-Simple-0.46/blib/lib/Test/Builder.pm line 1301. END failed--call queue aborted. t/Builder...........dubious Test returned status 29 (wstat 7424, 0x1d00) DIED. FAILED tests 1-7 Failed 7/7 tests, 0.00% okay t/curr_test.........ok 2/2Invalid value for shared scalar at /root/.cpan/build/Test-Simple-0.46/blib/lib/Test/Builder.pm line 1069. WHOA! Somehow you got a different number of results than tests ran! This should never happen! Please contact the author immediately! END failed--call queue aborted. t/curr_test.........dubious Test returned status 29 (wstat 7424, 0x1d00) after all the subtests completed successfully t/details...........Invalid value for shared scalar at /root/.cpan/build/Test-Simple-0.46/blib/lib/Test/Builder.pm line 332. Invalid value for shared scalar at /root/.cpan/build/Test-Simple-0.46/blib/lib/Test/Builder.pm line 1301. END failed--call queue aborted. t/details...........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-8 Failed 8/8 tests, 0.00% okay t/diag..............Invalid value for shared scalar at /root/.cpan/build/Test-Simple-0.46/blib/lib/Test/Builder.pm line 332. Invalid value for shared scalar at /root/.cpan/build/Test-Simple-0.46/blib/lib/Test/Builder.pm line 1301. END failed--call queue aborted. t/diag..............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-7 Failed 7/7 tests, 0.00% okay t/exit..............NOK 1Invalid value for shared scalar at ../blib/lib/Test/Builder.pm line 332. Invalid value for shared scalar at ../blib/lib/Test/Builder.pm line 1301. END failed--call queue aborted.
Download perl_v
application/octet-stream 2.1k

Message body not shown because it is not plain text.

Subject: Tests with perl-5.8.0/ithreads fail on Solaris 8 / Sparc
Dist: Test-Simple-0.46 perl -V: Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=solaris, osvers=2.8, archname=sun4-solaris-thread-multi uname='sunos ferrari 5.8 generic_108528-15 sun4u sparc sunw,ultra-60 ' config_args='-Dprefix=/opt/perl_5.8.0 -Dmydomain=.urania.muc.infineon.com -Dcf_email=perl@muc.infineon.com -Dinstallusrbinperl=undef -Dman1dir=/opt/perl_5.8.0/share/man/man1 -Dman3dir=/opt/perl_5.8.0/share/man/man3 -Dperladmin=perl@muc.infineon.com -Dprivlib=/opt/perl_5.8.0/share/lib -Dscriptdir=/opt/perl_5.8.0/share/bin -Dsitelib=/opt/perl_5.8.0/share/lib -Ubincompat5005 -Dglibpth=/usr/lib /usr/ccs/lib -Dpager=less -Dcc=cc -Doptimize=-O -Darchlib=/opt/perl_5.8.0/lib/sun4-solaris-thread-multi -Dsitebin=/opt/perl_5.8.0/bin -Dsitearch=/opt/perl_5.8.0/lib/sun4-solaris-thread-multi -Dlocincpth=/home/hwadm/Perl/TWW/include -Dloclibpth=/home/hwadm/Perl/TWW/lib -Dlibperl=libperlifx.so -Duseshrplib -Dusethreads -des' 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 -I/home/hwadm/Perl/TWW/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O', cppflags='-D_REENTRANT -I/home/hwadm/Perl/TWW/include' ccversion='', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/home/hwadm/Perl/TWW/lib ' libpth=/home/hwadm/Perl/TWW/lib /usr/lib /usr/ccs/lib libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lrt -lpthread -lc perllibs=-lsocket -lnsl -ldl -lm -lrt -lpthread -lc libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperlifx.so gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -R /opt/perl_5.8.0/lib/sun4-solaris-thread-multi/CORE' cccdlflags='-KPIC', lddlflags='-G -L/home/hwadm/Perl/TWW/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under solaris Compiled at Jul 25 2002 15:13:31 @INC: /opt/perl_5.8.0/lib/sun4-solaris-thread-multi /opt/perl_5.8.0/share/lib /opt/perl_5.8.0/lib/sun4-solaris-thread-multi /opt/perl_5.8.0/share/lib /opt/perl_5.8.0/share/lib . OS: uname -a: SunOS ferrari 5.8 Generic_108528-15 sun4u sparc SUNW,Ultra-60 Compiler: Forte 7.0 Almost all tests fail with the message: Invalid value for shared scalar at /home/hwadm/.cpan/build/Test-Simple-0.46/blib/lib/Test/Builder.pm line 332. I found the underlying C code in ext/threads/shared.xs: ... void sharedsv_scalar_store(pTHX_ SV *sv, shared_sv *shared) { dTHXc; bool allowed = TRUE; if (SvROK(sv)) { shared_sv* target = Perl_sharedsv_find(aTHX_ SvRV(sv)); if (target) { SV *tmp; SHARED_CONTEXT; tmp = newRV(SHAREDSvPTR(target)); sv_setsv_nomg(SHAREDSvPTR(shared), tmp); SvREFCNT_dec(tmp); CALLER_CONTEXT; } else { allowed = FALSE; } } else { SvTEMP_off(sv); SHARED_CONTEXT; sv_setsv_nomg(SHAREDSvPTR(shared), sv); CALLER_CONTEXT; } if (!allowed) { Perl_croak(aTHX_ "Invalid value for shared scalar"); } } ... - unfortunately this does not tell me a lot... Let me know if you need any further details. Thanks & best regards, Marek PS I've attached the failure log.
Download U:\tmp\Test-Simple-0.46.log
application/octet-stream 15.7k

Message body not shown because it is not plain text.

I had the same problem. .kai