Segmentation fault (core dumped) make test for t/50cursor.t



I realised people may not have been able to read my attachment from last time, so here it is again, but cut down, thanks,

I've had a problem when I try to run the perl -Mblib t/50cursor.t in DBD-ORACLE 1.16. It just creates a core on the 8th test.
I've tried 1.17 also and had the same problem so I've no idea what the problem could be, so I just thought I'd post here to see if it's something obvious.

I've included my the output from the make test, also a truss of the perl -Mblib t/50cursor.t
I'm using solaris 2.6
perl 5.8.1
DBI 1.5
oracle 8.0.3

Everything else should be included in my printouts. In the output deliminated by *** are
perl -Mblib t/50cursor.t
truss -e -a perl -Mblib t/50cursor.t
perl -v
perl -V

Thanks,
***************

merlin:root:16>perl -Mblib t/50cursor.t

DynaLoader.pm loaded (/export/home/beacon/dave/pc/transfer/DBD-Oracle-1.16/blib/arch /export/home/beacon/dave/pc/transfer/DBD-Oracle-1.16/blib/lib /usr/local/lib/perl5/5.8.1/sun4-solaris /usr/local/lib/perl5/5.8.1 /usr/local/lib/perl5/site_perl/5.8.1/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.1 /usr/local/lib/perl5/site_perl/5.6.2 /usr/local/lib/perl5/site_perl ., /usr/local/lib /usr/lib /usr/ccs/lib /u01/app/oracle/product/8.0.3/lib /usr/openwin/lib /opt/software/SUNWspro/lib /opt/lib /opt/software/hpnpl/lib)
DynaLoader::bootstrap for DBI (auto/DBI/DBI.so)
DynaLoader::bootstrap for List::Util (auto/List/Util/Util.so)
DynaLoader::bootstrap for DBD::Oracle (auto/DBD/Oracle/Oracle.so)
Max cursors: 46
1..462
opening cursors
ok 1
opening cursor 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
Segmentation fault (core dumped)

***************
write(1, " o k 7\n", 5) = 5
Incurred fault #6, FLTBOUNDS %pc = 0xEF10B458
siginfo: SIGSEGV SEGV_MAPERR addr=0x00000010
Received signal #11, SIGSEGV [default]
siginfo: SIGSEGV SEGV_MAPERR addr=0x00000010
*** process killed ***
***************
merlin:root:18>perl -v


This is perl, v5.8.1 built for sun4-solaris

Copyright 1987-2003, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.
***************
merlin:root:19>perl -V

Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
Platform:
osname=solaris, osvers=2.6, archname=sun4-solaris
uname='sunos merlin 5.6 generic_105181-03 sun4m sparc sunw,sparcstation-20 '
config_args='-Dcc=gcc -des'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='3.3.2', gccosandvers='solaris2.6'
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, 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 -lc
perllibs=-lsocket -lnsl -ldl -lm -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=' -z ignore -z lazyload -z combreloc'
cccdlflags='-fPIC', lddlflags=' -G -z ignore -z lazyload -z combreloc -L/usr/local/lib'


Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under solaris
Compiled at Apr 12 2006 10:40:51
%ENV:
PERL_DL_DEBUG="2"
@INC:
/usr/local/lib/perl5/5.8.1/sun4-solaris
/usr/local/lib/perl5/5.8.1
/usr/local/lib/perl5/site_perl/5.8.1/sun4-solaris
/usr/local/lib/perl5/site_perl/5.8.1
/usr/local/lib/perl5/site_perl/5.6.2
/usr/local/lib/perl5/site_perl
.
.



Relevant Pages

  • Re: XML::Twig segfault on solaris
    ... siginfo: SIGSEGV SEGV_MAPERR addr=0xFF3EE000 ... Received signal #11, SIGSEGV ... segfault, then that suggests the problem is in the END blocks or DESTROY ... Then running the program through the profiler (perl -d:DProf), ...
    (comp.lang.perl.misc)
  • perl -v produces different output each time
    ... This is perl, ... Perl may be copied only under the terms of either the Artistic License or ... GNU General Public License, which may be found in the Perl 5.0 source kit. ...
    (perl.beginners)
  • RE: Problem installing DBI on Win2000
    ... Problem installing DBI on Win2000 ... > Binary build 807 provided by ActiveState Corp. ... > GNU General Public License, which may be found in the Perl 5 ...
    (perl.dbi.users)
  • Re: perl
    ... Perl may be copied only under the terms of either the Artistic License or ... GNU General Public License, which may be found in the Perl 5 source kit. ... Running install for module 'File::Find' ...
    (RedHat)
  • Bug in perl v5.8.5 Built for sun4-solaris. Any patch availabale?
    ... Today I have posted a question regrdaing a core dump issue. ... I have a HPUX 11i box and the perl version and other information is ... GNU General Public License, which may be found in the Perl 5 source ... headers and source files. ...
    (comp.lang.perl.misc)