Skip Menu |

This queue is for tickets about the IPC-Mmap CPAN distribution.

Report information
The Basics
Id: 39962
Status: open
Priority: 0/
Queue: IPC-Mmap

People
Owner: Nobody in particular
Requestors: toddr [...] cpanel.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 0.14
  • 0.20
  • 0.21
Fixed in: (no value)



Subject: make test fails for linux 64 systems
I am getting the following errors on linux 64 systems trying to install $>prove -bvm t/* t/01mmap........... 1..32 ... ok 14 # pack() for basic filename, single thread, single process not ok 15 # unpack() for basic filename, single thread, single process ok 16 # unmap for basic filename, single thread, single process ... t/02multithread.... 1..7 ... ok 6 # pack() for multithread, single process not ok 7 # unpack() for multithread, single process Failed 1/7 subtests t/03multiproc...... 1..3 ok 1 # create from filename for single thread, multiprocess ok 2 # read thread for single thread, multiprocess not ok 3 # unpack() for single thread, multiprocess Failed 1/3 subtests --- $>perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=linux, osvers=2.6.9-42.0.3.elsmp, archname=x86_64-linux- thread-multi-ld uname='linux cmtmcc-lmx7 2.6.9-42.0.3.elsmp #1 smp mon sep 25 17:24:31 edt 2006 x86_64 x86_64 x86_64 gnulinux ' config_args='' hint=previous, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=define uselongdouble=define usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS - fno-strict-aliasing -pipe -Wdeclaration-after-statement - I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno- strict-aliasing -pipe -Wdeclaration-after-statement - I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno- strict-aliasing -pipe -Wdeclaration-after-statement - I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' ccversion='', gccversion='3.4.6 20060404 (Red Hat 3.4.6-3)', 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='long double', nvsize=16, Off_t='off_t', lseeksize=8 alignbytes=16, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.3.4.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.3.4' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP THREADS_HAVE_PIDS USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LONG_DOUBLE USE_PERLIO USE_REENTRANT_API Built under linux Compiled at Oct 18 2007 19:34:15 %ENV: PERL5_CPANPLUS_IS_RUNNING="5634" PERL5_CPAN_IS_RUNNING="5634" PERLDB_OPTS="RemotePort=10.185.203.221:9000" @INC: /opt/perl588/lib/5.8.8/x86_64-linux-thread-multi-ld /opt/perl588/lib/5.8.8 /opt/perl588/site/lib/x86_64-linux-thread-multi-ld /opt/perl588/site/lib
On Fri Oct 10 16:25:26 2008, todd_rinaldo wrote: Show quoted text
> I am getting the following errors on linux 64 systems trying to install > > $>prove -bvm t/* > t/01mmap........... > 1..32 > ... > ok 14 # pack() for basic filename, single thread, single process > not ok 15 # unpack() for basic filename, single thread, single process > ok 16 # unmap for basic filename, single thread, single process > ... > > t/02multithread.... > 1..7 > ... > ok 6 # pack() for multithread, single process > not ok 7 # unpack() for multithread, single process > Failed 1/7 subtests > > t/03multiproc...... > 1..3 > ok 1 # create from filename for single thread, multiprocess > ok 2 # read thread for single thread, multiprocess > not ok 3 # unpack() for single thread, multiprocess > Failed 1/3 subtests > > --- > > $>perl -V > Summary of my perl5 (revision 5 version 8 subversion 8) configuration: > Platform: > osname=linux, osvers=2.6.9-42.0.3.elsmp, archname=x86_64-linux- > thread-multi-ld > uname='linux cmtmcc-lmx7 2.6.9-42.0.3.elsmp #1 smp mon sep 25 > 17:24:31 edt 2006 x86_64 x86_64 x86_64 gnulinux ' > config_args='' > hint=previous, useposix=true, d_sigaction=define > usethreads=define use5005threads=undef useithreads=define > usemultiplicity=define > useperlio=define d_sfio=undef uselargefiles=define usesocks=undef > use64bitint=define use64bitall=define uselongdouble=define > usemymalloc=n, bincompat5005=undef > Compiler: > cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS - > fno-strict-aliasing -pipe -Wdeclaration-after-statement - > I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', > optimize='-O2', > cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno- > strict-aliasing -pipe -Wdeclaration-after-statement - > I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno- > strict-aliasing -pipe -Wdeclaration-after-statement - > I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' > ccversion='', gccversion='3.4.6 20060404 (Red Hat 3.4.6-3)', > 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='long double', nvsize=16, > Off_t='off_t', lseeksize=8 > alignbytes=16, prototype=define > Linker and Libraries: > ld='gcc', ldflags =' -L/usr/local/lib' > libpth=/usr/local/lib /lib /usr/lib > libs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc > perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc > libc=/lib/libc-2.3.4.so, so=so, useshrplib=false, libperl=libperl.a > gnulibc_version='2.3.4' > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' > cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' > > > Characteristics of this binary (from libperl): > Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT > PERL_MALLOC_WRAP THREADS_HAVE_PIDS > USE_64_BIT_ALL > USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES > USE_LONG_DOUBLE USE_PERLIO USE_REENTRANT_API > Built under linux > Compiled at Oct 18 2007 19:34:15 > %ENV: > PERL5_CPANPLUS_IS_RUNNING="5634" > PERL5_CPAN_IS_RUNNING="5634" > PERLDB_OPTS="RemotePort=10.185.203.221:9000" > @INC: > /opt/perl588/lib/5.8.8/x86_64-linux-thread-multi-ld > /opt/perl588/lib/5.8.8 > /opt/perl588/site/lib/x86_64-linux-thread-multi-ld > /opt/perl588/site/lib
Something to do with the unpack method probably. Some x64 systems fail certain tests associated with that call. The bug is still there in IPC::MMap 0.21. Trying to identify the problem. Unfortunately in my linux x64 systems I cannot reproduce the error. Anybody with access to a system with a make test error, plz contact me.
On Wed Jan 26 08:16:42 2011, ADUITSIS wrote: Show quoted text
> On Fri Oct 10 16:25:26 2008, todd_rinaldo wrote:
> > I am getting the following errors on linux 64 systems trying to install
*sigh* I can't re-produce it now. But I've moved on to perl 5.12 so that may have been the true fix. Feel free to close this.
On Wed Jan 26 12:32:30 2011, TODDR wrote: Show quoted text
> On Wed Jan 26 08:16:42 2011, ADUITSIS wrote:
> > On Fri Oct 10 16:25:26 2008, todd_rinaldo wrote:
> > > I am getting the following errors on linux 64 systems trying to
> install > > *sigh* I can't re-produce it now. But I've moved on to perl 5.12 so > that may have been the true > fix. Feel free to close this.
I really appreciate taking the time to respond! Many thanks. I'll keep it open until I can reproduce. Another tester reported failure with 0.20, I tried to make the 0.21 test more detailed. Will update as info comes in.
Update: I have reason to believe that the breakage observed in 0.21 is limited to architectures with a long double. I cannot (yet) reproduce myself, but I have tried to contact a tester so we can sort it out.
http://analysis.cpantesters.org/reports_by_field?distv=IPC-Mmap-0.21;field=conf%3Auselongdouble There you can see the all -Duselongdouble so far have triggered a fail.
On Sat Apr 09 09:27:54 2011, ANDK wrote: Show quoted text
> http://analysis.cpantesters.org/reports_by_field?distv=IPC-Mmap- > 0.21;field=conf%3Auselongdouble > > There you can see the all -Duselongdouble so far have triggered a > fail. >
This analysis.cpantesters.org is excellent, thanks, I was not aware of it. So, about the problem, I think that packing a long double and then unpacking it produces a very subtle difference. So these long doubles might be very very close but not exactly equal. I'll either make the test handle this marginally small difference or remove that part from the test. As far as I can tell, there is no "real" bug associated with IPC::Mmap. I will soon have 0.22 ready is which I will try to address this. Andreas, I am infinitely obliged. My best regards, Athanasios