Skip Menu |

This queue is for tickets about the Cairo CPAN distribution.

Report information
The Basics
Id: 85465
Status: resolved
Priority: 0/
Queue: Cairo

People
Owner: XAOC [...] cpan.org
Requestors: myra.nelson [...] hughes.net
Cc:
AdminCc:

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



Subject: Test failures when installing on perl-5.18.0
I ran into the following test failure when attempting to install Cairo version 1.103. The complete build log is attached. PERL_DL_NONLAZY=1 /home/myra/perl5/perlbrew/perls/perl-5.18.0/bin/perl5.18.0 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-loading.t .... ok panic: free from wrong pool, 0!=19ee010 during global destruction. t/Cairo.t ......... Dubious, test returned 22 (wstat 5632, 0x1600) All 70 subtests passed (less 3 skipped subtests: 67 okay) panic: free from wrong pool, 466f726961432f00!=2510010 during global destruction. t/CairoFont.t ..... Dubious, test returned 22 (wstat 5632, 0x1600) All 29 subtests passed t/CairoFt.t ....... skipped: need Cairo with FreeType support and Font::FreeType t/CairoMatrix.t ... ok t/CairoPath.t ..... ok t/CairoPattern.t .. ok t/CairoRegion.t ... ok t/CairoSurface.t .. ok Test Summary Report ------------------- t/Cairo.t (Wstat: 5632 Tests: 70 Failed: 0) Non-zero exit status: 22 t/CairoFont.t (Wstat: 5632 Tests: 29 Failed: 0) Non-zero exit status: 22 Files=9, Tests=300, 1 wallclock secs ( 0.13 usr 0.01 sys + 0.56 cusr 0.05 csys = 0.75 CPU) Result: FAIL Failed 2/9 test programs. 0/300 subtests failed. make: *** [test_dynamic] Error 255 Linux gandalf 3.9.2-2-ck #1 SMP PREEMPT Tue May 14 01:55:19 CDT 2013 x86_64 GNU/Linux perl -V Summary of my perl5 (revision 5 version 18 subversion 0) configuration: Platform: osname=linux, osvers=3.9.2-2-ck, archname=x86_64-linux-thread-multi uname='linux gandalf 3.9.2-2-ck #1 smp preempt tue may 14 01:55:19 cdt 2013 x86_64 gnulinux ' config_args='-de -Dprefix=/home/myra/perl5/perlbrew/perls/perl-5.18.0 -DDEBUGGING -Dusedevel -Dusethreads -Duseshrplib -Doptimize=-m64 -D_FORTIFY_SOURCE=2 -Dman1ext=1perl -Dman3ext=3perl -Dcccdlflags=-fPIC -Dlddlflags=-shared -Dldflags=-Wl,-O1,--sort-common,--as-needed,-z,relro -Aeval:scriptdir=/home/myra/perl5/perlbrew/perls/perl-5.18.0/bin' 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 -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-m64 -g', cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.8.0 20130502 (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 -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /lib/../lib /usr/lib/../lib /lib /usr/lib /lib64 /usr/lib64 libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.17.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.17' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/home/myra/perl5/perlbrew/perls/perl-5.18.0/lib/5.18.0/x86_64-linux-thread-multi/CORE' cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: DEBUGGING HAS_TIMES MULTIPLICITY PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PERL_SAWAMPERSAND PERL_TRACK_MEMPOOL PERL_USE_DEVEL 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 19 2013 12:53:31 %ENV: PERLBREW_BASHRC_VERSION="0.63" PERLBREW_HOME="/home/myra/.perlbrew" PERLBREW_MANPATH="/home/myra/perl5/perlbrew/perls/perl-5.18.0/man" PERLBREW_PATH="/home/myra/perl5/perlbrew/bin:/home/myra/perl5/perlbrew/perls/perl-5.18.0/bin" PERLBREW_PERL="perl-5.18.0" PERLBREW_ROOT="/home/myra/perl5/perlbrew" PERLBREW_VERSION="0.63" @INC: /home/myra/perl5/perlbrew/perls/perl-5.18.0/lib/site_perl/5.18.0/x86_64-linux-thread-multi /home/myra/perl5/perlbrew/perls/perl-5.18.0/lib/site_perl/5.18.0 /home/myra/perl5/perlbrew/perls/perl-5.18.0/lib/5.18.0/x86_64-linux-thread-multi /home/myra/perl5/perlbrew/perls/perl-5.18.0/lib/5.18.0
Subject: cairo.build.log

Message body is not shown because it is too large.

On Mon May 20 08:58:40 2013, myra.nelson@hughes.net wrote: Show quoted text
> I ran into the following test failure when attempting to install Cairo > version 1.103. The complete build log is attached.
I wasn't able to duplicate your failure. I'm running a similar system, Perlbrew under x86_64 Linux, although my libc is a lot older than yours is (Debian 6.x/Squeeze), and this box runs headless, it's a Linode. My logs are attached for comparison. For what it's worth, I'm running Homebrew/Perlbrew on a few OS X boxes, and I haven't seen this issue there either.
Subject: cairo_debugging_RT85465.txt

Message body is not shown because it is too large.

