Can you get a stack trace from the core dump please? Paul
> -----Original Message----- > From: Robin Barker (via RT) [mailto:[EMAIL PROTECTED] > Sent: 15 December 2004 16:52 > To: [EMAIL PROTECTED] > Subject: [perl #33054] Segmentation fault in DB_File with perl-5.8.6 gcc- > 3.3.2 > > # New Ticket Created by Robin Barker > # Please include the string: [perl #33054] > # in the subject line of all future correspondence about this issue. > # <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=33054 > > > > This is a bug report for perl from [EMAIL PROTECTED], > generated with the help of perlbug 1.35 running under perl v5.8.6. > > ----------------------------------------------------------------- > [Please enter your report here] > > I recently "upgraded" gcc from 3.3 to 3.3.2 - now DB_File does not work. > > 5 tests fail in the test suite - all involving DB_File > ext/DB_File/t/db-btree.t > ext/DB_File/t/db-hash.t > ext/DB_File/t/db-recno.t > lib/Memoize/t/errors.t > lib/Memoize/t/tie.t > > More simply: > % ./perl -Ilib -MDB_File -e1 > Segmentation fault > > perl-5.8.6 compiled and passed all tests with gcc 3.3 > > [Please do not change anything below this line] > ----------------------------------------------------------------- > --- > Flags: > category=library > severity=medium > --- > Site configuration information for perl v5.8.6: > > Configured by rmb1 at Wed Dec 15 16:08:39 GMT 2004. > > Summary of my perl5 (revision 5 version 8 subversion 6) configuration: > Platform: > osname=solaris, osvers=2.7, archname=sun4-solaris > uname='sunos tempest 5.7 generic_106541-04 sun4u sparc sunw,ultra-5_10 > ' > config_args='-des -Dprefix=/usr/local/perl -Dcc=gcc' > 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 -pipe -I/usr/local/include - > D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', > optimize='-O', > cppflags='-fno-strict-aliasing -pipe -I/usr/local/include' > ccversion='', gccversion='3.3.2', gccosandvers='solaris2.7' > 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=' -Wl,-E' > cccdlflags='-fPIC', lddlflags=' -Wl,-E -G -L/usr/local/lib' > > Locally applied patches: > > > --- > @INC for perl v5.8.6: > lib > /usr/local/perl/lib/5.8.6/sun4-solaris > /usr/local/perl/lib/5.8.6 > /usr/local/perl/lib/site_perl/5.8.6/sun4-solaris > /usr/local/perl/lib/site_perl/5.8.6 > /usr/local/perl/lib/site_perl > . > > --- > Environment for perl v5.8.6: > HOME=/home/rmb1 > LANG=C > LANGUAGE (unset) > LD_LIBRARY_PATH=/usr/lib > LOGDIR (unset) > > PATH=/home/rmb1/appl/script:/opt/SUNWspci/bin/:/usr/tempest/bin:/usr/local > /bin:/usr/local/Admigration/exec:/usr/local/hotjava/bin:/usr/openwin/bin:/ > usr/dt/bin:/usr/ccs/bin:/usr/bin > > PERL5LIB=/home/rmb1/appl/lib/perl5/5.8.6:/home/rmb1/appl/lib/perl5/site_pe > rl > PERLDOC=-n 'groff -Tlatin1' > PERL_BADLANG (unset) > SHELL=/usr/bin/tcsh > > ------------------------------------------------------------------- > This e-mail and any attachments may contain confidential and/or > privileged material; it is for the intended addressee(s) only. > If you are not a named addressee, you must not use, retain or > disclose such information. > > NPL Management Ltd cannot guarantee that the e-mail or any > attachments are free from viruses. > > NPL Management Ltd. Registered in England and Wales. No: 2937881 > Registered Office: Teddington, Middlesex, United Kingdom TW11 0LW. > -------------------------------------------------------------------
