pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Clay Luther <claycle@employees.org>
To: pgsql-odbc@postgresql.org
Subject: Error in PSQL ODBC Driver
Date: Thu, 24 Apr 2003 16:04:39 -0500
Message-ID: <3EA85167.60009@employees.org> (raw)

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)




Message-ID: <3EA85167.60009@employees.org>
Permalink:  ../3EA85167.60009@employees.org/
Also on:    postgresql.org/message-id/3EA85167.60009@employees.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: claycle@employees.org
  Subject: Re: Error in PSQL ODBC Driver
  In-Reply-To: <3EA85167.60009@employees.org>
  References: <3EA85167.60009@employees.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox