Re: pg_connect dumps core

From: Matthias Teege <matthias(at)mteege(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: pg_connect dumps core
Date: 2001-03-05 06:52:55
Message-ID: 87pufwso54.fsf@moon.mteege.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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(at)mteege(dot)de -- http://emugs.de
make world not war
PGP-Key auf Anfrage

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Matthias Teege 2001-03-05 09:26:23 Re: pg_connect dumps core
Previous Message Barry Lind 2001-03-05 00:01:53 Re: JDBC timestamps with timezones