Skip to Content.
Sympa Menu

freetds - Re: [freetds] core dumps

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Michael Peppler <mpeppler AT peppler.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] core dumps
  • Date: 14 Feb 2003 14:35:45 -0800

On Fri, 2003-02-14 at 13:48, Carl Edwards wrote:
> 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 ()

This appears to be from this code in DBD::Sybase:

for(i = 0; i < numCols; ++i) {
if((retcode = ct_describe(imp_sth->cmd, (i + 1),
&imp_sth->datafmt[i])) != CS_SUCCEED)
{
warn("ct_describe() failed");
cleanUp(imp_sth);
goto GoodBye;
}

What is weird is that the CS_COMMAND variable appears to be NULL.

Anyway - do you think you could try running this with DBI->trace(3)?
This will show us what the sequence of calls is that gets to that point.

Michael
--
Michael Peppler Data Migrations, Inc.
mpeppler AT peppler.org http://www.mbay.net/~mpeppler
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or
long term contract positions - http://www.mbay.net/~mpeppler/resume.html




Archive powered by MHonArc 2.6.24.

Top of Page