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: 17791
Status: resolved
Priority: 0/
Queue: Test-Simple

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

Bug Information
Severity: (no value)
Broken in: 0.62
Fixed in: (no value)



Subject: t/sort_bug.t fails on CentOS 4
Hi! Despite comments in the .t file, I could only make t/sort_bug.t pass by commenting out both eq_set and eq_array. Since I have 0 interest in working threads, I have 0 knowledge about how to improve this situation. Let me know if I can assist in some way. Regards, Rhesa This is perl, v5.8.5 built for i386-linux-thread-multi Linux reptiel 2.6.9-22.0.1.EL #1 Thu Oct 27 12:26:11 CDT 2005 i686 i686 i386 GNU/Linux (aka CentOS 4)
Subject: Intermittent failures in t/sort_bug.t
Hi, I'm getting intermittent bus errors & segmentation faults in t/sort_bug.t. I'm using the stock perl 5.8.6 on Mac OS X 10.4.9 (8P2137) (all Sofware Updater updates applied). I'll probably just install anyway as it looks like a testing problem rather than a module problem. -Ken [u0048513-mac:~/.cpan/build/Test-Simple-0.70] % perl -Mblib t/sort_bug.t 1..2 # parent 13466: continue # kid 1 before eq_set # parent 13466: continue # parent 13466: waiting for join # kid 2 before eq_set Bus error [u0048513-mac:~/.cpan/build/Test-Simple-0.70] % perl -Mblib t/sort_bug.t 1..2 # parent 13469: continue # kid 1 before eq_set # parent 13469: continue # parent 13469: waiting for join # kid 2 before eq_set # kid 1 exit ok 1 - threads exit status is 42 # parent 13469: waiting for join # kid 2 exit ok 2 - threads exit status is 42 [u0048513-mac:~/.cpan/build/Test-Simple-0.70] % perl -Mblib t/sort_bug.t 1..2 # kid 1 before eq_set # parent 13471: continue # parent 13471: continue # parent 13471: waiting for join # kid 2 before eq_set # kid 1 exit ok 1 - threads exit status is 42 # parent 13471: waiting for join # kid 2 exit ok 2 - threads exit status is 42 [u0048513-mac:~/.cpan/build/Test-Simple-0.70] % perl -Mblib t/sort_bug.t 1..2 # kid 1 before eq_set # parent 13472: continue # parent 13472: continue # parent 13472: waiting for join # kid 2 before eq_set # kid 1 exit ok 1 - threads exit status is 42 # parent 13472: waiting for join # kid 2 exit ok 2 - threads exit status is 42 [u0048513-mac:~/.cpan/build/Test-Simple-0.70] % perl -Mblib t/sort_bug.t 1..2 # kid 1 before eq_set # parent 13473: continue # parent 13473: continue # parent 13473: waiting for join # kid 2 before eq_set Segmentation fault -Ken Summary of my perl5 (revision 5 version 8 subversion 6) configuration: Platform: osname=darwin, osvers=8.0, archname=darwin-thread-multi-2level uname='darwin b19.apple.com 8.0 darwin kernel version 8.3.0: mon oct 3 20:04:04 pdt 2005; root:xnu-792.6.22.obj~2release_ppc power macintosh powerpc ' config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags=-Dman3ext=3pm - Duseithreads -Duseshrplib' 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 ='-g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict- aliasing -I/usr/local/include', optimize='-O3', cppflags='-no-cpp-precomp -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='4.0.1 (Apple Computer, Inc. build 5363)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 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='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags ='-L/usr/local/lib' libpth=/usr/local/lib /usr/lib libs=-ldbm -ldl -lm -lc perllibs=-ldl -lm -lc libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-bundle -undefined dynamic_lookup -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Locally applied patches: 23953 - fix for File::Path::rmtree CAN-2004-0452 security issue 33990 - fix for setuid perl security issues SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962 Built under darwin Compiled at Nov 1 2006 17:07:31 %ENV: PERL5LIB="/sw/lib/perl5:/sw/lib/perl5/darwin" @INC: /sw/lib/perl5 /sw/lib/perl5/darwin /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1 .
Subject: Re: [rt.cpan.org #26893] Intermittent failures in t/sort_bug.t
Date: Fri, 04 May 2007 04:59:11 -0700
To: bug-Test-Simple [...] rt.cpan.org
From: Michael G Schwern <schwern [...] pobox.com>
Ken_Williams via RT wrote: Show quoted text
> Wed May 02 10:48:53 2007: Request 26893 was acted upon. > Transaction: Ticket created by KWILLIAMS > Queue: Test-Simple > Subject: Intermittent failures in t/sort_bug.t > Broken in: 0.70 > Severity: (no value) > Owner: Nobody > Requestors: KWILLIAMS@cpan.org > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=26893 > > > > Hi, > > I'm getting intermittent bus errors & segmentation faults in t/sort_bug.t. I'm using the stock > perl 5.8.6 on Mac OS X 10.4.9 (8P2137) (all Sofware Updater updates applied). > > I'll probably just install anyway as it looks like a testing problem rather than a module > problem.
Actually its tickling problems with sort() + threads which is not a testing problem but an actual bug. Its only relevant to eq_set() which is a discouraged function.
This test isn't worth the trouble. It's testing deprecated functions and there's nothing I can do about the resulting failures. It's gone. I wrote a similar test using is_deeply() instead.