Skip Menu |

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

Report information
The Basics
Id: 217
Status: resolved
Priority: 0/
Queue: XML-Filter-Cache

People
Owner: Nobody in particular
Requestors: arnaud [...] romeconcept.com
Cc:
AdminCc:

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



Subject: FAIL XML-Filter-Cache-0.02 i386-linux 2.4.8-11mdkenterprise
To: cpan-testers [...] perl.org
Cc: bug-XML-Filter-Cache [...] rt.cpan.org
Date: Tue, 29 Jan 2002 14:01:33 +0100 (CET)
From: arnaud [...] romeconcept.com (ASSAD Arnaud)
This distribution has been tested as part of the cpan-testers effort to test as many new uploads to CPAN as possible. See http://testers.cpan.org/ Please cc any replies to cpan-testers@perl.org to keep other test volunteers informed and to prevent any duplicate effort. -- ERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/00basic.......ok t/01record......Can't store CODE items at blib/lib/Storable.pm (autosplit into blib/lib/auto/Storable/_freeze.al) line 265, at blib/lib/XML/Filter/Cache.pm line 51 t/01record......dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-2 Failed 2/2 tests, 0.00% okay t/02playback....Use of uninitialized value in print at t/02playback.t line 15. t/02playback....FAILED test 1 Failed 1/1 tests, 0.00% okay t/03speed....... About to benchmark caching. This parses a 70KB file, so be warned that it may take a very long time indeed, depending on which parser gets used Can't store CODE items at blib/lib/Storable.pm (autosplit into blib/lib/auto/Storable/_freeze.al) line 265, at blib/lib/XML/Filter/Cache.pm line 51 t/03speed.......dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-2 Failed 2/2 tests, 0.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/01record.t 255 65280 2 2 100.00% 1-2 t/02playback.t 1 1 100.00% 1 t/03speed.t 255 65280 2 2 100.00% 1-2 Failed 3/4 test scripts, 25.00% okay. 5/6 subtests failed, 16.67% okay. make: *** [test_dynamic] Erreur 9 -- Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=linux, osvers=2.4.8-11mdkenterprise, archname=i386-linux uname='linux no.mandrakesoft.com 2.4.8-11mdkenterprise #1 smp wed aug 22 16:05:18 cest 2001 i686 unknown ' config_args='-des -Darchname=i386-linux -Dd_dosuid -Ud_csh -Duseshrplib -Doptimize=-O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce -Dprefix=/usr -Di_ndbm -Di_gdbm -Di_shadow -Di_syslog -Uuselargefiles -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/lib/perl5/man/man3' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing', optimize='-O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce', cppflags='-fno-strict-aliasing' ccversion='', gccversion='2.96 20000731 (Mandrake Linux 8.1 2.96-0.62mdk)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4 alignbytes=4, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -ldl -lm -lc -lcrypt -lutil perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil libc=/lib/libc-2.2.4.so, so=so, useshrplib=true, libperl=libperl.so Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.6.1/i386-linux/CORE' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Date: Tue, 29 Jan 2002 13:15:18 +0000 (GMT)
From: Matt Sergeant <matt [...] sergeant.org>
To: "(ASSAD Arnaud) via RT" <bug-XML-Filter-Cache [...] rt.cpan.org>
Cc: <cpan-testers [...] perl.org>
Subject: Re: [cpan #217] FAIL XML-Filter-Cache-0.02 i386-linux 2.4.8-11mdkenterprise
On Tue, 29 Jan 2002, (ASSAD Arnaud) via RT wrote: Show quoted text
> > > This message about XML-Filter-Cache was sent to you by arnaud@romeconcept.com via rt.cpan.org > > <URL: https://rt.cpan.org/Ticket/Display.html?id=217 > > > This distribution has been tested as part of the cpan-testers > effort to test as many new uploads to CPAN as possible. See > http://testers.cpan.org/ > > Please cc any replies to cpan-testers@perl.org to keep other > test volunteers informed and to prevent any duplicate effort.
OK, I think I see the bug is in the set_document_locator stuff. Can you try the following patch? Index: lib/XML/Filter/Cache.pm =================================================================== RCS file: /home/cvs/XML-Filter-Cache/lib/XML/Filter/Cache.pm,v retrieving revision 1.2 diff -u -r1.2 Cache.pm --- lib/XML/Filter/Cache.pm 2002/01/28 15:17:27 1.2 +++ lib/XML/Filter/Cache.pm 2002/01/29 13:14:53 @@ -114,7 +114,7 @@ local $self->{Key} = $self->{Key} || $self->{_locator}{SystemId} || die "No cache Key supplied"; $self->open("w"); if (my $locator = delete $self->{_locator}) { - $self->record(set_document_locator => $locator); + $self->record(set_document_locator => { %$locator }); } $self->record(start_document => $doc); $self->SUPER::start_document($doc); -- <!-- Matt --> <:->Get a smart net</:->
[arnaud@romeconcept.com - Tue Jan 29 08:01:53 2002]: Show quoted text
> This distribution has been tested as part of the cpan-testers > effort to test as many new uploads to CPAN as possible. See > http://testers.cpan.org/ > > Please cc any replies to cpan-testers@perl.org to keep other > test volunteers informed and to prevent any duplicate effort.
OK, I'm pretty certain I've fixed this now. Tested on perl 5.005, 5.6.1, and 5.7.2... Can you re-test with XML::SAX 0.08, and XML::Filter::Cache 0.03 when CPAN propogates it (and recovers from its corruption) and you get around to it. Thanks!