linux/php4 (final)/apache 1.3.12/MS-SQL 7.0 sigsegv
camber at ais.org
camber at ais.org
Mon Jun 5 08:10:41 EDT 2000
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
>
>
More information about the FreeTDS
mailing list