Re: SQLConnect Core dump with Purify - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: SQLConnect Core dump with Purify
Date
Msg-id EKEJJICOHDIEMGPNIFIJCEOPEKAA.Inoue@tpf.co.jp
Whole thread Raw
List pgsql-odbc
Jose wrote:
>
> Environment:
>   SunOS 5.8
>
>  unixODBC-2.0.7
>   g++ 2.95.3
>   postgresql 7.0.3
>
> Checking our binary with purify crashes doing SQLConnect.
> It works fine executing without purify.
> Traces with purify:
>             CC_connect     [libpsqlodbc.so.0.26]
>             SQLConnect     [libpsqlodbc.so.0.26]
>             SQLConnect     [SQLConnect.c:2391]
>
>                    if ( CHECK_SQLCONNECT( connection ))
>                    {
>             =>         ret_from_connect = SQLCONNECT( connection,
>                                connection -> driver_dbc,
>                                dsn, SQL_NTS,
>                                user_name, name_length2,
>
>       Received signal 10 (SIGBUS - Bus Error)
>             Faulting address = 0x837d18b5
>             Signal mask: (SIGBUS)
>             Pending signals:
>
> Does anybody have the same problem?
>

You seem to be using the driver for iODBC.
UnixODBC has its own driver for PostgreSQL and its name
is libodbcpsql.so... Please try the driver.

regards,
Hiroshi Inoue

pgsql-odbc by date:

Previous
From: "Hiroshi Inoue"
Date:
Subject: RE: Re: [BUGS] ODBC Interface version 07_01_0005, problemwith C++ exceptions
Next
From: Manuel Martínez Valls
Date:
Subject: RV: no updateable recordset