Hi All, i have:- Perl 5.6.1 AIX 4.3.3 DBI-1.30 DBD::ODBC-0.43
---- very simple DBI script ---- #!/usr/local/bin/perl use DBI; use DBD::ODBC; my $dbh = DBI->connect('dbi:ODBC:raider','myuserid','mypasswd'); $dbh->disconnect(); --------------------------------- when i run this script it exits with error message: "Illegal Instruction(coredump)" this is occuring AFTER the disconnect statement i can in fact query the database, return rows etc no problem - but then it dumps core at the end of the script if i try to debug the corefile, i get ..... [root@redbrick] /tmp>dbx /usr/local/bin/perl Type 'help' for help. reading symbolic information ... [using memory image in core] Illegal instruction (reserved addressing fault) in . at 0x0 ($t1) 0x00000000 000a4c43 Invalid opcode. (dbx) where warning: could not locate trace table from starting address 0x0 DynaLoader.() at 0x2001c918 exit(??) at 0xd01779a0 main() at 0x10001054 (dbx) q [root@redbrick] /tmp> looks like a NULL pointer relating to the DynaLoader. so if i turn on DL Debugging ( export PERL_DL_DEBUG=1 ), i get: DynaLoader.pm loaded (/usr/local/lib/perl5/5.6.1/aix /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/aix /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl ., /usr/local/lib /lib /usr/lib /usr/ccs/lib) DynaLoader::bootstrap for DBI (auto/DBI/DBI.so) DynaLoader::bootstrap for DBD::ODBC (auto/DBD/ODBC/ODBC.so) Illegal instruction(coredump) at this point i dont know what to try next ... so here i am .... any clues ???? regards Darren Edgerton =================================================================== Darren Edgerton IT Operations Manager Reece Australia Limited Ph: +613 9274 0000 Fax: +613 9274 0199 Email: [EMAIL PROTECTED] Web: http://www.reece.com.au =================================================================== -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]