Skip to Content.
Sympa Menu

freetds - Re: linux/php4 (final)/apache 1.3.12/MS-SQL 7.0 sigsegv

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: <camber AT ais.org>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: linux/php4 (final)/apache 1.3.12/MS-SQL 7.0 sigsegv
  • Date: Mon, 5 Jun 2000 08:10:41 -0400 (EDT)



See, the other thread going on regarding ntext support. You must use TDS
7.0 and some patches it appears.

On Mon, 5 Jun 2000, Magnus Sj?gren wrote:

> Hello,
>
> I get a sigsegv when trying to send a query to my ms-sql server (I don't
> know more about ms-sql than what 1 hour of playing around gives).
> This is with both the 0.50 version and the snapshot of today (5:th of
> June).
>
> If I do a strace I can see that the connection is established and I can
> select a database fine. However, when trying to do a query apache
> sigsegvs.
>
> The strace output shows that the ms-sql says this just before the crash:
>
> read(4, "\343\17\0\1\6master\6master\2534\0E\26\0\0\2\0%\0Changed database
> context to \'master\'.\3SQL\0\0\0\343\t\0\3\5iso_1\1\0\255
> \0\1\4\2\0\0\26Microsoft SQL
> Server\0\0_\7\0\377\343\n\0\4\003512\0044096\375\0\0\0\0\0\0\0\0", 142) =
> 142
> write(4, "\1\1\0\25\0\0\0\0use northwind", 21) = 21
> read(4, "\0\0\0\0\0\0\0\0", 8) = 8
> read(4, "\343\22\0\1\tNorthwind\6master\2537\0E\26\0\0\1\0(\0Changed
> database co
> ntext to \'Northwind\'.\3SQL\0\1\0\375\0\0\342\0\0\0\0\0", 88) = 88
> write(4, "\1\1\0002\0\0\0\0SELECT * FROM suppliers WHERE SupplierID=1", 50)
> = 50
> read(4, "\0\0\0\0\0\0\0\0", 8) = 8
> read(4, "\252s\0\244\17\0\0\1\20d\0ntext data cannot be sent to clients
> using DB -Library (such as ISQL) or ODBC version 3.7 or
> earlier.\3SQL\0\1\0\375\2\0\301\0\0\0\0\0", 127) = 127
> --- SIGSEGV (Segmentation fault) ---
> chdir("/usr/local/apache") = 0
>
> Note the errormessage ms-sql sends just at the end.
>
> Any hints?
>
> Cheers,
> Magnus
>
> ---
> You are currently subscribed to freetds as: camber AT ais.org
> To unsubscribe, forward this message to
> leave-freetds-12294M AT franklin.oit.unc.edu
>
>





Archive powered by MHonArc 2.6.24.

Top of Page