[erlang-questions] ODBC problem

Nicolene Heunis nicoleneh@REDACTED
Fri May 18 13:24:46 CEST 2007


Hi all,

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).

Here are my results:

Eshell V5.5.4  (abort with ^G)
1> application:start(odbc).
ok
2> {ok,Ref} = odbc:connect("DSN=XXX;UID=XXX;PWD=XXX",[{trace_driver,on}]).
{ok,<0.38.0>}
3> odbc:sql_query(Ref, "select getdate();").
*** glibc detected *** free(): invalid next size (fast): 0x0000000000525bc0
***

{error,connection_closed}
=ERROR REPORT==== 18-May-2007::13:19:02 ===
** Generic server <0.38.0> terminating
** Last message in was {#Port<0.101>,{exit_status,134}}
** When Server state == {state,#Port<0.101>,
                               {<0.30.0>,#Ref<0.0.0.77>},
                               <0.30.0>,
                               undefined,
                               on,
                               true,
                               true,
                               on,
                               connected,
                               undefined,
                               0,
                               [#Port<0.99>,#Port<0.100>],
                               #Port<0.102>,
                               #Port<0.103>}
** Reason for termination ==
** {port_exit,killed}


I have tested unixODBC and the easysoft driver and they are both working.
Does anyone know what the problem might be?
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?

Thanks
Nicolene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070518/5701ac8a/attachment.htm>


More information about the erlang-questions mailing list