Skip to Content.
Sympa Menu

freetds - [freetds] FreeTDS/DBD::Sybase dumping core.

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Chris Josephes <cpj1 AT isis.visi.com>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] FreeTDS/DBD::Sybase dumping core.
  • Date: Mon, 10 Feb 2003 14:05:59 -0600 (CST)

I'm upgrading a FreeTDS environment as part of a plan to move a database
client to a new Solaris host.

I'm running perl 5.8.0 in a Solaris 8 environment, using FreeTDS-0.61 and
DBD::Sybase 0.95. It was recommended that I use the snapshot release of
FreeTDS to resolve some issues with compatability.

The "tsql" client program is able to connect to a server configured in my
freetds.conf file.

However, when I run a test perl script to connect to the same database,
perl dumps core.

I checked with Michael Peppler and he said it was a problem with ct.c.

Here's part of a stack trace:

#0 ct_options (con=0x3d838, action=4, option=7, param=0xffbef367,
paramlen=-99999, outlen=0x0) at ct.c:1950
#1 0xfeeff7f4 in syb_db_connect ()
from
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris-thread-multi/auto/DBD/Sybase/Sybase.so
#2 0xfeefec94 in syb_db_login ()
from
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris-thread-multi/auto/DBD/Sybase/Sybase.so
#3 0xfeef6804 in XS_DBD__Sybase__db__login ()
from
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris-thread-multi/auto/DBD/Sybase/Sybase.so
#4 0xff289810 in Perl_pp_entersub ()
from
/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE/libperl.so
#5 0xff281aa0 in Perl_runops_standard ()
from
/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE/libperl.so
#6 0xff2292c8 in S_call_body ()

--------------------
Christopher Josephes
cpj1 AT visi.com





Archive powered by MHonArc 2.6.24.

Top of Page