Dear experts:
I have installed DBI and DBD on my x86 without any problem, but I get core dump
when I try to make connection
my $dbh = DBI->connect($dsn, $user, $password );
Could you let me know how to fix the problem? Any suggestions will be greatly
appreciated
$uname -a
SunOS deepfrzd 5.10 Generic_125101-06 i86pc i386 i86pc
DBI-1.60
DBD-Oracle-1.22
Oracle client Release 10.2.0.1.0
env set
export ORACLE_HOME=/orahome/app/oracle/product/10.2.0
export
LD_LIBRARY_PATH=$ORACLE_HOME/lib32:$ORACLE_HOME/perl/lib:$ORACLE_HOME/lib:$LD_LIBRARY_PATH
export PATH=$ORACLE_HOME/bin:$PATH
export PATH=/usr/local/bin:$PATH
export
PERLLIB=$ORACLE_HOME/lib32:$ORACLE_HOME/perl/lib:$ORACLE_HOME/lib:/usr/local/lib:/usr/local/lib/perl5/5.8.8/i86pc-solaris:/usr/local/lib/perl5/site_perl/5.8.8/i86pc-solaris:/usr/local/lib/perl5/site_perl/5.6.1:/usr/local/lib/perl5/5.6.1/sun4-solaris:/usr/li
b:$PERLLIB
export NLS_LANGUAGE=AMERICAN
export
PERL5LIB=$ORACLE_HOME/lib32:$ORACLE_HOME/perl/lib:$ORACLE_HOME/lib:/usr/local/lib:/usr/local/lib/perl5/5.8.8/i86pc-solaris:/usr/local/lib/perl5/site_perl/5.8.8/i86pc-solaris:/usr/local/lib/perl5/site_perl/5.6.1:/usr/local/lib/perl5/5.6.1/sun4-solaris:/usr/lib:$PERL5LIB
perl -MDevel::CoreStack -e 'stack'
Executing /usr/bin/adb "/usr/local/bin/perl" "core" ($c)...
core file = core -- program ``/usr/local/bin/perl'' on platform i86pc
SIGSEGV: Segmentation Fault
libclntsh.so.10.1`nnfgrne+0x25b(febf3440, 8043f38, 0, febb5e48, 0, 8041ce0)
libclntsh.so.10.1`nlolgobj+0x669(febf3440, 8043f38, 16, 8041d44, 8041d48)
libclntsh.so.10.1`nnfun2a+0x15b(febf3440, 8043f38, ff, 8043f18, 8041dd0, 1000)
libclntsh.so.10.1`nnfsn2a+0x36(febf3440, 8043f38, ff, 8043f18, 8041dd0, 1000)
libclntsh.so.10.1`niqname+0x2fb(febf3440, 1, 8043f38, 8, 8360f4c, 8047170)
libclntsh.so.10.1`kwfnran+0x184(827ad50, 8, 804716c, 8047170, 8366f8c, 8366f90)
libclntsh.so.10.1`kwfcinit+0x1b7(835ce2c, 827ad50, 8, 804716c, 8047170, 8343388
)
libclntsh.so.10.1`kpuatch+0x7c0(835ce2c, 835c8a0, 827ad50, 8, 0, 0)
libclntsh.so.10.1`OCIServerAttach+0x56(835ce2c, 835c8a0, 827ad50, 8, 0, fed01aca
)
Oracle.so`ora_db_login6+0x1095(81b8fe4, 82a65c0, 827ad50, 81c7620, 81c7698,
81af5d8)
Oracle.so`XS_DBD__Oracle__db__login+0x182(8293374, 8047690, 80473e8, 80b31fc)
Perl_pp_entersub+0x453(81ac7dc, 8047690, 8047408, 8068f3a, 813afec, 4)
Perl_runops_standard+0x1e(813afec, 4, 80476a8, 8068b18, 8047670, 0)
S_call_body+0x3d(8047670, 0, 80476a8, 8068a0d, 81e24d0, 47450)
Perl_call_sv+0x1ae(81af674, 0, 0, fed4a90d, 80476f0, 4d)
DBI.so`XS_DBI_dispatch+0x1934(826d140, 8047c08, 80478e8, 80b31fc)
Perl_pp_entersub+0x453(8047b68, 8047b48, 8047908, 8068708, 0, 0)
Perl_runops_standard+0x1e(0, 0, 8047b48, 806841f, 1, 0)
S_run_body+0x10d(1, 0, 0, 80479f4, 80479f8, 8047970)
perl_run+0x86(8131720, 1, 8047b78, 806592b)
main+0x9b(3, 8047bac, 8047bbc)
_start+0x60(3, 8047c70, 8047c84, 8047c87, 0, 8047c8f)
Thanks
Ching Shen
x7156