[freetds] seg fault occurs when connecting to MS SQL server 2 000

Lowden, James K LowdenJK at bernstein.com
Mon Jun 16 09:40:36 EDT 2003

> From: Rachael LaPorte Taylor 
> [mailto:rachael.laporte.taylor at census.gov]
> Sent: June 13, 2003 7:24 PM
> To: freetds at lists.ibiblio.org
> Subject: [freetds] seg fault occurs when connecting to MS SQL server
> 2000
> Version 0.61
> I successfully connect to a MS SQL Server 2000 using the tsql 
> utility. 
> However, I get a seg fault when using iodbc odbctest. gdb 
> reports that 
> it bombs at around line 1126 in connect.c (in the iodbc 
> source) on the 
> CALL_DRIVER macro. I've compiled with TDS version 4.2 and 
> --with-iodbc=/path_to_iodbc per the FAQ.

Very likely it's a setup problem.  Set TDSDUMP and maybe TDSDUMPCONFIG, and
see whether or not FreeTDS is getting the right login information.  If you
decide to post the log here for our persusal, beware that it includes
passwords and such.  

The information contained in this transmission may contain privileged and confidential information and is intended only for the use of the person(s) named above. If you are not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender immediately by reply e-mail and destroy all copies of the original message. Please note that we do not accept account orders and/or instructions by e-mail, and therefore will not be responsible for carrying out such orders and/or instructions.

More information about the FreeTDS mailing list