Subject: | Module dumps core under Solaris 2.8 |
I am testing MySQL 4.1.x. The installation works with all of my applications execpt the DBD-Mysql. When I attempt to install the module, the compile is clean, but "make test" reports the following:
$ make test
PERL_DL_NONLAZY=1 /opt/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base...........ok
t/10dsnlist........dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
t/20createdrop.....dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
t/30insertfetch....dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
t/40bindparam......dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
t/40blobs..........dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
t/40listfields.....dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
t/40nulls..........dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
t/40numrows........dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
t/50chopblanks.....dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
t/50commit.........dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
t/60leaks..........skipped
all skipped: $ENV{SLOW_TESTS} is not set or Proc::ProcessTable not installed
t/ak-dbd...........dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
DIED. FAILED tests 1-90
Failed 90/90 tests, 0.00% okay
t/akmisc...........dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
DIED. FAILED tests 1-351
Failed 351/351 tests, 0.00% okay
t/dbdadmin.........dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
DIED. FAILED tests 1-21
Failed 21/21 tests, 0.00% okay
t/insertid.........dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
t/mysql............dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
t/mysql2...........dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/10dsnlist.t 0 139 ?? ?? % ??
t/20createdrop.t 0 139 ?? ?? % ??
t/30insertfetch.t 0 139 ?? ?? % ??
t/40bindparam.t 0 139 ?? ?? % ??
t/40blobs.t 0 139 ?? ?? % ??
t/40listfields.t 0 139 ?? ?? % ??
t/40nulls.t 0 139 ?? ?? % ??
t/40numrows.t 0 139 ?? ?? % ??
t/50chopblanks.t 0 139 ?? ?? % ??
t/50commit.t 0 139 ?? ?? % ??
t/ak-dbd.t 0 139 90 180 200.00% 1-90
t/akmisc.t 0 139 351 702 200.00% 1-351
t/dbdadmin.t 0 139 21 42 200.00% 1-21
t/insertid.t 0 139 ?? ?? % ??
t/mysql.t 0 139 ?? ?? % ??
t/mysql2.t 0 139 ?? ?? % ??
1 test skipped.
Failed 16/18 test scripts, 11.11% okay. 462/467 subtests failed, 1.07% okay.
make: *** [test_dynamic] Error 2
Here are some additional environment details:
$ uname -a
SunOS hw-develop 5.8 Generic_117350-10 sun4u sparc
$ perl -V
Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
Platform:
osname=solaris, osvers=2.8, archname=sun4-solaris-thread-multi-64int
uname='sunos hw-develop 5.8 generic_108528-29 sun4u sparc '
config_args=''
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=define use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-D_REENTRANT -fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='3.4.1', gccosandvers='solaris2.8'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib '
libpth=/usr/local/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldb -ldl -lm -lpthread -lc
perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-E'
cccdlflags='-fPIC', lddlflags=' -Wl,-E -G -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under solaris
Compiled at Aug 11 2004 14:17:35
@INC:
/opt/apps/perl-5.8.5/lib/5.8.5/sun4-solaris-thread-multi-64int
/opt/apps/perl-5.8.5/lib/5.8.5
/opt/lib/site_perl/5.8.5/sun4-solaris-thread-multi-64int
/opt/lib/site_perl/5.8.5
/opt/lib/site_perl
.
$ gcc -v
Reading specs from /opt/apps/gcc-3.4.2/lib/gcc/sparc-sun-solaris2.8/3.4.2/specs
Configured with: ../gcc-3.4.2/configure --prefix=/opt/apps/gcc-3.4.2 --mandir=/opt/man --with-as=/opt/bin/as --with-ld=/opt/bin/ld --with-gnu-as --with-gnu-ld --enable-languages=c,c++,objc
Thread model: posix
gcc version 3.4.2