Skip to Content.
Sympa Menu

freetds - [freetds] core dumps

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Carl Edwards" <edwards AT vitesse.com>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: [freetds] core dumps
  • Date: Fri, 14 Feb 2003 13:48:01 -0800

Hello,

My perl script is core dumping and I was looking for some tips
on how to try and solve this.

Here is snippet of the gdb where:

#0 0xfef77bac in ct_describe (cmd=0x0, item=1, datafmt=0x404008) at ct.c:916
#1 0xfefbf418 in describe ()
from
/usr/local/perl56/lib/site_perl/5.6.1/sun4-solaris/auto/DBD/Sybase/Sybase.so
#2 0xfefbfb8c in st_next_result ()
from
/usr/local/perl56/lib/site_perl/5.6.1/sun4-solaris/auto/DBD/Sybase/Sybase.so
#3 0xfefc002c in syb_st_execute ()
from
/usr/local/perl56/lib/site_perl/5.6.1/sun4-solaris/auto/DBD/Sybase/Sybase.so
#4 0xfefb7a38 in XS_DBD__Sybase__st_execute ()
from
/usr/local/perl56/lib/site_perl/5.6.1/sun4-solaris/auto/DBD/Sybase/Sybase.so
#5 0xff14af94 in XS_DBI_dispatch ()
from /usr/local/perl56/lib/site_perl/5.6.1/sun4-solaris/auto/DBI/DBI.so
#6 0x76490 in Perl_pp_entersub ()
#7 0x6ee7c in Perl_runops_standard ()
#8 0x24700 in S_run_body ()
#9 0x24350 in perl_run ()
#10 0x21750 in main ()


If I diff the output of the freetds.log between a successful run
and a core dump the differences start to show up in the SELECT
and then one has the ct_describe and ends while the other has a
different process_result_tokens type, no ct_describe and goes on
to finish?

This is perl on a Solaris box connecting to MSSQL.

Let me know if there is something else I can provide, I tried
dropping the TDSVER down to 4.2 but MSSQL balked, did try 7.0
and 8.0 with no difference.

It seems to happen when it is the first time my script runs
for the day, but not as much on the 2nd or later runs??

/Carl




Archive powered by MHonArc 2.6.24.

Top of Page