pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Clay Luther <claycle@cisco.com>
To: pgsql-odbc@postgresql.org
Subject: Anyone else seeing CREATE TABLE crashes with psqlodbc?
Date: Mon, 28 Apr 2003 14:09:47 -0500
Message-ID: <E58F685255415A4EB2D4B8A02AEF32E30FAC99@evvbu-exchange.cisco.com> (raw)

I am seeing repeated seg faults when using psqlodbc to issue CREATE TABLE statements to postgresql.

My system is:

RedHat 9
Postgres 7.3
unixODBC 2.2.3
pgsqlODBC 7.2.5

The CREATE TABLE command is being executed, but the crash occurs as pgsqlODBC is attempting to
tear-down the statement (it appears).  The crash occurs variously inside the pgsqlODBC driver,
sometimes when it tries to free() in PG_SQLFreeStmt, QR_Destructor (qresult.c) or perform a strlen() in SQLRowCount(), trim() (odbcapi.c).  One presumes in both cases invalid pointers are being passed around (a bad int* to free() and a bad char* to trim()/strlen()).

This is a major problem for us and could completely derail our plans to move to PostGres.

I am wondering if anyone else with a similar system is seeing this?

Thanks.

---
Clay
Cisco Systems, Inc.
claycle@cisco.com
(972) 813-5004


I've stopped 14,313 spam messages. You can too!
One month FREE spam protection at http://www.cloudmark.com/spamnetsig/}




view thread (3+ messages)  latest in thread

Message-ID: <E58F685255415A4EB2D4B8A02AEF32E30FAC99@evvbu-exchange.cisco.com>
Permalink:  ../E58F685255415A4EB2D4B8A02AEF32E30FAC99@evvbu-exchange.cisco.com/
Also on:    postgresql.org/message-id/E58F685255415A4EB2D4B8A02AEF32E30FAC99@evvbu-exchange.cisco.com

 · 

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@cisco.com
  Subject: Re: Anyone else seeing CREATE TABLE crashes with psqlodbc?
  In-Reply-To: <E58F685255415A4EB2D4B8A02AEF32E30FAC99@evvbu-exchange.cisco.com>
  References: <E58F685255415A4EB2D4B8A02AEF32E30FAC99@evvbu-exchange.cisco.com>

* 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