Re: SQLConnect Core dump with Purify

From: "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp>
To: "Jose" <joselcb(at)mixmail(dot)com>
Cc: "pgsql-odbc" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: SQLConnect Core dump with Purify
Date: 2001-06-16 01:06:01
Message-ID: EKEJJICOHDIEMGPNIFIJCEOPEKAA.Inoue@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-odbc by date

  From Date Subject
Next Message Hiroshi Inoue 2001-06-16 01:06:10 RE: [ODBC] Re: ODBC Interface version 07_01_0005, problemwith C++ exceptions
Previous Message Hiroshi Inoue 2001-06-16 01:05:52 Re: MSACCESS & Apostrophe in Column Name