Subject: | Storable fails on AIX with perl 5.005_03 |
Hi,
I was attempting to nstore() on some large data structures (which unfortunately contain some proprietary client data, so I couldn't furnish them even if you wanted them), and getting the error "Illegal instruction (core dumped)". Unfortunately I don't control perl on this machine and it was built without debugging symbols, so the core file isn't much good to me.
I went back and ran 'make test' for the 2.04 distribution, and sure enough, some of the tests fail:
Failed Test Status Wstat Total Fail Failed List of failed
----------------------------------------------------------------
t/integer.t 4 1024 850 4 0.47% 89, 259, 599, 769
Running with TEST_VERBOSE=1 shows me that these errors all say:
# Passed in -2147483649 (0, 0)
# got back '-2147483649' (0, 0)
These particular failures don't *quite* look like a smoking gun, but it seems like they should be corrected before trying to track down anything else, especially given my phantom data set.
Incidentally, I get the same behavior in my application if I use store() instead of nstore(), so I currently don't have a workaround other than to try FreezeThaw or something.
------------------------------------------------------------
[sa0110e0:~] kenw> uname -a
AIX sa0110e0 3 4 000118654C00
[sa0110e0:~] kenw> perl -V
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
osname=aix, osvers=4.3.3.0, archname=aix
uname='aix funny 3 4 000001716600 '
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
Compiler:
cc='cc', optimize='-O', gccversion=
cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384'
ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384'
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=8
alignbytes=8, usemymalloc=n, prototype=define
Linker and Libraries:
ld='ld', ldflags ='-s'
libpth=/lib /usr/lib /usr/ccs/lib
libs=-lnsl -ldbm -ldl -lld -lm -lc -lcrypt -lbsd -lPW -lC_r
libc=/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='-bE:perl.exp'
cccdlflags=' ', lddlflags='-bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp -b noentry -lc'
Characteristics of this binary (from libperl):
Built under aix
Compiled at Aug 14 1999 08:59:55
%ENV:
PERL5LIB="/h/cmcrc/kenw/lib"
@INC:
/h/cmcrc/kenw/lib/aix
/h/cmcrc/kenw/lib
/usr/opt/perl5/lib/5.00503/aix
/usr/opt/perl5/lib/5.00503
/usr/opt/perl5/lib/site_perl/5.005/aix
/usr/opt/perl5/lib/site_perl/5.005
.