Skip to Content.
Sympa Menu

freetds - Re: -current vs 0.53

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Emile Heitor <imil AT isdnet.net>
  • To: TDS Development Group <freetds AT franklin.metalab.unc.edu>
  • Subject: Re: -current vs 0.53
  • Date: Thu, 5 Sep 2002 15:50:17 +0200 (CEST)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi Bill,

On Thu, 5 Sep 2002, Bill Thompson wrote:

> if you look a couple of posts down, you'll see my reply to a post called
> UNIXodbc woes.

well I did it before posting of course ;)
In fact I didn't explained the exact behaviour of the failing try, what
happens is a SIGSEGV, here is the interesting part of the ktrace :

65453 isql CALL connect(0x5,0xbfbfa78c,0x10)
65453 isql RET connect -1 errno 36 Operation now in progress
65453 isql CALL poll(0x804f400,0x1,0)
65453 isql RET poll 0
65453 isql CALL poll(0x805c000,0x1,0)
65453 isql RET poll 0
65453 isql CALL poll(0x805c000,0x2,0x1388)
65453 isql RET poll 1
65453 isql CALL gettimeofday(0x281f882c,0)
65453 isql RET gettimeofday 0
65453 isql CALL gettimeofday(0xbfbfa614,0)
65453 isql RET gettimeofday 0
65453 isql CALL sigaction(0xd,0xbfbfa3b4,0)
65453 isql RET sigaction 0
65453 isql CALL write(0x5,0x8065200,0xa2)
65453 isql GIO fd 5 wrote 162 bytes

"\^P\^A\0\M-"\0\0\^A\0\M^Z\0\0\0\0\0\0p\0\0\0\0\0\0\0\^F\M^C\M-r\M-x\

\M^?\0\0\0\0\M-`\^C\0\0\M^H\M^?\M^?\M^?6\^D\0\0V\0\^R\0z\0\^B\0~\0\0\0\
~\0\0\0~\0\^D\0\0\0\0\0\M^F\0\0\0\M^F\0

\0\M^Z\0\0\0\0@3\M^ZkP\M^Z\0\0\0\M^Z\0\0\0e\0h\0e\0i\0t\0o\0r\0.\0i\0s\

\0d\0n\0e\0t\0.\0n\0e\0t\0s\0a\0O\0D\0B\0C\0u\0s\0_\0e\0n\0g\0l\0i\0s\
\0h\0"
65453 isql RET write 162/0xa2
65453 isql CALL sigaction(0xd,0xbfbfa3b4,0)
65453 isql RET sigaction 0
65453 isql CALL read(0x5,0xbfbfa5a4,0x8)
65453 isql RET read -1 errno 35 Resource temporarily unavailable
65453 isql PSIG SIGSEGV SIG_DFL
65453 isql NAMI "isql.core"

And yes, I'm sure it does try to the connect the SQL server as the
tcpdump log shows :

15:46:29.293561 mil.4163 > <host>.ms-sql-s: S
3402014867:3402014867(0) win 57344 <mss 1460,nop,wscale
0,nop,nop,timestamp 27558682 0> (DF)
15:46:29.297432 mil.4163 > <host>.ms-sql-s: . ack
1514433150 win 57920 <nop,nop,timestamp 27558682 0> (DF)
15:46:29.297631 mil.4163 > <host>.ms-sql-s: P 0:162(162)
ack 1 win 57920 <nop,nop,timestamp 27558682 0> (DF)
15:46:29.302770 mil.4163 > <host>.ms-sql-s: . ack 88 win
57834 <nop,nop,timestamp 27558682 24167094> (DF)
15:46:29.331718 mil.4163 > <host>.ms-sql-s: F 162:162(0)
ack 88 win 57920 <nop,nop,timestamp 27558685 24167094> (DF)

and the freetds trace log :

2002-09-05 15:32:50.205734 Connecting addr <IP> port 1433
2002-09-05 15:32:50.217261 inside tds_process_login_tokens()

I beleive there is a FreeBSD issue here, I'll have a look on this.

Thanks for your help,

Best Regards,

- ---
Emile Heitor
Internet Services Operations
vISP Development leader

Cable & Wireless
Delivering the Internet promise(tm)
www.cw.com

Tel: +33 (0)1 43 13 68 00
Fax: +33 (0)1 43 13 68 68

********************************************
This message may contain information which is confidential or
privileged. If you are not the intended recipient, please
advise the sender immediately by reply e-mail and delete this
message and any attachments without retaining a copy.
********************************************
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE9d2Ec3FQGPyAQkGgRAvVZAKCFhr23NVfOMG60HT5J1mvAGg2fXwCfXV2d
UfYFNdqiz+W9AdBHxuRegtU=
=VQD5
-----END PGP SIGNATURE-----





Archive powered by MHonArc 2.6.24.

Top of Page