Subject: perl.V.01Sep2013.txt
Summary of my perl5 (revision 5 version 18 subversion 0) configuration: Platform: osname=linux, osvers=3.9.3-x86_64-linode33, archname=x86_64-linux-thread-multi-ld uname='linux lagrange 3.9.3-x86_64-linode33 #1 smp mon may 20 10:22:57 edt 2013 x86_64 gnulinux ' config_args='-de -Dprefix=/home/brian/perl5/perlbrew/perls/perl-5.18.0-with_threads -Duse64bitall -Dusethreads -Duselongdouble -Dusemultiplicity -Duse64bitint -Aeval:scriptdir=/home/brian/perl5/perlbrew/perls/perl-5.18.0-with_threads/bin' 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=define 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='-O2', cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.4.5', 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='cc', ldflags =' -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /lib/../lib /usr/lib/../lib /lib /usr/lib /lib64 /usr/lib64 libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.11.3.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.11.3' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -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_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PERL_SAWAMPERSAND 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_LONG_DOUBLE USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Built under linux Compiled at Jul 26 2013 09:46:42 %ENV: PERLBREW_BASHRC_VERSION="0.64" PERLBREW_HOME="/home/brian/.perlbrew" PERLBREW_MANPATH="/home/brian/perl5/perlbrew/perls/perl-5.18.0-with_threads/man" PERLBREW_PATH="/home/brian/perl5/perlbrew/bin:/home/brian/perl5/perlbrew/perls/perl-5.18.0-with_threads/bin" PERLBREW_PERL="perl-5.18.0-with_threads" PERLBREW_ROOT="/home/brian/perl5/perlbrew" PERLBREW_VERSION="0.64" @INC: /home/brian/perl5/perlbrew/perls/perl-5.18.0-with_threads/lib/site_perl/5.18.0/x86_64-linux-thread-multi-ld /home/brian/perl5/perlbrew/perls/perl-5.18.0-with_threads/lib/site_perl/5.18.0 /home/brian/perl5/perlbrew/perls/perl-5.18.0-with_threads/lib/5.18.0/x86_64-linux-thread-multi-ld /home/brian/perl5/perlbrew/perls/perl-5.18.0-with_threads/lib/5.18.0 .
From: myra.nelson [...] hughes.net
On Sun Sep 01 16:38:37 2013, XAOC wrote: Show quoted text
> On Mon May 20 08:58:40 2013, myra.nelson@hughes.net wrote:
> > I ran into the following test failure when attempting to install > > Cairo > > version 1.103. The complete build log is attached.
> > I wasn't able to duplicate your failure. I'm running a similar > system, Perlbrew under x86_64 Linux, although my libc is a lot older > than yours is (Debian 6.x/Squeeze), and this box runs headless, it's a > Linode. My logs are attached for comparison. For what it's worth, > I'm running Homebrew/Perlbrew on a few OS X boxes, and I haven't seen > this issue there either.
I had completely forgotten about this. I just tried recompiling Cairo 1.103 but not under perlbrew and the build and test went just fine. I've found several distros and modules where freeing from the wrong pool was a problem when running tests. I know Tk was bad and I just built and tested it with no problems. I've come to believe these were problems in the test suites. Another possiblity is the one you mentioned about the differences in libc. With Arch you stay ahead of the curve and tend to find little glitches no one else sees, then some of them magically go way while you're looking for them. FYI The recompile was with glibc 2.18.3 perl 5.18.1 gcc 4.8.1 20130725 pre-release The problem appears to be gone so, IMHO, mark this closed. Thanks for the response and sorry I forgot about it. Myra
On Sun Sep 01 18:15:50 2013, myra.nelson@hughes.net wrote: Show quoted text
> On Sun Sep 01 16:38:37 2013, XAOC wrote:
> > On Mon May 20 08:58:40 2013, myra.nelson@hughes.net wrote:
> > > I ran into the following test failure when attempting to install > > > Cairo > > > version 1.103. The complete build log is attached.
> > > > I wasn't able to duplicate your failure. I'm running a similar > > system, Perlbrew under x86_64 Linux, although my libc is a lot older > > than yours is (Debian 6.x/Squeeze), and this box runs headless, it's > > a > > Linode. My logs are attached for comparison. For what it's worth, > > I'm running Homebrew/Perlbrew on a few OS X boxes, and I haven't seen > > this issue there either.
> > I had completely forgotten about this. I just tried recompiling Cairo > 1.103 but not under perlbrew and the build and test went just fine. > I've found several distros and modules where freeing from the wrong > pool was a problem when running tests. I know Tk was bad and I just > built and tested it with no problems. I've come to believe these were > problems in the test suites. > > Another possiblity is the one you mentioned about the differences in > libc. With Arch you stay ahead of the curve and tend to find little > glitches no one else sees, then some of them magically go way while > you're looking for them.
If you want to live on the cutting edge, you gotta be prepared to bleed ;) Show quoted text
> FYI > The recompile was with > glibc 2.18.3 > perl 5.18.1 > gcc 4.8.1 20130725 pre-release > > The problem appears to be gone so, IMHO, mark this closed. > > Thanks for the response and sorry I forgot about it.
Sorry it took this long to get the tuits to take a look. Thanks, Brian