PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Re: perl upgrade/connect problem
Date: Oct 3 1997 12:03AM

Stevens, Nancy wrote:
> 
> Hi.  I was using CTlib (syb_perl version 2_07), with Perl version 5_003
> and everything was working fine.  I just upgraded to Perl version
> 5_004_3 (including the patch) and now when I try to connect to ctlib, I
> get the following errors (this in on AIX):
> 
> perl -de 0
> main::(-e:1):   0
> DB<1> use Sybase::CTlib;
> DB<2>  $d = Sybase::CTlib->ct_connect(uid, pwd);
> Signal SEGV at /usr/local/lib/perl5/perl5db.pl line 1067
>         DB::DB called at -e line 1
> IOT/Abort trap(coredump)
> 
> so I tried with DBlib and got:
> 
> DB<1> use Sybase::DBlib;
> DB<2> $dbh = new Sybase::DBlib uid, pwd;
> DB<3> $dbh->dbcmd("select db_name()")
> Signal SEGV at /usr/local/lib/perl5/perl5db.pl line 1067
>         DB::DB called at -e line 1
> IOT/Abort trap(coredump)

Does it always core dump, or only in the debugger?

If it always core's, could you try taking a look at the stack
trace (via dbx or gdb)?

The code works fine here on Solaris 2.5.1 and perl 5.004_4t2.

Michael
-- 
Michael Peppler       -||-  Data Migrations Inc.
mpeppler@datamig.com  -||-  http://www.mbay.net/~mpeppler