pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedAnyone else seeing CREATE TABLE crashes with psqlodbc?
3+ messages / 3 participants
[nested] [flat]
* Anyone else seeing CREATE TABLE crashes with psqlodbc?
@ 2003-04-28 19:09 Clay Luther <claycle@cisco.com>
0 siblings, 2 replies; 3+ messages in thread
From: Clay Luther @ 2003-04-28 19:09 UTC (permalink / raw)
To: pgsql-odbc
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/}
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Anyone else seeing CREATE TABLE crashes with psqlodbc?
@ 2003-04-28 22:02 Wayne Armstrong <wdarmst@bacchus.com.au>
parent: Clay Luther <claycle@cisco.com>
1 sibling, 0 replies; 3+ messages in thread
From: Wayne Armstrong @ 2003-04-28 22:02 UTC (permalink / raw)
To: Clay Luther <claycle@cisco.com>; pgsql-odbc
** Reply to message from "Clay Luther" <claycle@cisco.com> on Mon, 28 Apr 2003
14:09:47 -0500
Hi Clay,
If you haven't yet, try fooling around with some of the psqlodbc parameters.
We were seeing a fair number of gpf's from our app running through the windows
client, untill we turned on the dissalow premature setting for the client. Most
gpfs were resulting from an attempt by our app to do a "free statement" on a
statement handle that hat already been closed by the driver.
Caveat on this is that I'm not sure I've been successful in geting the unixodbc
driver to listen to any parameters from the odbc.ini file at all :)
Regards,
Wayne
> 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/}
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Anyone else seeing CREATE TABLE crashes with psqlodbc?
@ 2003-04-28 23:45 Hiroshi Inoue <Inoue@tpf.co.jp>
parent: Clay Luther <claycle@cisco.com>
1 sibling, 0 replies; 3+ messages in thread
From: Hiroshi Inoue @ 2003-04-28 23:45 UTC (permalink / raw)
To: Clay Luther <claycle@cisco.com>; +Cc: pgsql-odbc
Clay Luther wrote:
>
> 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).
Could you send me the Mylog output ?
regards,
Hiroshi Inoue
http://www.geocities.jp/inocchichichi/psqlodbc/
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2003-04-28 23:45 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-04-28 19:09 Anyone else seeing CREATE TABLE crashes with psqlodbc? Clay Luther <claycle@cisco.com>
2003-04-28 22:02 ` Wayne Armstrong <wdarmst@bacchus.com.au>
2003-04-28 23:45 ` Hiroshi Inoue <Inoue@tpf.co.jp>
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