Skip to Content.
Sympa Menu

freetds - RE: another php/sqsh core dump

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Thompson, Bill D (London)" <ThompBil AT exchange.uk.ml.com>
  • To: "'TDS Development Group'" <freetds AT franklin.oit.unc.edu>
  • Subject: RE: another php/sqsh core dump
  • Date: Tue, 4 Sep 2001 17:39:22 +0100


In freetds-0.52/src/tds/config.c there is a function called
search_interface_file()
There is some code in there which should be replaced with this
segment...this solved it for me...

/*
* create the full pathname to the interface file
*/
if (file==NULL || file[0]=='\0')
{
pathname[0] = '\0';
}
else
{
if (dir==NULL || dir[0]=='\0')
{
pathname[0] = '\0';
}
else
{
strcpy(pathname, dir);
strcat(pathname, "/");
}
strcat(pathname, file);
}


> -----Original Message-----
> From: Pavel Kolesnikov [SMTP:k AT les.cz]
> Sent: Tuesday, September 04, 2001 5:28 PM
> To: TDS Development Group
> Subject: [freetds] another php/sqsh core dump
>
> Hallo,
>
> I've installed FreeTDS 0.52 from FreeBSD ports. When I tried to compile
> sqsh 1.7 with freetds, it segfaults on connecting to my Sybase server,
> the same happens with PHP(4.0.6).
>
> I found something about segfaulting PHP at
>
> http://www.freetds.org/faq.html#43
>
> but it seems to be only PHP3 related and its not my case anyway, since
> FreeTDS is compiled with --enable-dbmfix and PHP 4.0.6 seems to use
> tdsdbopen calls instead of dbopen.
>
> Does anybody have an idea what could be wrong?
>
>
> Thanks a lot
>
> Pavel
>
> P.S. is there any archive of this mailing list on the web?
>
>
>
>
>
> ---
> You are currently subscribed to freetds as: [ThompBil AT exchange.uk.ml.com]
> To unsubscribe, forward this message to
> $subst('Email.Unsub')





Archive powered by MHonArc 2.6.24.

Top of Page