Core dump after successful execution of DBD::Oracle Script 
Author Message
 Core dump after successful execution of DBD::Oracle Script

Hello,

My perl script is giving segmentation faults followed by a core dump
after successful execution.

I  am using perl 5.005_02  with DBD::Oracle. The following is the simple
script:

#!/usr/local/bin/perl

use DBI;
$dbh = DBI->connect('dbi:Oracle:','user/passwd');

$statement='select rownum, var1, var2 from table_name';

$sth = $dbh->prepare(qq{$statement});
$sth->execute;

my ($rownum, $var1, $var2);
$rv = $sth->bind_columns(undef, \($rownum, $var1, $var2));

while ($sth->fetch) {
   print "$rownum, $comp_name : $comp_no\n";

Quote:
}

$rc = $sth->finish;

Thats all!

TIA!

Ajit




Wed, 11 Apr 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Core dump after successful execution of DBD::Oracle Script

2. DBD::Oracle and Perl5.004_03 - dumps core

3. DBD::Oracle and Perl5.004_03 - dumps core

4. DBD-40 core dump on HP-UX 10.01

5. DBD::Sybase problem -- Segmentation fault (core dumped)

6. DBD::Sybase core dump...

7. PERLFUNC: dump - create an immediate core dump

8. PERLFUNC: dump - create an immediate core dump

9. help - script dumps core - but why?

10. perl dumps core on script with incorrect syntax

11. Perl5 - WAIS CGI Script dumps core on Solaris 2.3

12. Help with core-dumping script

 

 
Powered by phpBB® Forum Software