Hi,
We encountered a crash that points to psql odbc driver. The crash is not at fixed at same point but it always points to psql-odbc driver. It is at same two places shown below. Kindly let me know if this is really an issue in psql code!
OS: Linux (windriver)
Psql odbc version: Latest 09.03.0300
Postgres server version: 9.1
Scenario: System restart (once after around 6 to 8 restarts)
Back trace:
case 1:
Thread 1 (LWP 7318):
#0 0x0000005557236d7c in memcpy () from /lib64/libc.so.6
No symbol table info available.
#1 0x000000555fde4e04 in copy_and_convert_field () from /opt/nokiasiemens/SS_PostgresClient/lib/psqlodbcw.so
No symbol table info available.
#2 0x000000555fde1d14 in copy_and_convert_field_bindinfo () from /opt/nokiasiemens/SS_PostgresClient/lib/psqlodbcw.so
No symbol table info available.
#3 0x000000555fe2f9d8 in SC_fetch () from /opt/nokiasiemens/SS_PostgresClient/lib/psqlodbcw.so
No symbol table info available.
#4 0x000000555fe14608 in PGAPI_ExtendedFetch () from /opt/nokiasiemens/SS_PostgresClient/lib/psqlodbcw.so
No symbol table info available.
#5 0x000000555fe3e5e4 in SQLFetch () from /opt/nokiasiemens/SS_PostgresClient/lib/psqlodbcw.so
No symbol table info available.
#6 0x0000005557742594 in SQLFetch () from /usr/lib64/libodbc.so.2
No symbol table info available.
#7 0x0000005556af13ac in db_Fetch (stmt1=0x120da1ae0) at ../src/db_utilityqx.c:894
Status = <value optimized out>
case 2:
Thread 1 (LWP 7188):
#0 0x00000055ca0ff0e4 in CC_log_error () from /opt/nokiasiemens/SS_PostgresClient/lib/psqlodbcw.so
No symbol table info available.
#1 0x00000055ca151e58 in SC_log_error () from /opt/nokiasiemens/SS_PostgresClient/lib/psqlodbcw.so
No symbol table info available.
#2 0x00000055ca14e2f4 in SC_set_error () from /opt/nokiasiemens/SS_PostgresClient/lib/psqlodbcw.so
No symbol table info available.
#3 0x00000055ca1332cc in PGAPI_ExtendedFetch () from /opt/nokiasiemens/SS_PostgresClient/lib/psqlodbcw.so
No symbol table info available.
#4 0x00000055ca15e5e4 in SQLFetch () from /opt/nokiasiemens/SS_PostgresClient/lib/psqlodbcw.so
No symbol table info available.
#5 0x00000055600ce594 in SQLFetch () from /usr/lib64/libodbc.so.2
No symbol table info available.
#6 0x000000555f47d3ac in db_Fetch (stmt1=0x120dbc200) at ../src/db_utilityqx.c:894
Status = <value optimized out>
Note: If we enable the logging the system becomes damn slow and in most cases we don’t even hit the crash.
--
Regards,
Prakash I.