Subject: | t/14threads.t fails with panic: magic_killbackrefs (flags=ff) during global destruction |
I'm trying to compile DBD-Oracle-1.28 with perl-5.14-tobe and the t/14threads.t test fails
for me. I don't see this problem with perl-5.12. Running the test separately I see:
$ perl -Mblib t/14threads.t
1..19
ok 1 - session 0 created
ok 2 - session 1 matches previous session
ok 3 - session 2 matches previous session
ok 4 - session 3 matches previous session
ok 5 - session 4 matches previous session
ok 6 - one imp_data in pool
ok 7 - thread gets two separate sessions
ok 8 - get same session after free
panic: magic_killbackrefs (flags=ff) during global destruction.
$ perl -V
Summary of my perl5 (revision 5 version 14 subversion 0) configuration:
Commit id: 7d779b236fc2cb0c2dbe324bda777c76494a71a5
Platform:
osname=linux, osvers=2.6.17-1.2142_fc4, archname=i686-linux-thread-multi
uname='linux perl-linux-vm 2.6.17-1.2142_fc4 #1 tue jul 11 22:41:14 edt 2006 i686
i686 i386 gnulinux '
config_args='-Dprefix=/opt/perl/v5.13.11-399-g7d779b2 -
Dprivlib=/opt/perl/v5.13.11-399-g7d779b2/lib -Darchlib=/opt/perl/v5.13.11-399-
g7d779b2/lib -Dsiteprefix=/opt/perl/v5.13.11-399-g7d779b2/site -
Dsitelib=/opt/perl/v5.13.11-399-g7d779b2/site/lib -Dsitearch=/opt/perl/v5.13.11-399-
g7d779b2/site/lib -Dusedevel -Uversiononly -Doptimize=-g -Dusethreads -ders'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -
I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-g',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -
I/usr/local/include'
ccversion='', gccversion='4.0.2 20051125 (Red Hat 4.0.2-8)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.3.6.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.3.6'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -g -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
PERL_PRESERVE_IVUV PERL_USE_DEVEL USE_ITHREADS
USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
USE_REENTRANT_API
Locally applied patches:
RC0
Built under linux
Compiled at Apr 7 2011 14:34:52
@INC:
/opt/perl/v5.13.11-399-g7d779b2/site/lib
/opt/perl/v5.13.11-399-g7d779b2/lib
.