Subject: | MLDBM fails FreezeThaw tests |
Hi,
The FreezeThaw test fails on my system:
=======================================================================
pelf-135: make test
PERL_DL_NONLAZY=1 /proj/axaf/bin/sun4u-SunOS-5/perl -Iblib/arch -Iblib/lib -I/proj/axaf/pkgs/perl-5.6.0/lib/5.6.0/sun4-solaris-thread -I/proj/axaf/pkgs/perl-5.6.0/lib/5.6.0 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/dumper........ok
t/freezethaw....FAILED test 1
Failed 1/4 tests, 75.00% okay
t/storable......ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/freezethaw.t 4 1 25.00% 1
Failed 1/3 test scripts, 66.67% okay. 1/16 subtests failed, 93.75% okay.
*** Error code 9
make: Fatal error: Command failed for target `test_dynamic'
=======================================================================
pelf-136: perl -Mblib t/freezethaw.t
Using /data/pelf0/tmp/axafbin/cpan/build/MLDBM-2.00/blib
1..4
|$a = [
'1',
{
a => $a,
b => $a->[1],
c => [
\'c'
]
},
$a->[1]{c}
];
$b = {
a => [
'1',
$b,
[
\'c'
]
],
b => $b,
c => $b->{a}[2]
};
$c = [
\'c'
];
|
--vs--
|$a = [
1,
{
a => $a,
b => $a->[1],
c => [
\'c'
]
},
$a->[1]{c}
];
$b = {
a => [
1,
$b,
[
\'c'
]
],
b => $b,
c => $b->{a}[2]
};
$c = [
\'c'
];
|
not ok 1
ok 2
ok 3
ok 4
=======================================================================
I'm using FreezeThaw 0.41, Data::Dumper 2.101, and my Perl config is
=======================================================================
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
Platform:
osname=solaris, osvers=2.6, archname=sun4-solaris-thread
uname='sunos pelf 5.6 generic_105181-14 sun4u sparc sunw,ultra-5_10 '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=define useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define
use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
Compiler:
cc='cc', optimize='-O -native', gccversion=
cppflags='-D_REENTRANT'
ccflags ='-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags =' '
libpth=/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lposix4 -lpthread -lc -lcrypt -lsec
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-KPIC', lddlflags='-G'
=======================================================================
I'm also seeing this behavior with FreezeThaw 0.43, Data::Dumper 2.102, and
=======================================================================
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=solaris, osvers=2.8, archname=sun4u-solaris
uname='sunos pelf 5.8 generic_108528-09 sun4u sparc sunw,ultra-5_10 '
config_args='-d'
hint=previous, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cc', ccflags ='-I/proj/axaf/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-xO4 -native',
cppflags='-I/proj/axaf/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
ccversion='Sun WorkShop 6 update 2 C 5.3 2001/05/15', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/proj/axaf/sun4u-SunOS-5/lib -R/proj/axaf/sun4u-SunOS-5/lib -L/proj/axaf/sparc-SunOS-5/lib -R/proj/axaf/sparc-SunOS-5/lib '
libpth=/proj/axaf/sun4u-SunOS-5/lib /proj/axaf/sparc-SunOS-5/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-KPIC', lddlflags='-G -L/proj/axaf/sun4u-SunOS-5/lib -R/proj/axaf/sun4u-SunOS-5/lib -L/proj/axaf/sparc-SunOS-5/lib -R/proj/axaf/sparc-SunOS-5/lib'
=======================================================================
Thanks,
Diab