[Pkg-erlang-devel] Bug#602342: [erlang-odbc] Always fails to connect

Sergei Golovan sgolovan at nes.ru
Thu Nov 4 06:43:08 UTC 2010


On Thu, Nov 4, 2010 at 1:21 AM, Emil Langrock <emil.langrock at gmx.de> wrote:
>
>> odbc:start().
>>
> odbc:connect("Driver=SQLITE3;Database=/var/lib/ejabberd_archive/mod_archive.sqlite3;",
> [{scrollable_cursors, off}]).
>
> =ERROR REPORT==== 3-Nov-2010::22:46:50 ===
> ODBC: received unexpected info: {tcp_closed,#Port<0.670>}
>
>
> =ERROR REPORT==== 3-Nov-2010::22:46:50 ===
> ** Generic server <0.57.0> terminating
> ** Last message in was {#Port<0.668>,{exit_status,139}}
> ** When Server state == {state,#Port<0.668>,
>                               {<0.35.0>,#Ref<0.0.0.109>},
>                               <0.35.0>,undefined,on,undefined,undefined,off,
>                               connecting,undefined,0,
>                               [#Port<0.666>,#Port<0.667>],
>                               #Port<0.669>,#Port<0.670>}

odbcserver (the Erlang port which talks to unixodbc) segfaults when
connecting to
SQLite3 database. Seems like a bug in odbcserver. I'll try to
investigate it. Though I think the fix will appear in unstable and
testing first, not in experimental (where your 1:14.b-dfsg-1 comes
from).

Cheers!
-- 
Sergei Golovan





More information about the Pkg-erlang-devel mailing list