-current vs 0.53

Brian Bruns camber at ais.org
Thu Sep 5 18:37:09 EDT 2002



is errno 35 on your box EWOULDBLOCK? (check /usr/include/errno.h or the
equivalent).  If so then something about setting the socket to
non-blocking is possibly wrong, but a quick perusal of the code doesn't
show any major changes since 0.53 in this area...any of you BSD folks care
to comment?

Brian

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> another step, I've just tried tsql, the small isql-like utility on
> src/apps/, and it crashes too. Here's the dump :
> 
>  [...]
>  76815 lt-tsql  RET   write 212/0xd4
>  76815 lt-tsql  CALL  sigaction(0xd,0xbfbff0fc,0xbfbff0e4)
>  76815 lt-tsql  RET   sigaction 0
>  76815 lt-tsql  CALL  gettimeofday(0xbfbff1f4,0)
>  76815 lt-tsql  RET   gettimeofday 0
>  76815 lt-tsql  CALL  write(0x3,0x8050000,0x3d)
>  76815 lt-tsql  GIO   fd 3 wrote 61 bytes
>        "2002-09-05 17:36:25.856456 inside tds_process_login_tokens()
>        "
>  76815 lt-tsql  RET   write 61/0x3d
>  76815 lt-tsql  CALL  read(0x4,0xbfbff28c,0x8)
>  76815 lt-tsql  RET   read -1 errno 35 Resource temporarily unavailable
>  76815 lt-tsql  PSIG  SIGSEGV SIG_DFL
>  76815 lt-tsql  NAMI  "lt-tsql.core"
> $
> 
> as it doesn't leaves this function (tds_process_login_tokens()), I beleive
> the potential bug is here. Any hints ?
> 
> - ---
> 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
> 
> iD8DBQE9d3xn3FQGPyAQkGgRArNjAJ0TYQzUleEN/RcaDPAjJo3eY8qIpwCgjM//
> m2E3a2e7HDdvdPXPq6SI2SE=
> =17pq
> -----END PGP SIGNATURE-----



More information about the FreeTDS mailing list