Greets, There are four Lucy 0.1.0 CPANTesters failures for the LockFreeRegistry test under OS X with Perl 5.12.0, 5.12.1, 5.12.2 and 5.12.3:
http://www.cpantesters.org/cpan/report/7cbb2d04-8def-11e0-9abf-e615ed0326e0 http://www.cpantesters.org/cpan/report/84594c18-8ec0-11e0-9abf-e615ed0326e0 http://www.cpantesters.org/cpan/report/c7538512-8f86-11e0-9abf-e615ed0326e0 http://www.cpantesters.org/cpan/report/324b5c3a-9079-11e0-9abf-e615ed0326e0 These are all threaded Perls -- the test won't run on non-threaded Perls. The test segfaults, exiting with 11. I've tried to duplicate the problem using both the stock threaded perl 5.10.0 that ships with Snow Leopard and a custom compiled perl 5.12.2 ("perl -V" output below my sig). In both cases, the LockFreeRegistry test passes. It also runs clean under Valgrind. My suspicion is that something about this CPANTesters machine and Perl threads is causing the segfault. Perl threads have classically had a lot of stability problems. It looks like that machine running OS X 10.4 Tiger (Darwin version 8.11.0) -- pretty old. We could contact the tester and see if they're willing to provide Valgrind output for us, but I'll bet that it fingers Perl itself rather than Lucy. My inclination is to punt and disable this test unless the LUCY_DEBUG environment variable is defined. We don't actually support running under "use threads" -- this is just a special case test to prove that LockFreeRegistry works. Marvin Humphrey marvin@smokey:~ $ /usr/local/threadperl512/bin/perl5.12.2 -V Summary of my perl5 (revision 5 version 12 subversion 2) configuration: Platform: osname=darwin, osvers=10.7.0, archname=darwin-thread-multi-2level uname='darwin smokey.local 10.7.0 darwin kernel version 10.7.0: sat jan 29 15:17:16 pst 2011; root:xnu-1504.9.37~1release_i386 i386 ' config_args='-Dprefix=/usr/local/threadperl512 -Dusethreads -Duse64bitint -de' 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 ='-fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include', optimize='-O3', cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.2.1 (Apple Inc. build 5664)', 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='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /usr/lib libs=-ldbm -ldl -lm -lutil -lc perllibs=-ldl -lm -lutil -lc libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Built under darwin Compiled at Jun 9 2011 15:51:35 @INC: /usr/local/threadperl512/lib/site_perl/5.12.2/darwin-thread-multi-2level /usr/local/threadperl512/lib/site_perl/5.12.2 /usr/local/threadperl512/lib/5.12.2/darwin-thread-multi-2level /usr/local/threadperl512/lib/5.12.2 .
