From: Matthias Teege <matthias@mteege.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: pg_connect dumps core
Date: 05 Mar 2001 07:52:55 +0100
Message-ID: <87pufwso54.fsf@moon.mteege.de> (raw)
References: <200103041334.OAA01945@moon.mteege.de>
<9431.983723500@sss.pgh.pa.us>
Tom Lane <tgl@sss.pgh.pa.us> writes:
> Strange. Evidently it's getting as far as opening the connection
> (pq_recvbuf is used in the backend, not the postmaster), but then
> crashing after that. I can't see any reason why it would work for
> pgaccess but not for you. (I notice that pgaccess uses the conninfo
> style of arguments to pg_connect, but that shouldn't make a
> difference...)
Hmm, I tested this one but without success.
> Can you provide a stack backtrace from the core file?
This one?
(gdb) bt
#0 0x281ca5d9 in Tcl_GetEncodingName () from /usr/local/lib/libtcl83.so
#1 0x281daee4 in Tcl_CreateChannel () from /usr/local/lib/libtcl83.so
#2 0x281843dd in PgSetConnectionId () from /usr/local/pgsql/lib/libpgtcl.so
#3 0x28182549 in Pg_connect () from /usr/local/pgsql/lib/libpgtcl.so
#4 0x805efa0 in TclInvokeStringCommand ()
#5 0x8079fbb in TclExecuteByteCode ()
#6 0x805f9f3 in Tcl_EvalObjEx ()
#7 0x8083a85 in Tcl_RecordAndEvalObj ()
#8 0x808395f in Tcl_RecordAndEval ()
#9 0x804b485 in StdinProc ()
#10 0x808a493 in Tcl_NotifyChannel ()
#11 0x805daf7 in FileHandlerEventProc ()
#12 0x804bb36 in Tcl_ServiceEvent ()
#13 0x804be15 in Tcl_DoOneEvent ()
#14 0x804b731 in Tcl_MainLoop ()
#15 0x804b364 in Tcl_Main ()
#16 0x804af5f in main ()
#17 0x804aea9 in _start ()
Many thanks
Matthias
--
Matthias Teege -- matthias@mteege.de -- http://emugs.de
make world not war
PGP-Key auf Anfrage
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: matthias@mteege.de, tgl@sss.pgh.pa.us
Subject: Re: pg_connect dumps core
In-Reply-To: <87pufwso54.fsf@moon.mteege.de>
* 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