Hi all,<br><br>I am having a lot of trouble with the odbc module. I have installed unixODBC 2.2.12 and the easysoft mssql driver(odbc-sqlserver-1.0.0-linux-x86-64). <br><br>Here are my results:<br><br>Eshell V5.5.4  (abort with ^G)
<br>1> application:start(odbc).<br>ok<br>2> {ok,Ref} = odbc:connect("DSN=XXX;UID=XXX;PWD=XXX",[{trace_driver,on}]).<br>{ok,<0.38.0>}<br>3> odbc:sql_query(Ref, "select getdate();").<br>*** glibc detected *** free(): invalid next size (fast): 0x0000000000525bc0 ***
<br>                                                                               {error,connection_closed}<br>=ERROR REPORT==== 18-May-2007::13:19:02 ===<br>** Generic server <0.38.0> terminating<br>** Last message in was {#Port<
0.101>,{exit_status,134}}<br>** When Server state == {state,#Port<0.101>,<br>                               {<0.30.0>,#Ref<<a href="http://0.0.0.77">0.0.0.77</a>>},<br>                               <
0.30.0>,<br>                               undefined,<br>                               on,<br>                               true,<br>                               true,<br>                               on,<br>                               connected,
<br>                               undefined,<br>                               0,<br>                               [#Port<0.99>,#Port<0.100>],<br>                               #Port<0.102>,<br>                               #Port<
0.103>}<br>** Reason for termination ==<br>** {port_exit,killed}<br><br><br>I have tested unixODBC and the easysoft driver and they are both working. Does anyone know what the problem might be?<br>I did not get these errors when using freeTDS but I am looking for an alternative driver. Is there known issues with the easysoft driver?
<br><br>Thanks<br>Nicolene<br>