Crash observed on psqlODBC driver

From: "Itnal, Prakash (NSN - IN/Bangalore)" <prakash(dot)itnal(at)nsn(dot)com>
To: "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Subject: Crash observed on psqlODBC driver
Date: 2014-02-11 11:07:44
Message-ID: 6C8E163ED7EF5846B2F44CDBC63300111C191C@SGSIMBX002.nsn-intra.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hi,

We use psql odbc driver to connect to postgres server. Recently we have observed crash in psqlODBC driver. The crash is random it appears once in a while. The scenario is just restart blade (where database client is running). The back trace is as below.

Program terminated with signal 11, Segmentation fault.
#0 0x0000005567dafb44 in CC_log_error () from /opt/nokiasiemens/SS_PostgresClient/lib/psqlodbcw.so
(gdb) bt
#0 0x0000005567dafb44 in CC_log_error () from /opt/nokiasiemens/SS_PostgresClient/lib/psqlodbcw.so
#1 0x0000005567e02a40 in SC_log_error () from /opt/nokiasiemens/SS_PostgresClient/lib/psqlodbcw.so
#2 0x0000005567dfee18 in SC_set_error () from /opt/nokiasiemens/SS_PostgresClient/lib/psqlodbcw.so
#3 0x0000005567de3ab0 in PGAPI_ExtendedFetch () from /opt/nokiasiemens/SS_PostgresClient/lib/psqlodbcw.so
#4 0x0000005567e0edb8 in SQLFetch () from /opt/nokiasiemens/SS_PostgresClient/lib/psqlodbcw.so
#5 0x000000555df2b7e4 in SQLFetch () from /usr/lib64/libodbc.so.2
#6 0x000000555d3199cc in db_Fetch () from /opt/nokiasiemens/lib64/librailib.so
#7 0x000000555d38702c in get_rnc_wcel_list(long double) () from /opt/nokiasiemens/lib64/librailib.so
#8 0x000000555d3f90f0 in get_rnc_wcel_list_r () from /opt/nokiasiemens/lib64/librailib.so
#9 0x0000000000000000 in ?? ()

Platform: Linux, mips architecture
Unix ODBC version: unixODBC 2.2.14
psqlODBC version: 09.01.0300
Postgres server version: 9.1.9
# cat odbcinst.ini
[PostgreSQL]
Description = psql_odbc for PostgreSQL
Driver = /lib/psqlodbcw.so
Setup =
FileUsage = 1
Threading = 0

We tried to debug but not getting any clue? Appreciate if someone can help in resolving this issue.
--
Regards,
Prakash I.

Browse pgsql-odbc by date

  From Date Subject
Next Message Christoph Berg 2014-02-12 10:45:24 09.03.0100 cursor failures on various architectures
Previous Message Hiroshi Inoue 2014-02-04 11:56:11 Re: ODBC error "The buffer was too small for the InfoValue."