Skip Menu |
 

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

Report information
The Basics
Id: 77576
Status: resolved
Priority: 0/
Queue: XML-LibXML

People
Owner: Nobody in particular
Requestors: hsk [...] fli-leibniz.de
Cc:
AdminCc:

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



Subject: test failures XML-LibXML-1.99 / Perl-5.16.0
Download (untitled) / with headers
text/plain 273b
using perl-5.16.0 to install XML-LibXML-1.99, the tests 62overload, 71overloads and 72destruction fail and result in error messages like Invalid object "7846936" as a fieldhash key at /var/imb/tgz/perl/XML-LibXML-1.99/blib/lib/XML/LibXML.pm line 1559. see attached file
Subject: test.out
Download test.out
application/octet-stream 1.6k

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 590b
Hi hsk, On Fri Jun 01 03:41:09 2012, hsk@fli-leibniz.de wrote: Show quoted text
> using perl-5.16.0 to install XML-LibXML-1.99, the tests 62overload, > 71overloads and 72destruction fail and result in error messages like > Invalid object "7846936" as a fieldhash key at > /var/imb/tgz/perl/XML-LibXML-1.99/blib/lib/XML/LibXML.pm line 1559. > > see attached file
Everything is fine here on Mageia Linux x86-64 with perl-5.16.0 and XML-LibXML-1.99 - all tests pass. Most tests pass in the CPAN testers here: http://www.cpantesters.org/distro/X/XML-LibXML.html#XML-LibXML-1.99 Regards, -- Shlomi Fish
Download (untitled) / with headers
text/plain 529b
On Fri Jun 01 03:41:09 2012, hsk@fli-leibniz.de wrote: Show quoted text
> using perl-5.16.0 to install XML-LibXML-1.99, the tests 62overload, > 71overloads and 72destruction fail and result in error messages like > Invalid object "7846936" as a fieldhash key at > /var/imb/tgz/perl/XML-LibXML-1.99/blib/lib/XML/LibXML.pm line 1559. > > see attached file
Oh, I forgot to ask - on what kind of system are you running it? Operating system, distribution, perl, perl configuration (output of "perl -V") and other details. Regards, -- Shlomi Fish
From: hsk [...] fli-leibniz.de
Download (untitled) / with headers
text/plain 769b
On Fri Jun 01 04:56:15 2012, SHLOMIF wrote: Show quoted text
> On Fri Jun 01 03:41:09 2012, hsk@fli-leibniz.de wrote:
> > using perl-5.16.0 to install XML-LibXML-1.99, the tests 62overload, > > 71overloads and 72destruction fail and result in error messages like > > Invalid object "7846936" as a fieldhash key at > > /var/imb/tgz/perl/XML-LibXML-1.99/blib/lib/XML/LibXML.pm line 1559. > > > > see attached file
> > Oh, I forgot to ask - on what kind of system are you running it? > Operating system, distribution, perl, perl configuration (output of > "perl -V") and other details.
i am running a self-compiled perl-5.16.0 on opensuse 11.3 and 12.1, using more or less the patches / options/ settings from suse,see attachment for a 'perl -V' of both, both show the error described
Subject: info.txt
Download info.txt
text/plain 6k
====== Summary of my perl5 (revision 5 version 16 subversion 0) configuration: Platform: osname=linux, osvers=2.6.37.6-0.11-desktop, archname=x86_64-linux-thread-multi uname='linux merlin 2.6.37.6-0.11-desktop #1 smp preempt 2011-12-19 23:39:38 +0100 x86_64 x86_64 x86_64 gnulinux ' config_args='-des -Dglibpth=/lib64 /usr/lib64 /var/imb/lib64 /usr/local/lib64 -Di_dbm -Di_ndbm -Dlddlflags=-shared -L/var/imb/lib64 -L/usr/local/lib64 -Dldflags=-s -L/var/imb/lib64 -L/usr/local/lib64 -Dlibc=/lib64/libc.so.6 -Dlibspath=/lib64 /usr/lib64 -Dlocincpth=/var/imb/include -Uloclibpth= -Dman3dir=/var/imb/man/man3p -Doptimize=-O2 -g -Wall -pipe -Dperl5=/bin/false -Dperladmin=hsk@fli-leibniz.de -Dprefix=/var/imb -Dusethreads' 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 -fno-strict-aliasing -pipe -fstack-protector -I/var/imb/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2 -g -Wall -pipe', cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/var/imb/include' ccversion='', gccversion='4.5.1 20101208 [gcc-4_5-branch revision 167585]', 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 ='-s -L/var/imb/lib64 -L/usr/local/lib64 -fstack-protector' libpth=/lib/../lib64 /usr/lib/../lib64 /lib /usr/lib /lib64 /usr/lib64 /var/imb/lib64 /usr/local/lib64 libs=-lnsl -lndbm -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 -L/var/imb/lib64 -L/usr/local/lib64 -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_PRESERVE_IVUV 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 21 2012 13:34:18 @INC: /var/imb/lib/perl5/site_perl/5.16.0/x86_64-linux-thread-multi /var/imb/lib/perl5/site_perl/5.16.0 /var/imb/lib/perl5/5.16.0/x86_64-linux-thread-multi /var/imb/lib/perl5/5.16.0 . ====== Summary of my perl5 (revision 5 version 16 subversion 0) configuration: Platform: osname=linux, osvers=3.1.10-1.9-desktop, archname=x86_64-linux-thread-multi uname='linux milupa 3.1.10-1.9-desktop #1 smp preempt thu apr 5 18:48:38 utc 2012 (4a97ec8) x86_64 x86_64 x86_64 gnulinux ' config_args='-des -Dglibpth=/lib64 /usr/lib64 /var/imb/lib64 /usr/local/lib64 -Di_dbm -Di_ndbm -Dlddlflags=-shared -L/var/imb/lib64 -L/usr/local/lib64 -Dldflags=-s -L/var/imb/lib64 -L/usr/local/lib64 -Dlibc=/lib64/libc.so.6 -Dlibspath=/lib64 /usr/lib64 -Dlocincpth=/var/imb/include -Uloclibpth= -Dman3dir=/var/imb/man/man3p -Doptimize=-O2 -g -Wall -pipe -Dperl5=/bin/false -Dperladmin=hsk@fli-leibniz.de -Dprefix=/var/imb -Dusethreads' 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 -fno-strict-aliasing -pipe -fstack-protector -I/var/imb/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2 -g -Wall -pipe', cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/var/imb/include' ccversion='', gccversion='4.6.2', 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 ='-s -L/var/imb/lib64 -L/usr/local/lib64 -fstack-protector' libpth=/lib/../lib64 /usr/lib/../lib64 /lib /usr/lib /lib64 /usr/lib64 /var/imb/lib64 /usr/local/lib64 libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.14.1.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.14.1' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -L/var/imb/lib64 -L/usr/local/lib64 -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_PRESERVE_IVUV 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 22 2012 08:46:53 @INC: /var/imb/lib/perl5/site_perl/5.16.0/x86_64-linux-thread-multi /var/imb/lib/perl5/site_perl/5.16.0 /var/imb/lib/perl5/5.16.0/x86_64-linux-thread-multi /var/imb/lib/perl5/5.16.0 . ======
Hi hsk, On Fri Jun 01 06:35:25 2012, hsk@fli-leibniz.de wrote: Show quoted text
> On Fri Jun 01 04:56:15 2012, SHLOMIF wrote:
> > On Fri Jun 01 03:41:09 2012, hsk@fli-leibniz.de wrote:
> > > using perl-5.16.0 to install XML-LibXML-1.99, the tests 62overload, > > > 71overloads and 72destruction fail and result in error messages like > > > Invalid object "7846936" as a fieldhash key at > > > /var/imb/tgz/perl/XML-LibXML-1.99/blib/lib/XML/LibXML.pm line 1559. > > > > > > see attached file
> > > > Oh, I forgot to ask - on what kind of system are you running it? > > Operating system, distribution, perl, perl configuration (output of > > "perl -V") and other details.
> > i am running a self-compiled perl-5.16.0 on opensuse 11.3 and 12.1, > using more or less the patches / options/ settings from suse,see > attachment for a 'perl -V' of both, both show the error described
Can you please investigate which patches and/or options is causing these problems? For all I know, it might be caused by a downstream patch. Regards, -- Shlomi Fish
From: hsk [...] fli-leibniz.de
Download (untitled) / with headers
text/plain 247b
Show quoted text
> Can you please investigate which patches and/or options is causing these > problems? For all I know, it might be caused by a downstream patch.
i'm afraid i don't actually understand the meaning of the error message, but i will give it a try...
From: obrien.jk [...] gmail.com
Download (untitled) / with headers
text/plain 370b
On Fri Jun 01 07:56:46 2012, hsk@fli-leibniz.de wrote: Show quoted text
>
> > Can you please investigate which patches and/or options is causing these > > problems? For all I know, it might be caused by a downstream patch.
> > i'm afraid i don't actually understand the meaning of the error message, > but i will give it a try...
I have this also with 5.14.2 under Kubuntu 12.04 John
Download (untitled) / with headers
text/plain 1.2k
On Fri Jun 01 07:17:00 2012, SHLOMIF wrote: Show quoted text
> Hi hsk, > > On Fri Jun 01 06:35:25 2012, hsk@fli-leibniz.de wrote:
> > On Fri Jun 01 04:56:15 2012, SHLOMIF wrote:
> > > On Fri Jun 01 03:41:09 2012, hsk@fli-leibniz.de wrote:
> > > > using perl-5.16.0 to install XML-LibXML-1.99, the tests 62overload, > > > > 71overloads and 72destruction fail and result in error messages like > > > > Invalid object "7846936" as a fieldhash key at > > > > /var/imb/tgz/perl/XML-LibXML-1.99/blib/lib/XML/LibXML.pm line 1559. > > > > > > > > see attached file
> > > > > > Oh, I forgot to ask - on what kind of system are you running it? > > > Operating system, distribution, perl, perl configuration (output of > > > "perl -V") and other details.
> > > > i am running a self-compiled perl-5.16.0 on opensuse 11.3 and 12.1, > > using more or less the patches / options/ settings from suse,see > > attachment for a 'perl -V' of both, both show the error described
> > Can you please investigate which patches and/or options is causing these > problems? For all I know, it might be caused by a downstream patch.
It fails when Hash::FieldHash is installed. Hash::FieldHash doesn’t like 0+$self as a hash key, but requires the object itself ($self).
Download (untitled) / with headers
text/plain 222b
Thanks to everybody for their report and investigation. This bug was fixed in commit ed1fa7b55ffed0169709b5205adca061a3f82454 in the Mercurial repository, and will be part of XML-LibXML-2.0000 which I hope to release soon.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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