Skip to Content.
Sympa Menu

freetds - 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: "Magnus Sj�gren" <magnus AT linuxkonsult.com>
  • To: freetds
  • Subject: linux/php4 (final)/apache 1.3.12/MS-SQL 7.0 sigsegv
  • Date: Mon, 5 Jun 2000 7:9:41


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




Archive powered by MHonArc 2.6.24.

Top of Page