Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re: DBI-1.11: many tests fail with Perl5.005_57 + AIX + threading #102

p5pRT opened this issue Jun 23, 1999 · 1 comment

Re: DBI-1.11: many tests fail with Perl5.005_57 + AIX + threading #102

p5pRT opened this issue Jun 23, 1999 · 1 comment


Copy link

p5pRT commented Jun 23, 1999

Migrated from (status was 'resolved')

Searchable as RT906$

Copy link

p5pRT commented Jun 23, 1999

From @timbunce

Summary of my perl5 (revision 5.0 version 5 subversion 57) configuration​:
osname=aix, osvers=, archname=aix-thread
uname='aix aasc24 3 4 00ffffff4c00 '
config_args='-desr -Dusethreads -Duseshrplib -Dcc=cc -Dccflags=-DSOCKS -DDEBUGGING -Doptimize=-O2 -Uinstallusrbinperl'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define useperlio=undef d_sfio=undef
use64bits=undef usemultiplicity=undef
cc='cc_r', optimize='-O2', gccversion=
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 =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lnsl -lgdbm -ldbm -ldb -ldl -lld -lm -lpthreads -lc_r -lcrypt -lbsd -lPW -lsocks5
libc=, so=a, useshrplib=true, 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 -lsocks5 -lpthreads -lc_r -L/usr/local/lib'

t/examp.............ok 104/196

t/examp.............ok 105/196Bad symbol for filehandle at blib/lib/DBD/ line 321.

The offending line is​:


The only other relevant lines are​:

  $sth->{dbd_datahandle} = "DBD​::ExampleP​::".++$DBD​::ExampleP​::gensym;
  opendir($sth->{dbd_datahandle}, $dir)

I can't see why the test should fail in this way. Smells to me like
a threaded-perl bug or AIX threaded libc bug.

Please confirm that there's no problem with a non-threaded perl.
Please also do a spot of debugging to see what value is in
$sth->{dbd_datahandle} (etc etc) in case that sheds any light on it.

I'd be grateful if someone could test DBI 1.11 with a threaded 5.005_57
on another platform (I don't have time right now).


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

1 participant