Error in PSQL ODBC Driver

Поиск
Список
Период
Сортировка
От Clay Luther
Тема Error in PSQL ODBC Driver
Дата
Msg-id 3EA85167.60009@employees.org
обсуждение исходный текст
Список pgsql-odbc
I am encountering a crash whenver I execute a CREATE TABLE with a
primary key constraint within the the libodbcpsql library.

Here is a stack trace.

I'd be happy to provide any addition information you need.

claycle@gkar:~ > gdb ./isql++
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(gdb) set args master claycle 1amclay
(gdb) run
Starting program: /home/claycle/isql++ master claycle 1amclay
[New Thread 1075905152 (LWP 27066)]
cConnected to PostgreSQL 07.01.0003 PostgreSQL 7.3.2 on
i386-redhat-linux-gnu, compiled by GCC i386-redhat-linux-gcc (GCC) 3.2.2
20030213 (Red Hat Linux 8.0 3.2.2- using libpsqlodbc.so 07.01.0003 (ODBC
Version 2.50)
SQL> create table fu (id varchar(10));
  0 rows affected
SQL> create table fu2 (id int);
  0 rows affected
SQL> create table fu3 (id int primary key);
  0 rows affected


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1075905152 (LWP 27066)]
0x40232acd in TL_Destructor () from /usr/lib/libodbcpsql.so
(gdb) backtrace
#0  0x40232acd in TL_Destructor () from /usr/lib/libodbcpsql.so
#1  0x4022deef in QR_Destructor () from /usr/lib/libodbcpsql.so
#2  0x4023130f in PG_SQLFreeStmt () from /usr/lib/libodbcpsql.so
#3  0x40231387 in SQLFreeStmt () from /usr/lib/libodbcpsql.so
#4  0x400e1608 in __SQLFreeHandle () from /usr/lib/libodbc.so.1
#5  0x400e1a77 in SQLFreeHandle () from /usr/lib/libodbc.so.1
#6  0x40033237 in ~Statement (this=0x807e140) at statement.cpp:69
#7  0x40036931 in ~PreparedStatement (this=0x807e140)
    at preparedstatement.cpp:80
#8  0x0804d8e9 in Isql::run() (this=0xbfffe050) at types.h:771
#9  0x08054d0e in main (argc=1108550504, argv=0xbfffe050) at isql++.cpp:1311
#10 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6
(gdb)


В списке pgsql-odbc по дате отправления:

Предыдущее
От: fabrice
Дата:
Сообщение: calling stored procedure via odbc from Access
Следующее
От: fabrice
Дата:
Сообщение: Stored Procedures