Core Dumps with libpgtcl.

From: Neil Darlow <ndarlow(at)csi(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Core Dumps with libpgtcl.
Date: 1998-09-20 19:35:45
Message-ID: 36055911.B2C635E9@csi.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hi,

I am running postgresql-6.3.2 under Red Hat 5.1 Intel and am experiencing core
dumps with pgaccess-0.88.

I am running Tcl/Tk 8.0.2. Is libpgtcl.so.1 compatible with this version of
Tcl/Tk?

I've had a quick look through the source for libpgtcl and there seem to be a few
conditionals for version 7.5 and 7.6 but not later versions.

What caught my attention was the provision of a function PgGetFileProc which is
associated with a field of structure Pg_Conn (itself a Tcl_ChannelType).
In version 8.0.x of Tcl there is no getFileProc field, only a getHandleProc
field who's associated function has a different argument signature to that of
PgGetFileProc.

It also appears that the PgGetFileProc associated code only gets included for
Tcl version 7.6. Is this relevant?

My symtoms are that whenever the postgresql server would normally return an
error
condition from pg_exec, a core dump results.

Is this a known problem and is there a published solution?

Regards,
Neil Darlow (UK).

Browse pgsql-interfaces by date

  From Date Subject
Next Message Ivo Simicevic 1998-09-21 13:55:57 ODBC + Symantec Cafe 2.5 problem
Previous Message Stephen Davies 1998-09-19 07:33:17 SQLPrimaryKeys