Maras Michal wrote:
HelloI compilled DBD-Informix-1.00.PC2 on AIX 4.3.3.0 with IBM C and C++ Compilers without error . But 'make test' give me output PERL_DL_NONLAZY=1 /u/maras/perl/bin/perl -Iblib/arch -Iblib/lib -I/u/mar as/perl/lib/5.6.1/aix-thread-multi-64int -I/u/maras/perl/lib/5.6.1 -e 'use Test: :Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/t00basic..........dubious Test returned status 0 (wstat 132, 0x84) test program seems to have generated a core t/t01stproc.........dubious Test returned status 0 (wstat 132, 0x84) test program seems to have generated a core ....... --------------------- I using this perl with mod_perl as DSO on apache without any problem, I thing perl is OK. Then where is problem? In OS (AIX 4.3.3.0)? In Informix (Informix Dynamic Server 2000 Version 9.20.UC4X6)? Or somewhere else? Can anyone help me?
The problem is more likely to be in the version of CSDK that you are using - the version of which you do not quote, unfortunately - than in the server itself (though you should be running 9.21, not 9.20!).
I also have no clue what multiplicity does - so I've never used a version of Perl with it defined, so I've no idea whether that's the trouble. I'm also leary of using a threaded Perl -- you might be OK, but then again, you might not be OK. I'm marginally leery of the 64-bit compilation too, but that is less likely to be an issue unless you were using a UCx version of CSDK instead of an FCx version (ie: you should be using something like 2.70.FC1, but if you are using 2.70.UC1, you have got troubles).
Other than those items which raise warning flags, I've got no clue.
Please include the build information as requested - see perldoc DBD::Informix::TechSupport and/or BugReport.
Thank ------------- dbx output Illegal instruction (reserved addressing fault) in . at 0x0 ($t1) Instruction is valid on: pwrx 0x00000000 f0112790 Invalid opcode. (dbx) where warning: could not locate trace table from starting address 0x0 dbd_ix_dr_driver(0x2018f4ec), line 153 in "dbdimp.ec" XS_DBD__Informix__dr_driver_init(0x200187c8, 0x200a5fd4) at 0xd36e6c14 Perl_pp_entersub(0x200187c8) at 0xd2ce4868 Perl_runops_standard(0x200187c8) at 0xd2d30fb4 S_run_body(0x200187c8, 0x1) at 0xd2c2fca0 perl_run(0x200187c8) at 0xd2c37134 main(0x3, 0x2ff22998, 0x2ff229a8) at 0x10000448 (dbx) ------------------- perl -V output Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=aix, osvers=4.3.3.0, archname=aix-thread-multi-64int uname='aix platan 3 4 004493da4c00 ' config_args='-Dprefix=/u/maras/perl -Accflags=-DEAPI -qcpluscmt -Aldflags=-lpthread -Alddlflags=-lpthread -Dusethreads -Duseshrplib -Doptimize=-DAPI -Duselargefiles -Duse64bitint -Uinstallusrbinperl -de -Dinstallman1dir=none -Dinstallman3dir=none -Dman1dir=none -Dman3dir=none -Ubincompat5005 -D_XOPEN_SOURCE=500' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=undef uselongdouble=undef Compiler: cc='cc_r', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -DUSE_NATIVE_DLOPEN -DEAPI -qcpluscmt -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong', optimize='-DAPI ', cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -DUSE_NATIVE_DLOPEN -DEAPI -qcpluscmt -DNEED_PTHREAD_INIT' ccversion='', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, usemymalloc=n, prototype=define Linker and Libraries: ld='ld', ldflags =' -brtl -lpthread -b32' libpth=/lib /usr/lib /usr/ccs/lib libs=-lbind -lnsl -ldbm -ldl -lld -lm -lc_r -lcrypt -lbsd -lPW -liconv perllibs=-lbind -lnsl -ldl -lld -lm -lc_r -lcrypt -lbsd -lPW -liconv libc=/lib/libc.a, so=a, useshrplib=true, libperl=libperl.a Dynamic Linking: dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -bE:/u/maras/perl/lib/5.6.1/aix-thread-multi-64int/CORE/perl.exp' cccdlflags=' ', lddlflags='-bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp -b noentry -lc_r -lpthread' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under aix Compiled at Nov 9 2002 11:21:18 @INC: /u/maras/perl/lib/5.6.1/aix-thread-multi-64int /u/maras/perl/lib/5.6.1 /u/maras/perl/lib/site_perl/5.6.1/aix-thread-multi-64int /u/maras/perl/lib/site_perl/5.6.1 /u/maras/perl/lib/site_perl .
--
Jonathan Leffler ([EMAIL PROTECTED], [EMAIL PROTECTED]) #include <disclaimer.h>
Guardian of DBD::Informix 1.00.PC2 -- http://dbi.perl.org/