This queue is for tickets about the XML-LibXSLT CPAN distribution.

Report information
The Basics
Id:
22008
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
nino [...] e-techsolutions.com
Cc:
AdminCc:

BugTracker
Severity:
Critical
Broken in:
1.61
Fixed in:
(no value)



Subject: Fails Tests on CentOS (OS X 10.4.8)
make test Darwin Golden.local 8.8.0 Darwin Kernel Version 8.8.0: Fri Sep 8 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC Power Macintosh powerpc Golden:~/.cpan/build/XML-LibXSLT-1.61 mike$ sudo make test Password: PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01basic........ok t/02dromeds......ok t/03input........ok t/04params.......ok t/05quick........ok t/06entities.....# Test 2 got: "<?xml version=\"1.0\"?>\n<out>foo&#xF6;bar</out>\n" (t/06entities.t at line 53) # Expected: "(?i-xsm:foo\\xC3\\xB6bar)" # t/06entities.t line 53 is: ok($content, qr/foo\xC3\xB6bar/i); t/06entities.....FAILED test 2 Failed 1/2 tests, 50.00% okay t/06output.......ok 1/29perl(4717) malloc: *** Deallocation of a pointer not malloced: 0x64; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug t/06output.......dubious Test returned status 0 (wstat 10, 0xa) DIED. FAILED tests 16-29 Failed 14/29 tests, 51.72% okay t/07blankdoc.....ok t/08literal......ok t/09exslt........ok t/10functions....ok t/11utf8.........ok t/12import.......ok t/13error........ok Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/06entities.t 2 1 2 t/06output.t 0 10 29 28 16-29 Failed 2/14 test scripts. 15/157 subtests failed. Files=14, Tests=157, 4 wallclock secs ( 1.51 cusr + 0.54 csys = 2.05 CPU) Failed 2/14 test programs. 15/157 subtests failed. make: *** [test_dynamic] Error 255 uname -a Darwin Golden.local 8.8.0 Darwin Kernel Version 8.8.0: Fri Sep 8 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC Power Macintosh powerpc perl -V Summary of my perl5 (revision 5 version 8 subversion 6) configuration: Platform: osname=darwin, osvers=8.0, archname=darwin-thread-multi-2level uname='darwin b28.apple.com 8.0 darwin kernel version 7.5.0: thu mar 3 18:48:46 pst 2005; root:xnuxnu-517.99.13.obj~1release_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='-Os', cppflags='-no-cpp-precomp -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='3.3 20030304 (Apple Computer, Inc. build 1809)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8 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 Built under darwin Compiled at Mar 20 2005 16:34:19 %ENV: PERL5LIB="/sw/lib/perl5:/sw/lib/perl5/darwin" @INC: /sw/lib/perl5/5.8.6/darwin-thread-multi-2level /sw/lib/perl5/5.8.6 /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: Fails Tests on CentOS and also OS X 10.4.8
From: nino@e-techsolutions.com
Wrong subject. On Tue Oct 10 14:47:59 2006, nino-at-e-techsolutions.com wrote:
Show quoted text
> make test > > Darwin Golden.local 8.8.0 Darwin Kernel Version 8.8.0: Fri Sep 8 > 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC Power Macintosh > powerpc > Golden:~/.cpan/build/XML-LibXSLT-1.61 mike$ sudo make test > Password: > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/01basic........ok > > t/02dromeds......ok > > t/03input........ok > > t/04params.......ok > > t/05quick........ok > > t/06entities.....# Test 2 got: "<?xml > version=\"1.0\"?>\n<out>foo&#xF6;bar</out>\n" (t/06entities.t at line > 53) > # Expected: "(?i-xsm:foo\\xC3\\xB6bar)" > # t/06entities.t line 53 is: ok($content, qr/foo\xC3\xB6bar/i); > t/06entities.....FAILED test 2 > > Failed 1/2 tests, 50.00% okay > t/06output.......ok 1/29perl(4717) malloc: *** Deallocation of a > pointer not malloced: 0x64; This could be a double free(), or free() > called with the middle of an allocated block; Try setting environment > variable MallocHelp to see tools to help debug > t/06output.......dubious > > Test returned status 0 (wstat 10, 0xa) > DIED. FAILED tests 16-29 > Failed 14/29 tests, 51.72% okay > t/07blankdoc.....ok > > t/08literal......ok > > t/09exslt........ok > > t/10functions....ok > > t/11utf8.........ok > > t/12import.......ok > > t/13error........ok > > Failed Test Stat Wstat Total Fail List of Failed >
-------------------------------------------------------------------------------
Show quoted text
> t/06entities.t 2 1 2 > t/06output.t 0 10 29 28 16-29 > Failed 2/14 test scripts. 15/157 subtests failed. > Files=14, Tests=157, 4 wallclock secs ( 1.51 cusr + 0.54 csys = > 2.05 CPU) > Failed 2/14 test programs. 15/157 subtests failed. > make: *** [test_dynamic] Error 255 > > > uname -a > > Darwin Golden.local 8.8.0 Darwin Kernel Version 8.8.0: Fri Sep 8 > 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC Power Macintosh > powerpc > > perl -V > > Summary of my perl5 (revision 5 version 8 subversion 6) configuration: > Platform: > osname=darwin, osvers=8.0, archname=darwin-thread-multi-2level > uname='darwin b28.apple.com 8.0 darwin kernel version 7.5.0: thu > mar > 3 18:48:46 pst 2005; root:xnuxnu-517.99.13.obj~1release_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='-Os', > cppflags='-no-cpp-precomp -g -pipe -fno-common -DPERL_DARWIN > -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include' > ccversion='', gccversion='3.3 20030304 (Apple Computer, Inc. build > 1809)', gccosandvers='' > intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 > d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8 > 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 > Built under darwin > Compiled at Mar 20 2005 16:34:19 > %ENV: > PERL5LIB="/sw/lib/perl5:/sw/lib/perl5/darwin" > @INC: > /sw/lib/perl5/5.8.6/darwin-thread-multi-2level > /sw/lib/perl5/5.8.6 > /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 > .
This is a duplicate for 21898. It is not related to the platform, but to the version of libxml2 used (most likely 2.6.16), although none of the reports mentions it. This is not a bug nor it is related to the 1.61 version of LibXSLT. The regression test (which was added to the distribution only in 1.61) has to be modified in order to reflect differences between the output produced by different versions of libxml2. Will be fixed in 1.62 and soon in the SVN. In the meantime, ignore the failed test. -- Petr


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.